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

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
utfile=/lscratch/kocevski/35385425/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385425/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 9.04
user 8.26
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385425/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385425/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385425/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385425/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385425/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 73.61
user 68.64
sys 4.12

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385425/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385425/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385425/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.12
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385425/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385425/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385425/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.09
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385425/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385425/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/353854/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J2349.2+4535_daily_bin2196
RA = 357.305, Dec = 45.5979
tmin = 808531201, tmax = 808790401
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='35385534', job_status='RUN', time_executed='2026-08-19 18:08:53.824110', time_epoch_executed='1787188133.82' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385534

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385534/ft1_4FGL_J2349.2+4535_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385534/ft1_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385534/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits ra=357.305 dec=45.5979 rad=12.0 tmin=808531201.0 tmax=808790401.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.75
user 2.14
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.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/35385534/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385534/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.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.82
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 1276

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385534/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" onumber of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2349.2+4535_daily_bin2196
RA = 357.305, Dec = 45.5979
tmin = 808531201, tmax = 808790401
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='35385532', job_status='RUN', time_executed='2026-08-19 18:08:53.772532', time_epoch_executed='1787188133.77' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385532

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385532/ft1_4FGL_J2349.2+4535_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385532/ft1_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385532/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits ra=357.305 dec=45.5979 rad=12.0 tmin=808531201.0 tmax=808790401.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.97
user 2.16
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.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/35385532/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385532/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.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.85
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 1276

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385532/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" oDone.


Performing analysis on: 4FGL_J2349.2+4535_daily_bin2196
RA = 357.305, Dec = 45.5979
tmin = 808531201, tmax = 808790401
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='35385531', job_status='RUN', time_executed='2026-08-19 18:08:53.763973', time_epoch_executed='1787188133.76' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385531

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385531/ft1_4FGL_J2349.2+4535_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385531/ft1_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385531/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits ra=357.305 dec=45.5979 rad=12.0 tmin=808531201.0 tmax=808790401.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.97
user 2.17
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.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/35385531/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385531/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.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.80
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1276

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385531/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" onumber of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385229/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
Done.


Performing analysis on: 4FGL_J2349.2+4535_daily_bin2196
RA = 357.305, Dec = 45.5979
tmin = 808531201, tmax = 808790401
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='35385520', job_status='RUN', time_executed='2026-08-19 18:08:54.488388', time_epoch_executed='1787188134.49' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385520

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385520/ft1_4FGL_J2349.2+4535_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385520/ft1_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385520/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits ra=357.305 dec=45.5979 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.02
user 2.30
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.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/35385520/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385520/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.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.90
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1276

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385520/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35385442/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385442/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 10.14
user 8.81
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385442/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385442/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385442/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385442/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385442/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 72.66
user 67.25
sys 4.14

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385442/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385442/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385442/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.04
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385442/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385442/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385442/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.04
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385442/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385442/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35385shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385229/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:12:20.724850', job_id='35385229', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188340.72', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:12:21 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385281/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
utfile=/lscratch/kocevski/35385462/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385462/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 9.17
user 8.38
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385462/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385462/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385462/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385462/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385462/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 72.49
user 67.35
sys 4.38

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385462/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385462/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385462/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385462/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385462/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385462/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385462/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385462/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/353854shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385281/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:12:35.365692', job_id='35385281', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188355.37', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:12:35 PDT 2026

utfile=/lscratch/kocevski/35385461/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385461/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 9.07
user 8.12
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385461/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385461/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385461/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385461/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385461/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 70.90
user 65.93
sys 4.07

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385461/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385461/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385461/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.02
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385461/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385461/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385461/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.02
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385461/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385461/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/353854utfile=/lscratch/kocevski/35385470/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385470/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 8.95
user 8.15
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385470/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385470/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385470/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385470/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385470/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 71.03
user 65.94
sys 4.20

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385470/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385470/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385470/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.96
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385470/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385470/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385470/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.98
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385470/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385470/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/353854number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
93/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385293/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 64.96
user 62.94
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385293/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385293/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385293/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385293/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385293/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385293/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385293/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385293/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385293/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385293/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
Done.


