Cosmic rays and gamma radiation from the shell of SN1987A