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


Performing analysis on: 4FGL_J2253.9+1609_weekly_bin938
RA = 343.496, Dec = 16.1506
tmin = 806284801, tmax = 806889601
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='33485867', job_status='RUN', time_executed='2026-07-28 20:25:41.397519', time_epoch_executed='1785295541.4' WHERE source_name='4FGL J2253.9+1609' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33485867

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33485867/ft1_4FGL_J2253.9+1609_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33485867/ft1_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33485867/ft1_filteredMKT_4FGL_J2253.9+1609_weekly_bin938.fits ra=343.496 dec=16.1506 rad=12.0 tmin=806284801.0 tmax=806889601.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 6.19
user 5.05
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.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/33485867/ft1_filteredMKT_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33485867/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1875

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33485867/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA" number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2253.9+1609_weekly_bin938
RA = 343.496, Dec = 16.1506
tmin = 806284801, tmax = 806889601
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='33485891', job_status='RUN', time_executed='2026-07-28 20:25:42.514764', time_epoch_executed='1785295542.51' WHERE source_name='4FGL J2253.9+1609' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33485891

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33485891/ft1_4FGL_J2253.9+1609_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33485891/ft1_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33485891/ft1_filteredMKT_4FGL_J2253.9+1609_weekly_bin938.fits ra=343.496 dec=16.1506 rad=12.0 tmin=806284801.0 tmax=806889601.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 5.73
user 4.75
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.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/33485891/ft1_filteredMKT_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33485891/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1875

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33485891/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA"/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).

 GAL_V02
Working on...
/lscratch/kocevski/33485474/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits.....................!
real 79.20
user 76.49
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33485474/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits', '/lscratch/kocevski/33485474/ft2_4FGL_J2253.9+1609_weekly_bin938.fits', expMap='/lscratch/kocevski/33485474/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', expCube='/lscratch/kocevski/33485474/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33485474/Model_4FGL_J2253.9+1609_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.9+1609'

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33485474/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33485474/ft2_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33485474/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33485474/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33485474/Model_4FGL_J2253.9+1609_weekly_bin938.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) = 20567.0534121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15021E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .44056E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4308       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.352       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2898       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1162       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3381       1.0000          .0000       .10000E+07
     8 'Prefactor '    .28947E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.052       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1378       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.222       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2579       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12121E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.7862       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3805       1.0000          .0000       .10000E+07
    16 'Prefactor '    .93259E-08   1.0000          .0000       .10000E+07
    17 'norm      '    16.968       1.0000          .0000       .10000E+07
    18 'Prefactor '    .29634       1.0000          .0000       .10000E+07
    19 'norm      '    .57787E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0142       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94515       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.01     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1312 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18041E-07    18.184       -.22689E-06** at limit **
   2  norm          .13600E-07    1.7319        .20999E-06** at limit **
   3  Prefactor     5.4405        1.2432        .22246E-07    .27165E-02
   4  Prefactor     16.398        9.3837        .59171E-07    .68647E-01
   5  Prefactor     1.2899        .17851       -.85989E-07   -.22358E-02
   6  Prefactor     5.1095        5.2328       -.64945E-06    .57733E-04
   7  norm          1.3383        .80136        .39740E-07    .46325E-02
   8  Prefactor     .55511E-10    4.1865       -.30475E-07** at limit **
   9  Prefactor     12.047        1.2159       -.17485E-07   -.52163E-02
  10  Prefactor     1.1379        .13466        .54937E-08    .18362E-02
  11  Prefactor     14.317        7.6184        .18541E-06   -.13672    
  12  Prefactor     2.2601        4.4020        .24007E-07    .14523E-02
  13  Prefactor     .57621E-07    33.414       -.44792E-06** at limit **
  14  Prefactor     6.7889        4.3031       -.90420E-07   -.37742E-03
  15  Prefactor     6.3699        5.7542       -.14718E-06   -.48144E-01
  16  Prefactor     .49960E-09    2.8609        .31253E-06** at limit **
  17  norm          16.996        6.7418       -.10737E-07   -.10787E-01
  18  Prefactor     .29584        9.4776        .39317E-06    .26717E-01
  19  norm          .10825E-07    1.4593        .15711E-06** at limit **
  20  Normalizat    1.0138        .16679        .43827E-05    .31972E-03
  21  Prefactor     .94522        .87211E-01   -.59607E-06    .51379E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80411e-08
  norm       = 1.36002e-08
  Prefactor  = 5.44045
  Prefactor  = 16.3978
  Prefactor  = 1.28986
  Prefactor  = 5.10948
  norm       = 1.33829
  Prefactor  = 5.55112e-11
  Prefactor  = 12.0475
  Prefactor  = 1.13788
  Prefactor  = 14.3173
  Prefactor  = 2.26015
  Prefactor  = 5.76206e-08
  Prefactor  = 6.78895
  Prefactor  = 6.36991
  Prefactor  = 4.996e-10
  norm       = 16.9957
  Prefactor  = 0.295839
  norm       = 1.08247e-08
  Normalizat = 1.01381
  Prefactor  = 0.945218
 **********
 **   18 **HESSE 
 **********

 FCN=   20567.01     FROM HESSE     STATUS=OK           369 CALLS     1681 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18041E-07    18.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13600E-07    1.7621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4405        6.7397        .43095E-03   -1.5661    
   4  Prefactor     16.398        9.5080        .24741E-03   -1.5627    
   5  Prefactor     1.2899        .18131        .47855E-02   -1.5481    
   6  Prefactor     5.1095        5.2290        .44437E-02   -1.5256    
   7  norm          1.3383        .80740        .94760E-03   -1.5685    
   8  Prefactor     .55511E-10    4.2144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.047        7.9359        .28830E-03   -1.5639    
  10  Prefactor     1.1379        .13475        .38365E-02   -1.5495    
  11  Prefactor     14.317        17.804        .26533E-03   -1.5632    
  12  Prefactor     2.2601        4.4156        .68341E-03   -1.5678    
  13  Prefactor     .57621E-07    33.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.7889        4.3056        .38492E-03   -1.5656    
  15  Prefactor     6.3699        5.8420        .39712E-03   -1.5657    
  16  Prefactor     .49960E-09    2.8656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.996        7.0439        .24287E-03   -1.5626    
  18  Prefactor     .29584        2.2330        .65811E-02   -1.5697    
  19  norm          .10825E-07    1.4875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0138        .14421        .81318E-01   -.92569    
  21  Prefactor     .94522        .74528E-01    .45578E-01   -.94578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0944e-07
