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

 FCN=   7592.751     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      316 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11642        22.541        .50489E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6059        6.3899        .88476E-02   -.78898E-01
   3  Normalizat    1.2052        .14478        .32012E-03   -.86441    
   4  Prefactor     .89452        .74784E-01    .19190E-03   -.96333    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.2564e-09
Minuit parameter uncertainties:
  1  3.23995
  2  11.8378
  3  0.144828
  4  0.0747931
 **********
 **   18 **HESSE 
 **********

 FCN=   7592.751     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      316 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11642        22.541        .50489E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6059        6.3899        .88476E-02   -.78898E-01
   3  Normalizat    1.2052        .14478        .32012E-03   -.86441    
   4  Prefactor     .89452        .74784E-01    .19190E-03   -.96333    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.2564e-09
Minuit parameter uncertainties:
  1  3.23995
  2  11.8378
  3  0.144828
  4  0.0747931
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) = 7592.75126524
delta logL = 0.105652609244

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.164e-01  3.240e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  4.606e+00  1.184e+01  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.945e-01  7.479e-02  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.205e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.811 -22.460

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27307854/cmap_HighResolution_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-05-27 08:49:13.048109', job_id='27307854', GAL2='0.89', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1779896953.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.06e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2168' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 08:49:13 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) = 7592.75126524
delta logL = 0.105652609244

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.164e-01  3.240e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  4.606e+00  1.184e+01  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.945e-01  7.479e-02  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.205e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.811 -22.460

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27307873/cmap_HighResolution_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-05-27 08:49:13.382722', job_id='27307873', GAL2='0.89', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1779896953.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.06e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2168' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 08:49:13 PDT 2026

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

 GAL_V02
Working on...
/lscratch/kocevski/27307886/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits.....................!
real 28.12
user 26.57
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27307886/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits', '/lscratch/kocevski/27307886/ft2_4FGL_J1159.2-2227_daily_bin2168.fits', expMap='/lscratch/kocevski/27307886/expmap_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits', expCube='/lscratch/kocevski/27307886/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27307886/Model_4FGL_J1159.2-2227_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.2-2227'

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  6.706e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.448e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27307886/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27307886/ft2_4FGL_J1159.2-2227_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27307886/expmap_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27307886/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27307886/Model_4FGL_J1159.2-2227_daily_bin2168.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) = 7592.86467323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.123       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.685       1.0000          .0000       .10000E+07
     3 'norm      '    .86597E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.687       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31756       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9478       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.947       1.0000          .0000       .10000E+07
     8 'norm      '    .28407E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19834E-04   1.0000          .0000       .10000E+07
    10 'norm      '    15.099       1.0000          .0000       .10000E+07
    11 'Prefactor '    .66974       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42920E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .23870E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12262E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    32.767       1.0000          .0000       .10000E+07
    16 'Prefactor '    .99974       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.7160       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0789       1.0000          .0000       .10000E+07
    19 'norm      '    .17059E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2521       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7592.857     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1613 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.010        97.251       -.20239E-05   -.28439E-03
   2  Prefactor     17.686        11.404        .41235E-07    .12866E-02
   3  norm           .0000        .63709        .70210E-07** at limit **
   4  Prefactor     10.940        8.9554        .15987E-07   -.10056E-02
   5  Prefactor     .71443E-07    39.705        .12868E-06** at limit **
   6  Prefactor     3.0210        5.2229        .60911E-06   -.34430E-03
   7  Prefactor     20.964        11.909       -.23620E-06   -.24663E-01
   8  norm          .13878E-08    8.4063        .24602E-07** at limit **
   9  Prefactor     .22204E-09    9.7161        .59638E-07** at limit **
  10  norm          15.126        5.6229        .13281E-07   -.59470E-03
  11  Prefactor     .62889        8.1971       -.35003E-06   -.11783E-02
  12  Prefactor     .33307E-09    50.227        .22312E-06** at limit **
  13  Prefactor      .0000        5.9322       -.48985E-07** at limit **
  14  Prefactor      .0000        11.210        .12439E-06** at limit **
  15  Prefactor     32.759        16.290       -.27462E-06    .34806E-01
  16  Prefactor     .99959        1.9969       -.68598E-07   -.29188E-01
  17  Prefactor     6.7180        2.5237        .22774E-06    .16795E-03
  18  Prefactor     7.0651        3.1178       -.11448E-06   -.44764E-02
  19  norm           .0000        .33589        .37930E-07** at limit **
  20  Normalizat    1.2504        .26559       -.58743E-06   -.82522E-05
  21  Prefactor     .88046        .13353       -.44667E-06    .75057E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0103
  Prefactor  = 17.6864
  norm       = 0
  Prefactor  = 10.9401
  Prefactor  = 7.14429e-08
  Prefactor  = 3.02103
  Prefactor  = 20.9641
  norm       = 1.38778e-09
  Prefactor  = 2.22045e-10
  norm       = 15.126
  Prefactor  = 0.628891
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 32.7589
  Prefactor  = 0.99959
  Prefactor  = 6.71801
  Prefactor  = 7.06508
  norm       = 0
  Normalizat = 1.25038
  Prefactor  = 0.880463
 **********
 **   18 **HESSE 
 **********

 FCN=   7592.857     FROM HESSE     STATUS=OK           363 CALLS     1976 TOTAL
                     EDM=   .97E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.010        96.566        .21764E-03   -1.5614    
   2  Prefactor     17.686        11.425        .23789E-03   -1.5624    
   3  norm           .0000        .61687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.940        8.9416        .30623E-03   -1.5642    
   5  Prefactor     .71443E-07    42.937        .99736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0210        5.2463        .59127E-03   -1.5673    
   7  Prefactor     20.964        18.861        .21856E-03   -1.5616    
   8  norm          .13878E-08    8.5035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    9.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.126        5.6106        .25749E-03   -1.5630    
  11  Prefactor     .62889        8.2365        .63200E-03   -1.5692    
  12  Prefactor     .33307E-09    50.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        5.9312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        11.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.759        21.272        .17472E-03   -1.5593    
  16  Prefactor     .99959        6.9128        .43756E-03   -1.5688    
  17  Prefactor     6.7180        2.6023        .38708E-02   -1.5190    
  18  Prefactor     7.0651        15.874        .37680E-03   -1.5655    
  19  norm           .0000        .33240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2504        .22281        .71236E-01   -.85060    
  21  Prefactor     .88046        .11184        .44749E-01   -.96827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69777e-07
Minuit parameter uncertainties:
  1  92.2075
  2  11.4251
  3  2.16999e-07
  4  8.94161
  5  0.00350306
  6  5.2463
  7  18.8606
  8  0.000216187
  9  9.07028e-05
  10  5.61062
  11  4.55187
  12  0.00026048
  13  2.43984e-05
  14  2.91953e-05
  15  21.2716
  16  5.25736
  17  2.60238
  18  15.874
  19  4.27267e-07
  20  0.222985
  21  0.111865
number of points = 7576
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1159.2-2227_daily_bin2168
RA = 179.811, Dec = -22.4605
tmin = 801273601, tmax = 801532801
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='27308062', job_status='RUN', time_executed='2026-05-27 08:49:23.193655', time_epoch_executed='1779896963.19' WHERE source_name='4FGL J1159.2-2227' and cadence='daily' and bin_id='2168'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27308062

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27308062/ft1_4FGL_J1159.2-2227_daily_bin2168.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27308062/ft1_4FGL_J1159.2-2227_daily_bin2168.fits outfile=/lscratch/kocevski/27308062/ft1_filteredMKT_4FGL_J1159.2-2227_daily_bin2168.fits ra=179.811 dec=-22.4605 rad=12.0 tmin=801273601.0 tmax=801532801.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.36
user 1.87
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.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/27308062/ft1_filteredMKT_4FGL_J1159.2-2227_daily_bin2168.fits evtable="EVENTS" outfile="/lscratch/kocevski/27308062/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.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.18
sys 0.14

