Astronomers are finally figuring out what powers mysterious gamma-ray bursts