Minuit parameter uncertainties:
  1  0.00114803
  2  0.000309397
  3  6.73966
  4  9.50805
  5  0.18131
  6  5.22947
  7  0.807395
  8  2.32755e-05
  9  7.93589
  10  0.134746
  11  17.804
  12  4.41557
  13  0.0027727
  14  4.30565
  15  5.84198
  16  7.56765e-05
  17  7.04391
  18  1.62557
  19  0.000253665
  20  0.14427
  21  0.0745359
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.138e+00  1.347e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.452e-01  7.454e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.014e+00  1.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 207.01
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.15e-07 +/- 4.91e-08
Energy Flux (Fixed Index): 1.33e-04 +/- 1.58e-05

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) = 20566.9992516
delta logL = 0.00822833109123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1501       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0376       1.0000          .0000       10.000    
     3 'Normalizat'    1.0080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94735       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.00     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      204 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1501        .14497         .0000        .48454E-04
   2  Index1        2.0376        .12022         .0000       -.23045E-03
   3  Normalizat    1.0080        .13699         .0000        .35643E-05
   4  Prefactor     .94735        .74412E-01     .0000       -.62691E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15005
  Index1     = 2.03759
  Normalizat = 1.00804
  Prefactor  = 0.947348
e GAL_V02
Working on...
/lscratch/kocevski/33485466/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits.....................!
real 89.62
user 86.42
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33485466/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits', '/lscratch/kocevski/33485466/ft2_4FGL_J2253.9+1609_weekly_bin938.fits', expMap='/lscratch/kocevski/33485466/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', expCube='/lscratch/kocevski/33485466/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33485466/Model_4FGL_J2253.9+1609_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.9+1609'

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33485466/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33485466/ft2_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33485466/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33485466/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33485466/Model_4FGL_J2253.9+1609_weekly_bin938.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) = 20567.0534121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15021E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .44056E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4308       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.352       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2898       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1162       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3381       1.0000          .0000       .10000E+07
     8 'Prefactor '    .28947E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.052       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1378       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.222       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2579       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12121E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.7862       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3805       1.0000          .0000       .10000E+07
    16 'Prefactor '    .93259E-08   1.0000          .0000       .10000E+07
    17 'norm      '    16.968       1.0000          .0000       .10000E+07
    18 'Prefactor '    .29634       1.0000          .0000       .10000E+07
    19 'norm      '    .57787E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0142       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94515       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.01     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1312 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18041E-07    18.184       -.22689E-06** at limit **
   2  norm          .13600E-07    1.7319        .20999E-06** at limit **
   3  Prefactor     5.4405        1.2432        .22246E-07    .27165E-02
   4  Prefactor     16.398        9.3837        .59171E-07    .68647E-01
   5  Prefactor     1.2899        .17851       -.85989E-07   -.22358E-02
   6  Prefactor     5.1095        5.2328       -.64945E-06    .57733E-04
   7  norm          1.3383        .80136        .39740E-07    .46325E-02
   8  Prefactor     .55511E-10    4.1865       -.30475E-07** at limit **
   9  Prefactor     12.047        1.2159       -.17485E-07   -.52163E-02
  10  Prefactor     1.1379        .13466        .54937E-08    .18362E-02
  11  Prefactor     14.317        7.6184        .18541E-06   -.13672    
  12  Prefactor     2.2601        4.4020        .24007E-07    .14523E-02
  13  Prefactor     .57621E-07    33.414       -.44792E-06** at limit **
  14  Prefactor     6.7889        4.3031       -.90420E-07   -.37742E-03
  15  Prefactor     6.3699        5.7542       -.14718E-06   -.48144E-01
  16  Prefactor     .49960E-09    2.8609        .31253E-06** at limit **
  17  norm          16.996        6.7418       -.10737E-07   -.10787E-01
  18  Prefactor     .29584        9.4776        .39317E-06    .26717E-01
  19  norm          .10825E-07    1.4593        .15711E-06** at limit **
  20  Normalizat    1.0138        .16679        .43827E-05    .31972E-03
  21  Prefactor     .94522        .87211E-01   -.59607E-06    .51379E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80411e-08
  norm       = 1.36002e-08
  Prefactor  = 5.44045
  Prefactor  = 16.3978
  Prefactor  = 1.28986
  Prefactor  = 5.10948
  norm       = 1.33829
  Prefactor  = 5.55112e-11
  Prefactor  = 12.0475
  Prefactor  = 1.13788
  Prefactor  = 14.3173
  Prefactor  = 2.26015
  Prefactor  = 5.76206e-08
  Prefactor  = 6.78895
  Prefactor  = 6.36991
  Prefactor  = 4.996e-10
  norm       = 16.9957
  Prefactor  = 0.295839
  norm       = 1.08247e-08
  Normalizat = 1.01381
  Prefactor  = 0.945218
 **********
 **   18 **HESSE 
 **********

 FCN=   20567.00     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1501        .16254        .17006E-04   -1.5493    
   2  Index1        2.0376        .13711        .38490E-03   -.63414    
   3  Normalizat    1.0080        .16241        .36081E-03   -.92762    
   4  Prefactor     .94735        .87537E-01    .20491E-03   -.94506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51147e-12
Minuit parameter uncertainties:
  1  0.162537
  2  0.137136
  3  0.162491
  4  0.0875503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.150e+00  1.625e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.038e+00  1.371e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.473e-01  8.755e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.008e+00  1.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 205.64
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.04 +/- 0.14
Photon Flux (Free Index): 4.20e-07 +/- 6.20e-08
Energy Flux (Free Index): 1.33e-04 +/- 1.64e-05

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/33485474/cmap_HighResolution_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.15e-07', energy_flux2='1.33e-04', photon_flux_error='4.91e-08', dlogl='8.67e-03', energy_flux='1.33e-04', photon_flux2='4.20e-07', job_status='DONE', time_completed='2026-07-28 20:35:06.149055', photon_index_error2='0.14', photon_index2='2.04', ts='207.01', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.64e-05', EG='1.01', time_epoch_completed='1785296106.15', return_code='0', job_id='33485474', GAL2='0.95', EG2='1.01', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='6.20e-08', ts2='205.64', photon_index='2.02' WHERE bin_id='938' AND source_name='4FGL J2253.9+1609' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 20:35:06 PDT 2026

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