Number of photons that the gtmktime cut: 703

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27308062/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.fits sctable="SC_DATA"  GAL_V02
Working on...
/lscratch/kocevski/27307925/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits.....................!
real 23.58
user 22.16
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27307925/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits', '/lscratch/kocevski/27307925/ft2_4FGL_J1159.2-2227_daily_bin2168.fits', expMap='/lscratch/kocevski/27307925/expmap_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits', expCube='/lscratch/kocevski/27307925/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27307925/Model_4FGL_J1159.2-2227_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.2-2227'

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  6.706e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.448e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27307925/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27307925/ft2_4FGL_J1159.2-2227_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27307925/expmap_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27307925/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27307925/Model_4FGL_J1159.2-2227_daily_bin2168.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) = 7592.86467323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.123       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.685       1.0000          .0000       .10000E+07
     3 'norm      '    .86597E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.687       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31756       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9478       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.947       1.0000          .0000       .10000E+07
     8 'norm      '    .28407E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19834E-04   1.0000          .0000       .10000E+07
    10 'norm      '    15.099       1.0000          .0000       .10000E+07
    11 'Prefactor '    .66974       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42920E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .23870E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12262E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    32.767       1.0000          .0000       .10000E+07
    16 'Prefactor '    .99974       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.7160       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0789       1.0000          .0000       .10000E+07
    19 'norm      '    .17059E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2521       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7592.857     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1613 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.010        97.251       -.20239E-05   -.28439E-03
   2  Prefactor     17.686        11.404        .41235E-07    .12866E-02
   3  norm           .0000        .63709        .70210E-07** at limit **
   4  Prefactor     10.940        8.9554        .15987E-07   -.10056E-02
   5  Prefactor     .71443E-07    39.705        .12868E-06** at limit **
   6  Prefactor     3.0210        5.2229        .60911E-06   -.34430E-03
   7  Prefactor     20.964        11.909       -.23620E-06   -.24663E-01
   8  norm          .13878E-08    8.4063        .24602E-07** at limit **
   9  Prefactor     .22204E-09    9.7161        .59638E-07** at limit **
  10  norm          15.126        5.6229        .13281E-07   -.59470E-03
  11  Prefactor     .62889        8.1971       -.35003E-06   -.11783E-02
  12  Prefactor     .33307E-09    50.227        .22312E-06** at limit **
  13  Prefactor      .0000        5.9322       -.48985E-07** at limit **
  14  Prefactor      .0000        11.210        .12439E-06** at limit **
  15  Prefactor     32.759        16.290       -.27462E-06    .34806E-01
  16  Prefactor     .99959        1.9969       -.68598E-07   -.29188E-01
  17  Prefactor     6.7180        2.5237        .22774E-06    .16795E-03
  18  Prefactor     7.0651        3.1178       -.11448E-06   -.44764E-02
  19  norm           .0000        .33589        .37930E-07** at limit **
  20  Normalizat    1.2504        .26559       -.58743E-06   -.82522E-05
  21  Prefactor     .88046        .13353       -.44667E-06    .75057E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0103
  Prefactor  = 17.6864
  norm       = 0
  Prefactor  = 10.9401
  Prefactor  = 7.14429e-08
  Prefactor  = 3.02103
  Prefactor  = 20.9641
  norm       = 1.38778e-09
  Prefactor  = 2.22045e-10
  norm       = 15.126
  Prefactor  = 0.628891
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 32.7589
  Prefactor  = 0.99959
  Prefactor  = 6.71801
  Prefactor  = 7.06508
  norm       = 0
  Normalizat = 1.25038
  Prefactor  = 0.880463
e GAL_V02
Working on...
/lscratch/kocevski/27307939/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits.....................!
real 24.45
user 22.91
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27307939/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits', '/lscratch/kocevski/27307939/ft2_4FGL_J1159.2-2227_daily_bin2168.fits', expMap='/lscratch/kocevski/27307939/expmap_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits', expCube='/lscratch/kocevski/27307939/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27307939/Model_4FGL_J1159.2-2227_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.2-2227'

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  6.706e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.448e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27307939/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27307939/ft2_4FGL_J1159.2-2227_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27307939/expmap_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27307939/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27307939/Model_4FGL_J1159.2-2227_daily_bin2168.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) = 7592.86467323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.123       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.685       1.0000          .0000       .10000E+07
     3 'norm      '    .86597E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.687       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31756       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9478       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.947       1.0000          .0000       .10000E+07
     8 'norm      '    .28407E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19834E-04   1.0000          .0000       .10000E+07
    10 'norm      '    15.099       1.0000          .0000       .10000E+07
    11 'Prefactor '    .66974       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42920E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .23870E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12262E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    32.767       1.0000          .0000       .10000E+07
    16 'Prefactor '    .99974       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.7160       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0789       1.0000          .0000       .10000E+07
    19 'norm      '    .17059E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2521       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7592.857     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1613 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.010        97.251       -.20239E-05   -.28439E-03
   2  Prefactor     17.686        11.404        .41235E-07    .12866E-02
   3  norm           .0000        .63709        .70210E-07** at limit **
   4  Prefactor     10.940        8.9554        .15987E-07   -.10056E-02
   5  Prefactor     .71443E-07    39.705        .12868E-06** at limit **
   6  Prefactor     3.0210        5.2229        .60911E-06   -.34430E-03
   7  Prefactor     20.964        11.909       -.23620E-06   -.24663E-01
   8  norm          .13878E-08    8.4063        .24602E-07** at limit **
   9  Prefactor     .22204E-09    9.7161        .59638E-07** at limit **
  10  norm          15.126        5.6229        .13281E-07   -.59470E-03
  11  Prefactor     .62889        8.1971       -.35003E-06   -.11783E-02
  12  Prefactor     .33307E-09    50.227        .22312E-06** at limit **
  13  Prefactor      .0000        5.9322       -.48985E-07** at limit **
  14  Prefactor      .0000        11.210        .12439E-06** at limit **
  15  Prefactor     32.759        16.290       -.27462E-06    .34806E-01
  16  Prefactor     .99959        1.9969       -.68598E-07   -.29188E-01
  17  Prefactor     6.7180        2.5237        .22774E-06    .16795E-03
  18  Prefactor     7.0651        3.1178       -.11448E-06   -.44764E-02
  19  norm           .0000        .33589        .37930E-07** at limit **
  20  Normalizat    1.2504        .26559       -.58743E-06   -.82522E-05
  21  Prefactor     .88046        .13353       -.44667E-06    .75057E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0103
  Prefactor  = 17.6864
  norm       = 0
  Prefactor  = 10.9401
  Prefactor  = 7.14429e-08
  Prefactor  = 3.02103
  Prefactor  = 20.9641
  norm       = 1.38778e-09
  Prefactor  = 2.22045e-10
  norm       = 15.126
  Prefactor  = 0.628891
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 32.7589
  Prefactor  = 0.99959
  Prefactor  = 6.71801
  Prefactor  = 7.06508
  norm       = 0
  Normalizat = 1.25038
  Prefactor  = 0.880463
Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.220e-10  9.070e-05  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.448e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.805e-01  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.250e+00  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.811 -22.460
Photon Flux Upper Limit: 1.04970994481e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00813700208485 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27307886/likelihoodResults_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.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) = 7592.90668451
delta logL = -0.0497666603287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7592.75126599
delta logL = 0.105651858627

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7592.751     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      281 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11642        1.8045        .13410E-02** at limit **
   2  Index         4.6059        2.2609        .14561        .13204E-03
   3  Normalizat    1.2052        .25236E-01    .72340E-01    .16677E-04
   4  Prefactor     .89452        .13317E-01    .44935E-01    .18765E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.116424
  Index      = 4.60592
  Normalizat = 1.20524
  Prefactor  = 0.894515
 **********
 **   18 **HESSE 
 **********

 FCN=   7592.751     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      316 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11642        22.541        .50489E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6059        6.3899        .88476E-02   -.78898E-01
   3  Normalizat    1.2052        .14478        .32012E-03   -.86441    
   4  Prefactor     .89452        .74784E-01    .19190E-03   -.96333    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.2564e-09
