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

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
file=/lscratch/kocevski/27167522/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167522/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 7.94
user 7.23
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167522/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167522/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167522/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167522/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167522/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 63.54
user 58.63
sys 4.08

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167522/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167522/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167522/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.76
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167522/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167522/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167522/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.76
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167522/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167522/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167522/Model_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167413/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 56.67
user 55.31
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167413/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167413/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167413/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167413/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167413/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167413/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167413/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167413/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167413/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167413/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167416/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 57.08
user 55.64
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167416/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167416/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167416/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167416/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167416/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167416/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167416/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167416/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167416/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167416/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
/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
/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).


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)
/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)
/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).


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

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

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247

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

Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167403/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167403/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 16:57:24.228912', job_id='27167403', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667044.23', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 16:57:24 PDT 2026

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


Performing analysis on: 4FGL_J2252.0+4031_daily_bin2167
RA = 343.01, Dec = 40.5232
tmin = 801014401, tmax = 801273601
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='27167597', job_status='RUN', time_executed='2026-05-24 16:55:06.645901', time_epoch_executed='1779666906.65' WHERE source_name='4FGL J2252.0+4031' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27167597

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27167597/ft1_4FGL_J2252.0+4031_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27167597/ft1_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167597/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits ra=343.01 dec=40.5232 rad=12.0 tmin=801014401.0 tmax=801273601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.54
user 1.94
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.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/27167597/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27167597/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1195

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27167597/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" outnumber of points = 7514
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2252.0+4031_daily_bin2167
RA = 343.01, Dec = 40.5232
tmin = 801014401, tmax = 801273601
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='27167617', job_status='RUN', time_executed='2026-05-24 16:55:09.015384', time_epoch_executed='1779666909.02' WHERE source_name='4FGL J2252.0+4031' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27167617

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27167617/ft1_4FGL_J2252.0+4031_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27167617/ft1_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167617/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits ra=343.01 dec=40.5232 rad=12.0 tmin=801014401.0 tmax=801273601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.30
user 1.74
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.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/27167617/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27167617/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1195

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27167617/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" outnumber of points = 7514
number of fields = 31
RA_SUN column already exists. File will not be modified.
del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167485/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 49.96
user 48.82
sys 0.62

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167485/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167485/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167485/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167485/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167485/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167485/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167485/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167485/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167485/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167485/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
Done.


Performing analysis on: 4FGL_J2252.0+4031_daily_bin2167
RA = 343.01, Dec = 40.5232
tmin = 801014401, tmax = 801273601
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='27167616', job_status='RUN', time_executed='2026-05-24 16:55:09.013545', time_epoch_executed='1779666909.01' WHERE source_name='4FGL J2252.0+4031' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27167616

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27167616/ft1_4FGL_J2252.0+4031_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27167616/ft1_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167616/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits ra=343.01 dec=40.5232 rad=12.0 tmin=801014401.0 tmax=801273601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.32
user 1.76
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.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/27167616/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27167616/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.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.70
user 0.20
sys 0.21

Number of photons that the gtmktime cut: 1195

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27167616/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" outDone.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167413/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167416/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167413/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 16:57:48.399235', job_id='27167413', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667068.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 16:57:48 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167416/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 16:57:48.910113', job_id='27167416', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667068.91', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 16:57:49 PDT 2026

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

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
file=/lscratch/kocevski/27167561/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167561/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 7.40
user 6.82
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167561/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167561/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167561/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167561/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167561/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 60.71
user 56.35
sys 3.54

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167561/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167561/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167561/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.87
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167561/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167561/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167561/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.87
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167561/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167561/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167561/Mofile=/lscratch/kocevski/27167531/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167531/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 8.34
user 7.63
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167531/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167531/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167531/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167531/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167531/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 67.43
user 62.85
sys 3.78

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167531/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167531/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167531/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167531/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167531/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167531/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167531/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167531/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167531/Mofile=/lscratch/kocevski/27167533/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167533/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 8.41
user 7.71
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167533/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167533/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167533/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167533/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167533/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 67.27
user 62.64
sys 3.77

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167533/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167533/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167533/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.79
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167533/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167533/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167533/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.81
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167533/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167533/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167533/Mofile=/lscratch/kocevski/27167556/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167556/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 8.09
user 7.54
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167556/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167556/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167556/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167556/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167556/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 67.23
user 62.56
sys 3.81

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167556/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167556/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167556/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.79
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167556/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167556/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167556/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167556/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167556/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167556/MoDone.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167485/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167485/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 16:58:25.949734', job_id='27167485', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667105.95', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 16:58:27 PDT 2026