Performing analysis on: 4FGL_J2253.9+1609_weekly_bin938
RA = 343.496, Dec = 16.1506
tmin = 806284801, tmax = 806889601
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='33486120', job_status='RUN', time_executed='2026-07-28 20:28:36.899376', time_epoch_executed='1785295716.9' WHERE source_name='4FGL J2253.9+1609' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33486120

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33486120/ft1_4FGL_J2253.9+1609_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33486120/ft1_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33486120/ft1_filteredMKT_4FGL_J2253.9+1609_weekly_bin938.fits ra=343.496 dec=16.1506 rad=12.0 tmin=806284801.0 tmax=806889601.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 6.23
user 5.16
sys 0.42

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.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/33486120/ft1_filteredMKT_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33486120/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1875

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33486120/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA"  **********
 **   18 **HESSE 
 **********

 FCN=   20567.01     FROM HESSE     STATUS=OK           369 CALLS     1681 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18041E-07    18.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13600E-07    1.7621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4405        6.7397        .43095E-03   -1.5661    
   4  Prefactor     16.398        9.5080        .24741E-03   -1.5627    
   5  Prefactor     1.2899        .18131        .47855E-02   -1.5481    
   6  Prefactor     5.1095        5.2290        .44437E-02   -1.5256    
   7  norm          1.3383        .80740        .94760E-03   -1.5685    
   8  Prefactor     .55511E-10    4.2144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.047        7.9359        .28830E-03   -1.5639    
  10  Prefactor     1.1379        .13475        .38365E-02   -1.5495    
  11  Prefactor     14.317        17.804        .26533E-03   -1.5632    
  12  Prefactor     2.2601        4.4156        .68341E-03   -1.5678    
  13  Prefactor     .57621E-07    33.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.7889        4.3056        .38492E-03   -1.5656    
  15  Prefactor     6.3699        5.8420        .39712E-03   -1.5657    
  16  Prefactor     .49960E-09    2.8656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.996        7.0439        .24287E-03   -1.5626    
  18  Prefactor     .29584        2.2330        .65811E-02   -1.5697    
  19  norm          .10825E-07    1.4875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0138        .14421        .81318E-01   -.92569    
  21  Prefactor     .94522        .74528E-01    .45578E-01   -.94578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0944e-07
Minuit parameter uncertainties:
  1  0.00114803
  2  0.000309397
  3  6.73966
  4  9.50805
  5  0.18131
  6  5.22947
  7  0.807395
  8  2.32755e-05
  9  7.93589
  10  0.134746
  11  17.804
  12  4.41557
  13  0.0027727
  14  4.30565
  15  5.84198
  16  7.56765e-05
  17  7.04391
  18  1.62557
  19  0.000253665
  20  0.14427
  21  0.0745359
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.138e+00  1.347e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.452e-01  7.454e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.014e+00  1.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 207.01
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.15e-07 +/- 4.91e-08
Energy Flux (Fixed Index): 1.33e-04 +/- 1.58e-05

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) = 20566.9992516
delta logL = 0.00822833109123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1501       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0376       1.0000          .0000       10.000    
     3 'Normalizat'    1.0080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94735       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.00     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      204 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1501        .14497         .0000        .48454E-04
   2  Index1        2.0376        .12022         .0000       -.23045E-03
   3  Normalizat    1.0080        .13699         .0000        .35643E-05
   4  Prefactor     .94735        .74412E-01     .0000       -.62691E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15005
  Index1     = 2.03759
  Normalizat = 1.00804
  Prefactor  = 0.947348
 outfile=/lscratch/kocevski/33485891/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.fits
.....................!
real 18.33
user 17.38
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33485891/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33485891/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33485891/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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/33485891/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
.....................!
real 66.12
user 61.42
sys 3.61

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2253.9+1609 @ 343.496 16.1506

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33485891/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits scfile=/lscratch/kocevski/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33485891/cmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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=343.496 yref=16.1506 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.94
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33485891/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits scfile=/lscratch/kocevski/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33485891/cmap_HighResolution_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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=343.496 yref=16.1506 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.98
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33485891/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33485891/Model_4FGL_J2253.9+1609_weekly_bin938.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   20567.00     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1501        .16254        .17006E-04   -1.5493    
   2  Index1        2.0376        .13711        .38490E-03   -.63414    
   3  Normalizat    1.0080        .16241        .36081E-03   -.92762    
   4  Prefactor     .94735        .87537E-01    .20491E-03   -.94506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51147e-12
Minuit parameter uncertainties:
  1  0.162537
  2  0.137136
  3  0.162491
  4  0.0875503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.150e+00  1.625e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.038e+00  1.371e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.473e-01  8.755e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.008e+00  1.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 205.64
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.04 +/- 0.14
Photon Flux (Free Index): 4.20e-07 +/- 6.20e-08
Energy Flux (Free Index): 1.33e-04 +/- 1.64e-05

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/33485466/cmap_HighResolution_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.15e-07', energy_flux2='1.33e-04', photon_flux_error='4.91e-08', dlogl='8.67e-03', energy_flux='1.33e-04', photon_flux2='4.20e-07', job_status='DONE', time_completed='2026-07-28 20:36:07.324263', photon_index_error2='0.14', photon_index2='2.04', ts='207.01', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.64e-05', EG='1.01', time_epoch_completed='1785296167.32', return_code='0', job_id='33485466', GAL2='0.95', EG2='1.01', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='6.20e-08', ts2='205.64', photon_index='2.02' WHERE bin_id='938' AND source_name='4FGL J2253.9+1609' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 20:36:07 PDT 2026

outfile=/lscratch/kocevski/33485867/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.fits
.....................!
real 19.62
user 18.43
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33485867/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33485867/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33485867/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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/33485867/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
.....................!
real 73.22
user 67.69
sys 4.41

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2253.9+1609 @ 343.496 16.1506

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33485867/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits scfile=/lscratch/kocevski/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33485867/cmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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=343.496 yref=16.1506 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.95
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33485867/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits scfile=/lscratch/kocevski/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33485867/cmap_HighResolution_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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=343.496 yref=16.1506 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.16
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33485867/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33485867/Model_4FGL_J2253.9+1609_weekly_bin938.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourceoutfile=/lscratch/kocevski/33486120/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.fits
.....................!
real 24.78
user 23.63
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33486120/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33486120/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33486120/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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/33486120/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
.....................!
real 74.26
user 68.62
sys 4.31

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2253.9+1609 @ 343.496 16.1506

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33486120/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits scfile=/lscratch/kocevski/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33486120/cmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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=343.496 yref=16.1506 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.92
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33486120/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits scfile=/lscratch/kocevski/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33486120/cmap_HighResolution_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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=343.496 yref=16.1506 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.98
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33486120/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33486120/Model_4FGL_J2253.9+1609_weekly_bin938.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcee GAL_V02
Working on...
/lscratch/kocevski/33485891/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits.....................!
real 75.27
user 72.97
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33485891/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits', '/lscratch/kocevski/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.fits', expMap='/lscratch/kocevski/33485891/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', expCube='/lscratch/kocevski/33485891/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33485891/Model_4FGL_J2253.9+1609_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.9+1609'

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33485891/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33485891/ft2_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33485891/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33485891/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33485891/Model_4FGL_J2253.9+1609_weekly_bin938.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) = 20567.0534121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15021E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .44056E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4308       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.352       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2898       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1162       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3381       1.0000          .0000       .10000E+07
     8 'Prefactor '    .28947E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.052       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1378       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.222       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2579       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12121E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.7862       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3805       1.0000          .0000       .10000E+07
    16 'Prefactor '    .93259E-08   1.0000          .0000       .10000E+07
    17 'norm      '    16.968       1.0000          .0000       .10000E+07
    18 'Prefactor '    .29634       1.0000          .0000       .10000E+07
    19 'norm      '    .57787E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0142       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94515       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.01     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1312 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18041E-07    18.184       -.22689E-06** at limit **
   2  norm          .13600E-07    1.7319        .20999E-06** at limit **
   3  Prefactor     5.4405        1.2432        .22246E-07    .27165E-02
   4  Prefactor     16.398        9.3837        .59171E-07    .68647E-01
   5  Prefactor     1.2899        .17851       -.85989E-07   -.22358E-02
   6  Prefactor     5.1095        5.2328       -.64945E-06    .57733E-04
   7  norm          1.3383        .80136        .39740E-07    .46325E-02
   8  Prefactor     .55511E-10    4.1865       -.30475E-07** at limit **
   9  Prefactor     12.047        1.2159       -.17485E-07   -.52163E-02
  10  Prefactor     1.1379        .13466        .54937E-08    .18362E-02
  11  Prefactor     14.317        7.6184        .18541E-06   -.13672    
  12  Prefactor     2.2601        4.4020        .24007E-07    .14523E-02
  13  Prefactor     .57621E-07    33.414       -.44792E-06** at limit **
  14  Prefactor     6.7889        4.3031       -.90420E-07   -.37742E-03
  15  Prefactor     6.3699        5.7542       -.14718E-06   -.48144E-01
  16  Prefactor     .49960E-09    2.8609        .31253E-06** at limit **
  17  norm          16.996        6.7418       -.10737E-07   -.10787E-01
  18  Prefactor     .29584        9.4776        .39317E-06    .26717E-01
  19  norm          .10825E-07    1.4593        .15711E-06** at limit **
  20  Normalizat    1.0138        .16679        .43827E-05    .31972E-03
  21  Prefactor     .94522        .87211E-01   -.59607E-06    .51379E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80411e-08
  norm       = 1.36002e-08
  Prefactor  = 5.44045
  Prefactor  = 16.3978
  Prefactor  = 1.28986
  Prefactor  = 5.10948
  norm       = 1.33829
  Prefactor  = 5.55112e-11
  Prefactor  = 12.0475
  Prefactor  = 1.13788
  Prefactor  = 14.3173
  Prefactor  = 2.26015
  Prefactor  = 5.76206e-08
  Prefactor  = 6.78895
  Prefactor  = 6.36991
  Prefactor  = 4.996e-10
  norm       = 16.9957
  Prefactor  = 0.295839
  norm       = 1.08247e-08
  Normalizat = 1.01381
  Prefactor  = 0.945218
 GAL_V02
Working on...
/lscratch/kocevski/33485867/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits.....................!
real 84.94
user 81.37
sys 1.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33485867/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits', '/lscratch/kocevski/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.fits', expMap='/lscratch/kocevski/33485867/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', expCube='/lscratch/kocevski/33485867/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33485867/Model_4FGL_J2253.9+1609_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.9+1609'

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33485867/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33485867/ft2_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33485867/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33485867/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33485867/Model_4FGL_J2253.9+1609_weekly_bin938.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) = 20567.0534121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15021E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .44056E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4308       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.352       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2898       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1162       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3381       1.0000          .0000       .10000E+07
     8 'Prefactor '    .28947E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.052       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1378       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.222       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2579       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12121E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.7862       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3805       1.0000          .0000       .10000E+07
    16 'Prefactor '    .93259E-08   1.0000          .0000       .10000E+07
    17 'norm      '    16.968       1.0000          .0000       .10000E+07
    18 'Prefactor '    .29634       1.0000          .0000       .10000E+07
    19 'norm      '    .57787E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0142       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94515       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.01     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1312 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18041E-07    18.184       -.22689E-06** at limit **
   2  norm          .13600E-07    1.7319        .20999E-06** at limit **
   3  Prefactor     5.4405        1.2432        .22246E-07    .27165E-02
   4  Prefactor     16.398        9.3837        .59171E-07    .68647E-01
   5  Prefactor     1.2899        .17851       -.85989E-07   -.22358E-02
   6  Prefactor     5.1095        5.2328       -.64945E-06    .57733E-04
   7  norm          1.3383        .80136        .39740E-07    .46325E-02
   8  Prefactor     .55511E-10    4.1865       -.30475E-07** at limit **
   9  Prefactor     12.047        1.2159       -.17485E-07   -.52163E-02
  10  Prefactor     1.1379        .13466        .54937E-08    .18362E-02
  11  Prefactor     14.317        7.6184        .18541E-06   -.13672    
  12  Prefactor     2.2601        4.4020        .24007E-07    .14523E-02
  13  Prefactor     .57621E-07    33.414       -.44792E-06** at limit **
  14  Prefactor     6.7889        4.3031       -.90420E-07   -.37742E-03
  15  Prefactor     6.3699        5.7542       -.14718E-06   -.48144E-01
  16  Prefactor     .49960E-09    2.8609        .31253E-06** at limit **
  17  norm          16.996        6.7418       -.10737E-07   -.10787E-01
  18  Prefactor     .29584        9.4776        .39317E-06    .26717E-01
  19  norm          .10825E-07    1.4593        .15711E-06** at limit **
  20  Normalizat    1.0138        .16679        .43827E-05    .31972E-03
  21  Prefactor     .94522        .87211E-01   -.59607E-06    .51379E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80411e-08
  norm       = 1.36002e-08
  Prefactor  = 5.44045
  Prefactor  = 16.3978
  Prefactor  = 1.28986
  Prefactor  = 5.10948
  norm       = 1.33829
  Prefactor  = 5.55112e-11
  Prefactor  = 12.0475
  Prefactor  = 1.13788
  Prefactor  = 14.3173
  Prefactor  = 2.26015
  Prefactor  = 5.76206e-08
  Prefactor  = 6.78895
  Prefactor  = 6.36991
  Prefactor  = 4.996e-10
  norm       = 16.9957
  Prefactor  = 0.295839
  norm       = 1.08247e-08
  Normalizat = 1.01381
  Prefactor  = 0.945218
 **********
 **   18 **HESSE 
 **********

 FCN=   20567.01     FROM HESSE     STATUS=OK           369 CALLS     1681 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18041E-07    18.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13600E-07    1.7621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4405        6.7397        .43095E-03   -1.5661    
   4  Prefactor     16.398        9.5080        .24741E-03   -1.5627    
   5  Prefactor     1.2899        .18131        .47855E-02   -1.5481    
   6  Prefactor     5.1095        5.2290        .44437E-02   -1.5256    
   7  norm          1.3383        .80740        .94760E-03   -1.5685    
   8  Prefactor     .55511E-10    4.2144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.047        7.9359        .28830E-03   -1.5639    
  10  Prefactor     1.1379        .13475        .38365E-02   -1.5495    
  11  Prefactor     14.317        17.804        .26533E-03   -1.5632    
  12  Prefactor     2.2601        4.4156        .68341E-03   -1.5678    
  13  Prefactor     .57621E-07    33.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.7889        4.3056        .38492E-03   -1.5656    
  15  Prefactor     6.3699        5.8420        .39712E-03   -1.5657    
  16  Prefactor     .49960E-09    2.8656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.996        7.0439        .24287E-03   -1.5626    
  18  Prefactor     .29584        2.2330        .65811E-02   -1.5697    
  19  norm          .10825E-07    1.4875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0138        .14421        .81318E-01   -.92569    
  21  Prefactor     .94522        .74528E-01    .45578E-01   -.94578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0944e-07
