/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). number of points = 7429 number of fields = 31 RA_SUN column already exists. File will not be modified. 81180', job_status='RUN', time_executed='2026-06-20 13:05:23.443039', time_epoch_executed='1781985923.44' WHERE source_name='4FGL J0025.7-4801' and cadence='daily' and bin_id='2173' 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 10.3651827301 seconds and trying again... Done. Creating custom output directory: /lscratch/kocevski/29281180 Creating custom pfile directory: /lscratch/kocevski/29281180/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802569601.0 && nMetStart<802828801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802569601.0 && nMetStart<802828801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/29281180/ft1_4FGL_J0025.7-4801_daily_bin2173.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802569601.0 && nMetStart<802828801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/29281180/ft2_4FGL_J0025.7-4801_daily_bin2173.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/29281180/ft1_4FGL_J0025.7-4801_daily_bin2173.fits outfile=/lscratch/kocevski/29281180/ft1_filteredMKT_4FGL_J0025.7-4801_daily_bin2173.fits ra=6.4351 dec=-48.0191 rad=12.0 tmin=802569601.0 tmax=802828801.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 3.13 user 2.44 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/29281180/ft2_4FGL_J0025.7-4801_daily_bin2173.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/29281180/ft2_4FGL_J0025.7-4801_daily_bin2173.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/29281180/ft1_filteredMKT_4FGL_J0025.7-4801_daily_bin2173.fits evtable="EVENTS" outfile="/lscratch/kocevski/29281180/ft1_filtered_4FGL_J0025.7-4801_daily_bin2173.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+STDone. Performing analysis on: 4FGL_J0025.7-4801_daily_bin2173 RA = 6.4351, Dec = -48.0191 tmin = 802569601, tmax = 802828801 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='29281659', job_status='RUN', time_executed='2026-06-20 13:08:34.912108', time_epoch_executed='1781986114.91' WHERE source_name='4FGL J0025.7-4801' and cadence='daily' and bin_id='2173' UPDATE lightcurve_data_v2 SET job_id='29281659', job_status='RUN', time_executed='2026-06-20 13:08:34.912108', time_epoch_executed='1781986114.91' WHERE source_name='4FGL J0025.7-4801' and cadence='daily' and bin_id='2173' 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 15.7006934081 seconds and trying again... UPDATE lightcurve_data_v2 SET job_id='29281659', job_status='RUN', time_executed='2026-06-20 13:08:34.912108', time_epoch_executed='1781986114.91' WHERE source_name='4FGL J0025.7-4801' and cadence='daily' and bin_id='2173' UPDATE lightcurve_data_v2 SET job_id='29281659', job_status='RUN', time_executed='2026-06-20 13:08:34.912108', time_epoch_executed='1781986114.91' WHERE source_name='4FGL J0025.7-4801' and cadence='daily' and bin_id='2173' 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 26.6200759525 seconds and trying again... Done. Creating custom output directory: /lscratch/kocevski/29281659 Creating custom pfile directory: /lscratch/kocevski/29281659/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802569601.0 && nMetStart<802828801.