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

 FCN=   7021.996     FROM HESSE     STATUS=OK           532 CALLS     2469 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.811        21.522        .25953E-03   -1.5631    
   3  norm          .10991E-07    4.0296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.6191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.5868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     75.041        30.045        .11552E-03   -1.5535    
   7  Prefactor     .28866E-08    4.5715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .34683E-06    8.1378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .69389        1.3894        .60523E-03   -1.5691    
  10  Prefactor     .12101E-07    7.0260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.7798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .73275E-08    8.3636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .20500E-06    8.9602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5621        2.2344        .47103E-03   -1.5665    
  15  Prefactor     31.121        19.816        .18058E-03   -1.5596    
  16  norm          2.9884        2.2605        .58695E-03   -1.5673    
  17  Prefactor     29.601        30.782        .18450E-03   -1.5599    
  18  Prefactor     .14655E-07    4.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11102E-09    2.1135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .21760E-07    20.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     203.57        59.070        .69836E-04   -1.5423    
  22  norm           .0000        1.3554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .31590E-05    261.44        .12957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.0544        2.7756        .12017E-02   -1.5687    
  25  norm          6.3244        4.1678        .40035E-03   -1.5658    
  26  Normalizat    1.1326        .16390        .36827E-01   -.88713    
  27  Prefactor     1.0018        .19875        .67464E-01   -.92668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27668e-06
Minuit parameter uncertainties:
  1  2.08739e-06
  2  21.5217
  3  0.000421226
  4  1.10927e-05
  5  1.74672e-05
  6  30.0447
  7  0.000228991
  8  0.00336009
  9  1.38943
  10  0.00058314
  11  7.11026e-06
  12  0.0004942
  13  0.00271058
  14  2.23443
  15  19.8165
  16  2.26046
  17  30.7827
  18  0.000491591
  19  2.84018e-05
  20  0.00134932
  21  59.0704
  22  5.77355e-06
  23  0.0574782
  24  2.77559
  25  4.16784
  26  0.163976
  27  0.198898
/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).

Done.

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

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  2.050e-07  2.711e-03  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.002e+00  1.989e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.133e+00  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 191.288 57.158
Photon Flux Upper Limit: 6.42389009819e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00486775287044 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36561966/likelihoodResults_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.05753628
delta logL = -0.0611032373017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280952
delta logL = 0.243623514135

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7021.753     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      260 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60030E-01    1.0011        .63146E-03** at limit **
   2  Index         4.1621        2.1778        .10363        .23652E-03
   3  Normalizat    1.0843        .24507E-01    .38677E-01   -.16238E-04
   4  Prefactor     1.0382        .30629E-01    .66406E-01   -.11713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0600296
  Index      = 4.1621
  Normalizat = 1.08428
  Prefactor  = 1.03821
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.753     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60030E-01    5.7195        .27269E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1621        7.0691        .62362E-02   -.16837    
   3  Normalizat    1.0843        .14124        .23168E-03   -.90258    
   4  Prefactor     1.0382        .17202        .29375E-03   -.91467    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3129e-09
Minuit parameter uncertainties:
  1  1.17191
  2  7.396
  3  0.141293
  4  0.172107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280823
delta logL = 0.243624811534

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  6.003e-02  1.172e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  4.162e+00  7.396e+00  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.038e+00  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.084e+00  1.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 191.288 57.158

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/36561966/cmap_HighResolution_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2026-08-31 11:34:01.016676', job_id='36561966', GAL2='1.04', fit_tolerance='1e-08', EG2='1.08', EG='1.13', time_epoch_completed='1788201241.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.44e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2200' AND source_name='4FGL J1245.1+5709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:34:01 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  2.050e-07  2.711e-03  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.002e+00  1.989e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.133e+00  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 191.288 57.158
Photon Flux Upper Limit: 6.42389009819e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00486775287044 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36561964/likelihoodResults_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.05753628
delta logL = -0.0611032373017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280952
delta logL = 0.243623514135

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7021.753     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      260 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60030E-01    1.0011        .63146E-03** at limit **
   2  Index         4.1621        2.1778        .10363        .23652E-03
   3  Normalizat    1.0843        .24507E-01    .38677E-01   -.16238E-04
   4  Prefactor     1.0382        .30629E-01    .66406E-01   -.11713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0600296
  Index      = 4.1621
  Normalizat = 1.08428
  Prefactor  = 1.03821
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.753     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60030E-01    5.7195        .27269E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1621        7.0691        .62362E-02   -.16837    
   3  Normalizat    1.0843        .14124        .23168E-03   -.90258    
   4  Prefactor     1.0382        .17202        .29375E-03   -.91467    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3129e-09
Minuit parameter uncertainties:
  1  1.17191
  2  7.396
  3  0.141293
  4  0.172107
ile=/lscratch/kocevski/36562304/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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/36562304/ft2_4FGL_J1245.1+5709_daily_bin2200.fits
.....................!
real 9.05
user 8.23
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36562304/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562304/ft2_4FGL_J1245.1+5709_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36562304/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits outfile=/lscratch/kocevski/36562304/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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/36562304/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
.....................!
real 74.50
user 69.41
sys 4.09

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

