Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fitting changes and 4FGL GTI-bin analysis. #153

Merged
merged 5 commits into from
Aug 4, 2020

Conversation

mireianievas
Copy link
Contributor

  1. Tune a bit the fitting method (I'm still not completely convinced by its robustness, ideas are welcome)
  2. Update the 4FGL catalog revision to 22.
  3. Some changes for DESY's cluster.
  4. Discovered feature: if you pass the 4FGL to the ScienceTools as a filter, then it takes its GTI intervals and you basically get a 4FGL-like analysis. This could be in principle done also with the old GTI-bin analysis then consolidate, but with that method it takes ages and it is very analysis crash-prone. I provide a first implementation to allow to use this.

Mireia Nievas added 5 commits April 13, 2020 11:58
…picked up. The absolute path was missing.

Do not crash in the case that the decorrelation energy cannot be set (in case it is for some reason out of the range of valid energies).

Generate output XML to be used by the ModelMap generator (needed for the residual and subtracted map production)

Minor typos corrected
- Try to write the fits files into temporary output files and then move (might avoid corrupted or incomplete output files in case the job crashes or gets killed silently in a cluster).

- Small fixes in the subtract / residual map generation.

- Changes in the XML model to lower the minimum normalization value to 0. The default value was introducing artifacts in the analysis of very dim sources, causing an overestimation in the fluxes and bad residuals.
… you pass a LAT catalog (tested with the 4FGL) as the GTI file, then it re-uses the GTI bins defined in such catalog. One can use that to mimmick the 4FGL analysis with their time bins. With this commit I provide a temptative implementation to allow to use such files.

Also includes minor fixes
… interval and then consolidate into a new event file), if it is a .fits file, use the new analysis (pass directly the catalog/fits file to the science tools.
Conflicts:
	enrico/RunGTlike.py
	enrico/fitmaker.py
	enrico/gtfunction.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants