2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 68 Scale: 8.445e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/30018773/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits Spacecraft file(s): /lscratch/kocevski/30018773/ft2_4FGL_J0023.7+4457_daily_bin2173.fits Exposure map: /lscratch/kocevski/30018773/expmap_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits Exposure cube: /lscratch/kocevski/30018773/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/30018773/Model_4FGL_J0023.7+4457_daily_bin2173.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) = 12344.4995242 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12344.500512 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14037E-01 1.0000 .0000 .10000E+07 2 'norm ' 3.8431 1.0000 .0000 .10000E+07 3 'Prefactor ' .41440E-03 1.0000 .0000 .10000E+07 4 'norm ' .99309E-07 1.0000 .0000 .10000E+07 5 'Prefactor ' .74123E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' 8.6904 1.0000 .0000 .10000E+07 7 'Prefactor ' .31097E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' .30184E-03 1.0000 .0000 .10000E+07 9 'norm ' .96246 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.5222 1.0000 .0000 .10000E+07 11 'Prefactor ' .90414E-05 1.0000 .0000 .10000E+07 12 'norm ' .30596E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' .28392E-02 1.0000 .0000 .10000E+07 14 'norm ' 2.7443 1.0000 .0000 .10000E+07 15 'Prefactor ' 20.953 1.0000 .0000 .10000E+07 16 'norm ' 8.0216 1.0000 .0000 .10000E+07 17 'norm ' .62392E-04 1.0000 .0000 .10000E+07 18 'norm ' 17.826 1.0000 .0000 .10000E+07 19 'Prefactor ' .82001E-01 1.0000 .0000 .10000E+07 20 'Prefactor ' .21911E-01 1.0000 .0000 .10000E+07 21 'Prefactor ' 3.7297 1.0000 .0000 .10000E+07 22 'Normalizat' 1.4730 1.0000 .10000E-01 10.000 23 'Prefactor ' .89103 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5790E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12344.50 FROM MIGRAD STATUS=CONVERGED 156 CALLS 1891 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .25918E-06 17.801 -.19997E-06** at limit ** 2 norm 3.7246 10.227 .98191E-07 .40080E-01 3 Prefactor .10270E-07 5.7372 .27085E-06** at limit ** 4 norm .0000 .52886 -.84618E-07** at limit ** 5 Prefactor .15425E-02 2.0387 .20144E-07** at limit ** 6 Prefactor 8.6724 12.502 -.72002E-07 -.38707E-02 7 Prefactor .52958E-07 8.2047 .13588E-06** at limit ** 8 Prefactor .32203E-05 21.687 .27584E-06** at limit ** 9 norm .95649 1.8901 -.69347E-07 -.11852E-02 10 Prefactor 2.5957 5.3200 .43244E-07 .62336E-03 11 Prefactor .77716E-09 2.4312 -.26362E-06** at limit ** 12 norm .62783E-07 10.881 -.61143E-07** at limit ** 13 Prefactor .32402E-05 29.591 .66141E-06** at limit ** 14 norm 2.7440 2.9980 .50568E-07 .15406E-02 15 Prefactor 20.824 22.643 -.40104E-07 .96461E-01 16 norm 7.9927 7.1016 -.16758E-07 .84413E-04 17 norm .11102E-09 4.1094 .12113E-06** at limit ** 18 norm 17.831 1.2830 -.46961E-08 .10462E-01 19 Prefactor .55511E-09 53.538 -.48771E-07** at limit ** 20 Prefactor .97822E-06 37.769 .43577E-06** at limit ** 21 Prefactor 3.7338 5.0359 -.14189E-06 -.38659E-02 22 Normalizat 1.4732 .20052 -.25107E-05 -.26622E-04 23 Prefactor .89102 .70167E-01 .12370E-05 .12491E-03 ERR DEF= .500 Final values: Prefactor = 2.59182e-07 norm = 3.72457 Prefactor = 1.02696e-08 norm = 0 Prefactor = 0.00154249 Prefactor = 8.67242 Prefactor = 5.29576e-08 Prefactor = 3.22026e-06 norm = 0.956486 Prefactor = 2.59567 Prefactor = 7.77156e-10 norm = 6.27831e-08 Prefactor = 3.24024e-06 norm = 2.74402 Prefactor = 20.8239 norm = 7.99272 norm = 1.11022e-10 norm = 17.8309 Prefactor = 5.55112e-10 Prefactor = 9.78218e-07 Prefactor = 3.7338 Normalizat = 1.47317 Prefactor = 0.891017 /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) ********** ** 18 **HESSE ********** FCN= 12344.50 FROM HESSE STATUS=OK 424 CALLS 2315 TOTAL EDM= .17E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .25918E-06 18.896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm 3.7246 13.990 .51456E-03 -1.5669 3 Prefactor .10270E-07 36.199 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .0000 .52779 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .15425E-02 1.9965 .50401E-02 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 8.6724 17.836 .33979E-03 -1.5649 7 Prefactor .52958E-07 8.7789 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .32203E-05 27.048 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .95649 1.8986 .42432E-03 -1.5688 10 Prefactor 2.5957 5.3351 .64298E-03 -1.5676 11 Prefactor .77716E-09 2.4323 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .62783E-07 11.122 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .32402E-05 33.751 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 2.7440 3.0090 .61430E-03 -1.5675 15 Prefactor 20.824 47.378 .21853E-03 -1.5617 16 norm 7.9927 7.1026 .35377E-03 -1.5651 17 norm .11102E-09 3.9973 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 17.831 9.9150 .23694E-03 -1.5624 19 Prefactor .55511E-09 52.455 .14440E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .97822E-06 38.703 .16914E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 3.7338 5.0782 .52261E-03 -1.5669 22 Normalizat 1.4732 .18456 .81625E-01 -.78535 23 Prefactor .89102 .62575E-01 .44891E-01 -.96456 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.69647e-06 Minuit parameter uncertainties: 1 0.00442604 2 13.9906 3 0.00122083 4 4.68169e-06 5 0.110988 6 17.8359 7 0.00136383 8 0.0186657 9 1.89859 10 5.33516 11 8.84478e-05 12 0.00167128 13 0.0209153 14 3.00905 15 47.3784 16 7.10265 17 4.33819e-05 18 9.91504 19 0.000343894 20 0.0123061 21 5.07825 22 0.184642 23 0.0625803 WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). 2)) real 1.05 user 0.20 sys 0.13 Number of photons that the gtmktime cut: 1164 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/30018982/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30018982/ft2_4FGL_J0023.7+4457_daily_bin2173.fits sctable="SC_DATA" outfile=/lscratch/kocevski/30018982/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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/30018982/ft2_4FGL_J0023.7+4457_daily_bin2173.fits .....................! real 8.78 user 7.87 sys 0.20 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/30018982/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/30018982/ft2_4FGL_J0023.7+4457_daily_bin2173.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30018982/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits outfile=/lscratch/kocevski/30018982/expmap_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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/30018982/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits .....................! real 71.14 user 65.98 sys 4.09 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. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 172 point sources and 2 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 J0023.7+4457 @ 5.9477 44.951 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/30018982/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits scfile=/lscratch/kocevski/30018982/ft2_4FGL_J0023.7+4457_daily_bin2173.fits outfile=/lscratch/kocevski/30018982/cmap_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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=5.9477 yref=44.951 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.25 user 0.23 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/30018982/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits scfile=/lscratch/kocevski/30018982/ft2_4FGL_J0023.7+4457_daily_bin2173.fits outfile=/lscratch/kocevski/30018982/cmap_HighResolution_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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=5.9477 yref=44.951 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 Done. Performing analysis on: 4FGL_J0023.7+4457_daily_bin2173 RA = 5.9477, Dec = 44.951 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='30019207', job_status='RUN', time_executed='2026-06-27 19:36:29.194489', time_epoch_executed='1782614189.19' WHERE source_name='4FGL J0023.7+4457' and cadence='daily' and bin_id='2173' UPDATE lightcurve_data_v2 SET job_id='30019207', job_status='RUN', time_executed='2026-06-27 19:36:29.194489', time_epoch_executed='1782614189.19' WHERE source_name='4FGL J0023.7+4457' 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.7175350614 seconds and trying again... UPDATE lightcurve_data_v2 SET job_id='30019207', job_status='RUN', time_executed='2026-06-27 19:36:29.194489', time_epoch_executed='1782614189.19' WHERE source_name='4FGL J0023.7+4457' and cadence='daily' and bin_id='2173' UPDATE lightcurve_data_v2 SET job_id='30019207', job_status='RUN', time_executed='2026-06-27 19:36:29.194489', time_epoch_executed='1782614189.19' WHERE source_name='4FGL J0023.7+4457' 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 17.6651511495 seconds and trying again... Done. Creating custom output directory: /lscratch/kocevski/30019207 Creating custom pfile directory: /lscratch/kocevski/30019207/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802569601.0 && nMetStart<802828801.0'Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12344.4985592 Extracting fit parameters... 4FGL J0023.7+4457 Spectrum: PowerLaw 66 Prefactor: 1.542e-03 1.110e-01 0.000e+00 1.000e+06 ( 1.000e-12) 67 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 68 Scale: 8.445e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 576 Prefactor: 8.910e-01 6.258e-02 0.000e+00 1.000e+01 ( 1.000e+00) 577 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 578 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 571 Normalization: 1.473e+00 1.846e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 5.948 44.951 Photon Flux Upper Limit: 8.69017162581e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00673136401246 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/30018773/likelihoodResults_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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) = 12344.5538367 delta logL = -0.0552774810458 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12344.498565 delta logL = -5.79084007768e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .32279E-03 1.0000 .0000 .10000E+07 2 'Index ' 2.1647 1.0000 .0000 10.000 3 'Normalizat' 1.4730 1.0000 .10000E-01 10.000 4 'Prefactor ' .89107 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5790E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 12344.50 FROM MIGRAD STATUS=CONVERGED 83 CALLS 276 TOTAL EDM= .33E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .19595E-07 .48914E-03 .42118E-02** at limit ** 2 Index 2.7642 6.2233 .50000 .40473E-08 3 Normalizat 1.4732 .10549E-03 .81624E-01 .16088E-03 4 Prefactor .89101 .37469E-04 .44891E-01 -.20048E-03 ERR DEF= .500 Final values: Prefactor = 1.95954e-08 Index = 2.76422 Normalizat = 1.47319 Prefactor = 0.891014 ********** ** 18 **HESSE ********** FCN= 12344.50 FROM HESSE STATUS=NOT POSDEF 41 CALLS 317 TOTAL EDM= .39E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .19595E-07 .72728E-03 .35015E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7642 7.1218 .50000 -.46358 3 Normalizat 1.4732 .11172E-03 .36129E-03 -.78534 4 Prefactor .89101 .39733E-04 .15911E-03 -.96456 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.87485e-14 Minuit parameter uncertainties: 1 7.55302e-06 2 182.426 3 0.000111716 4 3.97331e-05 Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12344.4985588 delta logL = 3.42999555869e-07 Extracting fit parameters... 4FGL J0023.7+4457 Spectrum: PowerLaw 66 Prefactor: 1.960e-08 7.553e-06 0.000e+00 1.000e+06 ( 1.000e-12) 67 Index: 2.764e+00 1.824e+02 0.000e+00 1.000e+01 (-1.000e+00) 68 Scale: 8.445e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 576 Prefactor: 8.910e-01 3.973e-05 0.000e+00 1.000e+01 ( 1.000e+00) 577 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 578 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 571 Normalization: 1.473e+00 1.117e-04 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 5.948 44.951 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/30018773/cmap_HighResolution_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:37:21.238314', job_id='30018773', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1782614241.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:37:21.238314', job_id='30018773', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1782614241.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' 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 24.8620783669 seconds and trying again... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:37:21.238314', job_id='30018773', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1782614241.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:37:21.238314', job_id='30018773', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory 1782614241.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' 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.353367552 seconds and trying again... Analysis Complete. Sat Jun 27 19:37:57 PDT 2026 number of points = 7429 number of fields = 31 RA_SUN column already exists. File will not be modified. version HEAD real 1.21 user 0.24 sys 0.11 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/30018982/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/30018982/ft2_4FGL_J0023.7+4457_daily_bin2173.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30018982/Model_4FGL_J0023.7+4457_daily_bin2173.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 CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/30018982/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits.....................! real 56.31 user 54.16 sys 0.98 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/30018982/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits', '/lscratch/kocevski/30018982/ft2_4FGL_J0023.7+4457_daily_bin2173.fits', expMap='/lscratch/kocevski/30018982/expmap_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits', expCube='/lscratch/kocevski/30018982/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30018982/Model_4FGL_J0023.7+4457_daily_bin2173.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0023.7+4457' 4FGL J0023.7+4457 Spectrum: PowerLaw 66 Prefactor: 1.187e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 67 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 68 Scale: 8.445e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/30018982/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits Spacecraft file(s): /lscratch/kocevski/30018982/ft2_4FGL_J0023.7+4457_daily_bin2173.fits Exposure map: /lscratch/kocevski/30018982/expmap_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits Exposure cube: /lscratch/kocevski/30018982/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/30018982/Model_4FGL_J0023.7+4457_daily_bin2173.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) = 12344.4995242 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12344.500512 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14037E-01 1.0000 .0000 .10000E+07 2 'norm ' 3.8431 1.0000 .0000 .10000E+07 3 'Prefactor ' .41440E-03 1.0000 .0000 .10000E+07 4 'norm ' .99309E-07 1.0000 .0000 .10000E+07 5 'Prefactor ' .74123E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' 8.6904 1.0000 .0000 .10000E+07 7 'Prefactor ' .31097E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' .30184E-03 1.0000 .0000 .10000E+07 9 'norm ' .96246 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.5222 1.0000 .0000 .10000E+07 11 'Prefactor ' .90414E-05 1.0000 .0000 .10000E+07 12 'norm ' .30596E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' .28392E-02 1.0000 .0000 .10000E+07 14 'norm ' 2.7443 1.0000 .0000 .10000E+07 15 'Prefactor ' 20.953 1.0000 .0000 .10000E+07 16 'norm ' 8.0216 1.0000 .0000 .10000E+07 17 'norm ' .62392E-04 1.0000 .0000 .10000E+07 18 'norm ' 17.826 1.0000 .0000 .10000E+07 19 'Prefactor ' .82001E-01 1.0000 .0000 .10000E+07 20 'Prefactor ' .21911E-01 1.0000 .0000 .10000E+07 21 'Prefactor ' 3.7297 1.0000 .0000 .10000E+07 22 'Normalizat' 1.4730 1.0000 .10000E-01 10.000 23 'Prefactor ' .89103 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5790E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12344.50 FROM MIGRAD STATUS=CONVERGED 156 CALLS 1891 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .25918E-06 17.801 -.19997E-06** at limit ** 2 norm 3.7246 10.227 .98191E-07 .40080E-01 3 Prefactor .10270E-07 5.7372 .27085E-06** at limit ** 4 norm .0000 .52886 -.84618E-07** at limit ** 5 Prefactor .15425E-02 2.0387 .20144E-07** at limit ** 6 Prefactor 8.6724 12.502 -.72002E-07 -.38707E-02 7 Prefactor .52958E-07 8.2047 .13588E-06** at limit ** 8 Prefactor .32203E-05 21.687 .27584E-06** at limit ** 9 norm .95649 1.8901 -.69347E-07 -.11852E-02 10 Prefactor 2.5957 5.3200 .43244E-07 .62336E-03 11 Prefactor .77716E-09 2.4312 -.26362E-06** at limit ** 12 norm .62783E-07 10.881 -.61143E-07** at limit ** 13 Prefactor .32402E-05 29.591 .66141E-06** at limit ** 14 norm 2.7440 2.9980 .50568E-07 .15406E-02 15 Prefactor 20.824 22.643 -.40104E-07 .96461E-01 16 norm 7.9927 7.1016 -.16758E-07 .84413E-04 17 norm .11102E-09 4.1094 .12113E-06** at limit ** 18 norm 17.831 1.2830 -.46961E-08 .10462E-01 19 Prefactor .55511E-09 53.538 -.48771E-07** at limit ** 20 Prefactor .97822E-06 37.769 .43577E-06** at limit ** 21 Prefactor 3.7338 5.0359 -.14189E-06 -.38659E-02 22 Normalizat 1.4732 .20052 -.25107E-05 -.26622E-04 23 Prefactor .89102 .70167E-01 .12370E-05 .12491E-03 ERR DEF= .500 Final values: Prefactor = 2.59182e-07 norm = 3.72457 Prefactor = 1.02696e-08 norm = 0 Prefactor = 0.00154249 Prefactor = 8.67242 Prefactor = 5.29576e-08 Prefactor = 3.22026e-06 norm = 0.956486 Prefactor = 2.59567 Prefactor = 7.77156e-10 norm = 6.27831e-08 Prefactor = 3.24024e-06 norm = 2.74402 Prefactor = 20.8239 norm = 7.99272 norm = 1.11022e-10 norm = 17.8309 Prefactor = 5.55112e-10 Prefactor = 9.78218e-07 Prefactor = 3.7338 Normalizat = 1.47317 Prefactor = 0.891017 ********** ** 18 **HESSE ********** FCN= 12344.50 FROM HESSE STATUS=OK 424 CALLS 2315 TOTAL EDM= .17E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .25918E-06 18.896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm 3.7246 13.990 .51456E-03 -1.5669 3 Prefactor .10270E-07 36.199 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .0000 .52779 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .15425E-02 1.9965 .50401E-02 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 8.6724 17.836 .33979E-03 -1.5649 7 Prefactor .52958E-07 8.7789 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .32203E-05 27.048 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .95649 1.8986 .42432E-03 -1.5688 10 Prefactor 2.5957 5.3351 .64298E-03 -1.5676 11 Prefactor .77716E-09 2.4323 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .62783E-07 11.122 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .32402E-05 33.751 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 2.7440 3.0090 .61430E-03 -1.5675 15 Prefactor 20.824 47.378 .21853E-03 -1.5617 16 norm 7.9927 7.1026 .35377E-03 -1.5651 17 norm .11102E-09 3.9973 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 17.831 9.9150 .23694E-03 -1.5624 19 Prefactor .55511E-09 52.455 .14440E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .97822E-06 38.703 .16914E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 3.7338 5.0782 .52261E-03 -1.5669 22 Normalizat 1.4732 .18456 .81625E-01 -.78535 23 Prefactor .89102 .62575E-01 .44891E-01 -.96456 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.69647e-06 Minuit parameter uncertainties: 1 0.00442604 2 13.9906 3 0.00122083 4 4.68169e-06 5 0.110988 6 17.8359 7 0.00136383 8 0.0186657 9 1.89859 10 5.33516 11 8.84478e-05 12 0.00167128 13 0.0209153 14 3.00905 15 47.3784 16 7.10265 17 4.33819e-05 18 9.91504 19 0.000343894 20 0.0123061 21 5.07825 22 0.184642 23 0.0625803 /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/30019207/ft1_4FGL_J0023.7+4457_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/30019207/ft2_4FGL_J0023.7+4457_daily_bin2173.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/30019207/ft1_4FGL_J0023.7+4457_daily_bin2173.fits outfile=/lscratch/kocevski/30019207/ft1_filteredMKT_4FGL_J0023.7+4457_daily_bin2173.fits ra=5.9477 dec=44.951 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.55 user 2.64 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/30019207/ft2_4FGL_J0023.7+4457_daily_bin2173.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/30019207/ft2_4FGL_J0023.7+4457_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/30019207/ft1_filteredMKT_4FGL_J0023.7+4457_daily_bin2173.fits evtable="EVENTS" outfile="/lscratch/kocevski/30019207/ft1_filtered_4FGL_J0023.7+4457_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+STOP)/2)) real 1.15 user 0.20 sys 0.13 Number of photons that the gtmktime cut: 1164 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/30019207/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30019207/ft2_4FGL_J0023.7+4457_daily_bin2173.fits sctable="SC_DATA" outfile=/lscratch/kocevski/30019207/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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/30019207/ft2_4FGL_J0023.7+4457_daily_bin2173.fits .....................! real 9.22 user 8.07 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/30019207/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/30019207/ft2_4FGL_J0023.7+4457_daily_bin2173.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30019207/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits outfile=/lscratch/kocevski/30019207/expmap_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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 foDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12344.4985592 Extracting fit parameters... 4FGL J0023.7+4457 Spectrum: PowerLaw 66 Prefactor: 1.542e-03 1.110e-01 0.000e+00 1.000e+06 ( 1.000e-12) 67 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 68 Scale: 8.445e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 576 Prefactor: 8.910e-01 6.258e-02 0.000e+00 1.000e+01 ( 1.000e+00) 577 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 578 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 571 Normalization: 1.473e+00 1.846e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 5.948 44.951 Photon Flux Upper Limit: 8.69017162581e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00673136401246 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/30018982/likelihoodResults_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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) = 12344.5538367 delta logL = -0.0552774810458 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12344.498565 delta logL = -5.79084007768e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .32279E-03 1.0000 .0000 .10000E+07 2 'Index ' 2.1647 1.0000 .0000 10.000 3 'Normalizat' 1.4730 1.0000 .10000E-01 10.000 4 'Prefactor ' .89107 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5790E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 12344.50 FROM MIGRAD STATUS=CONVERGED 83 CALLS 276 TOTAL EDM= .33E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .19595E-07 .48914E-03 .42118E-02** at limit ** 2 Index 2.7642 6.2233 .50000 .40473E-08 3 Normalizat 1.4732 .10549E-03 .81624E-01 .16088E-03 4 Prefactor .89101 .37469E-04 .44891E-01 -.20048E-03 ERR DEF= .500 Final values: Prefactor = 1.95954e-08 Index = 2.76422 Normalizat = 1.47319 Prefactor = 0.891014 ********** ** 18 **HESSE ********** FCN= 12344.50 FROM HESSE STATUS=NOT POSDEF 41 CALLS 317 TOTAL EDM= .39E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .19595E-07 .72728E-03 .35015E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7642 7.1218 .50000 -.46358 3 Normalizat 1.4732 .11172E-03 .36129E-03 -.78534 4 Prefactor .89101 .39733E-04 .15911E-03 -.96456 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.87485e-14 Minuit parameter uncertainties: 1 7.55302e-06 2 182.426 3 0.000111716 4 3.97331e-05 Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12344.4985588 delta logL = 3.42999555869e-07 Extracting fit parameters... 4FGL J0023.7+4457 Spectrum: PowerLaw 66 Prefactor: 1.960e-08 7.553e-06 0.000e+00 1.000e+06 ( 1.000e-12) 67 Index: 2.764e+00 1.824e+02 0.000e+00 1.000e+01 (-1.000e+00) 68 Scale: 8.445e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 576 Prefactor: 8.910e-01 3.973e-05 0.000e+00 1.000e+01 ( 1.000e+00) 577 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 578 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 571 Normalization: 1.473e+00 1.117e-04 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 5.948 44.951 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/30018982/cmap_HighResolution_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:41:30.578523', job_id='30018982', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1782614490.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:41:30.578523', job_id='30018982', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1782614490.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' 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 23.4069098812 seconds and trying again... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:41:30.578523', job_id='30018982', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1782614490.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:41:30.578523', job_id='30018982', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory 1782614490.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' 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 27.8476598684 seconds and trying again... Analysis Complete. Sat Jun 27 19:42:22 PDT 2026 r *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/30019207/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits .....................! real 72.13 user 64.81 sys 4.75 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. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 172 point sources and 2 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 J0023.7+4457 @ 5.9477 44.951 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/30019207/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits scfile=/lscratch/kocevski/30019207/ft2_4FGL_J0023.7+4457_daily_bin2173.fits outfile=/lscratch/kocevski/30019207/cmap_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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=5.9477 yref=44.951 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 0.96 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/30019207/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits scfile=/lscratch/kocevski/30019207/ft2_4FGL_J0023.7+4457_daily_bin2173.fits outfile=/lscratch/kocevski/30019207/cmap_HighResolution_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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=5.9477 yref=44.951 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.05 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/30019207/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/30019207/ft2_4FGL_J0023.7+4457_daily_bin2173.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30019207/Model_4FGL_J0023.7+4457_daily_bin2173.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 CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/30019207/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits.....................! real 54.63 user 52.54 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/30019207/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits', '/lscratch/kocevski/30019207/ft2_4FGL_J0023.7+4457_daily_bin2173.fits', expMap='/lscratch/kocevski/30019207/expmap_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits', expCube='/lscratch/kocevski/30019207/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30019207/Model_4FGL_J0023.7+4457_daily_bin2173.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0023.7+4457' 4FGL J0023.7+4457 Spectrum: PowerLaw 66 Prefactor: 1.187e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 67 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 68 Scale: 8.445e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/30019207/ft1_filtered_4FGL_J0023.7+4457_daily_bin2173.fits Spacecraft file(s): /lscratch/kocevski/30019207/ft2_4FGL_J0023.7+4457_daily_bin2173.fits Exposure map: /lscratch/kocevski/30019207/expmap_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits Exposure cube: /lscratch/kocevski/30019207/ltcube_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/30019207/Model_4FGL_J0023.7+4457_daily_bin2173.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) = 12344.4995242 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12344.500512 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14037E-01 1.0000 .0000 .10000E+07 2 'norm ' 3.8431 1.0000 .0000 .10000E+07 3 'Prefactor ' .41440E-03 1.0000 .0000 .10000E+07 4 'norm ' .99309E-07 1.0000 .0000 .10000E+07 5 'Prefactor ' .74123E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' 8.6904 1.0000 .0000 .10000E+07 7 'Prefactor ' .31097E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' .30184E-03 1.0000 .0000 .10000E+07 9 'norm ' .96246 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.5222 1.0000 .0000 .10000E+07 11 'Prefactor ' .90414E-05 1.0000 .0000 .10000E+07 12 'norm ' .30596E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' .28392E-02 1.0000 .0000 .10000E+07 14 'norm ' 2.7443 1.0000 .0000 .10000E+07 15 'Prefactor ' 20.953 1.0000 .0000 .10000E+07 16 'norm ' 8.0216 1.0000 .0000 .10000E+07 17 'norm ' .62392E-04 1.0000 .0000 .10000E+07 18 'norm ' 17.826 1.0000 .0000 .10000E+07 19 'Prefactor ' .82001E-01 1.0000 .0000 .10000E+07 20 'Prefactor ' .21911E-01 1.0000 .0000 .10000E+07 21 'Prefactor ' 3.7297 1.0000 .0000 .10000E+07 22 'Normalizat' 1.4730 1.0000 .10000E-01 10.000 23 'Prefactor ' .89103 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5790E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12344.50 FROM MIGRAD STATUS=CONVERGED 156 CALLS 1891 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .25918E-06 17.801 -.19997E-06** at limit ** 2 norm 3.7246 10.227 .98191E-07 .40080E-01 3 Prefactor .10270E-07 5.7372 .27085E-06** at limit ** 4 norm .0000 .52886 -.84618E-07** at limit ** 5 Prefactor .15425E-02 2.0387 .20144E-07** at limit ** 6 Prefactor 8.6724 12.502 -.72002E-07 -.38707E-02 7 Prefactor .52958E-07 8.2047 .13588E-06** at limit ** 8 Prefactor .32203E-05 21.687 .27584E-06** at limit ** 9 norm .95649 1.8901 -.69347E-07 -.11852E-02 10 Prefactor 2.5957 5.3200 .43244E-07 .62336E-03 11 Prefactor .77716E-09 2.4312 -.26362E-06** at limit ** 12 norm .62783E-07 10.881 -.61143E-07** at limit ** 13 Prefactor .32402E-05 29.591 .66141E-06** at limit ** 14 norm 2.7440 2.9980 .50568E-07 .15406E-02 15 Prefactor 20.824 22.643 -.40104E-07 .96461E-01 16 norm 7.9927 7.1016 -.16758E-07 .84413E-04 17 norm .11102E-09 4.1094 .12113E-06** at limit ** 18 norm 17.831 1.2830 -.46961E-08 .10462E-01 19 Prefactor .55511E-09 53.538 -.48771E-07** at limit ** 20 Prefactor .97822E-06 37.769 .43577E-06** at limit ** 21 Prefactor 3.7338 5.0359 -.14189E-06 -.38659E-02 22 Normalizat 1.4732 .20052 -.25107E-05 -.26622E-04 23 Prefactor .89102 .70167E-01 .12370E-05 .12491E-03 ERR DEF= .500 Final values: Prefactor = 2.59182e-07 norm = 3.72457 Prefactor = 1.02696e-08 norm = 0 Prefactor = 0.00154249 Prefactor = 8.67242 Prefactor = 5.29576e-08 Prefactor = 3.22026e-06 norm = 0.956486 Prefactor = 2.59567 Prefactor = 7.77156e-10 norm = 6.27831e-08 Prefactor = 3.24024e-06 norm = 2.74402 Prefactor = 20.8239 norm = 7.99272 norm = 1.11022e-10 norm = 17.8309 Prefactor = 5.55112e-10 Prefactor = 9.78218e-07 Prefactor = 3.7338 Normalizat = 1.47317 Prefactor = 0.891017 ********** ** 18 **HESSE ********** FCN= 12344.50 FROM HESSE STATUS=OK 424 CALLS 2315 TOTAL EDM= .17E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .25918E-06 18.896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm 3.7246 13.990 .51456E-03 -1.5669 3 Prefactor .10270E-07 36.199 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .0000 .52779 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .15425E-02 1.9965 .50401E-02 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 8.6724 17.836 .33979E-03 -1.5649 7 Prefactor .52958E-07 8.7789 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .32203E-05 27.048 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .95649 1.8986 .42432E-03 -1.5688 10 Prefactor 2.5957 5.3351 .64298E-03 -1.5676 11 Prefactor .77716E-09 2.4323 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .62783E-07 11.122 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .32402E-05 33.751 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 2.7440 3.0090 .61430E-03 -1.5675 15 Prefactor 20.824 47.378 .21853E-03 -1.5617 16 norm 7.9927 7.1026 .35377E-03 -1.5651 17 norm .11102E-09 3.9973 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 17.831 9.9150 .23694E-03 -1.5624 19 Prefactor .55511E-09 52.455 .14440E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .97822E-06 38.703 .16914E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 3.7338 5.0782 .52261E-03 -1.5669 22 Normalizat 1.4732 .18456 .81625E-01 -.78535 23 Prefactor .89102 .62575E-01 .44891E-01 -.96456 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.69647e-06 Minuit parameter uncertainties: 1 0.00442604 2 13.9906 3 0.00122083 4 4.68169e-06 5 0.110988 6 17.8359 7 0.00136383 8 0.0186657 9 1.89859 10 5.33516 11 8.84478e-05 12 0.00167128 13 0.0209153 14 3.00905 15 47.3784 16 7.10265 17 4.33819e-05 18 9.91504 19 0.000343894 20 0.0123061 21 5.07825 22 0.184642 23 0.0625803 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12344.4985592 Extracting fit parameters... 4FGL J0023.7+4457 Spectrum: PowerLaw 66 Prefactor: 1.542e-03 1.110e-01 0.000e+00 1.000e+06 ( 1.000e-12) 67 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 68 Scale: 8.445e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 576 Prefactor: 8.910e-01 6.258e-02 0.000e+00 1.000e+01 ( 1.000e+00) 577 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 578 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 571 Normalization: 1.473e+00 1.846e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 5.948 44.951 Photon Flux Upper Limit: 8.69017162581e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00673136401246 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/30019207/likelihoodResults_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.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) = 12344.5538367 delta logL = -0.0552774810458 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12344.498565 delta logL = -5.79084007768e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .32279E-03 1.0000 .0000 .10000E+07 2 'Index ' 2.1647 1.0000 .0000 10.000 3 'Normalizat' 1.4730 1.0000 .10000E-01 10.000 4 'Prefactor ' .89107 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5790E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 12344.50 FROM MIGRAD STATUS=CONVERGED 83 CALLS 276 TOTAL EDM= .33E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .19595E-07 .48914E-03 .42118E-02** at limit ** 2 Index 2.7642 6.2233 .50000 .40473E-08 3 Normalizat 1.4732 .10549E-03 .81624E-01 .16088E-03 4 Prefactor .89101 .37469E-04 .44891E-01 -.20048E-03 ERR DEF= .500 Final values: Prefactor = 1.95954e-08 Index = 2.76422 Normalizat = 1.47319 Prefactor = 0.891014 ********** ** 18 **HESSE ********** FCN= 12344.50 FROM HESSE STATUS=NOT POSDEF 41 CALLS 317 TOTAL EDM= .39E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .19595E-07 .72728E-03 .35015E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7642 7.1218 .50000 -.46358 3 Normalizat 1.4732 .11172E-03 .36129E-03 -.78534 4 Prefactor .89101 .39733E-04 .15911E-03 -.96456 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.87485e-14 Minuit parameter uncertainties: 1 7.55302e-06 2 182.426 3 0.000111716 4 3.97331e-05 Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12344.4985588 delta logL = 3.42999555869e-07 Extracting fit parameters... 4FGL J0023.7+4457 Spectrum: PowerLaw 66 Prefactor: 1.960e-08 7.553e-06 0.000e+00 1.000e+06 ( 1.000e-12) 67 Index: 2.764e+00 1.824e+02 0.000e+00 1.000e+01 (-1.000e+00) 68 Scale: 8.445e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 576 Prefactor: 8.910e-01 3.973e-05 0.000e+00 1.000e+01 ( 1.000e+00) 577 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 578 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 571 Normalization: 1.473e+00 1.117e-04 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 5.948 44.951 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/30019207/cmap_HighResolution_802569601_802828801_4FGL_J0023.7+4457_daily_bin2173.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:45:56.179515', job_id='30019207', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1782614756.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:45:56.179515', job_id='30019207', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1782614756.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' 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 8.09253480494 seconds and trying again... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:45:56.179515', job_id='30019207', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1782614756.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' AND cadence='daily'; UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2026-06-27 19:45:56.179515', job_id='30019207', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory 1782614756.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='2173' AND source_name='4FGL J0023.7+4457' 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 25.8780333609 seconds and trying again... Analysis Complete. Sat Jun 27 19:46:30 PDT 2026