Setting source of interest to:
4FGL J1245.1+5709 @ 191.288 57.158

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36562304/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits scfile=/lscratch/kocevski/36562304/ft2_4FGL_J1245.1+5709_daily_bin2200.fits outfile=/lscratch/kocevski/36562304/cmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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=191.288 yref=57.158 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.33
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36562304/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits scfile=/lscratch/kocevski/36562304/ft2_4FGL_J1245.1+5709_daily_bin2200.fits outfile=/lscratch/kocevski/36562304/cmap_HighResolution_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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=191.288 yref=57.158 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.99
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36562304/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562304/ft2_4FGL_J1245.1+5709_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36562304/Model_4FGL_J1245.1+5709_daily_bin2200.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280823
delta logL = 0.243624811534

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  6.003e-02  1.172e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  4.162e+00  7.396e+00  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.038e+00  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.084e+00  1.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 191.288 57.158

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/36561964/cmap_HighResolution_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2026-08-31 11:34:07.832916', job_id='36561964', GAL2='1.04', fit_tolerance='1e-08', EG2='1.08', EG='1.13', time_epoch_completed='1788201247.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.44e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2200' AND source_name='4FGL J1245.1+5709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:34:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  2.050e-07  2.711e-03  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.002e+00  1.989e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.133e+00  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 191.288 57.158
Photon Flux Upper Limit: 6.42389009819e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00486775287044 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36561988/likelihoodResults_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.05753628
delta logL = -0.0611032373017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280952
delta logL = 0.243623514135

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7021.753     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      260 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60030E-01    1.0011        .63146E-03** at limit **
   2  Index         4.1621        2.1778        .10363        .23652E-03
   3  Normalizat    1.0843        .24507E-01    .38677E-01   -.16238E-04
   4  Prefactor     1.0382        .30629E-01    .66406E-01   -.11713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0600296
  Index      = 4.1621
  Normalizat = 1.08428
  Prefactor  = 1.03821
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.753     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60030E-01    5.7195        .27269E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1621        7.0691        .62362E-02   -.16837    
   3  Normalizat    1.0843        .14124        .23168E-03   -.90258    
   4  Prefactor     1.0382        .17202        .29375E-03   -.91467    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3129e-09
Minuit parameter uncertainties:
  1  1.17191
  2  7.396
  3  0.141293
  4  0.172107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280823
delta logL = 0.243624811534

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  6.003e-02  1.172e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  4.162e+00  7.396e+00  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.038e+00  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.084e+00  1.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 191.288 57.158

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/36561988/cmap_HighResolution_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2026-08-31 11:34:22.413955', job_id='36561988', GAL2='1.04', fit_tolerance='1e-08', EG2='1.08', EG='1.13', time_epoch_completed='1788201262.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.44e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2200' AND source_name='4FGL J1245.1+5709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:34:22 PDT 2026

Working on...
/lscratch/kocevski/36562267/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits.....................!
real 25.92
user 24.24
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36562267/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits', '/lscratch/kocevski/36562267/ft2_4FGL_J1245.1+5709_daily_bin2200.fits', expMap='/lscratch/kocevski/36562267/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits', expCube='/lscratch/kocevski/36562267/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36562267/Model_4FGL_J1245.1+5709_daily_bin2200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1245.1+5709'

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  1.104e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36562267/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36562267/ft2_4FGL_J1245.1+5709_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36562267/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36562267/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36562267/Model_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.10185806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65435E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.863       1.0000          .0000       .10000E+07
     3 'norm      '    .58659E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .68499E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .42226E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    74.941       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36784E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12923E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .70228       1.0000          .0000       .10000E+07
    10 'Prefactor '    .76983E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .82490E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22378E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12874E-03   1.0000          .0000       .10000E+07
    14 'norm      '    4.5626       1.0000          .0000       .10000E+07
    15 'Prefactor '    30.676       1.0000          .0000       .10000E+07
    16 'norm      '    2.9888       1.0000          .0000       .10000E+07
    17 'Prefactor '    29.387       1.0000          .0000       .10000E+07
    18 'Prefactor '    .92149E-08   1.0000          .0000       .10000E+07
    19 'norm      '    .10325E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15120E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    205.08       1.0000          .0000       .10000E+07
    22 'norm      '    .13136E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    1.0154       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.0535       1.0000          .0000       .10000E+07
    25 'norm      '    6.2792       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1320       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0021       1.0000          .0000   le=/lscratch/kocevski/36562335/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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/36562335/ft2_4FGL_J1245.1+5709_daily_bin2200.fits
.....................!
real 8.97
user 8.24
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36562335/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562335/ft2_4FGL_J1245.1+5709_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36562335/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits outfile=/lscratch/kocevski/36562335/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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/36562335/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
.....................!
real 75.10
user 69.87
sys 4.23

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

Setting source of interest to:
4FGL J1245.1+5709 @ 191.288 57.158

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36562335/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits scfile=/lscratch/kocevski/36562335/ft2_4FGL_J1245.1+5709_daily_bin2200.fits outfile=/lscratch/kocevski/36562335/cmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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=191.288 yref=57.158 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.98
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36562335/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits scfile=/lscratch/kocevski/36562335/ft2_4FGL_J1245.1+5709_daily_bin2200.fits outfile=/lscratch/kocevski/36562335/cmap_HighResolution_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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=191.288 yref=57.158 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.92
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36562335/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562335/ft2_4FGL_J1245.1+5709_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36562335/Model_4FGL_J1245.1+5709_daily_bin2200.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Wnumber of points = 7527
number of fields = 31
RA_SUN column already exists. File will not be modified.
    10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7021.996     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1937 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.8826       -.78857E-08** at limit **
   2  Prefactor     14.811        1.2110       -.61657E-09    .24682E-02
   3  norm          .10991E-07    4.0205       -.52575E-08** at limit **
   4  Prefactor      .0000        1.6240       -.30781E-07** at limit **
   5  norm           .0000        3.6230       -.28907E-08** at limit **
   6  Prefactor     75.041        6.3114        .63405E-08    .18193    
   7  Prefactor     .28866E-08    4.5923        .10809E-06** at limit **
   8  Prefactor     .34683E-06    5.6404       -.20881E-06** at limit **
   9  norm          .69389        1.3709        .70633E-07    .80663E-02
  10  Prefactor     .12101E-07    6.9809       -.68233E-07** at limit **
  11  norm           .0000        1.7812       -.20306E-07** at limit **
  12  Prefactor     .73275E-08    3.5643       -.31969E-07** at limit **
  13  Prefactor     .20500E-06    7.4207        .21907E-06** at limit **
  14  norm          4.5621        2.2324        .14675E-07    .37859E-02
  15  Prefactor     31.121        6.9953       -.47207E-07    .16711    
  16  norm          2.9884        2.2499       -.57317E-08   -.10236E-02
  17  Prefactor     29.601        5.7473        .86628E-08    .10978    
  18  Prefactor     .14655E-07    4.1053       -.15259E-06** at limit **
  19  norm          .11102E-09    2.1093        .63688E-07** at limit **
  20  Prefactor     .21760E-07    20.584       -.16392E-06** at limit **
  21  Prefactor     203.57        58.787       -.61117E-07    .25483E-01
  22  norm           .0000        1.3570       -.15478E-07** at limit **
  23  Prefactor     .31590E-05    244.98       -.88127E-06** at limit **
  24  Prefactor     1.0544        2.7114        .57090E-07    .25246E-02
  25  norm          6.3244        4.1595       -.48116E-07   -.47910E-02
  26  Normalizat    1.1326        .18962        .23930E-06    .50171E-05
  27  Prefactor     1.0018        .23343       -.43654E-06   -.22409E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 14.8115
  norm       = 1.09912e-08
  Prefactor  = 0
  norm       = 0
  Prefactor  = 75.0412
  Prefactor  = 2.88658e-09
  Prefactor  = 3.46834e-07
  norm       = 0.693893
  Prefactor  = 1.21014e-08
  norm       = 0
  Prefactor  = 7.32747e-09
  Prefactor  = 2.05003e-07
  norm       = 4.56212
  Prefactor  = 31.1206
  norm       = 2.98838
  Prefactor  = 29.6014
  Prefactor  = 1.46549e-08
  norm       = 1.11022e-10
  Prefactor  = 2.17604e-08
  Prefactor  = 203.566
  norm       = 0
  Prefactor  = 3.15897e-06
  Prefactor  = 1.05439
  norm       = 6.32442
  Normalizat = 1.13256
  Prefactor  = 1.00184
Done.


Performing analysis on: 4FGL_J1245.1+5709_daily_bin2200
RA = 191.288, Dec = 57.158
tmin = 809568001, tmax = 809827201
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='36562397', job_status='RUN', time_executed='2026-08-31 11:33:47.069769', time_epoch_executed='1788201227.07' WHERE source_name='4FGL J1245.1+5709' and cadence='daily' and bin_id='2200'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36562397

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36562397/ft1_4FGL_J1245.1+5709_daily_bin2200.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36562397/ft1_4FGL_J1245.1+5709_daily_bin2200.fits outfile=/lscratch/kocevski/36562397/ft1_filteredMKT_4FGL_J1245.1+5709_daily_bin2200.fits ra=191.288 dec=57.158 rad=12.0 tmin=809568001.0 tmax=809827201.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 4.19
user 3.29
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.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/36562397/ft1_filteredMKT_4FGL_J1245.1+5709_daily_bin2200.fits evtable="EVENTS" outfile="/lscratch/kocevski/36562397/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.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.95
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 656

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36562397/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.fits sctable="SC_DATA" outf **********
 **   18 **HESSE 
 **********

 FCN=   7021.996     FROM HESSE     STATUS=OK           532 CALLS     2469 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.811        21.522        .25953E-03   -1.5631    
   3  norm          .10991E-07    4.0296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.6191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.5868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     75.041        30.045        .11552E-03   -1.5535    
   7  Prefactor     .28866E-08    4.5715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .34683E-06    8.1378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .69389        1.3894        .60523E-03   -1.5691    
  10  Prefactor     .12101E-07    7.0260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.7798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .73275E-08    8.3636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .20500E-06    8.9602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5621        2.2344        .47103E-03   -1.5665    
  15  Prefactor     31.121        19.816        .18058E-03   -1.5596    
  16  norm          2.9884        2.2605        .58695E-03   -1.5673    
  17  Prefactor     29.601        30.782        .18450E-03   -1.5599    
  18  Prefactor     .14655E-07    4.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11102E-09    2.1135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .21760E-07    20.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     203.57        59.070        .69836E-04   -1.5423    
  22  norm           .0000        1.3554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .31590E-05    261.44        .12957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.0544        2.7756        .12017E-02   -1.5687    
  25  norm          6.3244        4.1678        .40035E-03   -1.5658    
  26  Normalizat    1.1326        .16390        .36827E-01   -.88713    
  27  Prefactor     1.0018        .19875        .67464E-01   -.92668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27668e-06
Minuit parameter uncertainties:
  1  2.08739e-06
  2  21.5217
  3  0.000421226
  4  1.10927e-05
  5  1.74672e-05
  6  30.0447
  7  0.000228991
  8  0.00336009
  9  1.38943
  10  0.00058314
  11  7.11026e-06
  12  0.0004942
  13  0.00271058
  14  2.23443
  15  19.8165
  16  2.26046
  17  30.7827
  18  0.000491591
  19  2.84018e-05
  20  0.00134932
  21  59.0704
  22  5.77355e-06
  23  0.0574782
  24  2.77559
  25  4.16784
  26  0.163976
  27  0.198898
Done.

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

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  2.050e-07  2.711e-03  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.002e+00  1.989e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.133e+00  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 191.288 57.158
Photon Flux Upper Limit: 6.42389009819e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00486775287044 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562267/likelihoodResults_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.05753628
delta logL = -0.0611032373017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280952
delta logL = 0.243623514135

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7021.753     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      260 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60030E-01    1.0011        .63146E-03** at limit **
   2  Index         4.1621        2.1778        .10363        .23652E-03
   3  Normalizat    1.0843        .24507E-01    .38677E-01   -.16238E-04
   4  Prefactor     1.0382        .30629E-01    .66406E-01   -.11713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0600296
  Index      = 4.1621
  Normalizat = 1.08428
  Prefactor  = 1.03821
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.753     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60030E-01    5.7195        .27269E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1621        7.0691        .62362E-02   -.16837    
   3  Normalizat    1.0843        .14124        .23168E-03   -.90258    
   4  Prefactor     1.0382        .17202        .29375E-03   -.91467    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3129e-09
Minuit parameter uncertainties:
  1  1.17191
  2  7.396
  3  0.141293
  4  0.172107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280823
delta logL = 0.243624811534

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  6.003e-02  1.172e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  4.162e+00  7.396e+00  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.038e+00  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.084e+00  1.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 191.288 57.158

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/36562267/cmap_HighResolution_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2026-08-31 11:35:53.737201', job_id='36562267', GAL2='1.04', fit_tolerance='1e-08', EG2='1.08', EG='1.13', time_epoch_completed='1788201353.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.44e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2200' AND source_name='4FGL J1245.1+5709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:35:53 PDT 2026

Working on...
/lscratch/kocevski/36562304/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits.....................!
real 28.71
user 26.47
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36562304/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits', '/lscratch/kocevski/36562304/ft2_4FGL_J1245.1+5709_daily_bin2200.fits', expMap='/lscratch/kocevski/36562304/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits', expCube='/lscratch/kocevski/36562304/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36562304/Model_4FGL_J1245.1+5709_daily_bin2200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1245.1+5709'

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  1.104e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36562304/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36562304/ft2_4FGL_J1245.1+5709_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36562304/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36562304/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36562304/Model_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.10185806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65435E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.863       1.0000          .0000       .10000E+07
     3 'norm      '    .58659E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .68499E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .42226E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    74.941       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36784E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12923E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .70228       1.0000          .0000       .10000E+07
    10 'Prefactor '    .76983E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .82490E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22378E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12874E-03   1.0000          .0000       .10000E+07
    14 'norm      '    4.5626       1.0000          .0000       .10000E+07
    15 'Prefactor '    30.676       1.0000          .0000       .10000E+07
    16 'norm      '    2.9888       1.0000          .0000       .10000E+07
    17 'Prefactor '    29.387       1.0000          .0000       .10000E+07
    18 'Prefactor '    .92149E-08   1.0000          .0000       .10000E+07
    19 'norm      '    .10325E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15120E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    205.08       1.0000          .0000       .10000E+07
    22 'norm      '    .13136E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    1.0154       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.0535       1.0000          .0000       .10000E+07
    25 'norm      '    6.2792       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1320       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0021       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7021.996     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1937 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.8826       -.78857E-08** at limit **
   2  Prefactor     14.811        1.2110       -.61657E-09    .24682E-02
   3  norm          .10991E-07    4.0205       -.52575E-08** at limit **
   4  Prefactor      .0000        1.6240       -.30781E-07** at limit **
   5  norm           .0000        3.6230       -.28907E-08** at limit **
   6  Prefactor     75.041        6.3114        .63405E-08    .18193    
   7  Prefactor     .28866E-08    4.5923        .10809E-06** at limit **
   8  Prefactor     .34683E-06    5.6404       -.20881E-06** at limit **
   9  norm          .69389        1.3709        .70633E-07    .80663E-02
  10  Prefactor     .12101E-07    6.9809       -.68233E-07** at limit **
  11  norm           .0000        1.7812       -.20306E-07** at limit **
  12  Prefactor     .73275E-08    3.5643       -.31969E-07** at limit **
  13  Prefactor     .20500E-06    7.4207        .21907E-06** at limit **
  14  norm          4.5621        2.2324        .14675E-07    .37859E-02
  15  Prefactor     31.121        6.9953       -.47207E-07    .16711    
  16  norm          2.9884        2.2499       -.57317E-08   -.10236E-02
  17  Prefactor     29.601        5.7473        .86628E-08    .10978    
  18  Prefactor     .14655E-07    4.1053       -.15259E-06** at limit **
  19  norm          .11102E-09    2.1093        .63688E-07** at limit **
  20  Prefactor     .21760E-07    20.584       -.16392E-06** at limit **
  21  Prefactor     203.57        58.787       -.61117E-07    .25483E-01
  22  norm           .0000        1.3570       -.15478E-07** at limit **
  23  Prefactor     .31590E-05    244.98       -.88127E-06** at limit **
  24  Prefactor     1.0544        2.7114        .57090E-07    .25246E-02
  25  norm          6.3244        4.1595       -.48116E-07   -.47910E-02
  26  Normalizat    1.1326        .18962        .23930E-06    .50171E-05
  27  Prefactor     1.0018        .23343       -.43654E-06   -.22409E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 14.8115
  norm       = 1.09912e-08
  Prefactor  = 0
  norm       = 0
  Prefactor  = 75.0412
  Prefactor  = 2.88658e-09
  Prefactor  = 3.46834e-07
  norm       = 0.693893
  Prefactor  = 1.21014e-08
  norm       = 0
  Prefactor  = 7.32747e-09
  Prefactor  = 2.05003e-07
  norm       = 4.56212
  Prefactor  = 31.1206
  norm       = 2.98838
  Prefactor  = 29.6014
  Prefactor  = 1.46549e-08
  norm       = 1.11022e-10
  Prefactor  = 2.17604e-08
  Prefactor  = 203.566
  norm       = 0
  Prefactor  = 3.15897e-06
  Prefactor  = 1.05439
  norm       = 6.32442
  Normalizat = 1.13256
  Prefactor  = 1.00184
