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

 FCN=   42815.47     FROM HESSE     STATUS=OK           116 CALLS      740 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26645E-08    5.9812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.4771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7601        3.9374        .78922E-03   -1.5681    
   4  norm          .10547E-08    6.4015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     50.328        44.175        .14148E-03   -1.5566    
   6  Prefactor     .19429E-08    13.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94369E-09    26.796        .16919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.3424        18.129        .36999E-03   -1.5654    
   9  Normalizat    1.0537        .30846        .26360       -.91253    
  10  Prefactor     .96883        .27691E-01    .25448E-01   -.93776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28772e-07
Minuit parameter uncertainties:
  1  0.000252871
  2  5.94708e-06
  3  3.93737
  4  0.000162244
  5  44.175
  6  0.000324159
  7  0.000313555
  8  18.1289
  9  0.308985
  10  0.027691
cevski/33248139/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33248139/ft2_4FGL_J2217.5+6346_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33248139/Model_4FGL_J2217.5+6346_daily_bin2188.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 J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/33248139/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits.....................!
real 248.63
user 245.71
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33248139/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits', '/lscratch/kocevski/33248139/ft2_4FGL_J2217.5+6346_daily_bin2188.fits', expMap='/lscratch/kocevski/33248139/expmap_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits', expCube='/lscratch/kocevski/33248139/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33248139/Model_4FGL_J2217.5+6346_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33248139/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33248139/ft2_4FGL_J2217.5+6346_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33248139/expmap_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33248139/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33248139/Model_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.4818912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35012E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .51168E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7612       1.0000          .0000       .10000E+07
     4 'norm      '    .94619E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    49.968       1.0000          .0000       .10000E+07
     6 'Prefactor '    .45027E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21835E-01   1.0000          .0000       .10000E+07
     8 'norm      '    7.3391       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.0537       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96885       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      624 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26645E-08    5.9660       -.14220E-05** at limit **
   2  Prefactor      .0000        3.4736       -.28342E-05** at limit **
   3  Prefactor     1.7601        3.9036        .43485E-05    .98679E-02
   4  norm          .10547E-08    6.3966       -.40483E-05** at limit **
   5  Prefactor     50.328        43.886        .16841E-04   -.37105E-02
   6  Prefactor     .19429E-08    13.338       -.77777E-05** at limit **
   7  Prefactor     .94369E-09    26.955        .48495E-06** at limit **
   8  norm          7.3424        1.7736       -.14617E-05   -.51815E-01
   9  Normalizat    1.0537        .28647       -.18738E-03    .26535E-03
  10  Prefactor     .96883        .26257E-01    .58830E-05    .50331E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.66454e-09
  Prefactor  = 0
  Prefactor  = 1.76014
  norm       = 1.05471e-09
  Prefactor  = 50.3278
  Prefactor  = 1.94289e-09
  Prefactor  = 9.4369e-10
  norm       = 7.34242
  Normalizat = 1.05367
  Prefactor  = 0.968829
vski/33247678/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33247678/ft2_4FGL_J2217.5+6346_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33247678/Model_4FGL_J2217.5+6346_daily_bin2188.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 J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/33247678/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits.....................!
real 277.17
user 274.40
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33247678/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits', '/lscratch/kocevski/33247678/ft2_4FGL_J2217.5+6346_daily_bin2188.fits', expMap='/lscratch/kocevski/33247678/expmap_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits', expCube='/lscratch/kocevski/33247678/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33247678/Model_4FGL_J2217.5+6346_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33247678/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33247678/ft2_4FGL_J2217.5+6346_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33247678/expmap_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33247678/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33247678/Model_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.4818912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35012E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .51168E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7612       1.0000          .0000       .10000E+07
     4 'norm      '    .94619E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    49.968       1.0000          .0000       .10000E+07
     6 'Prefactor '    .45027E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21835E-01   1.0000          .0000       .10000E+07
     8 'norm      '    7.3391       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.0537       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96885       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      624 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26645E-08    5.9660       -.14220E-05** at limit **
   2  Prefactor      .0000        3.4736       -.28342E-05** at limit **
   3  Prefactor     1.7601        3.9036        .43485E-05    .98679E-02
   4  norm          .10547E-08    6.3966       -.40483E-05** at limit **
   5  Prefactor     50.328        43.886        .16841E-04   -.37105E-02
   6  Prefactor     .19429E-08    13.338       -.77777E-05** at limit **
   7  Prefactor     .94369E-09    26.955        .48495E-06** at limit **
   8  norm          7.3424        1.7736       -.14617E-05   -.51815E-01
   9  Normalizat    1.0537        .28647       -.18738E-03    .26535E-03
  10  Prefactor     .96883        .26257E-01    .58830E-05    .50331E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.66454e-09
  Prefactor  = 0
  Prefactor  = 1.76014
  norm       = 1.05471e-09
  Prefactor  = 50.3278
  Prefactor  = 1.94289e-09
  Prefactor  = 9.4369e-10
  norm       = 7.34242
  Normalizat = 1.05367
  Prefactor  = 0.968829
