 **********
 **   18 **HESSE 
 **********

 FCN=   8012.121     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      328 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31613E-01    4.3890        .25722E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.6107        7.5221        .75423E-02    .12245    
   3  Normalizat    .79633        .14645        .30040E-03   -1.0020    
   4  Prefactor     1.0180        .10356        .19312E-03   -.92134    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71696e-09
Minuit parameter uncertainties:
  1  0.744984
  2  10.7879
  3  0.146525
  4  0.103576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12125883
delta logL = 0.202037754598

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.161e-02  7.450e-01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  5.611e+00  1.079e+01  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.018e+00  1.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.963e-01  1.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/28110282/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2026-06-08 19:03:17.404513', job_id='28110282', GAL2='1.02', fit_tolerance='1e-08', EG2='0.80', EG='0.83', time_epoch_completed='1780970597.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.02e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2172' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun  8 19:03:17 PDT 2026

number of points = 7567
number of fields = 31
RA_SUN column already exists. File will not be modified.
/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
Done.


Performing analysis on: 4FGL_J2349.4+0534_daily_bin2172
RA = 357.356, Dec = 5.579
tmin = 802310401, tmax = 802569601
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='28110554', job_status='RUN', time_executed='2026-06-08 19:02:02.978332', time_epoch_executed='1780970522.98' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='2172'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28110554

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28110554/ft1_4FGL_J2349.4+0534_daily_bin2172.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28110554/ft1_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110554/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin2172.fits ra=357.356 dec=5.579 rad=12.0 tmin=802310401.0 tmax=802569601.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.61
user 2.11
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.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/28110554/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" outfile="/lscratch/kocevski/28110554/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.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.68
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 720

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28110554/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" outfil
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)
e=/lscratch/kocevski/28110516/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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/28110516/ft2_4FGL_J2349.4+0534_daily_bin2172.fits
.....................!
real 7.34
user 6.88
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28110516/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28110516/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28110516/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110516/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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/28110516/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
.....................!
real 59.89
user 55.84
sys 3.49

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28110516/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits scfile=/lscratch/kocevski/28110516/ft2_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110516/cmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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=357.356 yref=5.579 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.89
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28110516/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits scfile=/lscratch/kocevski/28110516/ft2_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110516/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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=357.356 yref=5.579 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.61
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28110516/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28110516/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28110516/Model_4FGL_J2349.4+0534_daily_bin2172.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
Worki
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2349.4+0534_daily_bin2172
RA = 357.356, Dec = 5.579
tmin = 802310401, tmax = 802569601
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='28110713', job_status='RUN', time_executed='2026-06-08 19:02:34.375994', time_epoch_executed='1780970554.38' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='2172'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28110713

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28110713/ft1_4FGL_J2349.4+0534_daily_bin2172.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28110713/ft1_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110713/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin2172.fits ra=357.356 dec=5.579 rad=12.0 tmin=802310401.0 tmax=802569601.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.50
user 2.05
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.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/28110713/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" outfile="/lscratch/kocevski/28110713/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.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.60
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 720

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28110713/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" outfil=/lscratch/kocevski/28110540/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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/28110540/ft2_4FGL_J2349.4+0534_daily_bin2172.fits
.....................!
real 7.31
user 6.76
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28110540/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28110540/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28110540/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110540/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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/28110540/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
.....................!
real 59.93
user 55.79
sys 3.52

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28110540/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits scfile=/lscratch/kocevski/28110540/ft2_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110540/cmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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=357.356 yref=5.579 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.61
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28110540/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits scfile=/lscratch/kocevski/28110540/ft2_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110540/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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=357.356 yref=5.579 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.60
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28110540/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28110540/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28110540/Model_4FGL_J2349.4+0534_daily_bin2172.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
Workinng on...
/lscratch/kocevski/28110516/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits....................!
real 28.68
user 27.30
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28110516/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits', '/lscratch/kocevski/28110516/ft2_4FGL_J2349.4+0534_daily_bin2172.fits', expMap='/lscratch/kocevski/28110516/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits', expCube='/lscratch/kocevski/28110516/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28110516/Model_4FGL_J2349.4+0534_daily_bin2172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28110516/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits
Spacecraft file(s): /lscratch/kocevski/28110516/ft2_4FGL_J2349.4+0534_daily_bin2172.fits
Exposure map: /lscratch/kocevski/28110516/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
Exposure cube: /lscratch/kocevski/28110516/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28110516/Model_4FGL_J2349.4+0534_daily_bin2172.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) = 8012.33685379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.134       1.0000          .0000       .10000E+07
     2 'norm      '    .23523E-05   1.0000          .0000       .10000E+07
     3 'norm      '    8.9762       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47870E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.871       1.0000          .0000       .10000E+07
     6 'Prefactor '    .91637E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .15532E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12782E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26793       1.0000          .0000       .10000E+07
    10 'norm      '    5.8669       1.0000          .0000       .10000E+07
    11 'Prefactor '    .30668E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29850E-03   1.0000          .0000       .10000E+07
    13 'norm      '    12.368       1.0000          .0000       .10000E+07
    14 'norm      '    4.4183       1.0000          .0000       .10000E+07
    15 'Prefactor '    .69820       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.786       1.0000          .0000       .10000E+07
    17 'Prefactor '    .33562E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    .83063       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0038       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8012.323     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1170 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.144        3.8606       -.25096E-07   -.37548E-01
   2  norm           .0000        1.7164       -.64332E-07** at limit **
   3  norm          8.9714        4.0951       -.71112E-08    .29409E-03
   4  Prefactor      .0000        2.5844        .13397E-06** at limit **
   5  Prefactor     39.794        25.314       -.77441E-06    .87458E-02
   6  Prefactor     .30309E-07    3.5401        .21230E-06** at limit **
   7  norm           .0000        1.2587        .27359E-08** at limit **
   8  Prefactor     .36693E-07    3.4160        .16556E-07** at limit **
   9  Prefactor     .50349E-07    330.56        .50916E-05** at limit **
  10  norm          5.8392        5.9661       -.12441E-07   -.82811E-06
  11  Prefactor      .0000        2.1619       -.40347E-07** at limit **
  12  Prefactor     .83267E-09    7.1531       -.14700E-06** at limit **
  13  norm          12.368        8.2882       -.11380E-06   -.31052E-01
  14  norm          4.4143        1.3475       -.34302E-07    .11792E-01
  15  Prefactor     .69920        2.4117        .48311E-07   -.16747E-02
  16  Prefactor     11.539        8.8141        .42884E-06    .93126E-02
  17  Prefactor     .38858E-08    7.9307        .23051E-06** at limit **
  18  Normalizat    .83075        .18460        .18983E-05   -.21993E-04
  19  Prefactor     1.0038        .13252       -.34613E-05   -.19571E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.1441
  norm       = 0
  norm       = 8.97137
  Prefactor  = 0
  Prefactor  = 39.7942
  Prefactor  = 3.03091e-08
  norm       = 0
  Prefactor  = 3.66929e-08
  Prefactor  = 5.03486e-08
  norm       = 5.83918
  Prefactor  = 0
  Prefactor  = 8.32667e-10
  norm       = 12.3676
  norm       = 4.41434
  Prefactor  = 0.699197
  Prefactor  = 11.5387
  Prefactor  = 3.88578e-09
  Normalizat = 0.830755
  Prefactor  = 1.00376
number of points = 7567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2349.4+0534_daily_bin2172
RA = 357.356, Dec = 5.579
tmin = 802310401, tmax = 802569601
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='28110797', job_status='RUN', time_executed='2026-06-08 19:03:37.401592', time_epoch_executed='1780970617.4' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='2172'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28110797

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28110797/ft1_4FGL_J2349.4+0534_daily_bin2172.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28110797/ft1_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110797/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin2172.fits ra=357.356 dec=5.579 rad=12.0 tmin=802310401.0 tmax=802569601.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.43
user 1.84
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.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/28110797/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" outfile="/lscratch/kocevski/28110797/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.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.57
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 720

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28110797/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" outfile **********
 **   18 **HESSE 
 **********

 FCN=   8012.323     FROM HESSE     STATUS=OK           318 CALLS     1488 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.144        13.641        .17375E-03   -1.5593    
   2  norm           .0000        1.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.9714        4.1010        .33430E-03   -1.5648    
   4  Prefactor      .0000        2.5875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.794        26.933        .16041E-03   -1.5582    
   6  Prefactor     .30309E-07    5.1422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .34603        .28250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .36693E-07    5.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50349E-07    28.718        .15212E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.8392        5.9889        .41437E-03   -1.5660    
  11  Prefactor      .0000        2.1641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .83267E-09    7.2674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.368        10.183        .28458E-03   -1.5638    
  14  norm          4.4143        18.163        .47886E-03   -1.5666    
  15  Prefactor     .69920        2.7463        .60855E-03   -1.5691    
  16  Prefactor     11.539        26.490        .29155E-03   -1.5640    
  17  Prefactor     .38858E-08    8.3805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .83075        .16254        .66574E-01   -.98938    
  19  Prefactor     1.0038        .11395        .44454E-01   -.92604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65033e-06
Minuit parameter uncertainties:
  1  13.641
  2  6.95902e-07
  3  4.10096
  4  3.35014e-06
  5  26.933
  6  0.000789532
  7  3.21424e-08
  8  0.000873785
  9  0.002405
  10  5.98892
  11  1.19842e-06
  12  0.00015477
  13  10.1827
  14  17.9083
  15  2.74629
  16  26.4899
  17  0.00036109
  18  0.16264
  19  0.113982
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.886e-09  3.611e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.004e+00  1.140e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.308e-01  1.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 6.45562219415e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00501032177902 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28110516/likelihoodResults_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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) = 8012.32363702
delta logL = -0.000340433729434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12126017
delta logL = 0.202036411362

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31283E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.6152       1.0000          .0000       10.000    
     3 'Normalizat'    .79634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8012.121     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      295 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31613E-01    .50677        .58169E-03** at limit **
   2  Index         5.6107        2.0120        .20299        .78104E-05
   3  Normalizat    .79633        .20517E-01    .67893E-01   -.52768E-04
   4  Prefactor     1.0180        .14819E-01    .42343E-01   -.40545E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316135
  Index      = 5.61072
  Normalizat = 0.796331
  Prefactor  = 1.01795
 **********
 **   18 **HESSE 
 **********

 FCN=   8012.121     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      328 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31613E-01    4.3890        .25722E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.6107        7.5221        .75423E-02    .12245    
   3  Normalizat    .79633        .14645        .30040E-03   -1.0020    
   4  Prefactor     1.0180        .10356        .19312E-03   -.92134    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71696e-09
Minuit parameter uncertainties:
  1  0.744984
  2  10.7879
  3  0.146525
  4  0.103576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
g on...
/lscratch/kocevski/28110540/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits....................!
real 29.64
user 27.84
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28110540/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits', '/lscratch/kocevski/28110540/ft2_4FGL_J2349.4+0534_daily_bin2172.fits', expMap='/lscratch/kocevski/28110540/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits', expCube='/lscratch/kocevski/28110540/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28110540/Model_4FGL_J2349.4+0534_daily_bin2172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28110540/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits
Spacecraft file(s): /lscratch/kocevski/28110540/ft2_4FGL_J2349.4+0534_daily_bin2172.fits
Exposure map: /lscratch/kocevski/28110540/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
Exposure cube: /lscratch/kocevski/28110540/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28110540/Model_4FGL_J2349.4+0534_daily_bin2172.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) = 8012.33685379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.134       1.0000          .0000       .10000E+07
     2 'norm      '    .23523E-05   1.0000          .0000       .10000E+07
     3 'norm      '    8.9762       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47870E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.871       1.0000          .0000       .10000E+07
     6 'Prefactor '    .91637E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .15532E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12782E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26793       1.0000          .0000       .10000E+07
    10 'norm      '    5.8669       1.0000          .0000       .10000E+07
    11 'Prefactor '    .30668E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29850E-03   1.0000          .0000       .10000E+07
    13 'norm      '    12.368       1.0000          .0000       .10000E+07
    14 'norm      '    4.4183       1.0000          .0000       .10000E+07
    15 'Prefactor '    .69820       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.786       1.0000          .0000       .10000E+07
    17 'Prefactor '    .33562E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    .83063       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0038       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8012.323     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1170 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.144        3.8606       -.25096E-07   -.37548E-01
   2  norm           .0000        1.7164       -.64332E-07** at limit **
   3  norm          8.9714        4.0951       -.71112E-08    .29409E-03
   4  Prefactor      .0000        2.5844        .13397E-06** at limit **
   5  Prefactor     39.794        25.314       -.77441E-06    .87458E-02
   6  Prefactor     .30309E-07    3.5401        .21230E-06** at limit **
   7  norm           .0000        1.2587        .27359E-08** at limit **
   8  Prefactor     .36693E-07    3.4160        .16556E-07** at limit **
   9  Prefactor     .50349E-07    330.56        .50916E-05** at limit **
  10  norm          5.8392        5.9661       -.12441E-07   -.82811E-06
  11  Prefactor      .0000        2.1619       -.40347E-07** at limit **
  12  Prefactor     .83267E-09    7.1531       -.14700E-06** at limit **
  13  norm          12.368        8.2882       -.11380E-06   -.31052E-01
  14  norm          4.4143        1.3475       -.34302E-07    .11792E-01
  15  Prefactor     .69920        2.4117        .48311E-07   -.16747E-02
  16  Prefactor     11.539        8.8141        .42884E-06    .93126E-02
  17  Prefactor     .38858E-08    7.9307        .23051E-06** at limit **
  18  Normalizat    .83075        .18460        .18983E-05   -.21993E-04
  19  Prefactor     1.0038        .13252       -.34613E-05   -.19571E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.1441
  norm       = 0
  norm       = 8.97137
  Prefactor  = 0
  Prefactor  = 39.7942
  Prefactor  = 3.03091e-08
  norm       = 0
  Prefactor  = 3.66929e-08
  Prefactor  = 5.03486e-08
  norm       = 5.83918
  Prefactor  = 0
  Prefactor  = 8.32667e-10
  norm       = 12.3676
  norm       = 4.41434
  Prefactor  = 0.699197
  Prefactor  = 11.5387
  Prefactor  = 3.88578e-09
  Normalizat = 0.830755
  Prefactor  = 1.00376
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12125883
delta logL = 0.202037754598

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.161e-02  7.450e-01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  5.611e+00  1.079e+01  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.018e+00  1.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.963e-01  1.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/28110516/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2026-06-08 19:05:15.349467', job_id='28110516', GAL2='1.02', fit_tolerance='1e-08', EG2='0.80', EG='0.83', time_epoch_completed='1780970715.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.02e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2172' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun  8 19:05:15 PDT 2026

