  Numerical simulation of a relativistic runaway electron breakdown in the
upper atmosphere is performed using GEANT4 simulation toolkit. General features
of a relativistic runaway electron avalanche are reconstructed and properties
of radiations accompanying breakdown are obtained. It is demonstrated
dependance of the high energy branch of photon spectra with respect to an
altitude and shown what at the reasonable parameters hard photons have spectral
index close to the observed value.
