Astronomers reveal mystery of brightest ever gamma-ray burst