e=/lscratch/kocevski/28110554/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.fits
.....................!
real 8.26
user 7.68
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28110554/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28110554/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110554/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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/28110554/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
.....................!
real 64.65
user 60.50
sys 3.46

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28110554/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits scfile=/lscratch/kocevski/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110554/cmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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=357.356 yref=5.579 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.77
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28110554/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits scfile=/lscratch/kocevski/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110554/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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=357.356 yref=5.579 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.89
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28110554/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28110554/Model_4FGL_J2349.4+0534_daily_bin2172.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
Worki **********
 **   18 **HESSE 
 **********

 FCN=   8012.323     FROM HESSE     STATUS=OK           318 CALLS     1488 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.144        13.641        .17375E-03   -1.5593    
   2  norm           .0000        1.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.9714        4.1010        .33430E-03   -1.5648    
   4  Prefactor      .0000        2.5875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.794        26.933        .16041E-03   -1.5582    
   6  Prefactor     .30309E-07    5.1422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .34603        .28250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .36693E-07    5.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50349E-07    28.718        .15212E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.8392        5.9889        .41437E-03   -1.5660    
  11  Prefactor      .0000        2.1641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .83267E-09    7.2674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.368        10.183        .28458E-03   -1.5638    
  14  norm          4.4143        18.163        .47886E-03   -1.5666    
  15  Prefactor     .69920        2.7463        .60855E-03   -1.5691    
  16  Prefactor     11.539        26.490        .29155E-03   -1.5640    
  17  Prefactor     .38858E-08    8.3805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .83075        .16254        .66574E-01   -.98938    
  19  Prefactor     1.0038        .11395        .44454E-01   -.92604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65033e-06
Minuit parameter uncertainties:
  1  13.641
  2  6.95902e-07
  3  4.10096
  4  3.35014e-06
  5  26.933
  6  0.000789532
  7  3.21424e-08
  8  0.000873785
  9  0.002405
  10  5.98892
  11  1.19842e-06
  12  0.00015477
  13  10.1827
  14  17.9083
  15  2.74629
  16  26.4899
  17  0.00036109
  18  0.16264
  19  0.113982
e=/lscratch/kocevski/28110713/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.fits
.....................!
real 8.34
user 7.72
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28110713/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28110713/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110713/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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/28110713/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
.....................!
real 68.18
user 63.09
sys 4.19

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28110713/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits scfile=/lscratch/kocevski/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110713/cmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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=357.356 yref=5.579 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.91
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28110713/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits scfile=/lscratch/kocevski/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110713/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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=357.356 yref=5.579 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.58
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28110713/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28110713/Model_4FGL_J2349.4+0534_daily_bin2172.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
WorkiDone.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.886e-09  3.611e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.004e+00  1.140e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.308e-01  1.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 6.45562219415e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00501032177902 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28110540/likelihoodResults_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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) = 8012.32363702
delta logL = -0.000340433729434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12126017
delta logL = 0.202036411362

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31283E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.6152       1.0000          .0000       10.000    
     3 'Normalizat'    .79634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8012.121     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      295 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31613E-01    .50677        .58169E-03** at limit **
   2  Index         5.6107        2.0120        .20299        .78104E-05
   3  Normalizat    .79633        .20517E-01    .67893E-01   -.52768E-04
   4  Prefactor     1.0180        .14819E-01    .42343E-01   -.40545E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316135
  Index      = 5.61072
  Normalizat = 0.796331
  Prefactor  = 1.01795
 **********
 **   18 **HESSE 
 **********

 FCN=   8012.121     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      328 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31613E-01    4.3890        .25722E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.6107        7.5221        .75423E-02    .12245    
   3  Normalizat    .79633        .14645        .30040E-03   -1.0020    
   4  Prefactor     1.0180        .10356        .19312E-03   -.92134    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71696e-09
Minuit parameter uncertainties:
  1  0.744984
  2  10.7879
  3  0.146525
  4  0.103576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12125883
delta logL = 0.202037754598

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.161e-02  7.450e-01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  5.611e+00  1.079e+01  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.018e+00  1.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.963e-01  1.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/28110540/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2026-06-08 19:05:51.713621', job_id='28110540', GAL2='1.02', fit_tolerance='1e-08', EG2='0.80', EG='0.83', time_epoch_completed='1780970751.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.02e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2172' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun  8 19:05:51 PDT 2026

