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

 FCN=   9437.103     FROM HESSE     STATUS=OK           263 CALLS     1261 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        24.161        .16564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3090        1.7024        .67524E-03   -1.5678    
   3  Prefactor     14.343        9.1420        .26434E-03   -1.5632    
   4  Prefactor     .51070E-08    9.6159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .54975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21398E-05    16.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .62402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4397        48.093        .46221E-03   -1.5684    
   9  norm          1.7458        2.6720        .79355E-03   -1.5682    
  10  Prefactor     .21046E-05    16.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.0503        1.5316        .44727E-03   -1.5663    
  12  norm           .0000        .97224        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.605        28.808        .18315E-03   -1.5603    
  14  Prefactor     22.785        14.175        .21239E-03   -1.5612    
  15  Prefactor     .56992        .25891        .69940E-02   -1.5557    
  16  Normalizat    1.9760        .22852        .70699E-01   -.65153    
  17  Prefactor     .59010        .94910E-01    .40913E-01   -1.0800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46844e-07
Minuit parameter uncertainties:
  1  1.10304e-05
  2  1.70241
  3  9.14206
  4  0.00044395
  5  1.25628e-06
  6  0.0119047
  7  2.53301e-06
  8  16.6424
  9  2.67196
  10  0.0117982
  11  1.53165
  12  2.98878e-07
  13  28.8079
  14  14.1754
  15  0.258913
  16  0.228649
  17  0.094936
/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 = 7666
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2216.9+2421_daily_bin2210
RA = 334.238, Dec = 24.3575
tmin = 812160001, tmax = 812419201
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='39600346', job_status='RUN', time_executed='2026-10-01 03:37:31.066391', time_epoch_executed='1790851051.07' WHERE source_name='4FGL J2216.9+2421' and cadence='daily' and bin_id='2210'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39600346

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39600346/ft1_4FGL_J2216.9+2421_daily_bin2210.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39600346/ft1_4FGL_J2216.9+2421_daily_bin2210.fits outfile=/lscratch/kocevski/39600346/ft1_filteredMKT_4FGL_J2216.9+2421_daily_bin2210.fits ra=334.238 dec=24.3575 rad=12.0 tmin=812160001.0 tmax=812419201.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.26
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.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/39600346/ft1_filteredMKT_4FGL_J2216.9+2421_daily_bin2210.fits evtable="EVENTS" outfile="/lscratch/kocevski/39600346/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.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.73
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 865

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39600346/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  1.440e+00  1.664e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.976e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 334.238 24.358
Photon Flux Upper Limit: 1.01111628955e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00775119536384 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39599896/likelihoodResults_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9435.44611775
delta logL = 1.65696877127

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9434.87284533
delta logL = 2.2302411855

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9437.107     FROM MIGRAD    STATUS=CONVERGED    144 CALLS      761 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    192.49       -.62973E-06** at limit **
   2  Index         2.1291        .12435E-01    .75992E-07    .11169E-10
   3  Normalizat    1.9789        .25853        .41919E-05    .11150E-04
   4  Prefactor     .58997        .10964        .40689E-05   -.66216E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.12906
  Normalizat = 1.97892
  Prefactor  = 0.589974
 **********
 **   18 **HESSE 
 **********

 FCN=   9437.107     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      798 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    20671.        .42118E-03   -290.60    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1291        5.2490        .50000        2573.6    
   3  Normalizat    1.9789        .72955E-01    .70659E-01    66.624    
   4  Prefactor     .58997        .30826E-01    .41663E-01    11.486    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.80452e-11
Minuit parameter uncertainties:
  1  0.00159207
  2  43.1093
  3  0.0729591
  4  0.0308264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9437.10695374
delta logL = -0.00386722535222

Extracting fit parameters...

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  5.551e-11  1.592e-03  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.129e+00  4.311e+01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.979e+00  7.296e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 334.238 24.358

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/39599896/cmap_HighResolution_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.75e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-10-01 03:38:22.337528', job_id='39599896', GAL2='0.59', fit_tolerance='1e-08', EG2='1.98', EG='1.98', time_epoch_completed='1790851102.34', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='-3.87e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2210' AND source_name='4FGL J2216.9+2421' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  1 03:38:22 PDT 2026

.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39599982/Model_4FGL_J2216.9+2421_daily_bin2210.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/39599982/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits.....................!
real 68.28
user 65.89
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39599982/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits', '/lscratch/kocevski/39599982/ft2_4FGL_J2216.9+2421_daily_bin2210.fits', expMap='/lscratch/kocevski/39599982/expmap_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.fits', expCube='/lscratch/kocevski/39599982/ltcube_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39599982/Model_4FGL_J2216.9+2421_daily_bin2210.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2216.9+2421'

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  5.564e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39599982/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits
Spacecraft file(s): /lscratch/kocevski/39599982/ft2_4FGL_J2216.9+2421_daily_bin2210.fits
Exposure map: /lscratch/kocevski/39599982/expmap_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.fits
Exposure cube: /lscratch/kocevski/39599982/ltcube_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39599982/Model_4FGL_J2216.9+2421_daily_bin2210.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) = 9437.18557215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27897E-01   1.0000          .0000       .10000E+07
     2 'norm      '    2.3072       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.329       1.0000          .0000       .10000E+07
     4 'Prefactor '    .46722E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .14433E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18186E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .50238E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89335       1.0000          .0000       .10000E+07
     9 'norm      '    1.7454       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28130E-02   1.0000          .0000       .10000E+07
    11 'norm      '    5.0487       1.0000          .0000       .10000E+07
    12 'norm      '    .91216E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    29.820       1.0000          .0000       .10000E+07
    14 'Prefactor '    22.180       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56649       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.9787       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .58966       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9437.103     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      998 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        24.170        .56972E-07** at limit **
   2  norm          2.3090        1.7043        .72819E-07   -.15031E-02
   3  Prefactor     14.343        9.1522        .94964E-07   -.10350E-02
   4  Prefactor     .51070E-08    9.5891        .28613E-06** at limit **
   5  norm           .0000        .55951       -.39879E-07** at limit **
   6  Prefactor     .21398E-05    11.876       -.69007E-07** at limit **
   7  norm           .0000        .63892        .88248E-07** at limit **
   8  Prefactor     1.4397        34.385        .17179E-05   -.26282E-01
   9  norm          1.7458        2.6459        .16263E-06   -.13157E-02
  10  Prefactor     .21046E-05    11.941       -.18024E-06** at limit **
  11  norm          5.0503        1.5353       -.90282E-08   -.19391E-03
  12  norm           .0000        3.5020       -.18979E-06** at limit **
  13  Prefactor     27.605        26.765       -.82743E-06   -.44340E-01
  14  Prefactor     22.785        13.753        .56801E-07    .15494E-01
  15  Prefactor     .56992        .25485        .12354E-06   -.30721E-03
  16  Normalizat    1.9760        .26789        .27105E-05   -.57809E-04
  17  Prefactor     .59010        .11101       -.18801E-05   -.46851E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 2.309
  Prefactor  = 14.3432
  Prefactor  = 5.10703e-09
  norm       = 0
  Prefactor  = 2.13984e-06
  norm       = 0
  Prefactor  = 1.43975
  norm       = 1.74581
  Prefactor  = 2.10465e-06
  norm       = 5.05027
  norm       = 0
  Prefactor  = 27.6051
  Prefactor  = 22.7847
  Prefactor  = 0.569917
  Normalizat = 1.97602
  Prefactor  = 0.590098
 **********
 **   18 **HESSE 
 **********

 FCN=   9437.103     FROM HESSE     STATUS=OK           263 CALLS     1261 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        24.161        .16564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3090        1.7024        .67524E-03   -1.5678    
   3  Prefactor     14.343        9.1420        .26434E-03   -1.5632    
   4  Prefactor     .51070E-08    9.6159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .54975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21398E-05    16.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .62402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4397        48.093        .46221E-03   -1.5684    
   9  norm          1.7458        2.6720        .79355E-03   -1.5682    
  10  Prefactor     .21046E-05    16.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.0503        1.5316        .44727E-03   -1.5663    
  12  norm           .0000        .97224        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.605        28.808        .18315E-03   -1.5603    
  14  Prefactor     22.785        14.175        .21239E-03   -1.5612    
  15  Prefactor     .56992        .25891        .69940E-02   -1.5557    
  16  Normalizat    1.9760        .22852        .70699E-01   -.65153    
  17  Prefactor     .59010        .94910E-01    .40913E-01   -1.0800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46844e-07
Minuit parameter uncertainties:
  1  1.10304e-05
  2  1.70241
  3  9.14206
  4  0.00044395
  5  1.25628e-06
  6  0.0119047
  7  2.53301e-06
  8  16.6424
  9  2.67196
  10  0.0117982
  11  1.53165
  12  2.98878e-07
  13  28.8079
  14  14.1754
  15  0.258913
  16  0.228649
  17  0.094936
tfile=/lscratch/kocevski/39600346/ltcube_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.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/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.fits
.....................!
real 9.28
user 8.59
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39600346/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits evtable="EVENTS" scfile=/lscratch/kocevski/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39600346/ltcube_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.fits outfile=/lscratch/kocevski/39600346/expmap_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.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/39600346/ltcube_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.fits
.....................!
real 76.31
user 71.22
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 Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 159 point sources and 1 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 J2216.9+2421 @ 334.238 24.3575

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39600346/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits scfile=/lscratch/kocevski/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.fits outfile=/lscratch/kocevski/39600346/cmap_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.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.238 yref=24.3575 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.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39600346/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits scfile=/lscratch/kocevski/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.fits outfile=/lscratch/kocevski/39600346/cmap_HighResolution_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.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.238 yref=24.3575 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.78
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39600346/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits evtable="EVENTS" scfile=/lscratch/kocevski/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.fDone.

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

Extracting fit parameters...

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  1.440e+00  1.664e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.976e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 334.238 24.358
Photon Flux Upper Limit: 1.01111628955e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00775119536384 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39599982/likelihoodResults_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9435.44611775
delta logL = 1.65696877127

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9434.87284533
delta logL = 2.2302411855

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9437.107     FROM MIGRAD    STATUS=CONVERGED    144 CALLS      761 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    192.49       -.62973E-06** at limit **
   2  Index         2.1291        .12435E-01    .75992E-07    .11169E-10
   3  Normalizat    1.9789        .25853        .41919E-05    .11150E-04
   4  Prefactor     .58997        .10964        .40689E-05   -.66216E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.12906
  Normalizat = 1.97892
  Prefactor  = 0.589974
 **********
 **   18 **HESSE 
 **********

 FCN=   9437.107     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      798 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    20671.        .42118E-03   -290.60    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1291        5.2490        .50000        2573.6    
   3  Normalizat    1.9789        .72955E-01    .70659E-01    66.624    
   4  Prefactor     .58997        .30826E-01    .41663E-01    11.486    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.80452e-11
Minuit parameter uncertainties:
  1  0.00159207
  2  43.1093
  3  0.0729591
  4  0.0308264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9437.10695374
delta logL = -0.00386722535222

Extracting fit parameters...

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  5.551e-11  1.592e-03  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.129e+00  4.311e+01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.979e+00  7.296e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 334.238 24.358

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/39599982/cmap_HighResolution_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.75e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-10-01 03:39:57.223987', job_id='39599982', GAL2='0.59', fit_tolerance='1e-08', EG2='1.98', EG='1.98', time_epoch_completed='1790851197.22', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='-3.87e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2210' AND source_name='4FGL J2216.9+2421' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  1 03:39:57 PDT 2026