Minuit parameter uncertainties:
  1  0.00114803
  2  0.000309397
  3  6.73966
  4  9.50805
  5  0.18131
  6  5.22947
  7  0.807395
  8  2.32755e-05
  9  7.93589
  10  0.134746
  11  17.804
  12  4.41557
  13  0.0027727
  14  4.30565
  15  5.84198
  16  7.56765e-05
  17  7.04391
  18  1.62557
  19  0.000253665
  20  0.14427
  21  0.0745359
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2253.9+1609_weekly_bin938
RA = 343.496, Dec = 16.1506
tmin = 806284801, tmax = 806889601
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='33486906', job_status='RUN', time_executed='2026-07-28 20:33:43.266381', time_epoch_executed='1785296023.27' WHERE source_name='4FGL J2253.9+1609' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33486906

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33486906/ft1_4FGL_J2253.9+1609_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33486906/ft1_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33486906/ft1_filteredMKT_4FGL_J2253.9+1609_weekly_bin938.fits ra=343.496 dec=16.1506 rad=12.0 tmin=806284801.0 tmax=806889601.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 5.56
user 4.51
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.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/33486906/ft1_filteredMKT_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33486906/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1875

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33486906/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

 FCN=   20567.01     FROM HESSE     STATUS=OK           369 CALLS     1681 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18041E-07    18.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13600E-07    1.7621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4405        6.7397        .43095E-03   -1.5661    
   4  Prefactor     16.398        9.5080        .24741E-03   -1.5627    
   5  Prefactor     1.2899        .18131        .47855E-02   -1.5481    
   6  Prefactor     5.1095        5.2290        .44437E-02   -1.5256    
   7  norm          1.3383        .80740        .94760E-03   -1.5685    
   8  Prefactor     .55511E-10    4.2144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.047        7.9359        .28830E-03   -1.5639    
  10  Prefactor     1.1379        .13475        .38365E-02   -1.5495    
  11  Prefactor     14.317        17.804        .26533E-03   -1.5632    
  12  Prefactor     2.2601        4.4156        .68341E-03   -1.5678    
  13  Prefactor     .57621E-07    33.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.7889        4.3056        .38492E-03   -1.5656    
  15  Prefactor     6.3699        5.8420        .39712E-03   -1.5657    
  16  Prefactor     .49960E-09    2.8656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.996        7.0439        .24287E-03   -1.5626    
  18  Prefactor     .29584        2.2330        .65811E-02   -1.5697    
  19  norm          .10825E-07    1.4875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0138        .14421        .81318E-01   -.92569    
  21  Prefactor     .94522        .74528E-01    .45578E-01   -.94578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0944e-07
Minuit parameter uncertainties:
  1  0.00114803
  2  0.000309397
  3  6.73966
  4  9.50805
  5  0.18131
  6  5.22947
  7  0.807395
  8  2.32755e-05
  9  7.93589
  10  0.134746
  11  17.804
  12  4.41557
  13  0.0027727
  14  4.30565
  15  5.84198
  16  7.56765e-05
  17  7.04391
  18  1.62557
  19  0.000253665
  20  0.14427
  21  0.0745359
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.138e+00  1.347e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.452e-01  7.454e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.014e+00  1.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 207.01
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.15e-07 +/- 4.91e-08
Energy Flux (Fixed Index): 1.33e-04 +/- 1.58e-05

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) = 20566.9992516
delta logL = 0.00822833109123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1501       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0376       1.0000          .0000       10.000    
     3 'Normalizat'    1.0080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94735       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.00     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      204 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1501        .14497         .0000        .48454E-04
   2  Index1        2.0376        .12022         .0000       -.23045E-03
   3  Normalizat    1.0080        .13699         .0000        .35643E-05
   4  Prefactor     .94735        .74412E-01     .0000       -.62691E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15005
  Index1     = 2.03759
  Normalizat = 1.00804
  Prefactor  = 0.947348
 **********
 **   18 **HESSE 
 **********

 FCN=   20567.00     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1501        .16254        .17006E-04   -1.5493    
   2  Index1        2.0376        .13711        .38490E-03   -.63414    
   3  Normalizat    1.0080        .16241        .36081E-03   -.92762    
   4  Prefactor     .94735        .87537E-01    .20491E-03   -.94506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51147e-12