Performing analysis on: 4FGL_J2349.2+4535_daily_bin2196
RA = 357.305, Dec = 45.5979
tmin = 808531201, tmax = 808790401
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='35385542', job_status='RUN', time_executed='2026-08-19 18:08:56.082954', time_epoch_executed='1787188136.08' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385542

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385542/ft1_4FGL_J2349.2+4535_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385542/ft1_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385542/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits ra=357.305 dec=45.5979 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.88
user 2.30
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.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/35385542/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385542/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1276

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385542/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" o **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
15/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385415/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 59.01
user 57.71
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385415/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385415/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385415/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385415/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385415/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385415/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385415/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385415/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385415/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385415/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2349.2+4535_daily_bin2196
RA = 357.305, Dec = 45.5979
tmin = 808531201, tmax = 808790401
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='35385570', job_status='RUN', time_executed='2026-08-19 18:09:54.096525', time_epoch_executed='1787188194.1' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385570

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385570/ft1_4FGL_J2349.2+4535_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385570/ft1_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385570/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits ra=357.305 dec=45.5979 rad=12.0 tmin=808531201.0 tmax=808790401.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.85
user 2.15
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.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/35385570/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385570/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.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.94
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1276

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385570/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" ounumber of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2349.2+4535_daily_bin2196
RA = 357.305, Dec = 45.5979
tmin = 808531201, tmax = 808790401
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='35385559', job_status='RUN', time_executed='2026-08-19 18:09:55.281852', time_epoch_executed='1787188195.28' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385559

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385559/ft1_4FGL_J2349.2+4535_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385559/ft1_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385559/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits ra=357.305 dec=45.5979 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.05
user 2.20
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.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/35385559/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385559/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.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.96
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1276

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385559/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" onumber of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
utfile=/lscratch/kocevski/35385534/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 8.60
user 7.79
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385534/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385534/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385534/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385534/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 68.24
user 63.94
sys 3.67

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385534/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385534/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.92
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385534/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385534/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.88
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385534/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/353855Done.


Performing analysis on: 4FGL_J2349.2+4535_daily_bin2196
RA = 357.305, Dec = 45.5979
tmin = 808531201, tmax = 808790401
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='35385548', job_status='RUN', time_executed='2026-08-19 18:09:54.123401', time_epoch_executed='1787188194.12' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385548

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385548/ft1_4FGL_J2349.2+4535_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385548/ft1_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385548/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits ra=357.305 dec=45.5979 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.03
user 2.22
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.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/35385548/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385548/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.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.90
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1276

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385548/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35385532/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 8.53
user 7.90
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385532/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385532/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385532/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385532/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 68.44
user 63.81
sys 3.95

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385532/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385532/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.88
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385532/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385532/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.86
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385532/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/353855utfile=/lscratch/kocevski/35385531/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 8.65
user 7.88
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385531/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385531/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385531/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385531/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 68.34
user 63.98
sys 3.70

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385531/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385531/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.83
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385531/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385531/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.98
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385531/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/353855 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
utfile=/lscratch/kocevski/35385520/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 9.02
user 8.34
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385520/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385520/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385520/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385520/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 73.14
user 68.10
sys 4.33

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385520/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385520/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.98
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385520/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385520/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.84
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385520/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/353855Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385293/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
utfile=/lscratch/kocevski/35385542/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 10.03
user 8.27
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385542/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385542/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385542/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385542/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 73.61
user 68.48
sys 3.95

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385542/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385542/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.11
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385542/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385542/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.92
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385542/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35385shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385293/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:14:22.268625', job_id='35385293', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188462.27', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:14:22 PDT 2026