Minuit parameter uncertainties:
  1  3.23995
  2  11.8378
  3  0.144828
  4  0.0747931
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) = 7592.75126524
delta logL = 0.105652609244

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.164e-01  3.240e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  4.606e+00  1.184e+01  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.945e-01  7.479e-02  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.205e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.811 -22.460

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27307886/cmap_HighResolution_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-05-27 08:50:11.983765', job_id='27307886', GAL2='0.89', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1779897011.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.06e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2168' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 08:50:12 PDT 2026

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

 FCN=   7592.857     FROM HESSE     STATUS=OK           363 CALLS     1976 TOTAL
                     EDM=   .97E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.010        96.566        .21764E-03   -1.5614    
   2  Prefactor     17.686        11.425        .23789E-03   -1.5624    
   3  norm           .0000        .61687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.940        8.9416        .30623E-03   -1.5642    
   5  Prefactor     .71443E-07    42.937        .99736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0210        5.2463        .59127E-03   -1.5673    
   7  Prefactor     20.964        18.861        .21856E-03   -1.5616    
   8  norm          .13878E-08    8.5035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    9.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.126        5.6106        .25749E-03   -1.5630    
  11  Prefactor     .62889        8.2365        .63200E-03   -1.5692    
  12  Prefactor     .33307E-09    50.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        5.9312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        11.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.759        21.272        .17472E-03   -1.5593    
  16  Prefactor     .99959        6.9128        .43756E-03   -1.5688    
  17  Prefactor     6.7180        2.6023        .38708E-02   -1.5190    
  18  Prefactor     7.0651        15.874        .37680E-03   -1.5655    
  19  norm           .0000        .33240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2504        .22281        .71236E-01   -.85060    
  21  Prefactor     .88046        .11184        .44749E-01   -.96827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69777e-07
Minuit parameter uncertainties:
  1  92.2075
  2  11.4251
  3  2.16999e-07
  4  8.94161
  5  0.00350306
  6  5.2463
  7  18.8606
  8  0.000216187
  9  9.07028e-05
  10  5.61062
  11  4.55187
  12  0.00026048
  13  2.43984e-05
  14  2.91953e-05
  15  21.2716
  16  5.25736
  17  2.60238
  18  15.874
  19  4.27267e-07
  20  0.222985
  21  0.111865
 **********
 **   18 **HESSE 
 **********

 FCN=   7592.857     FROM HESSE     STATUS=OK           363 CALLS     1976 TOTAL
                     EDM=   .97E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.010        96.566        .21764E-03   -1.5614    
   2  Prefactor     17.686        11.425        .23789E-03   -1.5624    
   3  norm           .0000        .61687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.940        8.9416        .30623E-03   -1.5642    
   5  Prefactor     .71443E-07    42.937        .99736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0210        5.2463        .59127E-03   -1.5673    
   7  Prefactor     20.964        18.861        .21856E-03   -1.5616    
   8  norm          .13878E-08    8.5035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    9.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.126        5.6106        .25749E-03   -1.5630    
  11  Prefactor     .62889        8.2365        .63200E-03   -1.5692    
  12  Prefactor     .33307E-09    50.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        5.9312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        11.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.759        21.272        .17472E-03   -1.5593    
  16  Prefactor     .99959        6.9128        .43756E-03   -1.5688    
  17  Prefactor     6.7180        2.6023        .38708E-02   -1.5190    
  18  Prefactor     7.0651        15.874        .37680E-03   -1.5655    
  19  norm           .0000        .33240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2504        .22281        .71236E-01   -.85060    
  21  Prefactor     .88046        .11184        .44749E-01   -.96827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69777e-07
