It was one of the greatest mysteries in modern science: a series of brief but extremely bright flashes of ultra-high energy light coming from somewhere out in space. These gamma ray bursts were first spotted by spy satellites in the 1960s. It took three decades and a revolution in high-energy astronomy for scientists to figure out what they were.