ng on...
/lscratch/kocevski/28110554/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits....................!
real 32.64
user 30.82
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28110554/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits', '/lscratch/kocevski/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.fits', expMap='/lscratch/kocevski/28110554/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits', expCube='/lscratch/kocevski/28110554/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28110554/Model_4FGL_J2349.4+0534_daily_bin2172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28110554/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits
Spacecraft file(s): /lscratch/kocevski/28110554/ft2_4FGL_J2349.4+0534_daily_bin2172.fits
Exposure map: /lscratch/kocevski/28110554/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
Exposure cube: /lscratch/kocevski/28110554/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28110554/Model_4FGL_J2349.4+0534_daily_bin2172.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) = 8012.33685379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.134       1.0000          .0000       .10000E+07
     2 'norm      '    .23523E-05   1.0000          .0000       .10000E+07
     3 'norm      '    8.9762       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47870E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.871       1.0000          .0000       .10000E+07
     6 'Prefactor '    .91637E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .15532E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12782E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26793       1.0000          .0000       .10000E+07
    10 'norm      '    5.8669       1.0000          .0000       .10000E+07
    11 'Prefactor '    .30668E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29850E-03   1.0000          .0000       .10000E+07
    13 'norm      '    12.368       1.0000          .0000       .10000E+07
    14 'norm      '    4.4183       1.0000          .0000       .10000E+07
    15 'Prefactor '    .69820       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.786       1.0000          .0000       .10000E+07
    17 'Prefactor '    .33562E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    .83063       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0038       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8012.323     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1170 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.144        3.8606       -.25096E-07   -.37548E-01
   2  norm           .0000        1.7164       -.64332E-07** at limit **
   3  norm          8.9714        4.0951       -.71112E-08    .29409E-03
   4  Prefactor      .0000        2.5844        .13397E-06** at limit **
   5  Prefactor     39.794        25.314       -.77441E-06    .87458E-02
   6  Prefactor     .30309E-07    3.5401        .21230E-06** at limit **
   7  norm           .0000        1.2587        .27359E-08** at limit **
   8  Prefactor     .36693E-07    3.4160        .16556E-07** at limit **
   9  Prefactor     .50349E-07    330.56        .50916E-05** at limit **
  10  norm          5.8392        5.9661       -.12441E-07   -.82811E-06
  11  Prefactor      .0000        2.1619       -.40347E-07** at limit **
  12  Prefactor     .83267E-09    7.1531       -.14700E-06** at limit **
  13  norm          12.368        8.2882       -.11380E-06   -.31052E-01
  14  norm          4.4143        1.3475       -.34302E-07    .11792E-01
  15  Prefactor     .69920        2.4117        .48311E-07   -.16747E-02
  16  Prefactor     11.539        8.8141        .42884E-06    .93126E-02
  17  Prefactor     .38858E-08    7.9307        .23051E-06** at limit **
  18  Normalizat    .83075        .18460        .18983E-05   -.21993E-04
  19  Prefactor     1.0038        .13252       -.34613E-05   -.19571E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.1441
  norm       = 0
  norm       = 8.97137
  Prefactor  = 0
  Prefactor  = 39.7942
  Prefactor  = 3.03091e-08
  norm       = 0
  Prefactor  = 3.66929e-08
  Prefactor  = 5.03486e-08
  norm       = 5.83918
  Prefactor  = 0
  Prefactor  = 8.32667e-10
  norm       = 12.3676
  norm       = 4.41434
  Prefactor  = 0.699197
  Prefactor  = 11.5387
  Prefactor  = 3.88578e-09
  Normalizat = 0.830755
  Prefactor  = 1.00376
=/lscratch/kocevski/28110797/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.fits
.....................!
real 7.45
user 6.93
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28110797/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28110797/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110797/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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/28110797/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
.....................!
real 59.87
user 55.57
sys 3.49

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28110797/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits scfile=/lscratch/kocevski/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110797/cmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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=357.356 yref=5.579 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.67
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28110797/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits scfile=/lscratch/kocevski/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.fits outfile=/lscratch/kocevski/28110797/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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=357.356 yref=5.579 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.72
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28110797/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits evtable="EVENTS" scfile=/lscratch/kocevski/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28110797/Model_4FGL_J2349.4+0534_daily_bin2172.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
Workin **********
 **   18 **HESSE 
 **********

 FCN=   8012.323     FROM HESSE     STATUS=OK           318 CALLS     1488 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.144        13.641        .17375E-03   -1.5593    
   2  norm           .0000        1.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.9714        4.1010        .33430E-03   -1.5648    
   4  Prefactor      .0000        2.5875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.794        26.933        .16041E-03   -1.5582    
   6  Prefactor     .30309E-07    5.1422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .34603        .28250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .36693E-07    5.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50349E-07    28.718        .15212E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.8392        5.9889        .41437E-03   -1.5660    
  11  Prefactor      .0000        2.1641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .83267E-09    7.2674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.368        10.183        .28458E-03   -1.5638    
  14  norm          4.4143        18.163        .47886E-03   -1.5666    
  15  Prefactor     .69920        2.7463        .60855E-03   -1.5691    
  16  Prefactor     11.539        26.490        .29155E-03   -1.5640    
  17  Prefactor     .38858E-08    8.3805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .83075        .16254        .66574E-01   -.98938    
  19  Prefactor     1.0038        .11395        .44454E-01   -.92604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65033e-06
Minuit parameter uncertainties:
  1  13.641
  2  6.95902e-07
  3  4.10096
  4  3.35014e-06
  5  26.933
  6  0.000789532
  7  3.21424e-08
  8  0.000873785
  9  0.002405
  10  5.98892
  11  1.19842e-06
  12  0.00015477
  13  10.1827
  14  17.9083
  15  2.74629
  16  26.4899
  17  0.00036109
  18  0.16264
  19  0.113982
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.886e-09  3.611e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.004e+00  1.140e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.308e-01  1.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 6.45562219415e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00501032177902 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28110554/likelihoodResults_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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) = 8012.32363702
delta logL = -0.000340433729434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12126017
delta logL = 0.202036411362

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31283E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.6152       1.0000          .0000       10.000    
     3 'Normalizat'    .79634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8012.121     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      295 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31613E-01    .50677        .58169E-03** at limit **
   2  Index         5.6107        2.0120        .20299        .78104E-05
   3  Normalizat    .79633        .20517E-01    .67893E-01   -.52768E-04
   4  Prefactor     1.0180        .14819E-01    .42343E-01   -.40545E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316135
  Index      = 5.61072
  Normalizat = 0.796331
  Prefactor  = 1.01795
