Astronomers classify GRBs by their duration. Like GRB 151027B, roughly 90 percent of bursts are of the “long” variety, where the gamma-ray pulse lasts more than two seconds. They are believed to occur in a massive star whose core has run out of fuel and collapsed into a black hole. As matter falls toward the newly formed black hole, it launches jets of subatomic particles that move out through the star’s outer layers at nearly the speed of light. When the particle jets reach the stellar surface, they emit gamma rays, the most energetic form of light. In many cases, the star is later seen to explode as a supernova.