Minuit parameter uncertainties:
  1  92.2075
  2  11.4251
  3  2.16999e-07
  4  8.94161
  5  0.00350306
  6  5.2463
  7  18.8606
  8  0.000216187
  9  9.07028e-05
  10  5.61062
  11  4.55187
  12  0.00026048
  13  2.43984e-05
  14  2.91953e-05
  15  21.2716
  16  5.25736
  17  2.60238
  18  15.874
  19  4.27267e-07
  20  0.222985
  21  0.111865
Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.220e-10  9.070e-05  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.448e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.805e-01  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.250e+00  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.811 -22.460
Photon Flux Upper Limit: 1.04970994481e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00813700208485 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27307925/likelihoodResults_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.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) = 7592.90668451
delta logL = -0.0497666603287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7592.75126599
delta logL = 0.105651858627

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7592.751     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      281 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11642        1.8045        .13410E-02** at limit **
   2  Index         4.6059        2.2609        .14561        .13204E-03
   3  Normalizat    1.2052        .25236E-01    .72340E-01    .16677E-04
   4  Prefactor     .89452        .13317E-01    .44935E-01    .18765E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.116424
  Index      = 4.60592
  Normalizat = 1.20524
  Prefactor  = 0.894515
 **********
 **   18 **HESSE 
 **********

 FCN=   7592.751     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      316 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11642        22.541        .50489E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6059        6.3899        .88476E-02   -.78898E-01
   3  Normalizat    1.2052        .14478        .32012E-03   -.86441    
   4  Prefactor     .89452        .74784E-01    .19190E-03   -.96333    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.2564e-09
Minuit parameter uncertainties:
  1  3.23995
  2  11.8378
  3  0.144828
  4  0.0747931
Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.220e-10  9.070e-05  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.448e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.805e-01  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.250e+00  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.811 -22.460
Photon Flux Upper Limit: 1.04970994481e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00813700208485 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27307939/likelihoodResults_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.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) = 7592.90668451
delta logL = -0.0497666603287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7592.75126599
delta logL = 0.105651858627

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7592.751     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      281 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11642        1.8045        .13410E-02** at limit **
   2  Index         4.6059        2.2609        .14561        .13204E-03
   3  Normalizat    1.2052        .25236E-01    .72340E-01    .16677E-04
   4  Prefactor     .89452        .13317E-01    .44935E-01    .18765E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.116424
  Index      = 4.60592
  Normalizat = 1.20524
  Prefactor  = 0.894515
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) = 7592.75126524
delta logL = 0.105652609244

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.164e-01  3.240e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  4.606e+00  1.184e+01  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.945e-01  7.479e-02  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.205e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.811 -22.460

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27307925/cmap_HighResolution_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-05-27 08:50:44.316229', job_id='27307925', GAL2='0.89', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1779897044.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.06e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2168' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 08:50:44 PDT 2026

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

 FCN=   7592.751     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      316 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11642        22.541        .50489E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6059        6.3899        .88476E-02   -.78898E-01
   3  Normalizat    1.2052        .14478        .32012E-03   -.86441    
   4  Prefactor     .89452        .74784E-01    .19190E-03   -.96333    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.2564e-09
Minuit parameter uncertainties:
  1  3.23995
  2  11.8378
  3  0.144828
  4  0.0747931
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) = 7592.75126524
delta logL = 0.105652609244

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.164e-01  3.240e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  4.606e+00  1.184e+01  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.945e-01  7.479e-02  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.205e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.811 -22.460

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27307939/cmap_HighResolution_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-05-27 08:50:46.650090', job_id='27307939', GAL2='0.89', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1779897046.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.06e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2168' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 08:50:46 PDT 2026

