-
Notifications
You must be signed in to change notification settings - Fork 1
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
gtsrcmaps does nothing #10
Comments
I forgot to say that I tried other input files, to no avail. I was never able to create source map extensions. |
Hi @jballet, Apologies for the delayed response. There does in fact seem to be a problem with gtsrcmaps. We've run some testing and it seems that gtsrcmaps is no longer generating source maps for the individual sources in the input xml model, which is why the new output you posted seems to only contain an image for the entire field as opposed to including the other diffuse sources (gal_8yearJMC and iso_P8R3) as additional HDUs containing their own maps. @eacharles do you have an insight as to why this would have changed? |
I can confirm I see the same problem with the latest release Name Version Build Channel on My Mac OS High Sierra Laptop (Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64). Let me stress that this is a most urgent issue, because it prevents users from running the most standard LAT analysis. |
Hi @jballet and @tibaldo. I have an alpha build up on our channel which should contain a fix for this problem. Could you please install and independantly validate that this build does in fact fix the issue? This can be done via the command
The version number you should see when running Tagging @joeastro for additional verification. |
Thank you.
On my side I will not be able to test that before January 7.
…________________________________
De : jasercion [notifications@github.com]
Envoyé : mardi 25 décembre 2018 02:11
À : fermi-lat/Likelihood
Cc : Ballet Jean; Mention
Objet : Re: [fermi-lat/Likelihood] gtsrcmaps does nothing (#10)
Hi @jballet<https://github.com/jballet> and @tibaldo<https://github.com/tibaldo>. I have an alpha build up on our channel which should contain a fix for this problem. Could you please install and independantly validate that this build does in fact fix the issue? This can be done via the command
conda install -c conda-forge -c fermi/label/alpha fermitools
The version number you should see when running conda list fermitools is 1.0.3.
Tagging @joeastro<https://github.com/joeastro> for additional verification.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#10 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AjfFhdkJwK585i0443r2yDpq-R_aecIbks5u8XsogaJpZM4Yd9i6>.
|
Hi @joeastro |
We confirm what Luigi said. David Landriu has found new differences (which did not exist in fermitools 1.0.0). They are reported in LK-149. |
Ok. Closing this issue out. Other differences will be addressed separately. |
Reopening issue until patch release is live. |
Fermitools 1.0.1 was just released which should fix this. |
packages in environment at /dsm/saplxglast/glast/fermitools/1.0.0:
Name Version Build Channel
fermitools 1.0.0 py27h481b005_0 fermi
fermitools-data 0.13 0 fermi
Linux sapgaia1.extra.cea.fr 3.10.0-123.4.2.el7.x86_64 #1 SMP Tue Jun 24 13:05:26 CDT 2014 x86_64 x86_64 x86_64 GNU/Linux
I am trying to use gtsrcmaps to generate source maps for diffuse sources in my XML file.
The same command which works well with the previous Science Tools appears to do nothing with the fermitools.
gtsrcmaps expcube=/dsm/saplxglast/glast/data/Pass8/P305/ltcube_8years_zmax80.fits cmap=srcMap_1_E1.fits srcmdl=JMC8years_zmax80_PSF3.xml bexpmap=/dsm/manip/glast/runs/P305_JMC8years/like/Rois/binned_exposure_E1.fits outfile=toto.fits irfs=CALDB chatter=4
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).
This is gtsrcmaps version HEAD
ResponseFunctions::load: IRF used: P8R3_SOURCE_V2 (PSF)
event_types: 5
difference in gti interval found
WARNING:
AppHelpers::checkTimeCuts:
Time range cuts and GTI extensions in files srcMap_1_E1.fitsand /dsm/saplxglast/glast/data/Pass8/P305/ltcube_8years_zmax80.fits[Exposure] do not agree.
Aggregate absolute differences in GTI start times (s): 1.19209e-07
Aggregate absolute differences in GTI stop times (s): 0
Creating source named iso_P8R3_Source_v2
Creating source named gal_8yearJMC
After that the output file is the same as the input file.
ftlist toto.fits h
HDU 1 Primary Array Image Real4(26x26x6)
HDU 2 GTI BinTable 2 cols x 46969 rows
HDU 3 EBOUNDS BinTable 3 cols x 6 rows
The same command with the Science Tools generates many more output lines starting with
Generating SourceMap for gal_8yearJMCMapBase::readFitsFile: creating WcsMap2 object
and creates two extensions in the output file corresponding to the two sources in my model
ftlist toto.fits h
HDU 1 Primary Array Image Real4(26x26x6)
HDU 2 GTI BinTable 2 cols x 46969 rows
HDU 3 EBOUNDS BinTable 3 cols x 6 rows
HDU 4 gal_8yearJMC Image Real4(26x26x7)
HDU 5 iso_P8R3_Source_v2 Image Real4(26x26x7)
The warning related to the small GTI difference is innocuous.
I have no idea what causes the new warning
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).
I tried simplifying my environment, to no avail.
The text was updated successfully, but these errors were encountered: