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

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
/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
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294

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

ile=/lscratch/kocevski/27895042/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895042/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 10.29
user 9.84
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27895042/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895042/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27895042/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895042/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895042/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 59.10
user 55.45
sys 3.16

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1156.6+0640 @ 179.164 6.6728

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27895042/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895042/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895042/cmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.54
user 0.18
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27895042/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895042/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895042/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.58
user 0.18
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27895042/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895042/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27895042/Model_4FGL_J1156.6+0640_daily_bin2171.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_V02ile=/lscratch/kocevski/27895050/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895050/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 10.35
user 9.87
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27895050/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895050/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27895050/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895050/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895050/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 59.10
user 55.45
sys 3.17

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1156.6+0640 @ 179.164 6.6728

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27895050/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895050/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895050/cmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.56
user 0.19
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27895050/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895050/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895050/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.62
user 0.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27895050/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895050/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27895050/Model_4FGL_J1156.6+0640_daily_bin2171.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_V02number of points = 7243
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1156.6+0640_daily_bin2171
RA = 179.164, Dec = 6.6728
tmin = 802051201, tmax = 802310401
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='27895125', job_status='RUN', time_executed='2026-06-05 08:48:08.514926', time_epoch_executed='1780674488.51' WHERE source_name='4FGL J1156.6+0640' and cadence='daily' and bin_id='2171'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27895125

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27895125/ft1_4FGL_J1156.6+0640_daily_bin2171.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27895125/ft1_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895125/ft1_filteredMKT_4FGL_J1156.6+0640_daily_bin2171.fits ra=179.164 dec=6.6728 rad=12.0 tmin=802051201.0 tmax=802310401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.20
user 1.82
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.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/27895125/ft1_filteredMKT_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" outfile="/lscratch/kocevski/27895125/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.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.55
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 491

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27895125/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" outfDone.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27894840/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27894787/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27894788/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27894791/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
le=/lscratch/kocevski/27895041/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895041/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 7.72
user 7.30
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27895041/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895041/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27895041/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895041/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895041/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 67.41
user 62.67
sys 3.87

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1156.6+0640 @ 179.164 6.6728

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27895041/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895041/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895041/cmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.63
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27895041/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895041/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895041/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.57
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27895041/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895041/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27895041/Model_4FGL_J1156.6+0640_daily_bin2171.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
Wshell-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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27894840/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:49:02.503001', job_id='27894840', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674542.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:49:02 PDT 2026

Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27894787/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:49:02.612224', job_id='27894787', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674542.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:49:02 PDT 2026

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

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27894788/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:49:04.658550', job_id='27894788', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674544.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:49:04 PDT 2026

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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27894791/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:49:04.961290', job_id='27894791', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674544.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:49:05 PDT 2026

Working on...
/lscratch/kocevski/27895016/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 19.48
user 18.07
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27895016/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27895016/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27895016/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27895016/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27895016/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27895016/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27895016/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27895016/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27895016/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27895016/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757
Working on...
/lscratch/kocevski/27894978/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 19.38
user 18.13
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27894978/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27894978/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27894978/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27894978/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27894978/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27894978/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27894978/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27894978/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27894978/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27894978/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757
ile=/lscratch/kocevski/27895066/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895066/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 6.95
user 6.51
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27895066/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895066/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27895066/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895066/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895066/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 59.95
user 56.05
sys 3.32

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1156.6+0640 @ 179.164 6.6728

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27895066/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895066/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895066/cmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.55
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27895066/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895066/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895066/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.59
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27895066/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895066/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27895066/Model_4FGL_J1156.6+0640_daily_bin2171.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=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
number of points = 7243
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1156.6+0640_daily_bin2171
RA = 179.164, Dec = 6.6728
tmin = 802051201, tmax = 802310401
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='27895134', job_status='RUN', time_executed='2026-06-05 08:48:45.669542', time_epoch_executed='1780674525.67' WHERE source_name='4FGL J1156.6+0640' and cadence='daily' and bin_id='2171'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27895134

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27895134/ft1_4FGL_J1156.6+0640_daily_bin2171.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27895134/ft1_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895134/ft1_filteredMKT_4FGL_J1156.6+0640_daily_bin2171.fits ra=179.164 dec=6.6728 rad=12.0 tmin=802051201.0 tmax=802310401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.19
user 1.78
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.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/27895134/ft1_filteredMKT_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" outfile="/lscratch/kocevski/27895134/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.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.57
user 0.17
sys 0.12

Number of photons that the gtmktime cut: 491

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27895134/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" outfWorking on...
/lscratch/kocevski/27895020/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 19.26
user 18.17
sys 0.72

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27895020/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27895020/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27895020/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27895020/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27895020/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27895020/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27895020/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27895020/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27895020/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27895020/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27895016/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27894978/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27895016/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:49:40.642839', job_id='27895016', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674580.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:49:40 PDT 2026

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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27894978/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:49:40.960839', job_id='27894978', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674580.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:49:41 PDT 2026

Working on...
/lscratch/kocevski/27895024/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 21.86
user 19.99
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27895024/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27895024/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27895024/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27895024/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27895024/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27895024/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27895024/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27895024/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27895024/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27895024/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27895020/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27895020/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:49:57.555230', job_id='27895020', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674597.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:49:57 PDT 2026


Working on...
/lscratch/kocevski/27895042/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 19.60
user 18.00
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27895042/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27895042/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27895042/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27895042/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27895042/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27895042/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27895042/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27895042/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27895042/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27895042/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757

Working on...
/lscratch/kocevski/27895050/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 19.55
user 18.02
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27895050/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27895050/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27895050/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27895050/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27895050/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27895050/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27895050/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27895050/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27895050/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27895050/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757
ile=/lscratch/kocevski/27895093/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895093/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 10.34
user 9.81
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27895093/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895093/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27895093/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895093/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895093/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 65.50
user 60.71
sys 3.96

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

Setting source of interest to:
4FGL J1156.6+0640 @ 179.164 6.6728

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27895093/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895093/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895093/cmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.63
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27895093/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895093/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895093/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.67
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27895093/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895093/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27895093/Model_4FGL_J1156.6+0640_daily_bin2171.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=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27895024/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
orking on...
/lscratch/kocevski/27895041/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 21.63
user 20.28
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27895041/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27895041/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27895041/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27895041/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27895041/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27895041/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27895041/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27895041/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27895041/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27895041/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757
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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27895024/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:50:18.939784', job_id='27895024', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674618.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:50:19 PDT 2026

Working on...
/lscratch/kocevski/27895066/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 19.30
user 18.15
sys 0.80

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27895066/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27895066/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27895066/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27895066/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27895066/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27895066/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27895066/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27895066/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27895066/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27895066/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757
ile=/lscratch/kocevski/27895125/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 7.83
user 7.27
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27895125/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27895125/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895125/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895125/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 65.64
user 61.01
sys 3.97

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1156.6+0640 @ 179.164 6.6728

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27895125/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895125/cmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.55
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27895125/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895125/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.66
user 0.21
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27895125/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27895125/Model_4FGL_J1156.6+0640_daily_bin2171.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=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27895042/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27895050/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27895042/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:50:30.925521', job_id='27895042', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674630.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:50:30 PDT 2026

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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27895050/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:50:31.105379', job_id='27895050', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674631.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:50:31 PDT 2026

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

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27895041/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27895066/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27895041/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:50:51.477831', job_id='27895041', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674651.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:50:51 PDT 2026

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

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27895066/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:50:53.338434', job_id='27895066', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674653.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:50:53 PDT 2026

ile=/lscratch/kocevski/27895134/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 7.54
user 7.01
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27895134/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27895134/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895134/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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/27895134/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
.....................!
real 62.72
user 58.33
sys 3.57

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1156.6+0640 @ 179.164 6.6728

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27895134/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895134/cmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.62
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27895134/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits scfile=/lscratch/kocevski/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.fits outfile=/lscratch/kocevski/27895134/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.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=179.164 yref=6.6728 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.57
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27895134/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27895134/Model_4FGL_J1156.6+0640_daily_bin2171.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02

Working on...
/lscratch/kocevski/27895093/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 21.99
user 20.61
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27895093/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27895093/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27895093/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27895093/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27895093/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27895093/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27895093/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27895093/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27895093/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27895093/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
Working on...
/lscratch/kocevski/27895125/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 20.37
user 19.13
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27895125/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27895125/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27895125/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27895125/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27895125/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27895125/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27895125/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27895125/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27895125/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27895093/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27895093/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:51:50.983186', job_id='27895093', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674710.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:51:51 PDT 2026

Working on...
/lscratch/kocevski/27895134/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits.....................!
real 21.03
user 19.55
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27895134/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits', '/lscratch/kocevski/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.fits', expMap='/lscratch/kocevski/27895134/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', expCube='/lscratch/kocevski/27895134/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27895134/Model_4FGL_J1156.6+0640_daily_bin2171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27895134/ft1_filtered_4FGL_J1156.6+0640_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27895134/ft2_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27895134/expmap_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27895134/ltcube_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27895134/Model_4FGL_J1156.6+0640_daily_bin2171.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) = 5340.75557714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25565E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4282       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86042E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.1187       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8976       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34026E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27074E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82598E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.336       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54520E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78141       1.0000          .0000       .10000E+07
    14 'norm      '    .54179E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .52329E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.595       1.0000          .0000       .10000E+07
    17 'norm      '    20.671       1.0000          .0000       .10000E+07
    18 'norm      '    2.8703       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16671E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .53411       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1749 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2270        .19133E-07** at limit **
   2  Prefactor     3.4273        2.7371        .14243E-07   -.98409E-04
   3  Prefactor     .21886E-05    127.04        .32163E-06** at limit **
   4  Prefactor     5.1108        9.4293        .60982E-08    .57032E-02
   5  Prefactor     4.9180        8.0702       -.64350E-07   -.14483E-02
   6  Prefactor     .22204E-09    5.0355       -.35305E-07** at limit **
   7  Prefactor     .17547E-06    29.159        .76103E-07** at limit **
   8  Prefactor     .23426E-07    13.176       -.10661E-06** at limit **
   9  Prefactor     16.118        25.889        .28678E-07   -.11400E-01
  10  Prefactor     .22204E-09    4.7382       -.89303E-08** at limit **
  11  Prefactor     11.162        4.1533        .69929E-07    .55273E-02
  12  Prefactor      .0000        28.537        .42542E-07** at limit **
  13  Prefactor     .86089        4.7185       -.24805E-07    .56641E-01
  14  norm          .55511E-10    1.1647       -.16602E-07** at limit **
  15  norm           .0000        4.3270        .44677E-07** at limit **
  16  Prefactor     16.545        2.1264       -.53228E-09    .19828E-01
  17  norm          19.832        11.962        .33671E-07   -.72734E-01
  18  norm          2.8749        .77582        .72978E-09   -.53284E-02
  19  Prefactor     .10414E-06    18.579       -.39056E-07** at limit **
  20  norm          .53498        1.0499        .27796E-08   -.53003E-03
  21  Normalizat    1.2029        .23636       -.20732E-05   -.32297E-03
  22  Prefactor     .81576        .20018       -.96621E-06   -.30158E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.42728
  Prefactor  = 2.18858e-06
  Prefactor  = 5.11085
  Prefactor  = 4.918
  Prefactor  = 2.22045e-10
  Prefactor  = 1.75471e-07
  Prefactor  = 2.34257e-08
  Prefactor  = 16.118
  Prefactor  = 2.22045e-10
  Prefactor  = 11.1619
  Prefactor  = 0
  Prefactor  = 0.860888
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 16.5445
  norm       = 19.8319
  norm       = 2.87492
  Prefactor  = 1.04139e-07
  norm       = 0.534983
  Normalizat = 1.20286
  Prefactor  = 0.815757
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27895125/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27895125/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:52:12.590084', job_id='27895125', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674732.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:52:12 PDT 2026

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

 FCN=   5340.738     FROM HESSE     STATUS=OK           388 CALLS     2137 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4273        2.7341        .54606E-03   -1.5671    
   3  Prefactor     .21886E-05    129.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1108        9.4361        .44414E-03   -1.5663    
   5  Prefactor     4.9180        8.1086        .45427E-03   -1.5664    
   6  Prefactor     .22204E-09    5.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17547E-06    29.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23426E-07    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.118        32.162        .24753E-03   -1.5628    
  10  Prefactor     .22204E-09    4.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.162        4.1498        .29952E-03   -1.5641    
  12  Prefactor      .0000        28.299        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86089        38.305        .54331E-03   -1.5689    
  14  norm          .55511E-10    1.1649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        4.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.545        18.453        .24559E-03   -1.5627    
  17  norm          19.832        47.208        .22001E-03   -1.5619    
  18  norm          2.8749        .81380        .59972E-03   -1.5674    
  19  Prefactor     .10414E-06    18.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53498        1.2356        .23574E-02   -1.5693    
  21  Normalizat    1.2029        .20260        .56100E-01   -.86515    
  22  Prefactor     .81576        .17283        .43924E-01   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2058e-06
Minuit parameter uncertainties:
  1  8.85956e-06
  2  2.7341
  3  0.0336402
  4  9.43608
  5  8.10864
  6  6.51626e-05
  7  0.00454393
  8  0.00111181
  9  32.1626
  10  6.7938e-05
  11  4.14984
  12  2.62883e-05
  13  11.4851
  14  1.14224e-05
  15  1.86729e-05
  16  18.4531
  17  47.2092
  18  0.813797
  19  0.00276385
  20  1.23565
  21  0.202729
  22  0.17294
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  2.189e-06  3.364e-02  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 7.58187838398e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058261067581 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27895134/likelihoodResults_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5340.74141516
delta logL = -0.00374324144013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5340.73767328
delta logL = -1.35416212288e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5340.738     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    21.516        .42118E-03** at limit **
   2  Index         1.0654        7.1927        .50000       -.90949E-10
   3  Normalizat    1.2029        .40611E-02    .56100E-01    .97445E-03
   4  Prefactor     .81576        .35629E-02    .43922E-01    .98666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.06536
  Normalizat = 1.20286
  Prefactor  = 0.815759
 **********
 **   18 **HESSE 
 **********

 FCN=   5340.738     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    106.58        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0654        5.7569        .50000       -.90581    
   3  Normalizat    1.2029        .90533E-02    .24808E-03   -.86515    
   4  Prefactor     .81576        .79440E-02    .25758E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43944e-11
Minuit parameter uncertainties:
  1  0.000666895
  2  194011
  3  0.00905327
  4  0.00794402
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) = 5340.73767191
delta logL = 7.87258613855e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.055e-09  6.669e-04  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  1.065e+00  1.940e+05  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.158e-01  7.944e-03  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.203e+00  9.053e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27895134/cmap_HighResolution_802051201_802310401_4FGL_J1156.6+0640_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2026-06-05 08:52:42.603367', job_id='27895134', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1780674762.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='7.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='2171' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 08:52:42 PDT 2026