Minuit parameter uncertainties:
  1  0.162537
  2  0.137136
  3  0.162491
  4  0.0875503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.150e+00  1.625e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.038e+00  1.371e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.473e-01  8.755e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.008e+00  1.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 205.64
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.04 +/- 0.14
Photon Flux (Free Index): 4.20e-07 +/- 6.20e-08
Energy Flux (Free Index): 1.33e-04 +/- 1.64e-05

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/33485891/cmap_HighResolution_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.15e-07', energy_flux2='1.33e-04', photon_flux_error='4.91e-08', dlogl='8.67e-03', energy_flux='1.33e-04', photon_flux2='4.20e-07', job_status='DONE', time_completed='2026-07-28 20:39:52.458430', photon_index_error2='0.14', photon_index2='2.04', ts='207.01', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.64e-05', EG='1.01', time_epoch_completed='1785296392.46', return_code='0', job_id='33485891', GAL2='0.95', EG2='1.01', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='6.20e-08', ts2='205.64', photon_index='2.02' WHERE bin_id='938' AND source_name='4FGL J2253.9+1609' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 20:39:52 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.138e+00  1.347e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.452e-01  7.454e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.014e+00  1.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 207.01
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.15e-07 +/- 4.91e-08
Energy Flux (Fixed Index): 1.33e-04 +/- 1.58e-05

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) = 20566.9992516
delta logL = 0.00822833109123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1501       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0376       1.0000          .0000       10.000    
     3 'Normalizat'    1.0080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94735       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.00     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      204 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1501        .14497         .0000        .48454E-04
   2  Index1        2.0376        .12022         .0000       -.23045E-03
   3  Normalizat    1.0080        .13699         .0000        .35643E-05
   4  Prefactor     .94735        .74412E-01     .0000       -.62691E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15005
  Index1     = 2.03759
  Normalizat = 1.00804
  Prefactor  = 0.947348
 **********
 **   18 **HESSE 
 **********

 FCN=   20567.00     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1501        .16254        .17006E-04   -1.5493    
   2  Index1        2.0376        .13711        .38490E-03   -.63414    
   3  Normalizat    1.0080        .16241        .36081E-03   -.92762    
   4  Prefactor     .94735        .87537E-01    .20491E-03   -.94506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51147e-12
Minuit parameter uncertainties:
  1  0.162537
  2  0.137136
  3  0.162491
  4  0.0875503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.150e+00  1.625e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.038e+00  1.371e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.473e-01  8.755e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.008e+00  1.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 205.64
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.04 +/- 0.14
Photon Flux (Free Index): 4.20e-07 +/- 6.20e-08
Energy Flux (Free Index): 1.33e-04 +/- 1.64e-05

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/33485867/cmap_HighResolution_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.15e-07', energy_flux2='1.33e-04', photon_flux_error='4.91e-08', dlogl='8.67e-03', energy_flux='1.33e-04', photon_flux2='4.20e-07', job_status='DONE', time_completed='2026-07-28 20:40:08.720774', photon_index_error2='0.14', photon_index2='2.04', ts='207.01', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.64e-05', EG='1.01', time_epoch_completed='1785296408.72', return_code='0', job_id='33485867', GAL2='0.95', EG2='1.01', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='6.20e-08', ts2='205.64', photon_index='2.02' WHERE bin_id='938' AND source_name='4FGL J2253.9+1609' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 20:40:09 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/33486120/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits.....................!
real 83.64
user 80.52
sys 1.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33486120/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits', '/lscratch/kocevski/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.fits', expMap='/lscratch/kocevski/33486120/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', expCube='/lscratch/kocevski/33486120/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33486120/Model_4FGL_J2253.9+1609_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.9+1609'

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33486120/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33486120/ft2_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33486120/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33486120/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33486120/Model_4FGL_J2253.9+1609_weekly_bin938.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) = 20567.0534121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15021E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .44056E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4308       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.352       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2898       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1162       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3381       1.0000          .0000       .10000E+07
     8 'Prefactor '    .28947E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.052       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1378       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.222       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2579       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12121E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.7862       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3805       1.0000          .0000       .10000E+07
    16 'Prefactor '    .93259E-08   1.0000          .0000       .10000E+07
    17 'norm      '    16.968       1.0000          .0000       .10000E+07
    18 'Prefactor '    .29634       1.0000          .0000       .10000E+07
    19 'norm      '    .57787E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0142       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94515       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.01     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1312 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18041E-07    18.184       -.22689E-06** at limit **
   2  norm          .13600E-07    1.7319        .20999E-06** at limit **
   3  Prefactor     5.4405        1.2432        .22246E-07    .27165E-02
   4  Prefactor     16.398        9.3837        .59171E-07    .68647E-01
   5  Prefactor     1.2899        .17851       -.85989E-07   -.22358E-02
   6  Prefactor     5.1095        5.2328       -.64945E-06    .57733E-04
   7  norm          1.3383        .80136        .39740E-07    .46325E-02
   8  Prefactor     .55511E-10    4.1865       -.30475E-07** at limit **
   9  Prefactor     12.047        1.2159       -.17485E-07   -.52163E-02
  10  Prefactor     1.1379        .13466        .54937E-08    .18362E-02
  11  Prefactor     14.317        7.6184        .18541E-06   -.13672    
  12  Prefactor     2.2601        4.4020        .24007E-07    .14523E-02
  13  Prefactor     .57621E-07    33.414       -.44792E-06** at limit **
  14  Prefactor     6.7889        4.3031       -.90420E-07   -.37742E-03
  15  Prefactor     6.3699        5.7542       -.14718E-06   -.48144E-01
  16  Prefactor     .49960E-09    2.8609        .31253E-06** at limit **
  17  norm          16.996        6.7418       -.10737E-07   -.10787E-01
  18  Prefactor     .29584        9.4776        .39317E-06    .26717E-01
  19  norm          .10825E-07    1.4593        .15711E-06** at limit **
  20  Normalizat    1.0138        .16679        .43827E-05    .31972E-03
  21  Prefactor     .94522        .87211E-01   -.59607E-06    .51379E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80411e-08
  norm       = 1.36002e-08
  Prefactor  = 5.44045
  Prefactor  = 16.3978
  Prefactor  = 1.28986
  Prefactor  = 5.10948
  norm       = 1.33829
  Prefactor  = 5.55112e-11
  Prefactor  = 12.0475
  Prefactor  = 1.13788
  Prefactor  = 14.3173
  Prefactor  = 2.26015
  Prefactor  = 5.76206e-08
  Prefactor  = 6.78895
  Prefactor  = 6.36991
  Prefactor  = 4.996e-10
  norm       = 16.9957
  Prefactor  = 0.295839
  norm       = 1.08247e-08
  Normalizat = 1.01381
  Prefactor  = 0.945218
 **********
 **   18 **HESSE 
 **********

 FCN=   20567.01     FROM HESSE     STATUS=OK           369 CALLS     1681 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18041E-07    18.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13600E-07    1.7621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4405        6.7397        .43095E-03   -1.5661    
   4  Prefactor     16.398        9.5080        .24741E-03   -1.5627    
   5  Prefactor     1.2899        .18131        .47855E-02   -1.5481    
   6  Prefactor     5.1095        5.2290        .44437E-02   -1.5256    
   7  norm          1.3383        .80740        .94760E-03   -1.5685    
   8  Prefactor     .55511E-10    4.2144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.047        7.9359        .28830E-03   -1.5639    
  10  Prefactor     1.1379        .13475        .38365E-02   -1.5495    
  11  Prefactor     14.317        17.804        .26533E-03   -1.5632    
  12  Prefactor     2.2601        4.4156        .68341E-03   -1.5678    
  13  Prefactor     .57621E-07    33.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.7889        4.3056        .38492E-03   -1.5656    
  15  Prefactor     6.3699        5.8420        .39712E-03   -1.5657    
  16  Prefactor     .49960E-09    2.8656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.996        7.0439        .24287E-03   -1.5626    
  18  Prefactor     .29584        2.2330        .65811E-02   -1.5697    
  19  norm          .10825E-07    1.4875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0138        .14421        .81318E-01   -.92569    
  21  Prefactor     .94522        .74528E-01    .45578E-01   -.94578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0944e-07