outfile=/lscratch/kocevski/27308062/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.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/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.fits
.....................!
real 8.21
user 7.67
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27308062/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27308062/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits outfile=/lscratch/kocevski/27308062/expmap_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.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/27308062/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits
.....................!
real 67.86
user 63.10
sys 4.02

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

Setting source of interest to:
4FGL J1159.2-2227 @ 179.811 -22.4605

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27308062/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits scfile=/lscratch/kocevski/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.fits outfile=/lscratch/kocevski/27308062/cmap_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.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.811 yref=-22.4605 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.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27308062/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits scfile=/lscratch/kocevski/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.fits outfile=/lscratch/kocevski/27308062/cmap_HighResolution_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.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.811 yref=-22.4605 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.21
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27308062/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27308062/Model_4FGL_J1159.2-2227_daily_bin2168.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/27308062/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits.....................!
real 28.12
user 26.41
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27308062/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits', '/lscratch/kocevski/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.fits', expMap='/lscratch/kocevski/27308062/expmap_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits', expCube='/lscratch/kocevski/27308062/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27308062/Model_4FGL_J1159.2-2227_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.2-2227'

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  6.706e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.448e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27308062/ft1_filtered_4FGL_J1159.2-2227_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27308062/ft2_4FGL_J1159.2-2227_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27308062/expmap_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27308062/ltcube_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27308062/Model_4FGL_J1159.2-2227_daily_bin2168.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) = 7592.86467323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.123       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.685       1.0000          .0000       .10000E+07
     3 'norm      '    .86597E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.687       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31756       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9478       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.947       1.0000          .0000       .10000E+07
     8 'norm      '    .28407E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19834E-04   1.0000          .0000       .10000E+07
    10 'norm      '    15.099       1.0000          .0000       .10000E+07
    11 'Prefactor '    .66974       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42920E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .23870E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12262E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    32.767       1.0000          .0000       .10000E+07
    16 'Prefactor '    .99974       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.7160       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0789       1.0000          .0000       .10000E+07
    19 'norm      '    .17059E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2521       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7592.857     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1613 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.010        97.251       -.20239E-05   -.28439E-03
   2  Prefactor     17.686        11.404        .41235E-07    .12866E-02
   3  norm           .0000        .63709        .70210E-07** at limit **
   4  Prefactor     10.940        8.9554        .15987E-07   -.10056E-02
   5  Prefactor     .71443E-07    39.705        .12868E-06** at limit **
   6  Prefactor     3.0210        5.2229        .60911E-06   -.34430E-03
   7  Prefactor     20.964        11.909       -.23620E-06   -.24663E-01
   8  norm          .13878E-08    8.4063        .24602E-07** at limit **
   9  Prefactor     .22204E-09    9.7161        .59638E-07** at limit **
  10  norm          15.126        5.6229        .13281E-07   -.59470E-03
  11  Prefactor     .62889        8.1971       -.35003E-06   -.11783E-02
  12  Prefactor     .33307E-09    50.227        .22312E-06** at limit **
  13  Prefactor      .0000        5.9322       -.48985E-07** at limit **
  14  Prefactor      .0000        11.210        .12439E-06** at limit **
  15  Prefactor     32.759        16.290       -.27462E-06    .34806E-01
  16  Prefactor     .99959        1.9969       -.68598E-07   -.29188E-01
  17  Prefactor     6.7180        2.5237        .22774E-06    .16795E-03
  18  Prefactor     7.0651        3.1178       -.11448E-06   -.44764E-02
  19  norm           .0000        .33589        .37930E-07** at limit **
  20  Normalizat    1.2504        .26559       -.58743E-06   -.82522E-05
  21  Prefactor     .88046        .13353       -.44667E-06    .75057E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0103
  Prefactor  = 17.6864
  norm       = 0
  Prefactor  = 10.9401
  Prefactor  = 7.14429e-08
  Prefactor  = 3.02103
  Prefactor  = 20.9641
  norm       = 1.38778e-09
  Prefactor  = 2.22045e-10
  norm       = 15.126
  Prefactor  = 0.628891
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 32.7589
  Prefactor  = 0.99959
  Prefactor  = 6.71801
  Prefactor  = 7.06508
  norm       = 0
  Normalizat = 1.25038
  Prefactor  = 0.880463
 **********
 **   18 **HESSE 
 **********

 FCN=   7592.857     FROM HESSE     STATUS=OK           363 CALLS     1976 TOTAL
                     EDM=   .97E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.010        96.566        .21764E-03   -1.5614    
   2  Prefactor     17.686        11.425        .23789E-03   -1.5624    
   3  norm           .0000        .61687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.940        8.9416        .30623E-03   -1.5642    
   5  Prefactor     .71443E-07    42.937        .99736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0210        5.2463        .59127E-03   -1.5673    
   7  Prefactor     20.964        18.861        .21856E-03   -1.5616    
   8  norm          .13878E-08    8.5035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    9.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.126        5.6106        .25749E-03   -1.5630    
  11  Prefactor     .62889        8.2365        .63200E-03   -1.5692    
  12  Prefactor     .33307E-09    50.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        5.9312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        11.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.759        21.272        .17472E-03   -1.5593    
  16  Prefactor     .99959        6.9128        .43756E-03   -1.5688    
  17  Prefactor     6.7180        2.6023        .38708E-02   -1.5190    
  18  Prefactor     7.0651        15.874        .37680E-03   -1.5655    
  19  norm           .0000        .33240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2504        .22281        .71236E-01   -.85060    
  21  Prefactor     .88046        .11184        .44749E-01   -.96827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69777e-07