ng on...
/lscratch/kocevski/28110713/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits....................!
real 32.90
user 31.09
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28110713/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits', '/lscratch/kocevski/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.fits', expMap='/lscratch/kocevski/28110713/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits', expCube='/lscratch/kocevski/28110713/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28110713/Model_4FGL_J2349.4+0534_daily_bin2172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28110713/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits
Spacecraft file(s): /lscratch/kocevski/28110713/ft2_4FGL_J2349.4+0534_daily_bin2172.fits
Exposure map: /lscratch/kocevski/28110713/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
Exposure cube: /lscratch/kocevski/28110713/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28110713/Model_4FGL_J2349.4+0534_daily_bin2172.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) = 8012.33685379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.134       1.0000          .0000       .10000E+07
     2 'norm      '    .23523E-05   1.0000          .0000       .10000E+07
     3 'norm      '    8.9762       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47870E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.871       1.0000          .0000       .10000E+07
     6 'Prefactor '    .91637E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .15532E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12782E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26793       1.0000          .0000       .10000E+07
    10 'norm      '    5.8669       1.0000          .0000       .10000E+07
    11 'Prefactor '    .30668E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29850E-03   1.0000          .0000       .10000E+07
    13 'norm      '    12.368       1.0000          .0000       .10000E+07
    14 'norm      '    4.4183       1.0000          .0000       .10000E+07
    15 'Prefactor '    .69820       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.786       1.0000          .0000       .10000E+07
    17 'Prefactor '    .33562E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    .83063       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0038       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8012.323     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1170 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.144        3.8606       -.25096E-07   -.37548E-01
   2  norm           .0000        1.7164       -.64332E-07** at limit **
   3  norm          8.9714        4.0951       -.71112E-08    .29409E-03
   4  Prefactor      .0000        2.5844        .13397E-06** at limit **
   5  Prefactor     39.794        25.314       -.77441E-06    .87458E-02
   6  Prefactor     .30309E-07    3.5401        .21230E-06** at limit **
   7  norm           .0000        1.2587        .27359E-08** at limit **
   8  Prefactor     .36693E-07    3.4160        .16556E-07** at limit **
   9  Prefactor     .50349E-07    330.56        .50916E-05** at limit **
  10  norm          5.8392        5.9661       -.12441E-07   -.82811E-06
  11  Prefactor      .0000        2.1619       -.40347E-07** at limit **
  12  Prefactor     .83267E-09    7.1531       -.14700E-06** at limit **
  13  norm          12.368        8.2882       -.11380E-06   -.31052E-01
  14  norm          4.4143        1.3475       -.34302E-07    .11792E-01
  15  Prefactor     .69920        2.4117        .48311E-07   -.16747E-02
  16  Prefactor     11.539        8.8141        .42884E-06    .93126E-02
  17  Prefactor     .38858E-08    7.9307        .23051E-06** at limit **
  18  Normalizat    .83075        .18460        .18983E-05   -.21993E-04
  19  Prefactor     1.0038        .13252       -.34613E-05   -.19571E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.1441
  norm       = 0
  norm       = 8.97137
  Prefactor  = 0
  Prefactor  = 39.7942
  Prefactor  = 3.03091e-08
  norm       = 0
  Prefactor  = 3.66929e-08
  Prefactor  = 5.03486e-08
  norm       = 5.83918
  Prefactor  = 0
  Prefactor  = 8.32667e-10
  norm       = 12.3676
  norm       = 4.41434
  Prefactor  = 0.699197
  Prefactor  = 11.5387
  Prefactor  = 3.88578e-09
  Normalizat = 0.830755
  Prefactor  = 1.00376
 **********
 **   18 **HESSE 
 **********

 FCN=   8012.121     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      328 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31613E-01    4.3890        .25722E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.6107        7.5221        .75423E-02    .12245    
   3  Normalizat    .79633        .14645        .30040E-03   -1.0020    
   4  Prefactor     1.0180        .10356        .19312E-03   -.92134    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71696e-09
Minuit parameter uncertainties:
  1  0.744984
  2  10.7879
  3  0.146525
  4  0.103576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12125883
