Abstract
γ-ray bursts are produced by the dissipation of the kinetic energy of a highly relativistic fireball, via the formation of a collisionless shock. When this happens, ultrahigh energy cosmic rays up to 1020eV are produced. I show in this Letter that these particles produce, via synchrotron emission as they cross the acceleration region, photons up to 300 GeV, which carry away a small, 0.01, but non-negligible fraction of the total burst energy. I show that, when the shock occurs with the interstellar medium, the optical depth to photon-photon scattering, which might cause energy degradation of the photons, is small. Expected fluences, 105106ergcm2, are within the range of planned detectors.