Galactic latitude and Source Cuts
From magneticfields
Galactic latitude selections
Once good Fermi data in the desired energy range is selected, we proceed to narrow our focus on photons with galactic latitude b above 50deg or below -50deg. The following Python script accomplishes this goal: Media:bcut.py
Removing regions around Fermi sources
We use the First Fermi-LAT Catalog of Sources above 10 GeV (1FHL). (Note that this is not the 1st-year Fermi catalogue, and it is actually more recent than the 2nd-year Point Source catalogue. See the link for a description).
The following Python script does the job: Media:nosource.py