delta logL = 0.202037754598

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.161e-02  7.450e-01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  5.611e+00  1.079e+01  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.018e+00  1.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.963e-01  1.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/28110554/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2026-06-08 19:06:59.633078', job_id='28110554', GAL2='1.02', fit_tolerance='1e-08', EG2='0.80', EG='0.83', time_epoch_completed='1780970819.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.02e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2172' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun  8 19:06:59 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   8012.323     FROM HESSE     STATUS=OK           318 CALLS     1488 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.144        13.641        .17375E-03   -1.5593    
   2  norm           .0000        1.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.9714        4.1010        .33430E-03   -1.5648    
   4  Prefactor      .0000        2.5875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.794        26.933        .16041E-03   -1.5582    
   6  Prefactor     .30309E-07    5.1422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .34603        .28250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .36693E-07    5.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50349E-07    28.718        .15212E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.8392        5.9889        .41437E-03   -1.5660    
  11  Prefactor      .0000        2.1641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .83267E-09    7.2674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.368        10.183        .28458E-03   -1.5638    
  14  norm          4.4143        18.163        .47886E-03   -1.5666    
  15  Prefactor     .69920        2.7463        .60855E-03   -1.5691    
  16  Prefactor     11.539        26.490        .29155E-03   -1.5640    
  17  Prefactor     .38858E-08    8.3805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .83075        .16254        .66574E-01   -.98938    
  19  Prefactor     1.0038        .11395        .44454E-01   -.92604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65033e-06
Minuit parameter uncertainties:
  1  13.641
  2  6.95902e-07
  3  4.10096
  4  3.35014e-06
  5  26.933
  6  0.000789532
  7  3.21424e-08
  8  0.000873785
  9  0.002405
  10  5.98892
  11  1.19842e-06
  12  0.00015477
  13  10.1827
  14  17.9083
  15  2.74629
  16  26.4899
  17  0.00036109
  18  0.16264
  19  0.113982
g on...
/lscratch/kocevski/28110797/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits....................!
real 29.07
user 27.67
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28110797/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits', '/lscratch/kocevski/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.fits', expMap='/lscratch/kocevski/28110797/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits', expCube='/lscratch/kocevski/28110797/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28110797/Model_4FGL_J2349.4+0534_daily_bin2172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28110797/ft1_filtered_4FGL_J2349.4+0534_daily_bin2172.fits
Spacecraft file(s): /lscratch/kocevski/28110797/ft2_4FGL_J2349.4+0534_daily_bin2172.fits
Exposure map: /lscratch/kocevski/28110797/expmap_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
Exposure cube: /lscratch/kocevski/28110797/ltcube_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28110797/Model_4FGL_J2349.4+0534_daily_bin2172.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) = 8012.33685379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.134       1.0000          .0000       .10000E+07
     2 'norm      '    .23523E-05   1.0000          .0000       .10000E+07
     3 'norm      '    8.9762       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47870E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.871       1.0000          .0000       .10000E+07
     6 'Prefactor '    .91637E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .15532E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12782E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26793       1.0000          .0000       .10000E+07
    10 'norm      '    5.8669       1.0000          .0000       .10000E+07
    11 'Prefactor '    .30668E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29850E-03   1.0000          .0000       .10000E+07
    13 'norm      '    12.368       1.0000          .0000       .10000E+07
    14 'norm      '    4.4183       1.0000          .0000       .10000E+07
    15 'Prefactor '    .69820       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.786       1.0000          .0000       .10000E+07
    17 'Prefactor '    .33562E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    .83063       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0038       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8012.323     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1170 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.144        3.8606       -.25096E-07   -.37548E-01
   2  norm           .0000        1.7164       -.64332E-07** at limit **
   3  norm          8.9714        4.0951       -.71112E-08    .29409E-03
   4  Prefactor      .0000        2.5844        .13397E-06** at limit **
   5  Prefactor     39.794        25.314       -.77441E-06    .87458E-02
   6  Prefactor     .30309E-07    3.5401        .21230E-06** at limit **
   7  norm           .0000        1.2587        .27359E-08** at limit **
   8  Prefactor     .36693E-07    3.4160        .16556E-07** at limit **
   9  Prefactor     .50349E-07    330.56        .50916E-05** at limit **
  10  norm          5.8392        5.9661       -.12441E-07   -.82811E-06
  11  Prefactor      .0000        2.1619       -.40347E-07** at limit **
  12  Prefactor     .83267E-09    7.1531       -.14700E-06** at limit **
  13  norm          12.368        8.2882       -.11380E-06   -.31052E-01
  14  norm          4.4143        1.3475       -.34302E-07    .11792E-01
  15  Prefactor     .69920        2.4117        .48311E-07   -.16747E-02
  16  Prefactor     11.539        8.8141        .42884E-06    .93126E-02
  17  Prefactor     .38858E-08    7.9307        .23051E-06** at limit **
  18  Normalizat    .83075        .18460        .18983E-05   -.21993E-04
  19  Prefactor     1.0038        .13252       -.34613E-05   -.19571E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.1441
  norm       = 0
  norm       = 8.97137
  Prefactor  = 0
  Prefactor  = 39.7942
  Prefactor  = 3.03091e-08
  norm       = 0
  Prefactor  = 3.66929e-08
  Prefactor  = 5.03486e-08
  norm       = 5.83918
  Prefactor  = 0
  Prefactor  = 8.32667e-10
  norm       = 12.3676
  norm       = 4.41434
  Prefactor  = 0.699197
  Prefactor  = 11.5387
  Prefactor  = 3.88578e-09
  Normalizat = 0.830755
  Prefactor  = 1.00376
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.886e-09  3.611e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.004e+00  1.140e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.308e-01  1.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 6.45562219415e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00501032177902 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28110713/likelihoodResults_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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) = 8012.32363702
delta logL = -0.000340433729434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12126017
delta logL = 0.202036411362

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31283E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.6152       1.0000          .0000       10.000    
     3 'Normalizat'    .79634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8012.121     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      295 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31613E-01    .50677        .58169E-03** at limit **
   2  Index         5.6107        2.0120        .20299        .78104E-05
   3  Normalizat    .79633        .20517E-01    .67893E-01   -.52768E-04
   4  Prefactor     1.0180        .14819E-01    .42343E-01   -.40545E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316135
  Index      = 5.61072
  Normalizat = 0.796331
  Prefactor  = 1.01795
 **********
 **   18 **HESSE 
 **********

 FCN=   8012.121     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      328 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31613E-01    4.3890        .25722E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.6107        7.5221        .75423E-02    .12245    
   3  Normalizat    .79633        .14645        .30040E-03   -1.0020    
   4  Prefactor     1.0180        .10356        .19312E-03   -.92134    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71696e-09