/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).

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

 FCN=   42815.47     FROM HESSE     STATUS=OK           116 CALLS      740 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26645E-08    5.9812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.4771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7601        3.9374        .78922E-03   -1.5681    
   4  norm          .10547E-08    6.4015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     50.328        44.175        .14148E-03   -1.5566    
   6  Prefactor     .19429E-08    13.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94369E-09    26.796        .16919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.3424        18.129        .36999E-03   -1.5654    
   9  Normalizat    1.0537        .30846        .26360       -.91253    
  10  Prefactor     .96883        .27691E-01    .25448E-01   -.93776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28772e-07
Minuit parameter uncertainties:
  1  0.000252871
  2  5.94708e-06
  3  3.93737
  4  0.000162244
  5  44.175
  6  0.000324159
  7  0.000313555
  8  18.1289
  9  0.308985
  10  0.027691
 **********
 **   18 **HESSE 
 **********

 FCN=   42815.47     FROM HESSE     STATUS=OK           116 CALLS      740 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26645E-08    5.9812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.4771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7601        3.9374        .78922E-03   -1.5681    
   4  norm          .10547E-08    6.4015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     50.328        44.175        .14148E-03   -1.5566    
   6  Prefactor     .19429E-08    13.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94369E-09    26.796        .16919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.3424        18.129        .36999E-03   -1.5654    
   9  Normalizat    1.0537        .30846        .26360       -.91253    
  10  Prefactor     .96883        .27691E-01    .25448E-01   -.93776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28772e-07
Minuit parameter uncertainties:
  1  0.000252871
  2  5.94708e-06
  3  3.93737
  4  0.000162244
  5  44.175
  6  0.000324159
  7  0.000313555
  8  18.1289
  9  0.308985
  10  0.027691
number of points = 7562
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2217.5+6346_daily_bin2188
RA = 334.394, Dec = 63.776
tmin = 806457601, tmax = 806716801
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='33249322', job_status='RUN', time_executed='2026-07-26 23:33:04.084874', time_epoch_executed='1785133984.08' WHERE source_name='4FGL J2217.5+6346' and cadence='daily' and bin_id='2188'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33249322

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33249322/ft1_4FGL_J2217.5+6346_daily_bin2188.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33249322/ft1_4FGL_J2217.5+6346_daily_bin2188.fits outfile=/lscratch/kocevski/33249322/ft1_filteredMKT_4FGL_J2217.5+6346_daily_bin2188.fits ra=334.394 dec=63.776 rad=12.0 tmin=806457601.0 tmax=806716801.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.04
user 2.38
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.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/33249322/ft1_filteredMKT_4FGL_J2217.5+6346_daily_bin2188.fits evtable="EVENTS" outfile="/lscratch/kocevski/33249322/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.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.62
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 4603

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33249322/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.fits sctable="SC_DATA" outDone.

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

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  1.943e-09  3.242e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  2.769e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 9.23551205627e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00695898912907 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33247879/likelihoodResults_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.5117731
delta logL = -0.0370853419445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 42813.7879111
delta logL = 1.6867766232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
     2 'Index     '    8.6055       1.0000          .0000       10.000    
     3 'Normalizat'    .93753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      873 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.2476        .42118E-03** at limit **
   2  Index         1.0604        .94329       -.58550E-08     .0000    
   3  Normalizat    1.0537        1.3395       -.77309E-05   -.48702E-05
   4  Prefactor     .96883        1.3115        .44607E-06   -.42502E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.0604
  Normalizat = 1.05367
  Prefactor  = 0.96883
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM HESSE     STATUS=FAILED         9 CALLS      882 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.2476        .42118E-03   -.38394E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0648        1.8149       -.58550E-08   -.26771E+10
   3  Normalizat    1.0537        1.3395       -.77309E-05   -52.495    
   4  Prefactor     .96883        1.3115        .44607E-06   -379.19    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.17793e-14