orking on...
/lscratch/kocevski/36562335/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits.....................!
real 28.56
user 26.20
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36562335/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits', '/lscratch/kocevski/36562335/ft2_4FGL_J1245.1+5709_daily_bin2200.fits', expMap='/lscratch/kocevski/36562335/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits', expCube='/lscratch/kocevski/36562335/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36562335/Model_4FGL_J1245.1+5709_daily_bin2200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1245.1+5709'

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  1.104e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36562335/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36562335/ft2_4FGL_J1245.1+5709_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36562335/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36562335/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36562335/Model_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.10185806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65435E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.863       1.0000          .0000       .10000E+07
     3 'norm      '    .58659E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .68499E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .42226E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    74.941       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36784E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12923E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .70228       1.0000          .0000       .10000E+07
    10 'Prefactor '    .76983E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .82490E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22378E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12874E-03   1.0000          .0000       .10000E+07
    14 'norm      '    4.5626       1.0000          .0000       .10000E+07
    15 'Prefactor '    30.676       1.0000          .0000       .10000E+07
    16 'norm      '    2.9888       1.0000          .0000       .10000E+07
    17 'Prefactor '    29.387       1.0000          .0000       .10000E+07
    18 'Prefactor '    .92149E-08   1.0000          .0000       .10000E+07
    19 'norm      '    .10325E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15120E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    205.08       1.0000          .0000       .10000E+07
    22 'norm      '    .13136E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    1.0154       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.0535       1.0000          .0000       .10000E+07
    25 'norm      '    6.2792       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1320       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0021       1.0000          .0000    ile=/lscratch/kocevski/36562397/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.fits
.....................!
real 9.37
user 8.49
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36562397/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36562397/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits outfile=/lscratch/kocevski/36562397/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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/36562397/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
.....................!
real 76.47
user 70.98
sys 4.34

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

Setting source of interest to:
4FGL J1245.1+5709 @ 191.288 57.158

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36562397/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits scfile=/lscratch/kocevski/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.fits outfile=/lscratch/kocevski/36562397/cmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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=191.288 yref=57.158 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.03
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36562397/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits scfile=/lscratch/kocevski/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.fits outfile=/lscratch/kocevski/36562397/cmap_HighResolution_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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=191.288 yref=57.158 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.91
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36562397/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36562397/Model_4FGL_J1245.1+5709_daily_bin2200.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.996     FROM HESSE     STATUS=OK           532 CALLS     2469 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.811        21.522        .25953E-03   -1.5631    
   3  norm          .10991E-07    4.0296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.6191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.5868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     75.041        30.045        .11552E-03   -1.5535    
   7  Prefactor     .28866E-08    4.5715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .34683E-06    8.1378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .69389        1.3894        .60523E-03   -1.5691    
  10  Prefactor     .12101E-07    7.0260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.7798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .73275E-08    8.3636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .20500E-06    8.9602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5621        2.2344        .47103E-03   -1.5665    
  15  Prefactor     31.121        19.816        .18058E-03   -1.5596    
  16  norm          2.9884        2.2605        .58695E-03   -1.5673    
  17  Prefactor     29.601        30.782        .18450E-03   -1.5599    
  18  Prefactor     .14655E-07    4.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11102E-09    2.1135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .21760E-07    20.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     203.57        59.070        .69836E-04   -1.5423    
  22  norm           .0000        1.3554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .31590E-05    261.44        .12957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.0544        2.7756        .12017E-02   -1.5687    
  25  norm          6.3244        4.1678        .40035E-03   -1.5658    
  26  Normalizat    1.1326        .16390        .36827E-01   -.88713    
  27  Prefactor     1.0018        .19875        .67464E-01   -.92668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27668e-06
Minuit parameter uncertainties:
  1  2.08739e-06
  2  21.5217
  3  0.000421226
  4  1.10927e-05
  5  1.74672e-05
  6  30.0447
  7  0.000228991
  8  0.00336009
  9  1.38943
  10  0.00058314
  11  7.11026e-06
  12  0.0004942
  13  0.00271058
  14  2.23443
  15  19.8165
  16  2.26046
  17  30.7827
  18  0.000491591
  19  2.84018e-05
  20  0.00134932
  21  59.0704
  22  5.77355e-06
  23  0.0574782
  24  2.77559
  25  4.16784
  26  0.163976
  27  0.198898
   10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7021.996     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1937 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.8826       -.78857E-08** at limit **
   2  Prefactor     14.811        1.2110       -.61657E-09    .24682E-02
   3  norm          .10991E-07    4.0205       -.52575E-08** at limit **
   4  Prefactor      .0000        1.6240       -.30781E-07** at limit **
   5  norm           .0000        3.6230       -.28907E-08** at limit **
   6  Prefactor     75.041        6.3114        .63405E-08    .18193    
   7  Prefactor     .28866E-08    4.5923        .10809E-06** at limit **
   8  Prefactor     .34683E-06    5.6404       -.20881E-06** at limit **
   9  norm          .69389        1.3709        .70633E-07    .80663E-02
  10  Prefactor     .12101E-07    6.9809       -.68233E-07** at limit **
  11  norm           .0000        1.7812       -.20306E-07** at limit **
  12  Prefactor     .73275E-08    3.5643       -.31969E-07** at limit **
  13  Prefactor     .20500E-06    7.4207        .21907E-06** at limit **
  14  norm          4.5621        2.2324        .14675E-07    .37859E-02
  15  Prefactor     31.121        6.9953       -.47207E-07    .16711    
  16  norm          2.9884        2.2499       -.57317E-08   -.10236E-02
  17  Prefactor     29.601        5.7473        .86628E-08    .10978    
  18  Prefactor     .14655E-07    4.1053       -.15259E-06** at limit **
  19  norm          .11102E-09    2.1093        .63688E-07** at limit **
  20  Prefactor     .21760E-07    20.584       -.16392E-06** at limit **
  21  Prefactor     203.57        58.787       -.61117E-07    .25483E-01
  22  norm           .0000        1.3570       -.15478E-07** at limit **
  23  Prefactor     .31590E-05    244.98       -.88127E-06** at limit **
  24  Prefactor     1.0544        2.7114        .57090E-07    .25246E-02
  25  norm          6.3244        4.1595       -.48116E-07   -.47910E-02
  26  Normalizat    1.1326        .18962        .23930E-06    .50171E-05
  27  Prefactor     1.0018        .23343       -.43654E-06   -.22409E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 14.8115
  norm       = 1.09912e-08
  Prefactor  = 0
  norm       = 0
  Prefactor  = 75.0412
  Prefactor  = 2.88658e-09
  Prefactor  = 3.46834e-07
  norm       = 0.693893
  Prefactor  = 1.21014e-08
  norm       = 0
  Prefactor  = 7.32747e-09
  Prefactor  = 2.05003e-07
  norm       = 4.56212
  Prefactor  = 31.1206
  norm       = 2.98838
  Prefactor  = 29.6014
  Prefactor  = 1.46549e-08
  norm       = 1.11022e-10
  Prefactor  = 2.17604e-08
  Prefactor  = 203.566
  norm       = 0
  Prefactor  = 3.15897e-06
  Prefactor  = 1.05439
  norm       = 6.32442
  Normalizat = 1.13256
  Prefactor  = 1.00184
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.996     FROM HESSE     STATUS=OK           532 CALLS     2469 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.811        21.522        .25953E-03   -1.5631    
   3  norm          .10991E-07    4.0296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.6191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.5868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     75.041        30.045        .11552E-03   -1.5535    
   7  Prefactor     .28866E-08    4.5715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .34683E-06    8.1378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .69389        1.3894        .60523E-03   -1.5691    
  10  Prefactor     .12101E-07    7.0260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.7798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .73275E-08    8.3636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .20500E-06    8.9602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5621        2.2344        .47103E-03   -1.5665    
  15  Prefactor     31.121        19.816        .18058E-03   -1.5596    
  16  norm          2.9884        2.2605        .58695E-03   -1.5673    
  17  Prefactor     29.601        30.782        .18450E-03   -1.5599    
  18  Prefactor     .14655E-07    4.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11102E-09    2.1135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .21760E-07    20.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     203.57        59.070        .69836E-04   -1.5423    
  22  norm           .0000        1.3554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .31590E-05    261.44        .12957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.0544        2.7756        .12017E-02   -1.5687    
  25  norm          6.3244        4.1678        .40035E-03   -1.5658    
  26  Normalizat    1.1326        .16390        .36827E-01   -.88713    
  27  Prefactor     1.0018        .19875        .67464E-01   -.92668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27668e-06
Minuit parameter uncertainties:
  1  2.08739e-06
  2  21.5217
  3  0.000421226
  4  1.10927e-05
  5  1.74672e-05
  6  30.0447
  7  0.000228991
  8  0.00336009
  9  1.38943
  10  0.00058314
  11  7.11026e-06
  12  0.0004942
  13  0.00271058
  14  2.23443
  15  19.8165
  16  2.26046
  17  30.7827
  18  0.000491591
  19  2.84018e-05
  20  0.00134932
  21  59.0704
  22  5.77355e-06
  23  0.0574782
  24  2.77559
  25  4.16784
  26  0.163976
  27  0.198898
Done.

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

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  2.050e-07  2.711e-03  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.002e+00  1.989e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.133e+00  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 191.288 57.158
Photon Flux Upper Limit: 6.42389009819e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00486775287044 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562304/likelihoodResults_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.05753628
delta logL = -0.0611032373017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280952
delta logL = 0.243623514135

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7021.753     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      260 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60030E-01    1.0011        .63146E-03** at limit **
   2  Index         4.1621        2.1778        .10363        .23652E-03
   3  Normalizat    1.0843        .24507E-01    .38677E-01   -.16238E-04
   4  Prefactor     1.0382        .30629E-01    .66406E-01   -.11713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0600296
  Index      = 4.1621
  Normalizat = 1.08428
  Prefactor  = 1.03821
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.753     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60030E-01    5.7195        .27269E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1621        7.0691        .62362E-02   -.16837    
   3  Normalizat    1.0843        .14124        .23168E-03   -.90258    
   4  Prefactor     1.0382        .17202        .29375E-03   -.91467    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3129e-09
