_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781639764.53', return_code='0', job_id='28934924', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' AND cadence='daily';
UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 12:56:04.534779', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781639764.53', return_code='0', job_id='28934924', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' 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 9.62401773647 seconds and trying again...


UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 12:56:04.534779', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781639764.53', return_code='0', job_id='28934924', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' AND cadence='daily';
UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 12:56:04.534779', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781639764.53', return_code='0', job_id='28934924', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' 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/cond/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).

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
a/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 11.4748742417 seconds and trying again...


UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 12:56:04.534779', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781639764.53', return_code='0', job_id='28934924', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' AND cadence='daily';
UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 12:56:04.534779', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781639764.53', return_code='0', job_id='28934924', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' 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.7099346086 seconds and trying again...



Analysis Complete.


Tue Jun 16 12:56:37 PDT 2026

Done.


Performing analysis on: 4FGL_J0112.8+3208_daily_bin2174
RA = 18.2227, Dec = 32.1399
tmin = 802828801, tmax = 803088001
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='28935160', job_status='RUN', time_executed='2026-06-16 12:56:33.497629', time_epoch_executed='1781639793.5' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='2174'
UPDATE lightcurve_data_v2 SET job_id='28935160', job_status='RUN', time_executed='2026-06-16 12:56:33.497629', time_epoch_executed='1781639793.5' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='2174'
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.4901830005 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_id='28935160', job_status='RUN', time_executed='2026-06-16 12:56:33.497629', time_epoch_executed='1781639793.5' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='2174'
UPDATE lightcurve_data_v2 SET job_id='28935160', job_status='RUN', time_executed='2026-06-16 12:56:33.497629', time_epoch_executed='1781639793.5' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='2174'
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.2721980426 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_id='28935160', job_status='RUN', time_executed='2026-06-16 12:56:33.497629', time_epoch_executed='1781639793.5' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='2174'
UPDATE lightcurve_data_v2 SET job_id='28935160number of points = 7448
number of fields = 31
RA_SUN column already exists. File will not be modified.
', job_status='RUN', time_executed='2026-06-16 12:56:33.497629', time_epoch_executed='1781639793.5' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='2174'
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 6.61928618209 seconds and trying again...

Done.

Creating custom output directory:
/lscratch/kocevski/28935160