its sctable="SC_DATA" srcmdl=/lscratch/kocevski/39600346/Model_4FGL_J2216.9+2421_daily_bin2210.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/39600346/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits.....................!
real 61.10
user 59.07
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39600346/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits', '/lscratch/kocevski/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.fits', expMap='/lscratch/kocevski/39600346/expmap_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.fits', expCube='/lscratch/kocevski/39600346/ltcube_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39600346/Model_4FGL_J2216.9+2421_daily_bin2210.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2216.9+2421'

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  5.564e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39600346/ft1_filtered_4FGL_J2216.9+2421_daily_bin2210.fits
Spacecraft file(s): /lscratch/kocevski/39600346/ft2_4FGL_J2216.9+2421_daily_bin2210.fits
Exposure map: /lscratch/kocevski/39600346/expmap_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.fits
Exposure cube: /lscratch/kocevski/39600346/ltcube_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39600346/Model_4FGL_J2216.9+2421_daily_bin2210.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) = 9437.18557215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27897E-01   1.0000          .0000       .10000E+07
     2 'norm      '    2.3072       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.329       1.0000          .0000       .10000E+07
     4 'Prefactor '    .46722E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .14433E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18186E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .50238E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89335       1.0000          .0000       .10000E+07
     9 'norm      '    1.7454       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28130E-02   1.0000          .0000       .10000E+07
    11 'norm      '    5.0487       1.0000          .0000       .10000E+07
    12 'norm      '    .91216E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    29.820       1.0000          .0000       .10000E+07
    14 'Prefactor '    22.180       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56649       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.9787       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .58966       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9437.103     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      998 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        24.170        .56972E-07** at limit **
   2  norm          2.3090        1.7043        .72819E-07   -.15031E-02
   3  Prefactor     14.343        9.1522        .94964E-07   -.10350E-02
   4  Prefactor     .51070E-08    9.5891        .28613E-06** at limit **
   5  norm           .0000        .55951       -.39879E-07** at limit **
   6  Prefactor     .21398E-05    11.876       -.69007E-07** at limit **
   7  norm           .0000        .63892        .88248E-07** at limit **
   8  Prefactor     1.4397        34.385        .17179E-05   -.26282E-01
   9  norm          1.7458        2.6459        .16263E-06   -.13157E-02
  10  Prefactor     .21046E-05    11.941       -.18024E-06** at limit **
  11  norm          5.0503        1.5353       -.90282E-08   -.19391E-03
  12  norm           .0000        3.5020       -.18979E-06** at limit **
  13  Prefactor     27.605        26.765       -.82743E-06   -.44340E-01
  14  Prefactor     22.785        13.753        .56801E-07    .15494E-01
  15  Prefactor     .56992        .25485        .12354E-06   -.30721E-03
  16  Normalizat    1.9760        .26789        .27105E-05   -.57809E-04
  17  Prefactor     .59010        .11101       -.18801E-05   -.46851E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 2.309
  Prefactor  = 14.3432
  Prefactor  = 5.10703e-09
  norm       = 0
  Prefactor  = 2.13984e-06
  norm       = 0
  Prefactor  = 1.43975
  norm       = 1.74581
  Prefactor  = 2.10465e-06
  norm       = 5.05027
  norm       = 0
  Prefactor  = 27.6051
  Prefactor  = 22.7847
  Prefactor  = 0.569917
  Normalizat = 1.97602
  Prefactor  = 0.590098
 **********
 **   18 **HESSE 
 **********

 FCN=   9437.103     FROM HESSE     STATUS=OK           263 CALLS     1261 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        24.161        .16564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3090        1.7024        .67524E-03   -1.5678    
   3  Prefactor     14.343        9.1420        .26434E-03   -1.5632    
   4  Prefactor     .51070E-08    9.6159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .54975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21398E-05    16.557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .62402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4397        48.093        .46221E-03   -1.5684    
   9  norm          1.7458        2.6720        .79355E-03   -1.5682    
  10  Prefactor     .21046E-05    16.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.0503        1.5316        .44727E-03   -1.5663    
  12  norm           .0000        .97224        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.605        28.808        .18315E-03   -1.5603    
  14  Prefactor     22.785        14.175        .21239E-03   -1.5612    
  15  Prefactor     .56992        .25891        .69940E-02   -1.5557    
  16  Normalizat    1.9760        .22852        .70699E-01   -.65153    
  17  Prefactor     .59010        .94910E-01    .40913E-01   -1.0800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46844e-07
Minuit parameter uncertainties:
  1  1.10304e-05
  2  1.70241
  3  9.14206
  4  0.00044395
  5  1.25628e-06
  6  0.0119047
  7  2.53301e-06
  8  16.6424
  9  2.67196
  10  0.0117982
  11  1.53165
  12  2.98878e-07
  13  28.8079
  14  14.1754
  15  0.258913
  16  0.228649
  17  0.094936
Done.

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

Extracting fit parameters...

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  1.440e+00  1.664e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.976e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 334.238 24.358
Photon Flux Upper Limit: 1.01111628955e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00775119536384 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39600346/likelihoodResults_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9435.44611775
delta logL = 1.65696877127

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9434.87284533
delta logL = 2.2302411855

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9437.107     FROM MIGRAD    STATUS=CONVERGED    144 CALLS      761 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    192.49       -.62973E-06** at limit **
   2  Index         2.1291        .12435E-01    .75992E-07    .11169E-10
   3  Normalizat    1.9789        .25853        .41919E-05    .11150E-04
   4  Prefactor     .58997        .10964        .40689E-05   -.66216E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.12906
  Normalizat = 1.97892
  Prefactor  = 0.589974
 **********
 **   18 **HESSE 
 **********

 FCN=   9437.107     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      798 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    20671.        .42118E-03   -290.60    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1291        5.2490        .50000        2573.6    
   3  Normalizat    1.9789        .72955E-01    .70659E-01    66.624    
   4  Prefactor     .58997        .30826E-01    .41663E-01    11.486    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.80452e-11
Minuit parameter uncertainties:
  1  0.00159207
  2  43.1093
  3  0.0729591
  4  0.0308264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9437.10695374
delta logL = -0.00386722535222

Extracting fit parameters...

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  5.551e-11  1.592e-03  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.129e+00  4.311e+01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.979e+00  7.296e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 334.238 24.358

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/39600346/cmap_HighResolution_812160001_812419201_4FGL_J2216.9+2421_daily_bin2210.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.75e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-10-01 03:42:57.129922', job_id='39600346', GAL2='0.59', fit_tolerance='1e-08', EG2='1.98', EG='1.98', time_epoch_completed='1790851377.13', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='-3.87e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2210' AND source_name='4FGL J2216.9+2421' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  1 03:42:57 PDT 2026