file=/lscratch/kocevski/27167617/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 7.49
user 6.81
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167617/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167617/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167617/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167617/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 60.16
user 55.70
sys 3.77

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167617/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167617/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.79
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167617/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167617/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167617/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167617/Mofile=/lscratch/kocevski/27167597/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 7.95
user 7.40
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167597/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167597/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167597/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167597/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 65.21
user 60.73
sys 3.80

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167597/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167597/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.86
user 0.20
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167597/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167597/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.68
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167597/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167597/Mofile=/lscratch/kocevski/27167616/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 7.53
user 6.81
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167616/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167616/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167616/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167616/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 60.11
user 55.66
sys 3.73

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167616/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167616/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.75
user 0.21
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167616/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167616/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.14
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167616/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167616/Model_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167505/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 54.83
user 52.88
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167505/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167505/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167505/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167505/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167505/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167505/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167505/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167505/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167505/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167505/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167516/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 54.25
user 52.75
sys 0.81

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167516/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167516/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167516/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167516/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167516/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167516/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167516/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167516/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167516/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167516/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167495/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 55.61
user 54.08
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167495/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167495/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167495/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167495/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167495/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167495/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167495/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167495/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167495/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167495/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167522/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 53.67
user 51.76
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167522/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167522/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167522/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167522/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167522/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167522/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167522/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167522/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167522/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167522/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167505/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
number of points = 7514
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167495/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167516/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
Done.


Performing analysis on: 4FGL_J2252.0+4031_daily_bin2167
RA = 343.01, Dec = 40.5232
tmin = 801014401, tmax = 801273601
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='27167667', job_status='RUN', time_executed='2026-05-24 16:57:08.176687', time_epoch_executed='1779667028.18' WHERE source_name='4FGL J2252.0+4031' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27167667

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27167667/ft1_4FGL_J2252.0+4031_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27167667/ft1_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167667/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits ra=343.01 dec=40.5232 rad=12.0 tmin=801014401.0 tmax=801273601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.40
user 1.88
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.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/27167667/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27167667/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.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.71
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 1195

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27167667/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" out **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167505/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 16:59:41.404568', job_id='27167505', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667181.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 16:59:41 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167495/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 16:59:42.216623', job_id='27167495', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667182.22', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 16:59:42 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167522/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167516/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 16:59:42.778626', job_id='27167516', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667182.78', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 16:59:43 PDT 2026

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


Performing analysis on: 4FGL_J2252.0+4031_daily_bin2167
RA = 343.01, Dec = 40.5232
tmin = 801014401, tmax = 801273601
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='27167685', job_status='RUN', time_executed='2026-05-24 16:57:08.633746', time_epoch_executed='1779667028.63' WHERE source_name='4FGL J2252.0+4031' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27167685

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27167685/ft1_4FGL_J2252.0+4031_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27167685/ft1_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167685/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits ra=343.01 dec=40.5232 rad=12.0 tmin=801014401.0 tmax=801273601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.51
user 1.90
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.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/27167685/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27167685/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.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.66
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 1195

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27167685/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" outshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167522/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 16:59:45.462228', job_id='27167522', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667185.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 16:59:45 PDT 2026

