Using astropy for  gamma ray astronomy