57/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385457/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 59.47
user 57.83
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385457/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385457/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385457/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385457/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385457/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385457/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385457/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385457/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385457/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385457/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
5420/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385420/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 69.43
user 67.19
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385420/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385420/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385420/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385420/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385420/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385420/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385420/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385420/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385420/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385420/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2349.2+4535_daily_bin2196
RA = 357.305, Dec = 45.5979
tmin = 808531201, tmax = 808790401
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='35385628', job_status='RUN', time_executed='2026-08-19 18:10:57.003700', time_epoch_executed='1787188257.0' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385628

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385628/ft1_4FGL_J2349.2+4535_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385628/ft1_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385628/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits ra=357.305 dec=45.5979 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.26
user 2.24
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.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/35385628/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385628/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1276

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385628/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385415/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385415/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:14:44.801705', job_id='35385415', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188484.8', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:14:45 PDT 2026

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

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
tfile=/lscratch/kocevski/35385570/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 8.62
user 7.93
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385570/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385570/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385570/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385570/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 71.12
user 66.22
sys 4.03

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385570/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385570/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.98
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385570/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385570/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.92
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385570/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/3538557 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
utfile=/lscratch/kocevski/35385559/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 8.89
user 7.96
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385559/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385559/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385559/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385559/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 69.50
user 64.81
sys 4.05

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385559/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385559/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.83
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385559/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385559/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.95
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385559/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/353855utfile=/lscratch/kocevski/35385548/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 8.90
user 8.03
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385548/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385548/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385548/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385548/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 71.13
user 66.14
sys 4.07

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385548/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385548/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.93
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385548/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385548/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.94
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385548/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35385525/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385425/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 65.91
user 63.75
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385425/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385425/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385425/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385425/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385425/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385425/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385425/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385425/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385425/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385425/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
442/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385442/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 61.97
user 60.11
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385442/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385442/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385442/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385442/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385442/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385442/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385442/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385442/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385442/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385442/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385457/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385420/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
61/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385461/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 62.97
user 60.70
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385461/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385461/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385461/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385461/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385461/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385461/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385461/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385461/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385461/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385461/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
e (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385457/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:15:50.019276', job_id='35385457', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188550.02', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:15:50 PDT 2026

  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
70/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385470/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 62.30
user 60.37
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385470/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385470/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385470/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385470/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385470/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385470/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385470/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385470/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385470/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385470/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385420/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:15:53.050859', job_id='35385420', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188553.05', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:15:53 PDT 2026

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


Performing analysis on: 4FGL_J2349.2+4535_daily_bin2196
RA = 357.305, Dec = 45.5979
tmin = 808531201, tmax = 808790401
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='35385823', job_status='RUN', time_executed='2026-08-19 18:12:05.011201', time_epoch_executed='1787188325.01' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385823

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385823/ft1_4FGL_J2349.2+4535_daily_bin2196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385823/ft1_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385823/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits ra=357.305 dec=45.5979 rad=12.0 tmin=808531201.0 tmax=808790401.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.74
user 1.93
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.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/35385823/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385823/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1276

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385823/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" o62/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385462/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 65.26
user 63.40
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385462/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385462/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385462/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385462/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385462/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385462/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385462/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385462/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385462/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385462/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
tfile=/lscratch/kocevski/35385628/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 8.95
user 8.09
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385628/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385628/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385628/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385628/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 70.98
user 66.02
sys 4.15

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385628/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385628/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 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.88
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385628/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385628/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.05
user 0.25
sys 0.21

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385628/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/3538562 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385442/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385425/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385442/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:16:33.150939', job_id='35385442', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188593.15', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:16:33 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385425/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:16:36.239282', job_id='35385425', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188596.24', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:16:36 PDT 2026

34/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385534/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 62.51
user 61.06
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385534/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385534/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385534/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385534/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385534/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385534/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385534/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385534/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385534/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
31/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385531/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 63.14
user 61.65
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385531/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385531/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385531/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385531/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385531/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385531/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385531/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385531/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385531/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
32/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385532/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 62.46
user 61.01
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385532/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385532/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385532/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385532/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385532/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385532/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385532/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385532/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385532/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
20/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385520/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 64.25
user 62.44
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385520/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385520/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385520/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385520/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385520/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385520/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385520/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385520/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385520/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385461/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
utfile=/lscratch/kocevski/35385823/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 7.66
user 6.94
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385823/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385823/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385823/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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/35385823/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
.....................!
real 67.14
user 62.29
sys 4.00

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385823/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385823/cmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.05
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385823/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits scfile=/lscratch/kocevski/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.fits outfile=/lscratch/kocevski/35385823/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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.305 yref=45.5979 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.36
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385823/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/353858Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385461/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:17:16.078956', job_id='35385461', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188636.08', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:17:16 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385470/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385470/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:17:21.595841', job_id='35385470', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188641.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:17:22 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385462/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
542/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385542/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 63.79
user 61.83
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385542/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385542/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385542/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385542/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385542/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385542/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385542/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385542/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385542/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385462/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:17:30.951328', job_id='35385462', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188650.95', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:17:31 PDT 2026

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

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
0/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385570/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 61.41
user 59.92
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385570/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385570/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385570/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385570/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385570/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385570/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385570/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385570/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385570/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385534/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385531/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385534/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:18:05.412514', job_id='35385534', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188685.41', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:18:05 PDT 2026

 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385532/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385531/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:18:08.634163', job_id='35385531', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188688.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:18:09 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385532/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:18:10.967153', job_id='35385532', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188690.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:18:11 PDT 2026

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

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
59/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385559/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 62.39
user 60.53
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385559/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385559/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385559/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385559/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385559/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385559/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385559/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385559/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385559/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
48/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385548/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 63.63
user 61.56
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385548/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385548/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385548/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385548/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385548/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385548/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385548/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385548/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385548/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385520/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385520/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:18:38.144606', job_id='35385520', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188718.14', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:18:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385542/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385542/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:18:57.658643', job_id='35385542', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188737.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:18:58 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385570/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385570/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:19:12.125031', job_id='35385570', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188752.13', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:19:12 PDT 2026

8/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385628/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 63.27
user 60.98
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385628/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385628/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385628/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385628/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385628/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385628/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385628/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385628/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385628/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385559/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385548/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
 **********
 **   18 **HESSE 
 **********

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385559/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:19:40.259234', job_id='35385559', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188780.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:19:40 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385548/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:19:40.465298', job_id='35385548', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188780.47', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:19:40 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385628/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
23/Model_4FGL_J2349.2+4535_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/35385823/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits.....................!
real 66.98
user 64.76
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385823/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits', '/lscratch/kocevski/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.fits', expMap='/lscratch/kocevski/35385823/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', expCube='/lscratch/kocevski/35385823/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385823/Model_4FGL_J2349.2+4535_daily_bin2196.xml', optimizer='MINUIT')

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385823/ft1_filtered_4FGL_J2349.2+4535_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385823/ft2_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385823/expmap_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385823/ltcube_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385823/Model_4FGL_J2349.2+4535_daily_bin2196.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) = 12900.2837579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14923E-02   1.0000          .0000       .10000E+07
     2 'norm      '    4.2386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18381E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .29318       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61799       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7155       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12353E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.151       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6165       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48739E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1373       1.0000          .0000       .10000E+07
    12 'norm      '    1.8771       1.0000          .0000       .10000E+07
    13 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    14 'norm      '    10.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32761E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92228E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0602       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1437 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81168E-06    88.457        .86209E-06** at limit **
   2  norm          4.1822        9.2218       -.21569E-05   -.21205E-01
   3  Prefactor      .0000        2.8857       -.21718E-06** at limit **
   4  norm          .29311        1.8359       -.22186E-07   -.14941E-02
   5  Prefactor     .57583        4.1409       -.15552E-05   -.25717E-01
   6  Prefactor     8.6773        2.1416       -.31608E-06   -.33263E-02
   7  Prefactor     .22182E-06    8.4608        .10736E-05** at limit **
   8  Prefactor     37.541        7.2409       -.54473E-06    .15158    
   9  Prefactor     2.6189        5.0955       -.22535E-06    .60470E-03
  10  Prefactor     .17264E-07    11.252       -.12651E-06** at limit **
  11  Prefactor     6.0876        10.454        .35255E-06   -.60496E-03
  12  norm          1.8629        5.7355       -.46272E-06   -.37021E-01
  13  norm           .0000        .69913       -.17060E-06** at limit **
  14  norm          10.447        5.7134       -.15841E-06   -.82243E-01
  15  Prefactor     .31714E-06    6.6521       -.93250E-06** at limit **
  16  Prefactor     .34972E-08    23.735       -.64189E-06** at limit **
  17  Prefactor     4.0335        5.0874       -.28991E-06    .79579E-03
  18  Normalizat    1.0952        .21258        .88725E-05   -.19002E-04
  19  Prefactor     .94242        .64159E-01   -.26459E-06   -.10870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11684e-07
  norm       = 4.1822
  Prefactor  = 0
  norm       = 0.293114
  Prefactor  = 0.575827
  Prefactor  = 8.67729
  Prefactor  = 2.21823e-07
  Prefactor  = 37.541
  Prefactor  = 2.61885
  Prefactor  = 1.7264e-08
  Prefactor  = 6.08762
  norm       = 1.86286
  norm       = 0
  norm       = 10.4472
  Prefactor  = 3.17135e-07
  Prefactor  = 3.4972e-09
  Prefactor  = 4.0335
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385628/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:20:44.201081', job_id='35385628', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188844.2', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:20:44 PDT 2026

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

 FCN=   12900.28     FROM HESSE     STATUS=OK           310 CALLS     1747 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81168E-06    88.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1822        11.824        .48919E-03   -1.5667    
   3  Prefactor      .0000        2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .29311        1.8056        .10308E-02   -1.5697    
   5  Prefactor     .57583        7.6778        .67632E-03   -1.5693    
   6  Prefactor     8.6773        18.833        .33929E-03   -1.5649    
   7  Prefactor     .22182E-06    13.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.541        38.495        .16408E-03   -1.5585    
   9  Prefactor     2.6189        5.1349        .63029E-03   -1.5676    
  10  Prefactor     .17264E-07    11.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0876        10.535        .40501E-03   -1.5659    
  12  norm          1.8629        6.7654        .75968E-03   -1.5681    
  13  norm           .0000        .70151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.447        7.2077        .30974E-03   -1.5643    
  15  Prefactor     .31714E-06    12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .34972E-08    23.649        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0335        5.1658        .50015E-03   -1.5668    
  18  Normalizat    1.0952        .19658        .92677E-01   -.89905    
  19  Prefactor     .94242        .58315E-01    .31824E-01   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09465e-06