Minuit parameter uncertainties:
  1  3.02502e-06
  2  0.958708
  3  1.38664
  4  1.35883
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) = 42815.4746877
delta logL = 2.98314262182e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  3.025e-06  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  1.060e+00  9.587e-01  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  1.387e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

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/33247879/cmap_HighResolution_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='9.24e-08', time_completed='2026-07-26 23:36:16.953514', job_id='33247879', GAL2='0.97', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1785134176.95', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.98e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2188' AND source_name='4FGL J2217.5+6346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 23:36:17 PDT 2026

file=/lscratch/kocevski/33249322/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.fits
.....................!
real 7.78
user 7.05
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33249322/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33249322/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits outfile=/lscratch/kocevski/33249322/expmap_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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/33249322/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits
.....................!
real 61.86
user 57.40
sys 3.69

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 J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 191 point sources and 5 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 J2217.5+6346 @ 334.394 63.776

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33249322/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits scfile=/lscratch/kocevski/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.fits outfile=/lscratch/kocevski/33249322/cmap_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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=334.394 yref=63.776 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.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33249322/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits scfile=/lscratch/kocevski/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.fits outfile=/lscratch/kocevski/33249322/cmap_HighResolution_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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=334.394 yref=63.776 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.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/koceDone.

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

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  1.943e-09  3.242e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  2.769e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 9.23551205627e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00695898912907 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33247858/likelihoodResults_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.5117731
delta logL = -0.0370853419445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 42813.7879111
delta logL = 1.6867766232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
     2 'Index     '    8.6055       1.0000          .0000       10.000    
     3 'Normalizat'    .93753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      873 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.2476        .42118E-03** at limit **
   2  Index         1.0604        .94329       -.58550E-08     .0000    
   3  Normalizat    1.0537        1.3395       -.77309E-05   -.48702E-05
   4  Prefactor     .96883        1.3115        .44607E-06   -.42502E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.0604
  Normalizat = 1.05367
  Prefactor  = 0.96883
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM HESSE     STATUS=FAILED         9 CALLS      882 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.2476        .42118E-03   -.38394E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0648        1.8149       -.58550E-08   -.26771E+10
   3  Normalizat    1.0537        1.3395       -.77309E-05   -52.495    
   4  Prefactor     .96883        1.3115        .44607E-06   -379.19    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.17793e-14
Minuit parameter uncertainties:
  1  3.02502e-06
  2  0.958708
  3  1.38664
  4  1.35883
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) = 42815.4746877
delta logL = 2.98314262182e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  3.025e-06  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  1.060e+00  9.587e-01  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  1.387e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

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/33247858/cmap_HighResolution_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='9.24e-08', time_completed='2026-07-26 23:37:20.539187', job_id='33247858', GAL2='0.97', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1785134240.54', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.98e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2188' AND source_name='4FGL J2217.5+6346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 23:37:20 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  1.943e-09  3.242e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  2.769e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 9.23551205627e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00695898912907 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33247965/likelihoodResults_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.5117731
delta logL = -0.0370853419445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 42813.7879111
delta logL = 1.6867766232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
     2 'Index     '    8.6055       1.0000          .0000       10.000    
     3 'Normalizat'    .93753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      873 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.2476        .42118E-03** at limit **
   2  Index         1.0604        .94329       -.58550E-08     .0000    
   3  Normalizat    1.0537        1.3395       -.77309E-05   -.48702E-05
   4  Prefactor     .96883        1.3115        .44607E-06   -.42502E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.0604
  Normalizat = 1.05367
  Prefactor  = 0.96883
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM HESSE     STATUS=FAILED         9 CALLS      882 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.2476        .42118E-03   -.38394E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0648        1.8149       -.58550E-08   -.26771E+10
   3  Normalizat    1.0537        1.3395       -.77309E-05   -52.495    
   4  Prefactor     .96883        1.3115        .44607E-06   -379.19    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.17793e-14