Minuit parameter uncertainties:
  1  0.00114803
  2  0.000309397
  3  6.73966
  4  9.50805
  5  0.18131
  6  5.22947
  7  0.807395
  8  2.32755e-05
  9  7.93589
  10  0.134746
  11  17.804
  12  4.41557
  13  0.0027727
  14  4.30565
  15  5.84198
  16  7.56765e-05
  17  7.04391
  18  1.62557
  19  0.000253665
  20  0.14427
  21  0.0745359
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.138e+00  1.347e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.452e-01  7.454e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.014e+00  1.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 207.01
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.15e-07 +/- 4.91e-08
Energy Flux (Fixed Index): 1.33e-04 +/- 1.58e-05

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) = 20566.9992516
delta logL = 0.00822833109123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1501       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0376       1.0000          .0000       10.000    
     3 'Normalizat'    1.0080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94735       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.00     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      204 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1501        .14497         .0000        .48454E-04
   2  Index1        2.0376        .12022         .0000       -.23045E-03
   3  Normalizat    1.0080        .13699         .0000        .35643E-05
   4  Prefactor     .94735        .74412E-01     .0000       -.62691E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15005
  Index1     = 2.03759
  Normalizat = 1.00804
  Prefactor  = 0.947348
 **********
 **   18 **HESSE 
 **********

 FCN=   20567.00     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1501        .16254        .17006E-04   -1.5493    
   2  Index1        2.0376        .13711        .38490E-03   -.63414    
   3  Normalizat    1.0080        .16241        .36081E-03   -.92762    
   4  Prefactor     .94735        .87537E-01    .20491E-03   -.94506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51147e-12
Minuit parameter uncertainties:
  1  0.162537
  2  0.137136
  3  0.162491
  4  0.0875503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.150e+00  1.625e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.038e+00  1.371e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.473e-01  8.755e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.008e+00  1.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 205.64
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.04 +/- 0.14
Photon Flux (Free Index): 4.20e-07 +/- 6.20e-08
Energy Flux (Free Index): 1.33e-04 +/- 1.64e-05

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/33486120/cmap_HighResolution_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.15e-07', energy_flux2='1.33e-04', photon_flux_error='4.91e-08', dlogl='8.67e-03', energy_flux='1.33e-04', photon_flux2='4.20e-07', job_status='DONE', time_completed='2026-07-28 20:42:25.303020', photon_index_error2='0.14', photon_index2='2.04', ts='207.01', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.64e-05', EG='1.01', time_epoch_completed='1785296545.3', return_code='0', job_id='33486120', GAL2='0.95', EG2='1.01', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='6.20e-08', ts2='205.64', photon_index='2.02' WHERE bin_id='938' AND source_name='4FGL J2253.9+1609' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 20:42:25 PDT 2026

 outfile=/lscratch/kocevski/33486906/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.fits