Creating custom pfile directory:
/lscratch/kocevski/28935160/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=802828801.0 && nMetStart<803088001.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802828801.0 && nMetStart<803088001.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28935160/ft1_4FGL_J0112.8+3208_daily_bin2174.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=802828801.0 && nMetStart<803088001.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28935160/ft1_4FGL_J0112.8+3208_daily_bin2174.fits outfile=/lscratch/kocevski/28935160/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin2174.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=802828801.0 tmax=803088001.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.03
user 1.50
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.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/28935160/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin2174.fits evtable="EVENTS" outfile="/lscratch/kocevski/28935160/ft1_filtered_4FGL_J0112.8+3208_daily_bin2174.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.67
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 924

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28935160/ft1_filtered_4FGL_J0112.8+3208_daily_bin2174.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28935160/ltcube_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.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/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.fits
.....................!
real 8.65
user 8.10
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28935160/ft1_filtered_4FGL_J0112.8+3208_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28935160/ltcube_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.fits outfile=/lscratch/kocevski/28935160/expmap_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.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/28935160/ltcube_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.fits
.....................!
real 67.60
user 62.65
sys 4.06

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
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J0112.8+3208 @ 18.2227 32.1399

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28935160/ft1_filtered_4FGL_J0112.8+3208_daily_bin2174.fits scfile=/lscratch/kocevski/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.fits outfile=/lscratch/kocevski/28935160/cmap_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.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=18.2227 yref=32.1399 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.93
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28935160/ft1_filtered_4FGL_J0112.8+3208_daily_bin2174.fits scfile=/lscratch/kocevski/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.fits outfile=/lscratch/kocevski/28935160/cmap_HighResolution_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.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=18.2227 yref=32.1399 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.74
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28935160/ft1_filtered_4FGL_J0112.8+3208_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28935160/Model_4FGL_J0112.8+3208_daily_bin2174.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 GAL_V02
Working on...
/lscratch/kocevski/28935160/ft1_filtered_4FGL_J0112.8+3208_daily_bin2174.fits.....................!
real 36.59
user 34.77
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28935160/ft1_filtered_4FGL_J0112.8+3208_daily_bin2174.fits', '/lscratch/kocevski/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.fits', expMap='/lscratch/kocevski/28935160/expmap_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.fits', expCube='/lscratch/kocevski/28935160/ltcube_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28935160/Model_4FGL_J0112.8+3208_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0112.8+3208'

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.942e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  2.252e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  6.695e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28935160/ft1_filtered_4FGL_J0112.8+3208_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/28935160/ft2_4FGL_J0112.8+3208_daily_bin2174.fits
Exposure map: /lscratch/kocevski/28935160/expmap_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/28935160/ltcube_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28935160/Model_4FGL_J0112.8+3208_daily_bin2174.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) = 10206.0935318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 10206.0378252

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25337E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .83719       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26478       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.7632       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31949E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.3604       1.0000          .0000       .10000E+07
     7 'Prefactor '    .32336E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .84228       1.0000          .0000       .10000E+07
     9 'norm      '    .25969E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14093E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .41034E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4435       1.0000          .0000       .10000E+07
    13 'norm      '    1.2445       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.3077       1.0000          .0000       .10000E+07
    15 'norm      '    1.5806       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9643       1.0000          .0000       .10000E+07
    17 'Prefactor '    .81584E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    9.3603       1.0000          .0000       .10000E+07
    19 'norm      '    .38496E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.8317       1.0000          .0000       .10000E+07
    21 'Normalizat'    .66431       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2036       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10206.04     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1394 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    15.356        .29677E-06** at limit **
   2  norm          .84206        1.3175        .99230E-07   -.16596E-02
   3  Prefactor     .22605E-03    163.07        .20615E-05** at limit **
   4  Prefactor     1.7375        4.7722        .34470E-07    .31963E-02
   5  Prefactor     .20961E-06    4.4822        .12045E-06** at limit **
   6  Prefactor     5.4601        6.3932       -.84603E-06   -.43061E-01
   7  Prefactor     .29421E-08    6.7159        .48180E-06** at limit **
   8  norm          .84165        .43235        .52634E-07    .74238E-02
   9  norm          .36454E-01    10.419       -.43680E-06** at limit **
  10  Prefactor     .34395E-06    3.3360        .58464E-06** at limit **
  11  Prefactor      .0000        .76129        .15729E-06** at limit **
  12  Prefactor     4.6400        8.3032        .58166E-06    .90354E-02
  13  norm          1.2433        .87548       -.12488E-07    .31298E-03
  14  Prefactor     1.9944        33.027        .15624E-05   -.41766E-01
  15  norm          1.5805        .58543       -.68149E-08   -.12921E-02
  16  Prefactor     2.9849        2.8070        .42724E-06   -.35332E-01
  17  Prefactor     .55511E-10    1.4585       -.69950E-06** at limit **
  18  Prefactor     9.3094        1.3016       -.55070E-08    .10289E-01
  19  norm          .83792E-01    25.417       -.10154E-05** at limit **
  20  Prefactor     4.7355        6.2289        .41298E-06    .12695E-01
  21  Normalizat    .66394        .18795        .38185E-06   -.17145E-03
  22  Prefactor     1.2037        .12104       -.25801E-05   -.43059E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 0.842057
  Prefactor  = 0.000226047
  Prefactor  = 1.73749
  Prefactor  = 2.0961e-07
  Prefactor  = 5.46013
  Prefactor  = 2.94209e-09
  norm       = 0.841654
  norm       = 0.0364544
  Prefactor  = 3.43947e-07
  Prefactor  = 0
  Prefactor  = 4.64002
  norm       = 1.24327
  Prefactor  = 1.9944
  norm       = 1.58045
  Prefactor  = 2.98492
  Prefactor  = 5.55112e-11
  Prefactor  = 9.30935
  norm       = 0.0837922
  Prefactor  = 4.7355
  Normalizat = 0.663945
  Prefactor  = 1.2037
 **********
 **   18 **HESSE 
 **********

 FCN=   10206.04     FROM HESSE     STATUS=OK           410 CALLS     1804 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    15.524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .84206        1.3278        .50203E-03   -1.5690    
   3  Prefactor     .22605E-03    4.1240        .75669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7375        4.8054        .78867E-03   -1.5682    
   5  Prefactor     .20961E-06    7.6965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.4601        6.5413        .43383E-03   -1.5661    
   7  Prefactor     .29421E-08    6.8661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .84165        .43211        .49836E-03   -1.5690    
   9  norm          .36454E-01    .43993        .45539E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .34395E-06    7.3041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .76503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.6400        8.3926        .47747E-03   -1.5665    
  13  norm          1.2433        .87779        .10037E-02   -1.5686    
  14  Prefactor     1.9944        65.984        .67517E-03   -1.5680    
  15  norm          1.5805        .59075        .84446E-03   -1.5683    
  16  Prefactor     2.9849        11.258        .58952E-03   -1.5673    
  17  Prefactor     .55511E-10    1.4657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.3094        13.316        .32733E-03   -1.5647    
  19  norm          .83792E-01    1.5108        .73703E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.7355        6.4001        .45742E-03   -1.5664    
  21  Normalizat    .66394        .16591        .79242E-01   -1.0533    
  22  Prefactor     1.2037        .10584        .34547E-01   -.86218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.12972e-07