Minuit parameter uncertainties:
  1  0.0169256
  2  11.8241
  3  5.40332e-06
  4  1.45499
  5  4.20528
  6  18.8333
  7  0.00342367
  8  38.4954
  9  5.13489
  10  0.000889719
  11  10.5352
  12  6.76547
  13  2.10836e-06
  14  7.20775
  15  0.00401834
  16  0.000574325
  17  5.16583
  18  0.196715
  19  0.0583189
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  3.171e-07  4.018e-03  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  5.832e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 4.22363909547e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00321228212551 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35385823/likelihoodResults_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.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): 102
logL (Free Index) = 12900.3126589
delta logL = -0.0375151411718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12900.2751438
delta logL = -1.85082171811e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29837E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .85235       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12900.28     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      199 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.572        .71978E-06** at limit **
   2  Index         2.1878        6.0143       -.58484E-04     .0000    
   3  Normalizat    1.0952        .19470       -.39819E-06   -.15971E-03
   4  Prefactor     .94242        .62831E-01    .43113E-07   -.44564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.18778
  Normalizat = 1.09523
  Prefactor  = 0.942422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12900.28     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52744        1.9329       -.58484E-04   -.59734    
   3  Normalizat    1.0952        1.1588       -.39819E-06   -.89905    
   4  Prefactor     .94242        1.2851        .43113E-07   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07098e-11
Minuit parameter uncertainties:
  1  1.09819e-05
  2  1.83536
  3  1.18748
  4  1.33062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12900.2751437
delta logL = 1.24400685309e-08

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.188e+00  1.835e+00  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.424e-01  1.331e+00  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.095e+00  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/35385823/cmap_HighResolution_808531201_808790401_4FGL_J2349.2+4535_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2026-08-19 18:22:11.957889', job_id='35385823', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1787188931.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.24e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2196' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:22:12 PDT 2026