Minuit parameter uncertainties:
  1  0.744984
  2  10.7879
  3  0.146525
  4  0.103576
 **********
 **   18 **HESSE 
 **********

 FCN=   8012.323     FROM HESSE     STATUS=OK           318 CALLS     1488 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.144        13.641        .17375E-03   -1.5593    
   2  norm           .0000        1.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.9714        4.1010        .33430E-03   -1.5648    
   4  Prefactor      .0000        2.5875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.794        26.933        .16041E-03   -1.5582    
   6  Prefactor     .30309E-07    5.1422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .34603        .28250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .36693E-07    5.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50349E-07    28.718        .15212E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.8392        5.9889        .41437E-03   -1.5660    
  11  Prefactor      .0000        2.1641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .83267E-09    7.2674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.368        10.183        .28458E-03   -1.5638    
  14  norm          4.4143        18.163        .47886E-03   -1.5666    
  15  Prefactor     .69920        2.7463        .60855E-03   -1.5691    
  16  Prefactor     11.539        26.490        .29155E-03   -1.5640    
  17  Prefactor     .38858E-08    8.3805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .83075        .16254        .66574E-01   -.98938    
  19  Prefactor     1.0038        .11395        .44454E-01   -.92604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65033e-06
Minuit parameter uncertainties:
  1  13.641
  2  6.95902e-07
  3  4.10096
  4  3.35014e-06
  5  26.933
  6  0.000789532
  7  3.21424e-08
  8  0.000873785
  9  0.002405
  10  5.98892
  11  1.19842e-06
  12  0.00015477
  13  10.1827
  14  17.9083
  15  2.74629
  16  26.4899
  17  0.00036109
  18  0.16264
  19  0.113982
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12125883
delta logL = 0.202037754598

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.161e-02  7.450e-01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  5.611e+00  1.079e+01  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.018e+00  1.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.963e-01  1.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/28110713/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2026-06-08 19:07:39.388777', job_id='28110713', GAL2='1.02', fit_tolerance='1e-08', EG2='0.80', EG='0.83', time_epoch_completed='1780970859.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.02e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2172' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun  8 19:07:39 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.886e-09  3.611e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.004e+00  1.140e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.308e-01  1.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 6.45562219415e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00501032177902 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28110797/likelihoodResults_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.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) = 8012.32363702
delta logL = -0.000340433729434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12126017
delta logL = 0.202036411362

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31283E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.6152       1.0000          .0000       10.000    
     3 'Normalizat'    .79634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8012.121     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      295 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31613E-01    .50677        .58169E-03** at limit **
   2  Index         5.6107        2.0120        .20299        .78104E-05
   3  Normalizat    .79633        .20517E-01    .67893E-01   -.52768E-04
   4  Prefactor     1.0180        .14819E-01    .42343E-01   -.40545E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0316135
  Index      = 5.61072
  Normalizat = 0.796331
  Prefactor  = 1.01795
 **********
 **   18 **HESSE 
 **********

 FCN=   8012.121     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      328 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31613E-01    4.3890        .25722E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.6107        7.5221        .75423E-02    .12245    
   3  Normalizat    .79633        .14645        .30040E-03   -1.0020    
   4  Prefactor     1.0180        .10356        .19312E-03   -.92134    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71696e-09
Minuit parameter uncertainties:
  1  0.744984
  2  10.7879
  3  0.146525
  4  0.103576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.12125883
delta logL = 0.202037754598

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.161e-02  7.450e-01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  5.611e+00  1.079e+01  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.018e+00  1.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.963e-01  1.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/28110797/cmap_HighResolution_802310401_802569601_4FGL_J2349.4+0534_daily_bin2172.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2026-06-08 19:08:04.160555', job_id='28110797', GAL2='1.02', fit_tolerance='1e-08', EG2='0.80', EG='0.83', time_epoch_completed='1780970884.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.02e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2172' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun  8 19:08:04 PDT 2026