Minuit parameter uncertainties:
  1  3.02502e-06
  2  0.958708
  3  1.38664
  4  1.35883
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) = 42815.4746877
delta logL = 2.98314262182e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  3.025e-06  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  1.060e+00  9.587e-01  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  1.387e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

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/33247965/cmap_HighResolution_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='9.24e-08', time_completed='2026-07-26 23:37:30.680380', job_id='33247965', GAL2='0.97', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1785134250.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.98e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2188' AND source_name='4FGL J2217.5+6346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 23:37:31 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  1.943e-09  3.242e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  2.769e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 9.23551205627e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00695898912907 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33248139/likelihoodResults_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.5117731
delta logL = -0.0370853419445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 42813.7879111
delta logL = 1.6867766232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
     2 'Index     '    8.6055       1.0000          .0000       10.000    
     3 'Normalizat'    .93753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      873 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.2476        .42118E-03** at limit **
   2  Index         1.0604        .94329       -.58550E-08     .0000    
   3  Normalizat    1.0537        1.3395       -.77309E-05   -.48702E-05
   4  Prefactor     .96883        1.3115        .44607E-06   -.42502E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.0604
  Normalizat = 1.05367
  Prefactor  = 0.96883
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM HESSE     STATUS=FAILED         9 CALLS      882 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.2476        .42118E-03   -.38394E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0648        1.8149       -.58550E-08   -.26771E+10
   3  Normalizat    1.0537        1.3395       -.77309E-05   -52.495    
   4  Prefactor     .96883        1.3115        .44607E-06   -379.19    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.17793e-14
Minuit parameter uncertainties:
  1  3.02502e-06
  2  0.958708
  3  1.38664
  4  1.35883
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) = 42815.4746877
delta logL = 2.98314262182e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  3.025e-06  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  1.060e+00  9.587e-01  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  1.387e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

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/33248139/cmap_HighResolution_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='9.24e-08', time_completed='2026-07-26 23:38:14.911359', job_id='33248139', GAL2='0.97', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1785134294.91', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.98e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2188' AND source_name='4FGL J2217.5+6346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 23:38:15 PDT 2026

vski/33248684/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33248684/ft2_4FGL_J2217.5+6346_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33248684/Model_4FGL_J2217.5+6346_daily_bin2188.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 J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/33248684/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits.....................!
real 234.08
user 231.23
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33248684/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits', '/lscratch/kocevski/33248684/ft2_4FGL_J2217.5+6346_daily_bin2188.fits', expMap='/lscratch/kocevski/33248684/expmap_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits', expCube='/lscratch/kocevski/33248684/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33248684/Model_4FGL_J2217.5+6346_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33248684/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33248684/ft2_4FGL_J2217.5+6346_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33248684/expmap_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33248684/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33248684/Model_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.4818912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35012E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .51168E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7612       1.0000          .0000       .10000E+07
     4 'norm      '    .94619E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    49.968       1.0000          .0000       .10000E+07
     6 'Prefactor '    .45027E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21835E-01   1.0000          .0000       .10000E+07
     8 'norm      '    7.3391       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.0537       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96885       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      624 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26645E-08    5.9660       -.14220E-05** at limit **
   2  Prefactor      .0000        3.4736       -.28342E-05** at limit **
   3  Prefactor     1.7601        3.9036        .43485E-05    .98679E-02
   4  norm          .10547E-08    6.3966       -.40483E-05** at limit **
   5  Prefactor     50.328        43.886        .16841E-04   -.37105E-02
   6  Prefactor     .19429E-08    13.338       -.77777E-05** at limit **
   7  Prefactor     .94369E-09    26.955        .48495E-06** at limit **
   8  norm          7.3424        1.7736       -.14617E-05   -.51815E-01
   9  Normalizat    1.0537        .28647       -.18738E-03    .26535E-03
  10  Prefactor     .96883        .26257E-01    .58830E-05    .50331E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.66454e-09
  Prefactor  = 0
  Prefactor  = 1.76014
  norm       = 1.05471e-09
  Prefactor  = 50.3278
  Prefactor  = 1.94289e-09
  Prefactor  = 9.4369e-10
  norm       = 7.34242
  Normalizat = 1.05367
  Prefactor  = 0.968829
 **********
 **   18 **HESSE 
 **********

 FCN=   42815.47     FROM HESSE     STATUS=OK           116 CALLS      740 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26645E-08    5.9812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.4771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7601        3.9374        .78922E-03   -1.5681    
   4  norm          .10547E-08    6.4015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     50.328        44.175        .14148E-03   -1.5566    
   6  Prefactor     .19429E-08    13.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94369E-09    26.796        .16919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.3424        18.129        .36999E-03   -1.5654    
   9  Normalizat    1.0537        .30846        .26360       -.91253    
  10  Prefactor     .96883        .27691E-01    .25448E-01   -.93776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28772e-07