del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167561/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 50.93
user 49.34
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167561/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167561/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167561/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167561/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167561/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167561/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167561/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167561/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167561/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167561/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167531/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 55.17
user 53.76
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167531/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167531/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167531/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167531/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167531/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167531/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167531/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167531/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167531/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167531/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167533/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 56.42
user 54.46
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167533/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167533/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167533/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167533/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167533/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167533/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167533/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167533/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167533/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167533/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167556/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 56.14
user 54.68
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167556/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167556/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167556/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167556/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167556/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167556/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167556/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167556/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167556/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167556/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
number of points = 7514
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2252.0+4031_daily_bin2167
RA = 343.01, Dec = 40.5232
tmin = 801014401, tmax = 801273601
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='27167672', job_status='RUN', time_executed='2026-05-24 16:57:16.479627', time_epoch_executed='1779667036.48' WHERE source_name='4FGL J2252.0+4031' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27167672

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27167672/ft1_4FGL_J2252.0+4031_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27167672/ft1_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167672/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits ra=343.01 dec=40.5232 rad=12.0 tmin=801014401.0 tmax=801273601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.28
user 2.22
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.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/27167672/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27167672/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.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.93
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1195

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27167672/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" out **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167561/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167561/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 17:00:41.577853', job_id='27167561', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667241.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 17:00:42 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167531/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167533/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167531/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 17:00:47.127581', job_id='27167531', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667247.13', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 17:00:47 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167533/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 17:00:49.606540', job_id='27167533', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667249.61', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 17:00:50 PDT 2026

del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167617/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 50.75
user 49.34
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167617/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167617/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167617/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167617/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167617/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167617/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167617/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167617/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167617/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
file=/lscratch/kocevski/27167667/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 7.56
user 6.99
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167667/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167667/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167667/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167667/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 60.99
user 56.70
sys 3.63

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167667/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167667/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.87
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167667/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167667/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167667/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167667/Model_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167597/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 53.31
user 51.55
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167597/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167597/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167597/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167597/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167597/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167597/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167597/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167597/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167597/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167616/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 51.20
user 49.44
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167616/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167616/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167616/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167616/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167616/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167616/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167616/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167616/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167616/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
file=/lscratch/kocevski/27167685/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 7.71
user 7.12
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167685/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167685/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167685/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167685/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 63.89
user 59.20
sys 3.96

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167685/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167685/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.80
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167685/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167685/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.70
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167685/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167685/Mo **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167556/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167556/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 17:01:08.254079', job_id='27167556', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667268.25', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 17:01:08 PDT 2026

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

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167597/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167617/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167597/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 17:01:39.640867', job_id='27167597', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667299.64', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 17:01:40 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167617/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 17:01:39.880837', job_id='27167617', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667299.88', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 17:01:40 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167616/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167616/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 17:01:46.398030', job_id='27167616', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667306.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 17:01:46 PDT 2026

file=/lscratch/kocevski/27167672/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 11.28
user 10.32
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27167672/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27167672/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167672/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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/27167672/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
.....................!
real 81.85
user 75.97
sys 4.69

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

Setting source of interest to:
4FGL J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27167672/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167672/cmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27167672/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits scfile=/lscratch/kocevski/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.fits outfile=/lscratch/kocevski/27167672/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.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.01 yref=40.5232 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.97
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27167672/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27167672/del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167667/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 49.55
user 48.05
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167667/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167667/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167667/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167667/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167667/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167667/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167667/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167667/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167667/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
del_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167685/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 54.05
user 52.37
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167685/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167685/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167685/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167685/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167685/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167685/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167685/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167685/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167685/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167667/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167667/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 17:03:39.085516', job_id='27167667', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667419.09', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 17:03:39 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167685/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167685/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 17:04:08.578660', job_id='27167685', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667448.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 17:04:09 PDT 2026

Model_4FGL_J2252.0+4031_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/27167672/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits.....................!
real 69.91
user 67.23
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27167672/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits', '/lscratch/kocevski/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.fits', expMap='/lscratch/kocevski/27167672/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', expCube='/lscratch/kocevski/27167672/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27167672/Model_4FGL_J2252.0+4031_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27167672/ft1_filtered_4FGL_J2252.0+4031_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27167672/ft2_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27167672/expmap_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27167672/ltcube_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27167672/Model_4FGL_J2252.0+4031_daily_bin2167.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) = 12224.5925098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5427       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6770       1.0000          .0000       .10000E+07
     3 'norm      '    .48306E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9109       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78271E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .15749       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8562       1.0000          .0000       .10000E+07
     9 'norm      '    .97886       1.0000          .0000       .10000E+07
    10 'norm      '    7.5353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34088E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .14957E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6279       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.5116       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .79654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      827 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5457        .67802       -.13318E-06    .12590E-01
   2  Prefactor     4.4742        1.3943       -.10264E-06   -.46719E-01
   3  norm           .0000        1.0666       -.36710E-06** at limit **
   4  Prefactor     8.7414        17.545        .34699E-06   -.34290E-02
   5  Prefactor     .49960E-09    1.9722       -.82022E-06** at limit **
   6  Prefactor     .18319E-08    6.3161       -.15276E-05** at limit **
   7  norm          .15843        .87624        .48623E-06** at limit **
   8  Prefactor     3.8908        1.2691        .70124E-07   -.10479E-01
   9  norm          .98420        .77904        .35395E-07   -.21291E-01
  10  norm          7.6023        6.8742        .17257E-06    .55192E-02
  11  Prefactor     .55511E-10    60.322       -.12005E-05** at limit **
  12  norm          .55511E-10    1.8558        .59253E-06** at limit **
  13  Prefactor     11.284        43.792       -.78347E-06    .45245E-03
  14  Normalizat    1.5099        .21647       -.68395E-05    .35337E-03
  15  Prefactor     .79660        .69046E-01    .10816E-05    .55445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54571
  Prefactor  = 4.47422
  norm       = 0
  Prefactor  = 8.74144
  Prefactor  = 4.996e-10
  Prefactor  = 1.83187e-09
  norm       = 0.15843
  Prefactor  = 3.89078
  norm       = 0.984202
  norm       = 7.60233
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 11.284
  Normalizat = 1.50995
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********

 FCN=   12224.19     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5457        .68996        .85792E-03   -1.5683    
   2  Prefactor     4.4742        11.740        .46510E-03   -1.5666    
   3  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7414        17.553        .33553E-03   -1.5649    
   5  Prefactor     .49960E-09    1.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    6.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15843        .54507        .27472E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8908        10.984        .51365E-03   -1.5669    
   9  norm          .98420        2.9091        .43016E-03   -1.5688    
  10  norm          7.6023        7.0452        .36510E-03   -1.5653    
  11  Prefactor     .55511E-10    9.0230        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.284        43.692        .38955E-03   -1.5641    
  14  Normalizat    1.5099        .19581        .81363E-01   -.77499    
  15  Prefactor     .79660        .60220E-01    .43672E-01   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41742e-08
Minuit parameter uncertainties:
  1  0.689964
  2  11.74
  3  1.41724e-06
  4  17.5533
  5  6.17241e-05
  6  0.00021655
  7  0.545071
  8  10.9838
  9  2.90907
  10  7.04516
  11  4.25956e-05
  12  2.02099e-05
  13  43.6933
  14  0.195907
  15  0.0602247
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  4.996e-10  6.172e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  6.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.95119587084e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00372922750594 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27167672/likelihoodResults_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1897234
delta logL = -0.000530005629116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12224.1891938
delta logL = -4.00623321184e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12224.19     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      231 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6996        .42118E-03** at limit **
   2  Index         2.3755        1.8907        .95234E-05     .0000    
   3  Normalizat    1.5099        1.0486       -.11944E-04    .28424E-04
   4  Prefactor     .79660        1.1453        .68974E-05    .15275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37552
  Normalizat = 1.50994
  Prefactor  = 0.796604
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12224.19     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63190        2.0168        .95234E-05   -.55259    
   3  Normalizat    1.5099        1.0486       -.11944E-04   -.77499    
   4  Prefactor     .79660        1.1453        .68974E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2306e-12
Minuit parameter uncertainties:
  1  1.62527e-06
  2  1.95922
  3  1.0643
  4  1.1825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12224.1891934
delta logL = 1.96450855583e-10

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.376e+00  1.959e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  7.966e-01  1.183e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.510e+00  1.064e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.010 40.523

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/27167672/cmap_HighResolution_801014401_801273601_4FGL_J2252.0+4031_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2026-05-24 17:05:54.010596', job_id='27167672', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1779667554.01', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='2167' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 17:05:54 PDT 2026

