  We analyzed the globular cluster M5 (NGC 5904) using 15 years of gamma-ray
data from the Fermi Large Area Telescope (LAT). Using rotation ephemerides
generated from Arecibo and FAST radio telescope observations, we searched for
gamma-ray pulsations from the seven millisecond pulsars (MSPs) identified in
M5. We detected no significant pulsations from any of the individual pulsars.
Also, we searched for possible variations of the gamma-ray emission as a
function of orbital phase for all the six MSPs in binary systems, but did not
detect any significant modulations. The gamma-ray emission from the direction
of M5 is well described by an exponentially cutoff power-law spectral model,
although other models cannot be excluded. The phase-averaged emission is
consistent with being steady on a time scale of a few months. We estimate the
number of MSPs in M5 to be between 1 and 10, using the gamma-ray conversion
efficiencies for well-characterized gamma-ray MSPs in the Third Fermi Large
Area Telescope Catalog of Gamma-ray Pulsars, suggesting that the sample of
known MSPs in M5 is (nearly) complete, even if it is not currently possible to
rule out a diffuse component of the observed gamma rays from the cluster.