Minuit parameter uncertainties:
  1  0.000252871
  2  5.94708e-06
  3  3.93737
  4  0.000162244
  5  44.175
  6  0.000324159
  7  0.000313555
  8  18.1289
  9  0.308985
  10  0.027691
Done.

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

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  1.943e-09  3.242e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  2.769e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 9.23551205627e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00695898912907 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33247678/likelihoodResults_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.5117731
delta logL = -0.0370853419445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 42813.7879111
delta logL = 1.6867766232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
     2 'Index     '    8.6055       1.0000          .0000       10.000    
     3 'Normalizat'    .93753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      873 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.2476        .42118E-03** at limit **
   2  Index         1.0604        .94329       -.58550E-08     .0000    
   3  Normalizat    1.0537        1.3395       -.77309E-05   -.48702E-05
   4  Prefactor     .96883        1.3115        .44607E-06   -.42502E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.0604
  Normalizat = 1.05367
  Prefactor  = 0.96883
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM HESSE     STATUS=FAILED         9 CALLS      882 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.2476        .42118E-03   -.38394E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0648        1.8149       -.58550E-08   -.26771E+10
   3  Normalizat    1.0537        1.3395       -.77309E-05   -52.495    
   4  Prefactor     .96883        1.3115        .44607E-06   -379.19    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.17793e-14
Minuit parameter uncertainties:
  1  3.02502e-06
  2  0.958708
  3  1.38664
  4  1.35883
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) = 42815.4746877
delta logL = 2.98314262182e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  3.025e-06  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  1.060e+00  9.587e-01  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  1.387e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

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/33247678/cmap_HighResolution_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='9.24e-08', time_completed='2026-07-26 23:39:10.629813', job_id='33247678', GAL2='0.97', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1785134350.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.98e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2188' AND source_name='4FGL J2217.5+6346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 23:39:11 PDT 2026

vski/33249322/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33249322/Model_4FGL_J2217.5+6346_daily_bin2188.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 J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/33249322/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits.....................!
real 213.86
user 211.48
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33249322/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits', '/lscratch/kocevski/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.fits', expMap='/lscratch/kocevski/33249322/expmap_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits', expCube='/lscratch/kocevski/33249322/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33249322/Model_4FGL_J2217.5+6346_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33249322/ft1_filtered_4FGL_J2217.5+6346_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33249322/ft2_4FGL_J2217.5+6346_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33249322/expmap_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33249322/ltcube_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33249322/Model_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.4818912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35012E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .51168E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7612       1.0000          .0000       .10000E+07
     4 'norm      '    .94619E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    49.968       1.0000          .0000       .10000E+07
     6 'Prefactor '    .45027E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21835E-01   1.0000          .0000       .10000E+07
     8 'norm      '    7.3391       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.0537       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96885       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      624 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26645E-08    5.9660       -.14220E-05** at limit **
   2  Prefactor      .0000        3.4736       -.28342E-05** at limit **
   3  Prefactor     1.7601        3.9036        .43485E-05    .98679E-02
   4  norm          .10547E-08    6.3966       -.40483E-05** at limit **
   5  Prefactor     50.328        43.886        .16841E-04   -.37105E-02
   6  Prefactor     .19429E-08    13.338       -.77777E-05** at limit **
   7  Prefactor     .94369E-09    26.955        .48495E-06** at limit **
   8  norm          7.3424        1.7736       -.14617E-05   -.51815E-01
   9  Normalizat    1.0537        .28647       -.18738E-03    .26535E-03
  10  Prefactor     .96883        .26257E-01    .58830E-05    .50331E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.66454e-09
  Prefactor  = 0
  Prefactor  = 1.76014
  norm       = 1.05471e-09
  Prefactor  = 50.3278
  Prefactor  = 1.94289e-09
  Prefactor  = 9.4369e-10
  norm       = 7.34242
  Normalizat = 1.05367
  Prefactor  = 0.968829