.....................!
real 21.92
user 20.56
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33486906/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33486906/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33486906/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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/33486906/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
.....................!
real 76.86
user 71.20
sys 4.27

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2253.9+1609 @ 343.496 16.1506

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33486906/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits scfile=/lscratch/kocevski/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33486906/cmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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=343.496 yref=16.1506 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.25
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33486906/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits scfile=/lscratch/kocevski/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.fits outfile=/lscratch/kocevski/33486906/cmap_HighResolution_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.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=343.496 yref=16.1506 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.53
user 0.26
sys 0.22

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33486906/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33486906/Model_4FGL_J2253.9+1609_weekly_bin938.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/33486906/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits.....................!
real 86.16
user 83.86
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33486906/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits', '/lscratch/kocevski/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.fits', expMap='/lscratch/kocevski/33486906/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', expCube='/lscratch/kocevski/33486906/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33486906/Model_4FGL_J2253.9+1609_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.9+1609'

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33486906/ft1_filtered_4FGL_J2253.9+1609_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33486906/ft2_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33486906/expmap_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33486906/ltcube_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33486906/Model_4FGL_J2253.9+1609_weekly_bin938.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) = 20567.0534121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15021E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .44056E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4308       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.352       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2898       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1162       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3381       1.0000          .0000       .10000E+07
     8 'Prefactor '    .28947E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.052       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1378       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.222       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2579       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12121E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.7862       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3805       1.0000          .0000       .10000E+07
    16 'Prefactor '    .93259E-08   1.0000          .0000       .10000E+07
    17 'norm      '    16.968       1.0000          .0000       .10000E+07
    18 'Prefactor '    .29634       1.0000          .0000       .10000E+07
    19 'norm      '    .57787E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0142       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94515       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.01     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1312 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18041E-07    18.184       -.22689E-06** at limit **
   2  norm          .13600E-07    1.7319        .20999E-06** at limit **
   3  Prefactor     5.4405        1.2432        .22246E-07    .27165E-02
   4  Prefactor     16.398        9.3837        .59171E-07    .68647E-01
   5  Prefactor     1.2899        .17851       -.85989E-07   -.22358E-02
   6  Prefactor     5.1095        5.2328       -.64945E-06    .57733E-04
   7  norm          1.3383        .80136        .39740E-07    .46325E-02
   8  Prefactor     .55511E-10    4.1865       -.30475E-07** at limit **
   9  Prefactor     12.047        1.2159       -.17485E-07   -.52163E-02
  10  Prefactor     1.1379        .13466        .54937E-08    .18362E-02
  11  Prefactor     14.317        7.6184        .18541E-06   -.13672    
  12  Prefactor     2.2601        4.4020        .24007E-07    .14523E-02
  13  Prefactor     .57621E-07    33.414       -.44792E-06** at limit **
  14  Prefactor     6.7889        4.3031       -.90420E-07   -.37742E-03
  15  Prefactor     6.3699        5.7542       -.14718E-06   -.48144E-01
  16  Prefactor     .49960E-09    2.8609        .31253E-06** at limit **
  17  norm          16.996        6.7418       -.10737E-07   -.10787E-01
  18  Prefactor     .29584        9.4776        .39317E-06    .26717E-01
  19  norm          .10825E-07    1.4593        .15711E-06** at limit **
  20  Normalizat    1.0138        .16679        .43827E-05    .31972E-03
  21  Prefactor     .94522        .87211E-01   -.59607E-06    .51379E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80411e-08
  norm       = 1.36002e-08
  Prefactor  = 5.44045
  Prefactor  = 16.3978
  Prefactor  = 1.28986
  Prefactor  = 5.10948
  norm       = 1.33829
  Prefactor  = 5.55112e-11
  Prefactor  = 12.0475
  Prefactor  = 1.13788
  Prefactor  = 14.3173
  Prefactor  = 2.26015
  Prefactor  = 5.76206e-08
  Prefactor  = 6.78895
  Prefactor  = 6.36991
  Prefactor  = 4.996e-10
  norm       = 16.9957
  Prefactor  = 0.295839
  norm       = 1.08247e-08
  Normalizat = 1.01381
  Prefactor  = 0.945218
 **********
 **   18 **HESSE 
 **********

 FCN=   20567.01     FROM HESSE     STATUS=OK           369 CALLS     1681 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18041E-07    18.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13600E-07    1.7621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4405        6.7397        .43095E-03   -1.5661    
   4  Prefactor     16.398        9.5080        .24741E-03   -1.5627    
   5  Prefactor     1.2899        .18131        .47855E-02   -1.5481    
   6  Prefactor     5.1095        5.2290        .44437E-02   -1.5256    
   7  norm          1.3383        .80740        .94760E-03   -1.5685    
   8  Prefactor     .55511E-10    4.2144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.047        7.9359        .28830E-03   -1.5639    
  10  Prefactor     1.1379        .13475        .38365E-02   -1.5495    
  11  Prefactor     14.317        17.804        .26533E-03   -1.5632    
  12  Prefactor     2.2601        4.4156        .68341E-03   -1.5678    
  13  Prefactor     .57621E-07    33.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.7889        4.3056        .38492E-03   -1.5656    
  15  Prefactor     6.3699        5.8420        .39712E-03   -1.5657    
  16  Prefactor     .49960E-09    2.8656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.996        7.0439        .24287E-03   -1.5626    
  18  Prefactor     .29584        2.2330        .65811E-02   -1.5697    
  19  norm          .10825E-07    1.4875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0138        .14421        .81318E-01   -.92569    
  21  Prefactor     .94522        .74528E-01    .45578E-01   -.94578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0944e-07
Minuit parameter uncertainties:
  1  0.00114803
  2  0.000309397
  3  6.73966
  4  9.50805
  5  0.18131
  6  5.22947
  7  0.807395
  8  2.32755e-05
  9  7.93589
  10  0.134746
  11  17.804
  12  4.41557
  13  0.0027727
  14  4.30565
  15  5.84198
  16  7.56765e-05
  17  7.04391
  18  1.62557
  19  0.000253665
  20  0.14427
  21  0.0745359
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.138e+00  1.347e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.452e-01  7.454e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.014e+00  1.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 207.01
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.15e-07 +/- 4.91e-08
Energy Flux (Fixed Index): 1.33e-04 +/- 1.58e-05

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) = 20566.9992516
delta logL = 0.00822833109123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1501       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0376       1.0000          .0000       10.000    
     3 'Normalizat'    1.0080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94735       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20567.00     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      204 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1501        .14497         .0000        .48454E-04
   2  Index1        2.0376        .12022         .0000       -.23045E-03
   3  Normalizat    1.0080        .13699         .0000        .35643E-05
   4  Prefactor     .94735        .74412E-01     .0000       -.62691E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15005
  Index1     = 2.03759
  Normalizat = 1.00804
  Prefactor  = 0.947348
 **********
 **   18 **HESSE 
 **********

 FCN=   20567.00     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1501        .16254        .17006E-04   -1.5493    
   2  Index1        2.0376        .13711        .38490E-03   -.63414    
   3  Normalizat    1.0080        .16241        .36081E-03   -.92762    
   4  Prefactor     .94735        .87537E-01    .20491E-03   -.94506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51147e-12
Minuit parameter uncertainties:
  1  0.162537
  2  0.137136
  3  0.162491
  4  0.0875503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20566.99881
delta logL = 0.00866994463649

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.150e+00  1.625e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.038e+00  1.371e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.473e-01  8.755e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.008e+00  1.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 205.64
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.04 +/- 0.14
Photon Flux (Free Index): 4.20e-07 +/- 6.20e-08
Energy Flux (Free Index): 1.33e-04 +/- 1.64e-05

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/33486906/cmap_HighResolution_806284801_806889601_4FGL_J2253.9+1609_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.15e-07', energy_flux2='1.33e-04', photon_flux_error='4.91e-08', dlogl='8.67e-03', energy_flux='1.33e-04', photon_flux2='4.20e-07', job_status='DONE', time_completed='2026-07-28 20:46:41.147512', photon_index_error2='0.14', photon_index2='2.04', ts='207.01', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.64e-05', EG='1.01', time_epoch_completed='1785296801.15', return_code='0', job_id='33486906', GAL2='0.95', EG2='1.01', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='6.20e-08', ts2='205.64', photon_index='2.02' WHERE bin_id='938' AND source_name='4FGL J2253.9+1609' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 20:46:42 PDT 2026