Minuit parameter uncertainties:
  1  8.1077e-05
  2  1.32785
  3  0.0610647
  4  4.80543
  5  0.00254028
  6  6.54128
  7  0.000283178
  8  0.432113
  9  0.253278
  10  0.00316991
  11  6.74469e-06
  12  8.39266
  13  0.877787
  14  22.9435
  15  0.590753
  16  11.2577
  17  1.42474e-05
  18  13.3157
  19  0.711601
  20  6.40015
  21  0.16604
  22  0.105863
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 10206.0355436

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  3.645e-02  2.533e-01  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  2.252e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  6.695e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.204e+00  1.059e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  6.639e-01  1.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 18.223 32.140
Photon Flux Upper Limit: 7.6804156655e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75984847077e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28935160/likelihoodResults_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.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) = 10204.0217671
delta logL = 2.01377647959

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10204.0179832
delta logL = 2.01756031124

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12077       1.0000          .0000       .10000E+07
     2 'alpha     '    4.9998       1.0000          .0000       5.0000    
     3 'Normalizat'    .53857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2544       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10204.02     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      323 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12081        1.6687        .42964E-03** at limit **
   2  alpha         5.0000        4.8519        .46271    ** at limit **
   3  Normalizat    .53843        .79091E-01    .87448E-01    .64102E-04
   4  Prefactor     1.2544        .49974E-01    .33457E-01   -.47878E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.120814
  alpha      = 5
  Normalizat = 0.538429
  Prefactor  = 1.25444
 **********
 **   18 **HESSE 
 **********

 FCN=   10204.02     FROM HESSE     STATUS=OK            37 CALLS      360 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12081        .97600E-01    .19557E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.1382        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .53843        .19334        .38739E-03   -1.1067    
   4  Prefactor     1.2544        .12322        .17153E-03   -.84672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52828e-09
Minuit parameter uncertainties:
  1  0.0975997
  2  1.52953e-05
  3  0.193579
  4  0.123252
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10204.0179753
delta logL = 2.01756827637

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.208e-01  9.760e-02  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  5.000e+00  1.530e-05  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  6.695e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.254e+00  1.233e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  5.384e-01  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.46
Ra Dec: 18.223 32.140
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.38e-08 +/- 6.73e-08
Energy Flux (Free Index): 1.13e-05 +/- 9.08e-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/28935160/cmap_HighResolution_802828801_803088001_4FGL_J0112.8+3208_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 13:03:31.018267', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781640211.02', return_code='0', job_id='28935160', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' AND cadence='daily';
UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 13:03:31.018267', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781640211.02', return_code='0', job_id='28935160', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' 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 16.5132203674 seconds and trying again...


UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 13:03:31.018267', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781640211.02', return_code='0', job_id='28935160', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' AND cadence='daily';
UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 13:03:31.018267', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781640211.02', return_code='0', job_id='28935160', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' 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.5850849711 seconds and trying again...


UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 13:03:31.018267', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781640211.02', return_code='0', job_id='28935160', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' AND cadence='daily';
UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 13:03:31.018267', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781640211.02', return_code='0', job_id='28935160', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' 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/condashell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/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 1.2460526468 seconds and trying again...


UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 13:03:31.018267', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781640211.02', return_code='0', job_id='28935160', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' AND cadence='daily';
UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.02e+00', photon_flux2='8.38e-08', job_status='DONE', time_completed='2026-06-16 13:03:31.018267', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.68e-08', energy_flux_error2='9.08e-06', EG='0.66', time_epoch_completed='1781640211.02', return_code='0', job_id='28935160', GAL2='1.25', EG2='0.54', return_code2='0', photon_flux_error2='6.73e-08', ts2='4.46', photon_index='2.25' WHERE bin_id='2174' AND source_name='4FGL J0112.8+3208' 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 17.1412466962 seconds and trying again...



Analysis Complete.


Tue Jun 16 13:04:16 PDT 2026