Done.

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

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  1.943e-09  3.242e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  2.769e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 9.23551205627e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00695898912907 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33248684/likelihoodResults_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.5117731
delta logL = -0.0370853419445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 42813.7879111
delta logL = 1.6867766232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
     2 'Index     '    8.6055       1.0000          .0000       10.000    
     3 'Normalizat'    .93753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      873 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.2476        .42118E-03** at limit **
   2  Index         1.0604        .94329       -.58550E-08     .0000    
   3  Normalizat    1.0537        1.3395       -.77309E-05   -.48702E-05
   4  Prefactor     .96883        1.3115        .44607E-06   -.42502E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.0604
  Normalizat = 1.05367
  Prefactor  = 0.96883
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM HESSE     STATUS=FAILED         9 CALLS      882 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.2476        .42118E-03   -.38394E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0648        1.8149       -.58550E-08   -.26771E+10
   3  Normalizat    1.0537        1.3395       -.77309E-05   -52.495    
   4  Prefactor     .96883        1.3115        .44607E-06   -379.19    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.17793e-14
Minuit parameter uncertainties:
  1  3.02502e-06
  2  0.958708
  3  1.38664
  4  1.35883
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) = 42815.4746877
delta logL = 2.98314262182e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  3.025e-06  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  1.060e+00  9.587e-01  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  1.387e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

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/33248684/cmap_HighResolution_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='9.24e-08', time_completed='2026-07-26 23:43:51.869744', job_id='33248684', GAL2='0.97', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1785134631.87', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.98e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2188' AND source_name='4FGL J2217.5+6346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 23:43:52 PDT 2026

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

 FCN=   42815.47     FROM HESSE     STATUS=OK           116 CALLS      740 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26645E-08    5.9812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.4771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7601        3.9374        .78922E-03   -1.5681    
   4  norm          .10547E-08    6.4015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     50.328        44.175        .14148E-03   -1.5566    
   6  Prefactor     .19429E-08    13.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94369E-09    26.796        .16919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.3424        18.129        .36999E-03   -1.5654    
   9  Normalizat    1.0537        .30846        .26360       -.91253    
  10  Prefactor     .96883        .27691E-01    .25448E-01   -.93776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28772e-07
Minuit parameter uncertainties:
  1  0.000252871
  2  5.94708e-06
  3  3.93737
  4  0.000162244
  5  44.175
  6  0.000324159
  7  0.000313555
  8  18.1289
  9  0.308985
  10  0.027691
Done.

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

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  1.943e-09  3.242e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  2.769e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 9.23551205627e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00695898912907 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33249322/likelihoodResults_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.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) = 42815.5117731
delta logL = -0.0370853419445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 42813.7879111
delta logL = 1.6867766232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
     2 'Index     '    8.6055       1.0000          .0000       10.000    
     3 'Normalizat'    .93753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      873 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.2476        .42118E-03** at limit **
   2  Index         1.0604        .94329       -.58550E-08     .0000    
   3  Normalizat    1.0537        1.3395       -.77309E-05   -.48702E-05
   4  Prefactor     .96883        1.3115        .44607E-06   -.42502E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.0604
  Normalizat = 1.05367
  Prefactor  = 0.96883
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42815.47     FROM HESSE     STATUS=FAILED         9 CALLS      882 TOTAL
                     EDM=   .82E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.2476        .42118E-03   -.38394E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0648        1.8149       -.58550E-08   -.26771E+10
   3  Normalizat    1.0537        1.3395       -.77309E-05   -52.495    
   4  Prefactor     .96883        1.3115        .44607E-06   -379.19    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.17793e-14
Minuit parameter uncertainties:
  1  3.02502e-06
  2  0.958708
  3  1.38664
  4  1.35883
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) = 42815.4746877
delta logL = 2.98314262182e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  3.025e-06  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  1.060e+00  9.587e-01  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.688e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.054e+00  1.387e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

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/33249322/cmap_HighResolution_806457601_806716801_4FGL_J2217.5+6346_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='9.24e-08', time_completed='2026-07-26 23:49:12.259692', job_id='33249322', GAL2='0.97', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1785134952.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.98e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2188' AND source_name='4FGL J2217.5+6346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 23:49:12 PDT 2026

