********** ** 18 **HESSE ********** FCN= 13306.79 FROM HESSE STATUS=OK 363 CALLS 1664 TOTAL EDM= .33E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .27756E-09 3.6206 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .10735E-04 7.3464 .10407E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 7.9610 4.8025 .35524E-03 -1.5652 4 Prefactor .25857E-06 5.8626 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.5436 1.5550 .85819E-03 -1.5683 6 Prefactor .0000 2.7528 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 11.015 13.155 .30211E-03 -1.5642 8 Prefactor .91704E-07 12.407 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 3.3705 1.9819 .55103E-03 -1.5671 10 Prefactor 3.8286 3.7764 .51533E-03 -1.5669 11 Prefactor .67724E-08 3.9851 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .77716E-09 3.3675 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 21.645 15.093 .21713E-03 -1.5615 14 norm .53323 .89252 .75534E-03 -1.5693 15 Prefactor .71604E-06 6.2999 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 31.209 30.650 .18333E-03 -1.5596 17 Prefactor .39801E-06 6.9860 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .38969E-07 14.913 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 1.7212 4.5265 .80612E-03 -1.5682 20 Normalizat 1.0299 .14197 .70707E-01 -.92035 21 Prefactor .94681 .73405E-01 .45601E-01 -.94524 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.30104e-07 Minuit parameter uncertainties: 1 6.24199e-05 2 0.0177606 3 4.80251 4 0.00246252 5 1.55496 6 9.55409e-06 7 13.155 8 0.00213299 9 1.98192 10 3.77645 11 0.000328241 12 0.00010156 13 15.093 14 0.892515 15 0.00424783 16 30.6505 17 0.00333506 18 0.00152515 19 4.52654 20 0.142021 21 0.0734122 /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_J0033.9+3858_daily_bin2177 RA = 8.483, Dec = 38.9716 tmin = 803606401, tmax = 803865601 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='30020319', job_status='RUN', time_executed='2026-06-27 19:50:37.062993', time_epoch_executed='1782615037.06' WHERE source_name='4FGL J0033.9+3858' and cadence='daily' and bin_id='2177' UPDATE lightcurve_data_v2 SET job_id='30020319', job_status='RUN', time_executed='2026-06-27 19:50:37.062993', time_epoch_executed='1782615037.06' WHERE source_name='4FGL J0033.9+3858' and cadence='daily' and bin_id='2177' 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 0.099810147512 seconds and trying again... UPDATE lightcurve_data_v2 SET job_id='30020319', job_status='RUN', time_executed='2026-06-27 19:50:37.062993', time_epoch_executed='1782615037.06' WHERE source_name='4FGL J0033.9+3858' and cadence='daily' and bin_id='2177' UPDATE lightcurve_data_v2 SET job_id='30020319', job_status='RUN', time_executed='2026-06-27 19:50:37.062993', time_epoch_executed='1782615037.06' WHERE source_name='4FGL J0033.9+3858' and cadence='daily' and bin_id='2177' 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 12.0896946782 seconds and trying again... UPDATE lightcurve_data_v2 SET job_id='30020319', job_status='RUN', time_executed='2026-06-27 19:50:37.062993', time_epoch_executed='1782615037.06' WHERE source_name='4FGL J0033.9+3858' and cadence='daily' and bin_id='2177' UPDATE lightcurve_data_v2 SET job_id='3002Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13306.7921918 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 1.102e+01 1.315e+01 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 9.468e-01 7.341e-02 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 1.030e+00 1.420e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.16 Ra Dec: 8.483 38.972 Photon Index (Fixed Index): 2.46 +/- 0.00 Photon Flux (Fixed Index): 1.71e-08 +/- 2.04e-08 Energy Flux (Fixed Index): 5.21e-06 +/- 6.22e-06 TS (Fixed Index): 1.16 Ra Dec: 8.483 38.972 Photon Flux Upper Limit: 6.78421313097e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00526228037074 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/30019497/likelihoodResults_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 13306.7921913 delta logL = 5.78880644753e-07 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 13306.7921892 delta logL = 2.607861461e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 11.040 1.0000 .0000 .10000E+07 2 'Index ' 2.4561 1.0000 .0000 10.000 3 'Normalizat' 1.0299 1.0000 .10000E-01 10.000 4 'Prefactor ' .94681 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 13306.79 FROM MIGRAD STATUS=CONVERGED 89 CALLS 257 TOTAL EDM= .26E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 11.034 15.127 .12051E-04 .81130E-04 2 Index 2.4549 .97254 .99764E-02 -.13823E-04 3 Normalizat 1.0300 .16127 .31284E-03 -.18087E-02 4 Prefactor .94679 .84978E-01 .17181E-03 -.29529E-02 ERR DEF= .500 Final values: Prefactor = 11.034 Index = 2.45494 Normalizat = 1.02996 Prefactor = 0.94679 ********** ** 18 **HESSE ********** FCN= 13306.79 FROM HESSE STATUS=OK 25 CALLS 282 TOTAL EDM= .26E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 11.034 14.675 .48204E-06 -1.5642 2 Index 2.4549 .94330 .39905E-03 -.53404 3 Normalizat 1.0300 .16128 .62567E-04 -.92033 4 Prefactor .94679 .85003E-01 .34362E-04 -.94525 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.60395e-09 Minuit parameter uncertainties: 1 14.6754 2 0.951018 3 0.161352 4 0.0850154 0319', job_status='RUN', time_executed='2026-06-27 19:50:37.062993', time_epoch_executed='1782615037.06' WHERE source_name='4FGL J0033.9+3858' and cadence='daily' and bin_id='2177' 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.4233661171 seconds and trying again... UPDATE lightcurve_data_v2 SET job_id='30020319', job_status='RUN', time_executed='2026-06-27 19:50:37.062993', time_epoch_executed='1782615037.06' WHERE source_name='4FGL J0033.9+3858' and cadence='daily' and bin_id='2177' UPDATE lightcurve_data_v2 SET job_id='30020319', job_status='RUN', time_executed='2026-06-27 19:50:37.062993', time_epoch_executed='1782615037.06' WHERE source_name='4FGL J0033.9+3858' and cadence='daily' and bin_id='2177' 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 2.08785584995 seconds and trying again... UPDATE lightcurve_data_v2 SET job_id='30020319', job_status='RUN', time_executed='2026-06-27 19:50:37.062993', time_epoch_executed='1782615037.06' WHERE source_name='4FGL J0033.9+3858' and cadence='daily' and bin_id='2177' UPDATE lightcurve_data_v2 SET job_id='30020319', job_status='RUN', time_executed='2026-06-27 19:50:37.062993', time_epoch_executed='1782615037.06' WHERE source_name='4FGL J0033.9+3858' and cadence='daily' and bin_id='2177' 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/pyDone. MINUIT Return Code (Free Index): 0 logL (Free Index) = 13306.7921878 delta logL = 4.00645876653e-06 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 1.103e+01 1.468e+01 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.455e+00 9.510e-01 0.000e+00 1.000e+01 (-1.000e+00) 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 9.468e-01 8.502e-02 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 1.030e+00 1.614e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.16 Ra Dec: 8.483 38.972 Photon Index (Free Index): 2.45 +/- 0.95 Photon Flux (Free Index): 1.70e-08 +/- 2.50e-08 Energy Flux (Free Index): 5.21e-06 +/- 6.39e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/30019497/cmap_HighResolution_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 19:50:59.767751', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615059.77', return_code='0', job_id='30019497', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 19:50:59.767751', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615059.77', return_code='0', job_id='30019497', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; 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.4212258407 seconds and trying again... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 19:50:59.767751', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615059.77', return_code='0', job_id='30019497', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 19:50:59.767751', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615059.77', return_code='0', job_id='30019497', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; 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.1276926446 seconds and trying again... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 19:50:59.767751', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615059.77', return_code='0', job_id='30019497', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 19:50:59.767751', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615059.77', return_code='0', job_id='30019497', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL Jshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory 0033.9+3858' AND cadence='daily'; 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 21.0575192293 seconds and trying again... Analysis Complete. Sat Jun 27 19:51:46 PDT 2026 number of points = 7650 number of fields = 31 RA_SUN column already exists. File will not be modified. thon2.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 24.5708360227 seconds and trying again... Done. Creating custom output directory: /lscratch/kocevski/30020319 Creating custom pfile directory: /lscratch/kocevski/30020319/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=803606401.0 && nMetStart<803865601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803606401.0 && nMetStart<803865601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/30020319/ft1_4FGL_J0033.9+3858_daily_bin2177.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=803606401.0 && nMetStart<803865601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/30020319/ft1_4FGL_J0033.9+3858_daily_bin2177.fits outfile=/lscratch/kocevski/30020319/ft1_filteredMKT_4FGL_J0033.9+3858_daily_bin2177.fits ra=8.483 dec=38.9716 rad=12.0 tmin=803606401.0 tmax=803865601.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 2.68 user 1.67 sys 0.15 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.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/30020319/ft1_filteredMKT_4FGL_J0033.9+3858_daily_bin2177.fits evtable="EVENTS" outfile="/lscratch/kocevski/30020319/ft1_filtered_4FGL_J0033.9+3858_daily_bin2177.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 1.03 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 1240 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/30020319/ft1_filtered_4FGL_J0033.9+3858_daily_bin2177.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.fits sctable="SC_DATA" outfile=/lscratch/kocevski/30020319/ltcube_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.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/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.fits .....................! real 9.49 user 8.47 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/30020319/ft1_filtered_4FGL_J0033.9+3858_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30020319/ltcube_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.fits outfile=/lscratch/kocevski/30020319/expmap_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.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 be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/30020319/ltcube_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.fits .....................! real 74.14 user 68.37 sys 4.38 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Added 169 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0033.9+3858 @ 8.483 38.9716 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/30020319/ft1_filtered_4FGL_J0033.9+3858_daily_bin2177.fits scfile=/lscratch/kocevski/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.fits outfile=/lscratch/kocevski/30020319/cmap_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=8.483 yref=38.9716 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.26 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/30020319/ft1_filtered_4FGL_J0033.9+3858_daily_bin2177.fits scfile=/lscratch/kocevski/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.fits outfile=/lscratch/kocevski/30020319/cmap_HighResolution_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=8.483 yref=38.9716 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.33 user 0.24 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/30020319/ft1_filtered_4FGL_J0033.9+3858_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30020319/Model_4FGL_J0033.9+3858_daily_bin2177.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/30020319/ft1_filtered_4FGL_J0033.9+3858_daily_bin2177.fits....................! real 58.39 user 54.79 sys 1.73 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/30020319/ft1_filtered_4FGL_J0033.9+3858_daily_bin2177.fits', '/lscratch/kocevski/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.fits', expMap='/lscratch/kocevski/30020319/expmap_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.fits', expCube='/lscratch/kocevski/30020319/ltcube_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30020319/Model_4FGL_J0033.9+3858_daily_bin2177.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0033.9+3858' 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 4.490e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/30020319/ft1_filtered_4FGL_J0033.9+3858_daily_bin2177.fits Spacecraft file(s): /lscratch/kocevski/30020319/ft2_4FGL_J0033.9+3858_daily_bin2177.fits Exposure map: /lscratch/kocevski/30020319/expmap_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.fits Exposure cube: /lscratch/kocevski/30020319/ltcube_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/30020319/Model_4FGL_J0033.9+3858_daily_bin2177.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13306.9086606 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13306.7943347 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .17031E-06 1.0000 .0000 .10000E+07 2 'norm ' .94991E-01 1.0000 .0000 .10000E+07 3 'Prefactor ' 7.9558 1.0000 .0000 .10000E+07 4 'Prefactor ' .81987E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.5419 1.0000 .0000 .10000E+07 6 'Prefactor ' .21716E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' 10.980 1.0000 .0000 .10000E+07 8 'Prefactor ' .10785E-03 1.0000 .0000 .10000E+07 9 'norm ' 3.3693 1.0000 .0000 .10000E+07 10 'Prefactor ' 3.8320 1.0000 .0000 .10000E+07 11 'Prefactor ' .92961E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .59109E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 21.224 1.0000 .0000 .10000E+07 14 'norm ' .53220 1.0000 .0000 .10000E+07 15 'Prefactor ' .31230E-03 1.0000 .0000 .10000E+07 16 'Prefactor ' 29.761 1.0000 .0000 .10000E+07 17 'Prefactor ' .12374E-04 1.0000 .0000 .10000E+07 18 'Prefactor ' .54246E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' 1.7013 1.0000 .0000 .10000E+07 20 'Normalizat' 1.0305 1.0000 .10000E-01 10.000 21 'Prefactor ' .94698 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 13306.79 FROM MIGRAD STATUS=CONVERGED 127 CALLS 1301 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 6.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .27756E-09 3.6211 .15257E-05** at limit ** 2 norm .10735E-04 4.0685 .20254E-05** at limit ** 3 Prefactor 7.9610 4.6947 .11922E-06 .48676E-02 4 Prefactor .25857E-06 4.8939 -.43526E-06** at limit ** 5 Prefactor 1.5436 1.5362 .35503E-07 .24967E-02 6 Prefactor .0000 2.7497 -.11630E-06** at limit ** 7 Prefactor 11.015 1.0823 -.67820E-08 -.86422E-02 8 Prefactor .91704E-07 11.845 -.67451E-05** at limit ** 9 norm 3.3705 1.9802 -.49090E-06 -.17476E-02 10 Prefactor 3.8286 3.7558 .54290E-07 -.39975E-02 11 Prefactor .67724E-08 3.9609 .43822E-05** at limit ** 12 Prefactor .77716E-09 3.3707 .29752E-05** at limit ** 13 Prefactor 21.645 2.8245 .59218E-06 .51287E-01 14 norm .53323 .87729 .45654E-07 .26075E-02 15 Prefactor .71604E-06 3.0367 .17520E-05** at limit ** 16 Prefactor 31.209 30.601 .38760E-05 -.84283E-02 17 Prefactor .39801E-06 5.2089 .16749E-05** at limit ** 18 Prefactor .38969E-07 14.397 .29509E-05** at limit ** 19 Prefactor 1.7212 4.3370 -.95981E-06 .14163E-02 20 Normalizat 1.0299 .16124 -.41732E-04 .13886E-03 21 Prefactor .94681 .85482E-01 .20606E-04 .47581E-03 ERR DEF= .500 Final values: Prefactor = 2.77556e-10 norm = 1.07345e-05 Prefactor = 7.96102 Prefactor = 2.58571e-07 Prefactor = 1.54356 Prefactor = 0 Prefactor = 11.015 Prefactor = 9.17044e-08 norm = 3.37053 Prefactor = 3.82858 Prefactor = 6.77236e-09 Prefactor = 7.77156e-10 Prefactor = 21.6447 norm = 0.533232 Prefactor = 7.16038e-07 Prefactor = 31.209 Prefactor = 3.98015e-07 Prefactor = 3.89688e-08 Prefactor = 1.72123 Normalizat = 1.02991 Prefactor = 0.946807 ********** ** 18 **HESSE ********** FCN= 13306.79 FROM HESSE STATUS=OK 363 CALLS 1664 TOTAL EDM= .33E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .27756E-09 3.6206 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .10735E-04 7.3464 .10407E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 7.9610 4.8025 .35524E-03 -1.5652 4 Prefactor .25857E-06 5.8626 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.5436 1.5550 .85819E-03 -1.5683 6 Prefactor .0000 2.7528 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 11.015 13.155 .30211E-03 -1.5642 8 Prefactor .91704E-07 12.407 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 3.3705 1.9819 .55103E-03 -1.5671 10 Prefactor 3.8286 3.7764 .51533E-03 -1.5669 11 Prefactor .67724E-08 3.9851 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .77716E-09 3.3675 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 21.645 15.093 .21713E-03 -1.5615 14 norm .53323 .89252 .75534E-03 -1.5693 15 Prefactor .71604E-06 6.2999 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 31.209 30.650 .18333E-03 -1.5596 17 Prefactor .39801E-06 6.9860 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .38969E-07 14.913 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 1.7212 4.5265 .80612E-03 -1.5682 20 Normalizat 1.0299 .14197 .70707E-01 -.92035 21 Prefactor .94681 .73405E-01 .45601E-01 -.94524 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.30104e-07 Minuit parameter uncertainties: 1 6.24199e-05 2 0.0177606 3 4.80251 4 0.00246252 5 1.55496 6 9.55409e-06 7 13.155 8 0.00213299 9 1.98192 10 3.77645 11 0.000328241 12 0.00010156 13 15.093 14 0.892515 15 0.00424783 16 30.6505 17 0.00333506 18 0.00152515 19 4.52654 20 0.142021 21 0.0734122 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13306.7921918 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 1.102e+01 1.315e+01 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 9.468e-01 7.341e-02 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 1.030e+00 1.420e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.16 Ra Dec: 8.483 38.972 Photon Index (Fixed Index): 2.46 +/- 0.00 Photon Flux (Fixed Index): 1.71e-08 +/- 2.04e-08 Energy Flux (Fixed Index): 5.21e-06 +/- 6.22e-06 TS (Fixed Index): 1.16 Ra Dec: 8.483 38.972 Photon Flux Upper Limit: 6.78421313097e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00526228037074 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/30020319/likelihoodResults_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 13306.7921913 delta logL = 5.78880644753e-07 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 13306.7921892 delta logL = 2.607861461e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 11.040 1.0000 .0000 .10000E+07 2 'Index ' 2.4561 1.0000 .0000 10.000 3 'Normalizat' 1.0299 1.0000 .10000E-01 10.000 4 'Prefactor ' .94681 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 13306.79 FROM MIGRAD STATUS=CONVERGED 89 CALLS 257 TOTAL EDM= .26E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 11.034 15.127 .12051E-04 .81130E-04 2 Index 2.4549 .97254 .99764E-02 -.13823E-04 3 Normalizat 1.0300 .16127 .31284E-03 -.18087E-02 4 Prefactor .94679 .84978E-01 .17181E-03 -.29529E-02 ERR DEF= .500 Final values: Prefactor = 11.034 Index = 2.45494 Normalizat = 1.02996 Prefactor = 0.94679 ********** ** 18 **HESSE ********** FCN= 13306.79 FROM HESSE STATUS=OK 25 CALLS 282 TOTAL EDM= .26E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 11.034 14.675 .48204E-06 -1.5642 2 Index 2.4549 .94330 .39905E-03 -.53404 3 Normalizat 1.0300 .16128 .62567E-04 -.92033 4 Prefactor .94679 .85003E-01 .34362E-04 -.94525 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.60395e-09 Minuit parameter uncertainties: 1 14.6754 2 0.951018 3 0.161352 4 0.0850154 Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 13306.7921878 delta logL = 4.00645876653e-06 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 1.103e+01 1.468e+01 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.455e+00 9.510e-01 0.000e+00 1.000e+01 (-1.000e+00) 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 9.468e-01 8.502e-02 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 1.030e+00 1.614e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.16 Ra Dec: 8.483 38.972 Photon Index (Free Index): 2.45 +/- 0.95 Photon Flux (Free Index): 1.70e-08 +/- 2.50e-08 Energy Flux (Free Index): 5.21e-06 +/- 6.39e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/30020319/cmap_HighResolution_803606401_803865601_4FGL_J0033.9+3858_daily_bin2177.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 20:00:21.222545', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615621.22', return_code='0', job_id='30020319', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 20:00:21.222545', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615621.22', return_code='0', job_id='30020319', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; 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 2.38257244655 seconds and trying again... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 20:00:21.222545', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615621.22', return_code='0', job_id='30020319', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 20:00:21.222545', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615621.22', return_code='0', job_id='30020319', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; 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 22.0321157947 seconds and trying again... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 20:00:21.222545', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615621.22', return_code='0', job_id='30020319', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 20:00:21.222545', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615621.22', return_code='0', job_id='30020319', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL Jshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory 0033.9+3858' AND cadence='daily'; 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 4.71474998227 seconds and trying again... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 20:00:21.222545', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615621.22', return_code='0', job_id='30020319', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='5.21e-06', photon_flux_error='2.04e-08', dlogl='4.01e-06', energy_flux='5.21e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2026-06-27 20:00:21.222545', photon_index_error2='0.95', photon_index2='2.45', ts='1.16', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='6.39e-06', EG='1.03', time_epoch_completed='1782615621.22', return_code='0', job_id='30020319', GAL2='0.95', EG2='1.03', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='2.50e-08', ts2='1.16', photon_index='2.46' WHERE bin_id='2177' AND source_name='4FGL J0033.9+3858' AND cadence='daily'; 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 13.621803001 seconds and trying again... Analysis Complete. Sat Jun 27 20:01:04 PDT 2026