3FHL sources show up with 2 different spectra
Closed this issue · 2 comments
joleroi commented
For 3FHL sources, the webpage shows two different sets of spectral parameters
See e.g. http://gamma-sky.net/#/cat/3fhl/0
Model Info
Significance (10 GeV - 2 TeV): 5.362
Npred: 7.63
Spectrum type: PowerLaw
Spectral index: 1.672 +/- 0.827
Pivot energy: 23.7 GeV
Flux density at pivot energy: 5.32e-13 +/- 2.10e-13 cm-2 s-1 GeV-1
Power law index: 2.223 +/- 0.481
Integral flux (10 GeV - 1 TeV): 2.96e-11 +/- 1.17e-11 cm-2 s-1
Energy flux (10 GeV - 1 TeV): 1.68e-12 +/- 1.07e-12 erg cm-2 s-1
Significance curvature: 1.02
If there is a good reason for that it should be explained somewhere, because the way it is right now might confuse people.
cdeil commented
Yes, this can be improved a bit. Assigning to myself. It's a bit related to gammapy/gammapy#1127 which I had planned to finish up tomorrow anyways.
cdeil commented
@joleroi - Turns out that in 3FHL every source has a PL and CPL measured.
I've tried to make the display clearer in 22074c2 , it now looks like this:
---
This change is not deployed yet to the public webpage, it'll come with other improvements on the next deploy.
If you want, you can compare with the printout we have in Gammapy for a PL and CPL source:
python -c 'from gammapy.catalog import source_catalogs; print(source_catalogs["3fhl"][352])'
python -c 'from gammapy.catalog import source_catalogs; print(source_catalogs["3fhl"][1442])'
I'm very short on time, so generally pull requests in Gammapy or here are preferred, but of course reminder issues are also welcome.
@joleroi - Any further suggestions to improve or close the issue?