Minuit parameter uncertainties:
  1  92.2075
  2  11.4251
  3  2.16999e-07
  4  8.94161
  5  0.00350306
  6  5.2463
  7  18.8606
  8  0.000216187
  9  9.07028e-05
  10  5.61062
  11  4.55187
  12  0.00026048
  13  2.43984e-05
  14  2.91953e-05
  15  21.2716
  16  5.25736
  17  2.60238
  18  15.874
  19  4.27267e-07
  20  0.222985
  21  0.111865
Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.220e-10  9.070e-05  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.448e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.805e-01  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.250e+00  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.811 -22.460
Photon Flux Upper Limit: 1.04970994481e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00813700208485 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27308062/likelihoodResults_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.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) = 7592.90668451
delta logL = -0.0497666603287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7592.75126599
delta logL = 0.105651858627

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7592.751     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      281 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11642        1.8045        .13410E-02** at limit **
   2  Index         4.6059        2.2609        .14561        .13204E-03
   3  Normalizat    1.2052        .25236E-01    .72340E-01    .16677E-04
   4  Prefactor     .89452        .13317E-01    .44935E-01    .18765E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.116424
  Index      = 4.60592
  Normalizat = 1.20524
  Prefactor  = 0.894515
 **********
 **   18 **HESSE 
 **********

 FCN=   7592.751     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      316 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11642        22.541        .50489E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6059        6.3899        .88476E-02   -.78898E-01
   3  Normalizat    1.2052        .14478        .32012E-03   -.86441    
   4  Prefactor     .89452        .74784E-01    .19190E-03   -.96333    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.2564e-09
Minuit parameter uncertainties:
  1  3.23995
  2  11.8378
  3  0.144828
  4  0.0747931
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) = 7592.75126524
delta logL = 0.105652609244

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.164e-01  3.240e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  4.606e+00  1.184e+01  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.270e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.945e-01  7.479e-02  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.205e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.811 -22.460

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27308062/cmap_HighResolution_801273601_801532801_4FGL_J1159.2-2227_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-05-27 08:54:11.370215', job_id='27308062', GAL2='0.89', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1779897251.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.06e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2168' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 08:54:11 PDT 2026

