fermi-lat / Fermitools-conda

Conda recipe files for the Fermi Sciencetools software analysis package: Fermitools
https://fermi.gsfc.nasa.gov/ssc/data/analysis/
BSD 3-Clause "New" or "Revised" License
34 stars 16 forks source link

gtburst plotting issue #166

Open nmirabal opened 1 month ago

nmirabal commented 1 month ago

There seems to be an issue with matplotlib and/or tk when running the likelihood analysis in gtburst. It is supposed to plot the events in the GUI but it fails/crashed at that point. Included is a snipped of the .log file (below). We have tried falling back on older matplotlib/tk versions but it does not seem to fix it. For now the advice for users is to try the Fermibottle docker container which appears to be stable.


WARNING: FITSFixedWarning: 'datfix' made the change 'Set MJD-OBS to 59757.889584 from DATE-OBS. Set MJD-END to 59757.890742 from DATE-END'. [astropy.wcs.wcs] ESC[33mWARNINGESC[0m: FITSFixedWarning: 'datfix' made the change 'Set MJD-OBS to 59757.889584 from DATE-OBS. Set MJD-END to 59757.890742 from DATE-END'. /home/lonewolf/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermitools/GtBurst/aplpy/my_aplpy.py:948: UserWarning: You passed a edgecolor/edgecolors ('cyan') for an unfilled marker ('x'). Matplotlib is ignoring the edgecolor in favor of the facecolor. This behavior may change in the future. s = self._ax1.scatter(xp, yp, **kwargs) ['/home/lonewolf/miniforge3/envs/fermipy/bin/gtburst', '/home/lonewolf/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermitools/gtburst.py', '/home/lonewolf/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermitools/gtburst.py', '/home/lonewolf/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermitools/gtburst.py', '/home/lonewolf/miniforge3/envs/fermipy/lib/python3.9/tkinter/init.py', '/home/lonewolf/miniforge3/envs/fermipy/lib/python3.9/tkinter/init.py', '/home/lonewolf/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermitools/GtBurst/CommandPipeline.py'] Exception in Tkinter callback Traceback (most recent call last):