Constraining the Galactic millisecond pulsar population usingFermiLarge Area Telescope