/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. Performing analysis on: 4FGL_J0228.3-5547_weekly_bin932 RA = 37.0854, Dec = -55.7931 tmin = 802656001, tmax = 803260801 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='28999848', job_status='RUN', time_executed='2026-06-17 11:04:17.736732', time_epoch_executed='1781719457.74' WHERE source_name='4FGL J0228.3-5547' and cadence='weekly' and bin_id='932' UPDATE lightcurve_data_v2 SET job_id='28999848', job_status='RUN', time_executed='2026-06-17 11:04:17.736732', time_epoch_executed='1781719457.74' WHERE source_name='4FGL J0228.3-5547' and cadence='weekly' and bin_id='932' 1290 (HY000): The MySQL server is running with the --read-only option so it cannot execute this statement Traceback (most recent call last): File "/sdf/data/fermi/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 124, in executeCommand cursor.execute(command) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute self._handle_result(self._connection.cmd_query(stmt)) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query)) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result raise errors.get_exception(packet) DatabaseError: 1290 (HY000): The MySQL server is running with the --read-only option so it cannot execute this statement Command execution failed. Waiting 20.7344603124 seconds and trying again... UPDATE lightcurve_data_v2 SET job_id='28999848', job_status='RUN', time_executed='2026-06-17 11:04:17.736732', time_epoch_executed='1781719457.74' WHERE source_name='4FGL J0228.3-5547' and cadence='weekly' and bin_id='932' UPDATE lightcurve_data_v2 SET job_id='28999848', job_status='RUN', time_executed='2026-06-17 11:04:17.736732', time_epoch_executed='1781719457.74' WHERE source_name='4FGL J0228.3-5547' and cadence='weekly' and bin_id='932' 1290 (HY000): The MySQL server is running with the --read-only option so it cannot execute this statement Traceback (most recent call last): File "/sdf/data/fermi/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 124, in executeCommand cursor.execute(command) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute self._handle_result(self._connection.cmd_query(stmt)) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query)) File "/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result raise errors.get_exception(packet) DatabaseError: 1290 (HY000): The MySQL server is running with the --read-only option so it cannot execute this statement Command execution failed. Waiting 14.3641771465 seconds and trying again... Done. Creating custom output directory: /lscratch/kocevski/28999848 Creating custom pfile directory: /lscratch/kocevski/28999848/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802656001.0 && nMetStart<803260801number of points = 17485 number of fields = 31 RA_SUN column already exists. File will not be modified. .0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/28999848/ft1_4FGL_J0228.3-5547_weekly_bin932.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/28999848/ft2_4FGL_J0228.3-5547_weekly_bin932.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/28999848/ft1_4FGL_J0228.3-5547_weekly_bin932.fits outfile=/lscratch/kocevski/28999848/ft1_filteredMKT_4FGL_J0228.3-5547_weekly_bin932.fits ra=37.0854 dec=-55.7931 rad=12.0 tmin=802656001.0 tmax=803260801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.22 user 3.48 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28999848/ft2_4FGL_J0228.3-5547_weekly_bin932.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/28999848/ft2_4FGL_J0228.3-5547_weekly_bin932.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/28999848/ft1_filteredMKT_4FGL_J0228.3-5547_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/28999848/ft1_filtered_4FGL_J0228.3-5547_weekly_bin932.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.74 user 0.19 sys 0.14 Number of photons that the gtmktime cut: 2114 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/28999848/ft1_filtered_4FGL_J0228.3-5547_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28999848/ft2_4FGL_J0228.3-5547_weekly_bin932.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28999848/ltcube_802656001_803260801_4FGL_J0228.3-5547_weekly_bin932.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/28999848/ft2_4FGL_J0228.3-5547_weekly_bin932.fits .....................! real 16.26 user 15.47 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28999848/ft1_filtered_4FGL_J0228.3-5547_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/28999848/ft2_4FGL_J0228.3-5547_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28999848/ltcube_802656001_803260801_4FGL_J0228.3-5547_weekly_bin932.fits outfile=/lscratch/kocevski/28999848/expmap_802656001_803260801_4FGL_J0228.3-5547_weekly_bin932.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to