Minuit parameter uncertainties:
  1  1.17191
  2  7.396
  3  0.141293
  4  0.172107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280823
delta logL = 0.243624811534

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  6.003e-02  1.172e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  4.162e+00  7.396e+00  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.038e+00  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.084e+00  1.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 191.288 57.158

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/36562304/cmap_HighResolution_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2026-08-31 11:37:37.495254', job_id='36562304', GAL2='1.04', fit_tolerance='1e-08', EG2='1.08', EG='1.13', time_epoch_completed='1788201457.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.44e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2200' AND source_name='4FGL J1245.1+5709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:37:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  2.050e-07  2.711e-03  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.002e+00  1.989e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.133e+00  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 191.288 57.158
Photon Flux Upper Limit: 6.42389009819e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00486775287044 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562335/likelihoodResults_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.05753628
delta logL = -0.0611032373017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280952
delta logL = 0.243623514135

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7021.753     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      260 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60030E-01    1.0011        .63146E-03** at limit **
   2  Index         4.1621        2.1778        .10363        .23652E-03
   3  Normalizat    1.0843        .24507E-01    .38677E-01   -.16238E-04
   4  Prefactor     1.0382        .30629E-01    .66406E-01   -.11713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0600296
  Index      = 4.1621
  Normalizat = 1.08428
  Prefactor  = 1.03821
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.753     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60030E-01    5.7195        .27269E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1621        7.0691        .62362E-02   -.16837    
   3  Normalizat    1.0843        .14124        .23168E-03   -.90258    
   4  Prefactor     1.0382        .17202        .29375E-03   -.91467    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3129e-09
Minuit parameter uncertainties:
  1  1.17191
  2  7.396
  3  0.141293
  4  0.172107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280823
delta logL = 0.243624811534

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  6.003e-02  1.172e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  4.162e+00  7.396e+00  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.038e+00  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.084e+00  1.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 191.288 57.158

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/36562335/cmap_HighResolution_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2026-08-31 11:38:06.377539', job_id='36562335', GAL2='1.04', fit_tolerance='1e-08', EG2='1.08', EG='1.13', time_epoch_completed='1788201486.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.44e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2200' AND source_name='4FGL J1245.1+5709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:38:06 PDT 2026

Working on...
/lscratch/kocevski/36562397/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits.....................!
real 29.79
user 27.58
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36562397/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits', '/lscratch/kocevski/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.fits', expMap='/lscratch/kocevski/36562397/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits', expCube='/lscratch/kocevski/36562397/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36562397/Model_4FGL_J1245.1+5709_daily_bin2200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1245.1+5709'

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  1.104e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36562397/ft1_filtered_4FGL_J1245.1+5709_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36562397/ft2_4FGL_J1245.1+5709_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36562397/expmap_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36562397/ltcube_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36562397/Model_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.10185806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65435E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.863       1.0000          .0000       .10000E+07
     3 'norm      '    .58659E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .68499E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .42226E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    74.941       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36784E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12923E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .70228       1.0000          .0000       .10000E+07
    10 'Prefactor '    .76983E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .82490E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22378E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12874E-03   1.0000          .0000       .10000E+07
    14 'norm      '    4.5626       1.0000          .0000       .10000E+07
    15 'Prefactor '    30.676       1.0000          .0000       .10000E+07
    16 'norm      '    2.9888       1.0000          .0000       .10000E+07
    17 'Prefactor '    29.387       1.0000          .0000       .10000E+07
    18 'Prefactor '    .92149E-08   1.0000          .0000       .10000E+07
    19 'norm      '    .10325E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15120E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    205.08       1.0000          .0000       .10000E+07
    22 'norm      '    .13136E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    1.0154       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.0535       1.0000          .0000       .10000E+07
    25 'norm      '    6.2792       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1320       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0021       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7021.996     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1937 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.8826       -.78857E-08** at limit **
   2  Prefactor     14.811        1.2110       -.61657E-09    .24682E-02
   3  norm          .10991E-07    4.0205       -.52575E-08** at limit **
   4  Prefactor      .0000        1.6240       -.30781E-07** at limit **
   5  norm           .0000        3.6230       -.28907E-08** at limit **
   6  Prefactor     75.041        6.3114        .63405E-08    .18193    
   7  Prefactor     .28866E-08    4.5923        .10809E-06** at limit **
   8  Prefactor     .34683E-06    5.6404       -.20881E-06** at limit **
   9  norm          .69389        1.3709        .70633E-07    .80663E-02
  10  Prefactor     .12101E-07    6.9809       -.68233E-07** at limit **
  11  norm           .0000        1.7812       -.20306E-07** at limit **
  12  Prefactor     .73275E-08    3.5643       -.31969E-07** at limit **
  13  Prefactor     .20500E-06    7.4207        .21907E-06** at limit **
  14  norm          4.5621        2.2324        .14675E-07    .37859E-02
  15  Prefactor     31.121        6.9953       -.47207E-07    .16711    
  16  norm          2.9884        2.2499       -.57317E-08   -.10236E-02
  17  Prefactor     29.601        5.7473        .86628E-08    .10978    
  18  Prefactor     .14655E-07    4.1053       -.15259E-06** at limit **
  19  norm          .11102E-09    2.1093        .63688E-07** at limit **
  20  Prefactor     .21760E-07    20.584       -.16392E-06** at limit **
  21  Prefactor     203.57        58.787       -.61117E-07    .25483E-01
  22  norm           .0000        1.3570       -.15478E-07** at limit **
  23  Prefactor     .31590E-05    244.98       -.88127E-06** at limit **
  24  Prefactor     1.0544        2.7114        .57090E-07    .25246E-02
  25  norm          6.3244        4.1595       -.48116E-07   -.47910E-02
  26  Normalizat    1.1326        .18962        .23930E-06    .50171E-05
  27  Prefactor     1.0018        .23343       -.43654E-06   -.22409E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 14.8115
  norm       = 1.09912e-08
  Prefactor  = 0
  norm       = 0
  Prefactor  = 75.0412
  Prefactor  = 2.88658e-09
  Prefactor  = 3.46834e-07
  norm       = 0.693893
  Prefactor  = 1.21014e-08
  norm       = 0
  Prefactor  = 7.32747e-09
  Prefactor  = 2.05003e-07
  norm       = 4.56212
  Prefactor  = 31.1206
  norm       = 2.98838
  Prefactor  = 29.6014
  Prefactor  = 1.46549e-08
  norm       = 1.11022e-10
  Prefactor  = 2.17604e-08
  Prefactor  = 203.566
  norm       = 0
  Prefactor  = 3.15897e-06
  Prefactor  = 1.05439
  norm       = 6.32442
  Normalizat = 1.13256
  Prefactor  = 1.00184
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.996     FROM HESSE     STATUS=OK           532 CALLS     2469 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.811        21.522        .25953E-03   -1.5631    
   3  norm          .10991E-07    4.0296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.6191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.5868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     75.041        30.045        .11552E-03   -1.5535    
   7  Prefactor     .28866E-08    4.5715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .34683E-06    8.1378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .69389        1.3894        .60523E-03   -1.5691    
  10  Prefactor     .12101E-07    7.0260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.7798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .73275E-08    8.3636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .20500E-06    8.9602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5621        2.2344        .47103E-03   -1.5665    
  15  Prefactor     31.121        19.816        .18058E-03   -1.5596    
  16  norm          2.9884        2.2605        .58695E-03   -1.5673    
  17  Prefactor     29.601        30.782        .18450E-03   -1.5599    
  18  Prefactor     .14655E-07    4.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11102E-09    2.1135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .21760E-07    20.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     203.57        59.070        .69836E-04   -1.5423    
  22  norm           .0000        1.3554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .31590E-05    261.44        .12957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.0544        2.7756        .12017E-02   -1.5687    
  25  norm          6.3244        4.1678        .40035E-03   -1.5658    
  26  Normalizat    1.1326        .16390        .36827E-01   -.88713    
  27  Prefactor     1.0018        .19875        .67464E-01   -.92668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27668e-06
Minuit parameter uncertainties:
  1  2.08739e-06
  2  21.5217
  3  0.000421226
  4  1.10927e-05
  5  1.74672e-05
  6  30.0447
  7  0.000228991
  8  0.00336009
  9  1.38943
  10  0.00058314
  11  7.11026e-06
  12  0.0004942
  13  0.00271058
  14  2.23443
  15  19.8165
  16  2.26046
  17  30.7827
  18  0.000491591
  19  2.84018e-05
  20  0.00134932
  21  59.0704
  22  5.77355e-06
  23  0.0574782
  24  2.77559
  25  4.16784
  26  0.163976
  27  0.198898
Done.

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

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  2.050e-07  2.711e-03  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.002e+00  1.989e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.133e+00  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 191.288 57.158
Photon Flux Upper Limit: 6.42389009819e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00486775287044 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36562397/likelihoodResults_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.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) = 7022.05753628
delta logL = -0.0611032373017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280952
delta logL = 0.243623514135

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7021.753     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      260 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60030E-01    1.0011        .63146E-03** at limit **
   2  Index         4.1621        2.1778        .10363        .23652E-03
   3  Normalizat    1.0843        .24507E-01    .38677E-01   -.16238E-04
   4  Prefactor     1.0382        .30629E-01    .66406E-01   -.11713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0600296
  Index      = 4.1621
  Normalizat = 1.08428
  Prefactor  = 1.03821
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.753     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60030E-01    5.7195        .27269E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1621        7.0691        .62362E-02   -.16837    
   3  Normalizat    1.0843        .14124        .23168E-03   -.90258    
   4  Prefactor     1.0382        .17202        .29375E-03   -.91467    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3129e-09
Minuit parameter uncertainties:
  1  1.17191
  2  7.396
  3  0.141293
  4  0.172107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7021.75280823
delta logL = 0.243624811534

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  6.003e-02  1.172e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  4.162e+00  7.396e+00  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.038e+00  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  1.084e+00  1.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 191.288 57.158

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/36562397/cmap_HighResolution_809568001_809827201_4FGL_J1245.1+5709_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2026-08-31 11:40:16.531797', job_id='36562397', GAL2='1.04', fit_tolerance='1e-08', EG2='1.08', EG='1.13', time_epoch_completed='1788201616.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.44e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2200' AND source_name='4FGL J1245.1+5709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 11:40:16 PDT 2026

