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

 FCN=   12829.95     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12653        243.05        .12293E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6666        6.8243        .43136E-02   -.26994    
   3  Normalizat    1.1769        .95943E-01    .29396E-03   -.87320    
   4  Prefactor     .80052        .49626E-01    .18683E-03   -.99709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84718e-09
Minuit parameter uncertainties:
  1  11.0916
  2  36.9567
  3  0.0959575
  4  0.0496288
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.96     FROM HESSE     STATUS=OK           383 CALLS     2044 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    17.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.6193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17062        .50581        .23884E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.690        9.6241        .13295E-03   -1.5557    
   5  Prefactor     .15543E-07    11.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .81716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.290        16.458        .15558E-03   -1.5579    
   8  norm          .33419E-02    6.6737        .14070E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20800E-06    7.3680        .66268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69629E-01    .93219        .71134E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2390        3.4670        .68536E-03   -1.5678    
  12  Prefactor     21.742        22.631        .21520E-03   -1.5615    
  13  Prefactor     11.468        8.7691        .29505E-03   -1.5640    
  14  Prefactor     .23981E-07    10.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12212E-08    9.1767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9839        3.4558        .50490E-03   -1.5668    
  17  Prefactor     4.9914        1.6447        .45001E-02   -1.5261    
  18  Prefactor     5.6114        7.1632        .42548E-03   -1.5661    
  19  norm          1.0569        .69826        .11953E-02   -1.5687    
  20  Normalizat    1.1837        .15345        .66278E-01   -.87109    
  21  Prefactor     .79868        .79124E-01    .43699E-01   -.99777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82445e-08
Minuit parameter uncertainties:
  1  0.000339692
  2  3.71711e-06
  3  0.505811
  4  9.62415
  5  0.000843449
  6  4.31454e-06
  7  16.4577
  8  0.298683
  9  0.00247578
  10  0.50954
  11  3.46698
  12  22.6313
  13  8.76915
  14  0.000999031
  15  0.00021251
  16  3.45581
  17  1.64467
  18  7.16322
  19  0.698263
  20  0.153512
  21  0.079135
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) = 12829.9456438
delta logL = 0.0113416668901

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.265e-01  1.109e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.667e+00  3.696e+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.005e-01  4.963e-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.177e+00  9.596e-02  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/31350692/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2026-07-11 10:41:02.953289', job_id='31350692', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783791662.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2180' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:41:03 PDT 2026

ce GAL_V02
Working on...
/lscratch/kocevski/31350999/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits.....................!
real 42.02
user 40.69
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31350999/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits', '/lscratch/kocevski/31350999/ft2_4FGL_J1159.2-2227_daily_bin2180.fits', expMap='/lscratch/kocevski/31350999/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', expCube='/lscratch/kocevski/31350999/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31350999/Model_4FGL_J1159.2-2227_daily_bin2180.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/31350999/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31350999/ft2_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31350999/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31350999/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31350999/Model_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.997445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11027E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21283E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17018       1.0000          .0000       .10000E+07
     4 'Prefactor '    56.579       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10039E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13378E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    41.320       1.0000          .0000       .10000E+07
     8 'norm      '    .94846E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17651E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .59440E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2464       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.606       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.509       1.0000          .0000       .10000E+07
    14 'Prefactor '    .33526E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45493E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9866       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9912       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5692       1.0000          .0000       .10000E+07
    19 'norm      '    1.0571       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1842       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79860       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=   12829.96     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1661 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16098E-08    17.675       -.13424E-05** at limit **
   2  Prefactor      .0000        1.6121        .21665E-07** at limit **
   3  norm          .17062        .70808       -.12420E-06** at limit **
   4  Prefactor     56.690        9.6251        .70892E-08   -.52393E-02
   5  Prefactor     .15543E-07    11.085       -.34296E-06** at limit **
   6  Prefactor      .0000        .81132        .79289E-07** at limit **
   7  Prefactor     41.290        4.0751       -.94329E-07    .13692E-01
   8  norm          .33419E-02    11.103        .75262E-06** at limit **
   9  Prefactor     .20800E-06    74.734        .37320E-05** at limit **
  10  norm          .69629E-01    17.994       -.10089E-05** at limit **
  11  Prefactor     2.2390        3.0704       -.91684E-07   -.78464E-03
  12  Prefactor     21.742        2.7024       -.57708E-07    .35907E-01
  13  Prefactor     11.468        8.7563       -.84493E-07   -.80357E-03
  14  Prefactor     .23981E-07    10.000        .81529E-06** at limit **
  15  Prefactor     .12212E-08    9.1290       -.25198E-06** at limit **
  16  Prefactor     3.9839        3.4554        .45735E-07    .61184E-03
  17  Prefactor     4.9914        1.6438        .67302E-07    .17699E-03
  18  Prefactor     5.6114        7.1380       -.95865E-07    .14123E-02
  19  norm          1.0569        .67771       -.90869E-07    .41309E-02
  20  Normalizat    1.1837        .17904        .70237E-06    .32707E-04
  21  Prefactor     .79868        .93917E-01   -.20868E-05   -.44115E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  norm       = 0.170622
  Prefactor  = 56.6905
  Prefactor  = 1.55431e-08
  Prefactor  = 0
  Prefactor  = 41.29
  norm       = 0.00334193
  Prefactor  = 2.08e-07
  norm       = 0.0696292
  Prefactor  = 2.23901
  Prefactor  = 21.7424
  Prefactor  = 11.4683
  Prefactor  = 2.39808e-08
  Prefactor  = 1.22125e-09
  Prefactor  = 3.98388
  Prefactor  = 4.99139
  Prefactor  = 5.61139
  norm       = 1.05693
  Normalizat = 1.18366
  Prefactor  = 0.798676
/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).

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

 FCN=   12829.96     FROM HESSE     STATUS=OK           383 CALLS     2044 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    17.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.6193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17062        .50581        .23884E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.690        9.6241        .13295E-03   -1.5557    
   5  Prefactor     .15543E-07    11.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .81716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.290        16.458        .15558E-03   -1.5579    
   8  norm          .33419E-02    6.6737        .14070E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20800E-06    7.3680        .66268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69629E-01    .93219        .71134E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2390        3.4670        .68536E-03   -1.5678    
  12  Prefactor     21.742        22.631        .21520E-03   -1.5615    
  13  Prefactor     11.468        8.7691        .29505E-03   -1.5640    
  14  Prefactor     .23981E-07    10.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12212E-08    9.1767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9839        3.4558        .50490E-03   -1.5668    
  17  Prefactor     4.9914        1.6447        .45001E-02   -1.5261    
  18  Prefactor     5.6114        7.1632        .42548E-03   -1.5661    
  19  norm          1.0569        .69826        .11953E-02   -1.5687    
  20  Normalizat    1.1837        .15345        .66278E-01   -.87109    
  21  Prefactor     .79868        .79124E-01    .43699E-01   -.99777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82445e-08
Minuit parameter uncertainties:
  1  0.000339692
  2  3.71711e-06
  3  0.505811
  4  9.62415
  5  0.000843449
  6  4.31454e-06
  7  16.4577
  8  0.298683
  9  0.00247578
  10  0.50954
  11  3.46698
  12  22.6313
  13  8.76915
  14  0.000999031
  15  0.00021251
  16  3.45581
  17  1.64467
  18  7.16322
  19  0.698263
  20  0.153512
  21  0.079135
ce GAL_V02
Working on...
/lscratch/kocevski/31351451/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits.....................!
real 41.54
user 40.06
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31351451/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits', '/lscratch/kocevski/31351451/ft2_4FGL_J1159.2-2227_daily_bin2180.fits', expMap='/lscratch/kocevski/31351451/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', expCube='/lscratch/kocevski/31351451/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31351451/Model_4FGL_J1159.2-2227_daily_bin2180.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/31351451/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31351451/ft2_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31351451/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31351451/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31351451/Model_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.997445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11027E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21283E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17018       1.0000          .0000       .10000E+07
     4 'Prefactor '    56.579       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10039E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13378E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    41.320       1.0000          .0000       .10000E+07
     8 'norm      '    .94846E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17651E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .59440E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2464       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.606       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.509       1.0000          .0000       .10000E+07
    14 'Prefactor '    .33526E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45493E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9866       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9912       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5692       1.0000          .0000       .10000E+07
    19 'norm      '    1.0571       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1842       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79860       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=   12829.96     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1661 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16098E-08    17.675       -.13424E-05** at limit **
   2  Prefactor      .0000        1.6121        .21665E-07** at limit **
   3  norm          .17062        .70808       -.12420E-06** at limit **
   4  Prefactor     56.690        9.6251        .70892E-08   -.52393E-02
   5  Prefactor     .15543E-07    11.085       -.34296E-06** at limit **
   6  Prefactor      .0000        .81132        .79289E-07** at limit **
   7  Prefactor     41.290        4.0751       -.94329E-07    .13692E-01
   8  norm          .33419E-02    11.103        .75262E-06** at limit **
   9  Prefactor     .20800E-06    74.734        .37320E-05** at limit **
  10  norm          .69629E-01    17.994       -.10089E-05** at limit **
  11  Prefactor     2.2390        3.0704       -.91684E-07   -.78464E-03
  12  Prefactor     21.742        2.7024       -.57708E-07    .35907E-01
  13  Prefactor     11.468        8.7563       -.84493E-07   -.80357E-03
  14  Prefactor     .23981E-07    10.000        .81529E-06** at limit **
  15  Prefactor     .12212E-08    9.1290       -.25198E-06** at limit **
  16  Prefactor     3.9839        3.4554        .45735E-07    .61184E-03
  17  Prefactor     4.9914        1.6438        .67302E-07    .17699E-03
  18  Prefactor     5.6114        7.1380       -.95865E-07    .14123E-02
  19  norm          1.0569        .67771       -.90869E-07    .41309E-02
  20  Normalizat    1.1837        .17904        .70237E-06    .32707E-04
  21  Prefactor     .79868        .93917E-01   -.20868E-05   -.44115E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  norm       = 0.170622
  Prefactor  = 56.6905
  Prefactor  = 1.55431e-08
  Prefactor  = 0
  Prefactor  = 41.29
  norm       = 0.00334193
  Prefactor  = 2.08e-07
  norm       = 0.0696292
  Prefactor  = 2.23901
  Prefactor  = 21.7424
  Prefactor  = 11.4683
  Prefactor  = 2.39808e-08
  Prefactor  = 1.22125e-09
  Prefactor  = 3.98388
  Prefactor  = 4.99139
  Prefactor  = 5.61139
  norm       = 1.05693
  Normalizat = 1.18366
  Prefactor  = 0.798676
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.96     FROM HESSE     STATUS=OK           383 CALLS     2044 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    17.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.6193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17062        .50581        .23884E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.690        9.6241        .13295E-03   -1.5557    
   5  Prefactor     .15543E-07    11.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .81716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.290        16.458        .15558E-03   -1.5579    
   8  norm          .33419E-02    6.6737        .14070E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20800E-06    7.3680        .66268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69629E-01    .93219        .71134E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2390        3.4670        .68536E-03   -1.5678    
  12  Prefactor     21.742        22.631        .21520E-03   -1.5615    
  13  Prefactor     11.468        8.7691        .29505E-03   -1.5640    
  14  Prefactor     .23981E-07    10.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12212E-08    9.1767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9839        3.4558        .50490E-03   -1.5668    
  17  Prefactor     4.9914        1.6447        .45001E-02   -1.5261    
  18  Prefactor     5.6114        7.1632        .42548E-03   -1.5661    
  19  norm          1.0569        .69826        .11953E-02   -1.5687    
  20  Normalizat    1.1837        .15345        .66278E-01   -.87109    
  21  Prefactor     .79868        .79124E-01    .43699E-01   -.99777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82445e-08
Minuit parameter uncertainties:
  1  0.000339692
  2  3.71711e-06
  3  0.505811
  4  9.62415
  5  0.000843449
  6  4.31454e-06
  7  16.4577
  8  0.298683
  9  0.00247578
  10  0.50954
  11  3.46698
  12  22.6313
  13  8.76915
  14  0.000999031
  15  0.00021251
  16  3.45581
  17  1.64467
  18  7.16322
  19  0.698263
  20  0.153512
  21  0.079135
ce GAL_V02
Working on...
/lscratch/kocevski/31351664/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits.....................!
real 38.78
user 37.49
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31351664/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits', '/lscratch/kocevski/31351664/ft2_4FGL_J1159.2-2227_daily_bin2180.fits', expMap='/lscratch/kocevski/31351664/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', expCube='/lscratch/kocevski/31351664/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31351664/Model_4FGL_J1159.2-2227_daily_bin2180.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/31351664/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31351664/ft2_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31351664/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31351664/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31351664/Model_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.997445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11027E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21283E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17018       1.0000          .0000       .10000E+07
     4 'Prefactor '    56.579       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10039E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13378E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    41.320       1.0000          .0000       .10000E+07
     8 'norm      '    .94846E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17651E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .59440E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2464       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.606       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.509       1.0000          .0000       .10000E+07
    14 'Prefactor '    .33526E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45493E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9866       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9912       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5692       1.0000          .0000       .10000E+07
    19 'norm      '    1.0571       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1842       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79860       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=   12829.96     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1661 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16098E-08    17.675       -.13424E-05** at limit **
   2  Prefactor      .0000        1.6121        .21665E-07** at limit **
   3  norm          .17062        .70808       -.12420E-06** at limit **
   4  Prefactor     56.690        9.6251        .70892E-08   -.52393E-02
   5  Prefactor     .15543E-07    11.085       -.34296E-06** at limit **
   6  Prefactor      .0000        .81132        .79289E-07** at limit **
   7  Prefactor     41.290        4.0751       -.94329E-07    .13692E-01
   8  norm          .33419E-02    11.103        .75262E-06** at limit **
   9  Prefactor     .20800E-06    74.734        .37320E-05** at limit **
  10  norm          .69629E-01    17.994       -.10089E-05** at limit **
  11  Prefactor     2.2390        3.0704       -.91684E-07   -.78464E-03
  12  Prefactor     21.742        2.7024       -.57708E-07    .35907E-01
  13  Prefactor     11.468        8.7563       -.84493E-07   -.80357E-03
  14  Prefactor     .23981E-07    10.000        .81529E-06** at limit **
  15  Prefactor     .12212E-08    9.1290       -.25198E-06** at limit **
  16  Prefactor     3.9839        3.4554        .45735E-07    .61184E-03
  17  Prefactor     4.9914        1.6438        .67302E-07    .17699E-03
  18  Prefactor     5.6114        7.1380       -.95865E-07    .14123E-02
  19  norm          1.0569        .67771       -.90869E-07    .41309E-02
  20  Normalizat    1.1837        .17904        .70237E-06    .32707E-04
  21  Prefactor     .79868        .93917E-01   -.20868E-05   -.44115E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  norm       = 0.170622
  Prefactor  = 56.6905
  Prefactor  = 1.55431e-08
  Prefactor  = 0
  Prefactor  = 41.29
  norm       = 0.00334193
  Prefactor  = 2.08e-07
  norm       = 0.0696292
  Prefactor  = 2.23901
  Prefactor  = 21.7424
  Prefactor  = 11.4683
  Prefactor  = 2.39808e-08
  Prefactor  = 1.22125e-09
  Prefactor  = 3.98388
  Prefactor  = 4.99139
  Prefactor  = 5.61139
  norm       = 1.05693
  Normalizat = 1.18366
  Prefactor  = 0.798676
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.96     FROM HESSE     STATUS=OK           383 CALLS     2044 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    17.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.6193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17062        .50581        .23884E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.690        9.6241        .13295E-03   -1.5557    
   5  Prefactor     .15543E-07    11.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .81716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.290        16.458        .15558E-03   -1.5579    
   8  norm          .33419E-02    6.6737        .14070E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20800E-06    7.3680        .66268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69629E-01    .93219        .71134E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2390        3.4670        .68536E-03   -1.5678    
  12  Prefactor     21.742        22.631        .21520E-03   -1.5615    
  13  Prefactor     11.468        8.7691        .29505E-03   -1.5640    
  14  Prefactor     .23981E-07    10.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12212E-08    9.1767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9839        3.4558        .50490E-03   -1.5668    
  17  Prefactor     4.9914        1.6447        .45001E-02   -1.5261    
  18  Prefactor     5.6114        7.1632        .42548E-03   -1.5661    
  19  norm          1.0569        .69826        .11953E-02   -1.5687    
  20  Normalizat    1.1837        .15345        .66278E-01   -.87109    
  21  Prefactor     .79868        .79124E-01    .43699E-01   -.99777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82445e-08
Minuit parameter uncertainties:
  1  0.000339692
  2  3.71711e-06
  3  0.505811
  4  9.62415
  5  0.000843449
  6  4.31454e-06
  7  16.4577
  8  0.298683
  9  0.00247578
  10  0.50954
  11  3.46698
  12  22.6313
  13  8.76915
  14  0.000999031
  15  0.00021251
  16  3.45581
  17  1.64467
  18  7.16322
  19  0.698263
  20  0.153512
  21  0.079135
ce GAL_V02
Working on...
/lscratch/kocevski/31351742/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits.....................!
real 38.85
user 37.31
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31351742/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits', '/lscratch/kocevski/31351742/ft2_4FGL_J1159.2-2227_daily_bin2180.fits', expMap='/lscratch/kocevski/31351742/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', expCube='/lscratch/kocevski/31351742/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31351742/Model_4FGL_J1159.2-2227_daily_bin2180.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/31351742/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31351742/ft2_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31351742/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31351742/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31351742/Model_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.997445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11027E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21283E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17018       1.0000          .0000       .10000E+07
     4 'Prefactor '    56.579       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10039E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13378E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    41.320       1.0000          .0000       .10000E+07
     8 'norm      '    .94846E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17651E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .59440E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2464       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.606       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.509       1.0000          .0000       .10000E+07
    14 'Prefactor '    .33526E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45493E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9866       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9912       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5692       1.0000          .0000       .10000E+07
    19 'norm      '    1.0571       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1842       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79860       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=   12829.96     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1661 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16098E-08    17.675       -.13424E-05** at limit **
   2  Prefactor      .0000        1.6121        .21665E-07** at limit **
   3  norm          .17062        .70808       -.12420E-06** at limit **
   4  Prefactor     56.690        9.6251        .70892E-08   -.52393E-02
   5  Prefactor     .15543E-07    11.085       -.34296E-06** at limit **
   6  Prefactor      .0000        .81132        .79289E-07** at limit **
   7  Prefactor     41.290        4.0751       -.94329E-07    .13692E-01
   8  norm          .33419E-02    11.103        .75262E-06** at limit **
   9  Prefactor     .20800E-06    74.734        .37320E-05** at limit **
  10  norm          .69629E-01    17.994       -.10089E-05** at limit **
  11  Prefactor     2.2390        3.0704       -.91684E-07   -.78464E-03
  12  Prefactor     21.742        2.7024       -.57708E-07    .35907E-01
  13  Prefactor     11.468        8.7563       -.84493E-07   -.80357E-03
  14  Prefactor     .23981E-07    10.000        .81529E-06** at limit **
  15  Prefactor     .12212E-08    9.1290       -.25198E-06** at limit **
  16  Prefactor     3.9839        3.4554        .45735E-07    .61184E-03
  17  Prefactor     4.9914        1.6438        .67302E-07    .17699E-03
  18  Prefactor     5.6114        7.1380       -.95865E-07    .14123E-02
  19  norm          1.0569        .67771       -.90869E-07    .41309E-02
  20  Normalizat    1.1837        .17904        .70237E-06    .32707E-04
  21  Prefactor     .79868        .93917E-01   -.20868E-05   -.44115E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  norm       = 0.170622
  Prefactor  = 56.6905
  Prefactor  = 1.55431e-08
  Prefactor  = 0
  Prefactor  = 41.29
  norm       = 0.00334193
  Prefactor  = 2.08e-07
  norm       = 0.0696292
  Prefactor  = 2.23901
  Prefactor  = 21.7424
  Prefactor  = 11.4683
  Prefactor  = 2.39808e-08
  Prefactor  = 1.22125e-09
  Prefactor  = 3.98388
  Prefactor  = 4.99139
  Prefactor  = 5.61139
  norm       = 1.05693
  Normalizat = 1.18366
  Prefactor  = 0.798676
Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.080e-07  2.476e-03  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:  7.987e-01  7.914e-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.184e+00  1.535e-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: 6.32906659874e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0049060817575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31350926/likelihoodResults_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.9705593
delta logL = -0.0135738165991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12829.9456462
delta logL = 0.01133932624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12674       1.0000          .0000       .10000E+07
     2 'Index     '    3.6624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80037       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=   12829.95     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      265 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12653        .65759        .34335E-02** at limit **
   2  Index         3.6666        .27410        .50000        .41135E-05
   3  Normalizat    1.1769        .55731E-02    .66448E-01    .21868E-04
   4  Prefactor     .80052        .29957E-02    .43722E-01    .13290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.126533
  Index      = 3.66661
  Normalizat = 1.1769
  Prefactor  = 0.800524
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.95     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12653        243.05        .12293E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6666        6.8243        .43136E-02   -.26994    
   3  Normalizat    1.1769        .95943E-01    .29396E-03   -.87320    
   4  Prefactor     .80052        .49626E-01    .18683E-03   -.99709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84718e-09
Minuit parameter uncertainties:
  1  11.0916
  2  36.9567
  3  0.0959575
  4  0.0496288
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) = 12829.9456438
delta logL = 0.0113416668901

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.265e-01  1.109e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.667e+00  3.696e+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.005e-01  4.963e-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.177e+00  9.596e-02  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/31350926/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2026-07-11 10:41:57.328758', job_id='31350926', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783791717.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2180' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:41:57 PDT 2026

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


Performing analysis on: 4FGL_J1159.2-2227_daily_bin2180
RA = 179.811, Dec = -22.4605
tmin = 804384001, tmax = 804643201
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='31352854', job_status='RUN', time_executed='2026-07-11 10:41:08.714932', time_epoch_executed='1783791668.71' WHERE source_name='4FGL J1159.2-2227' and cadence='daily' and bin_id='2180'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31352854

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31352854/ft1_4FGL_J1159.2-2227_daily_bin2180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31352854/ft2_4FGL_J1159.2-2227_daily_bin2180.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31352854/ft1_4FGL_J1159.2-2227_daily_bin2180.fits outfile=/lscratch/kocevski/31352854/ft1_filteredMKT_4FGL_J1159.2-2227_daily_bin2180.fits ra=179.811 dec=-22.4605 rad=12.0 tmin=804384001.0 tmax=804643201.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 1.89
user 1.52
sys 0.16

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

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

Number of photons that the gtmktime cut: 1222

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31352854/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31352854/ft2_4FGL_J1159.2-2227_daily_bin2180.fits sctable="SC_DATA"Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.080e-07  2.476e-03  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:  7.987e-01  7.914e-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.184e+00  1.535e-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: 6.32906659874e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0049060817575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31351108/likelihoodResults_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.9705593
delta logL = -0.0135738165991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12829.9456462
delta logL = 0.01133932624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12674       1.0000          .0000       .10000E+07
     2 'Index     '    3.6624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80037       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=   12829.95     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      265 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12653        .65759        .34335E-02** at limit **
   2  Index         3.6666        .27410        .50000        .41135E-05
   3  Normalizat    1.1769        .55731E-02    .66448E-01    .21868E-04
   4  Prefactor     .80052        .29957E-02    .43722E-01    .13290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.126533
  Index      = 3.66661
  Normalizat = 1.1769
  Prefactor  = 0.800524
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.95     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12653        243.05        .12293E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6666        6.8243        .43136E-02   -.26994    
   3  Normalizat    1.1769        .95943E-01    .29396E-03   -.87320    
   4  Prefactor     .80052        .49626E-01    .18683E-03   -.99709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84718e-09
Minuit parameter uncertainties:
  1  11.0916
  2  36.9567
  3  0.0959575
  4  0.0496288
ce GAL_V02
Working on...
/lscratch/kocevski/31351656/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits.....................!
real 41.61
user 40.10
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31351656/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits', '/lscratch/kocevski/31351656/ft2_4FGL_J1159.2-2227_daily_bin2180.fits', expMap='/lscratch/kocevski/31351656/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', expCube='/lscratch/kocevski/31351656/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31351656/Model_4FGL_J1159.2-2227_daily_bin2180.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/31351656/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31351656/ft2_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31351656/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31351656/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31351656/Model_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.997445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11027E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21283E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17018       1.0000          .0000       .10000E+07
     4 'Prefactor '    56.579       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10039E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13378E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    41.320       1.0000          .0000       .10000E+07
     8 'norm      '    .94846E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17651E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .59440E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2464       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.606       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.509       1.0000          .0000       .10000E+07
    14 'Prefactor '    .33526E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45493E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9866       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9912       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5692       1.0000          .0000       .10000E+07
    19 'norm      '    1.0571       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1842       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79860       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=   12829.96     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1661 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16098E-08    17.675       -.13424E-05** at limit **
   2  Prefactor      .0000        1.6121        .21665E-07** at limit **
   3  norm          .17062        .70808       -.12420E-06** at limit **
   4  Prefactor     56.690        9.6251        .70892E-08   -.52393E-02
   5  Prefactor     .15543E-07    11.085       -.34296E-06** at limit **
   6  Prefactor      .0000        .81132        .79289E-07** at limit **
   7  Prefactor     41.290        4.0751       -.94329E-07    .13692E-01
   8  norm          .33419E-02    11.103        .75262E-06** at limit **
   9  Prefactor     .20800E-06    74.734        .37320E-05** at limit **
  10  norm          .69629E-01    17.994       -.10089E-05** at limit **
  11  Prefactor     2.2390        3.0704       -.91684E-07   -.78464E-03
  12  Prefactor     21.742        2.7024       -.57708E-07    .35907E-01
  13  Prefactor     11.468        8.7563       -.84493E-07   -.80357E-03
  14  Prefactor     .23981E-07    10.000        .81529E-06** at limit **
  15  Prefactor     .12212E-08    9.1290       -.25198E-06** at limit **
  16  Prefactor     3.9839        3.4554        .45735E-07    .61184E-03
  17  Prefactor     4.9914        1.6438        .67302E-07    .17699E-03
  18  Prefactor     5.6114        7.1380       -.95865E-07    .14123E-02
  19  norm          1.0569        .67771       -.90869E-07    .41309E-02
  20  Normalizat    1.1837        .17904        .70237E-06    .32707E-04
  21  Prefactor     .79868        .93917E-01   -.20868E-05   -.44115E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  norm       = 0.170622
  Prefactor  = 56.6905
  Prefactor  = 1.55431e-08
  Prefactor  = 0
  Prefactor  = 41.29
  norm       = 0.00334193
  Prefactor  = 2.08e-07
  norm       = 0.0696292
  Prefactor  = 2.23901
  Prefactor  = 21.7424
  Prefactor  = 11.4683
  Prefactor  = 2.39808e-08
  Prefactor  = 1.22125e-09
  Prefactor  = 3.98388
  Prefactor  = 4.99139
  Prefactor  = 5.61139
  norm       = 1.05693
  Normalizat = 1.18366
  Prefactor  = 0.798676
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.96     FROM HESSE     STATUS=OK           383 CALLS     2044 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    17.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.6193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17062        .50581        .23884E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.690        9.6241        .13295E-03   -1.5557    
   5  Prefactor     .15543E-07    11.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .81716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.290        16.458        .15558E-03   -1.5579    
   8  norm          .33419E-02    6.6737        .14070E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20800E-06    7.3680        .66268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69629E-01    .93219        .71134E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2390        3.4670        .68536E-03   -1.5678    
  12  Prefactor     21.742        22.631        .21520E-03   -1.5615    
  13  Prefactor     11.468        8.7691        .29505E-03   -1.5640    
  14  Prefactor     .23981E-07    10.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12212E-08    9.1767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9839        3.4558        .50490E-03   -1.5668    
  17  Prefactor     4.9914        1.6447        .45001E-02   -1.5261    
  18  Prefactor     5.6114        7.1632        .42548E-03   -1.5661    
  19  norm          1.0569        .69826        .11953E-02   -1.5687    
  20  Normalizat    1.1837        .15345        .66278E-01   -.87109    
  21  Prefactor     .79868        .79124E-01    .43699E-01   -.99777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82445e-08
Minuit parameter uncertainties:
  1  0.000339692
  2  3.71711e-06
  3  0.505811
  4  9.62415
  5  0.000843449
  6  4.31454e-06
  7  16.4577
  8  0.298683
  9  0.00247578
  10  0.50954
  11  3.46698
  12  22.6313
  13  8.76915
  14  0.000999031
  15  0.00021251
  16  3.45581
  17  1.64467
  18  7.16322
  19  0.698263
  20  0.153512
  21  0.079135
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) = 12829.9456438
delta logL = 0.0113416668901

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.265e-01  1.109e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.667e+00  3.696e+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.005e-01  4.963e-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.177e+00  9.596e-02  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/31351108/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2026-07-11 10:42:05.077354', job_id='31351108', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783791725.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2180' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:42:05 PDT 2026

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

 FCN=   12829.96     FROM HESSE     STATUS=OK           383 CALLS     2044 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    17.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.6193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17062        .50581        .23884E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.690        9.6241        .13295E-03   -1.5557    
   5  Prefactor     .15543E-07    11.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .81716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.290        16.458        .15558E-03   -1.5579    
   8  norm          .33419E-02    6.6737        .14070E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20800E-06    7.3680        .66268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69629E-01    .93219        .71134E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2390        3.4670        .68536E-03   -1.5678    
  12  Prefactor     21.742        22.631        .21520E-03   -1.5615    
  13  Prefactor     11.468        8.7691        .29505E-03   -1.5640    
  14  Prefactor     .23981E-07    10.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12212E-08    9.1767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9839        3.4558        .50490E-03   -1.5668    
  17  Prefactor     4.9914        1.6447        .45001E-02   -1.5261    
  18  Prefactor     5.6114        7.1632        .42548E-03   -1.5661    
  19  norm          1.0569        .69826        .11953E-02   -1.5687    
  20  Normalizat    1.1837        .15345        .66278E-01   -.87109    
  21  Prefactor     .79868        .79124E-01    .43699E-01   -.99777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82445e-08
Minuit parameter uncertainties:
  1  0.000339692
  2  3.71711e-06
  3  0.505811
  4  9.62415
  5  0.000843449
  6  4.31454e-06
  7  16.4577
  8  0.298683
  9  0.00247578
  10  0.50954
  11  3.46698
  12  22.6313
  13  8.76915
  14  0.000999031
  15  0.00021251
  16  3.45581
  17  1.64467
  18  7.16322
  19  0.698263
  20  0.153512
  21  0.079135
e GAL_V02
Working on...
/lscratch/kocevski/31351896/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits.....................!
real 39.47
user 38.05
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31351896/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits', '/lscratch/kocevski/31351896/ft2_4FGL_J1159.2-2227_daily_bin2180.fits', expMap='/lscratch/kocevski/31351896/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', expCube='/lscratch/kocevski/31351896/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31351896/Model_4FGL_J1159.2-2227_daily_bin2180.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/31351896/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31351896/ft2_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31351896/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31351896/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31351896/Model_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.997445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11027E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21283E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17018       1.0000          .0000       .10000E+07
     4 'Prefactor '    56.579       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10039E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13378E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    41.320       1.0000          .0000       .10000E+07
     8 'norm      '    .94846E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17651E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .59440E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2464       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.606       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.509       1.0000          .0000       .10000E+07
    14 'Prefactor '    .33526E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45493E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9866       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9912       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5692       1.0000          .0000       .10000E+07
    19 'norm      '    1.0571       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1842       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79860       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=   12829.96     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1661 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16098E-08    17.675       -.13424E-05** at limit **
   2  Prefactor      .0000        1.6121        .21665E-07** at limit **
   3  norm          .17062        .70808       -.12420E-06** at limit **
   4  Prefactor     56.690        9.6251        .70892E-08   -.52393E-02
   5  Prefactor     .15543E-07    11.085       -.34296E-06** at limit **
   6  Prefactor      .0000        .81132        .79289E-07** at limit **
   7  Prefactor     41.290        4.0751       -.94329E-07    .13692E-01
   8  norm          .33419E-02    11.103        .75262E-06** at limit **
   9  Prefactor     .20800E-06    74.734        .37320E-05** at limit **
  10  norm          .69629E-01    17.994       -.10089E-05** at limit **
  11  Prefactor     2.2390        3.0704       -.91684E-07   -.78464E-03
  12  Prefactor     21.742        2.7024       -.57708E-07    .35907E-01
  13  Prefactor     11.468        8.7563       -.84493E-07   -.80357E-03
  14  Prefactor     .23981E-07    10.000        .81529E-06** at limit **
  15  Prefactor     .12212E-08    9.1290       -.25198E-06** at limit **
  16  Prefactor     3.9839        3.4554        .45735E-07    .61184E-03
  17  Prefactor     4.9914        1.6438        .67302E-07    .17699E-03
  18  Prefactor     5.6114        7.1380       -.95865E-07    .14123E-02
  19  norm          1.0569        .67771       -.90869E-07    .41309E-02
  20  Normalizat    1.1837        .17904        .70237E-06    .32707E-04
  21  Prefactor     .79868        .93917E-01   -.20868E-05   -.44115E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  norm       = 0.170622
  Prefactor  = 56.6905
  Prefactor  = 1.55431e-08
  Prefactor  = 0
  Prefactor  = 41.29
  norm       = 0.00334193
  Prefactor  = 2.08e-07
  norm       = 0.0696292
  Prefactor  = 2.23901
  Prefactor  = 21.7424
  Prefactor  = 11.4683
  Prefactor  = 2.39808e-08
  Prefactor  = 1.22125e-09
  Prefactor  = 3.98388
  Prefactor  = 4.99139
  Prefactor  = 5.61139
  norm       = 1.05693
  Normalizat = 1.18366
  Prefactor  = 0.798676
Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.080e-07  2.476e-03  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:  7.987e-01  7.914e-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.184e+00  1.535e-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: 6.32906659874e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0049060817575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31351451/likelihoodResults_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.9705593
delta logL = -0.0135738165991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12829.9456462
delta logL = 0.01133932624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12674       1.0000          .0000       .10000E+07
     2 'Index     '    3.6624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80037       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=   12829.95     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      265 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12653        .65759        .34335E-02** at limit **
   2  Index         3.6666        .27410        .50000        .41135E-05
   3  Normalizat    1.1769        .55731E-02    .66448E-01    .21868E-04
   4  Prefactor     .80052        .29957E-02    .43722E-01    .13290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.126533
  Index      = 3.66661
  Normalizat = 1.1769
  Prefactor  = 0.800524
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.95     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12653        243.05        .12293E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6666        6.8243        .43136E-02   -.26994    
   3  Normalizat    1.1769        .95943E-01    .29396E-03   -.87320    
   4  Prefactor     .80052        .49626E-01    .18683E-03   -.99709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84718e-09
Minuit parameter uncertainties:
  1  11.0916
  2  36.9567
  3  0.0959575
  4  0.0496288
Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.080e-07  2.476e-03  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:  7.987e-01  7.914e-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.184e+00  1.535e-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: 6.32906659874e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0049060817575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31350999/likelihoodResults_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.9705593
delta logL = -0.0135738165991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12829.9456462
delta logL = 0.01133932624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12674       1.0000          .0000       .10000E+07
     2 'Index     '    3.6624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80037       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=   12829.95     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      265 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12653        .65759        .34335E-02** at limit **
   2  Index         3.6666        .27410        .50000        .41135E-05
   3  Normalizat    1.1769        .55731E-02    .66448E-01    .21868E-04
   4  Prefactor     .80052        .29957E-02    .43722E-01    .13290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.126533
  Index      = 3.66661
  Normalizat = 1.1769
  Prefactor  = 0.800524
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) = 12829.9456438
delta logL = 0.0113416668901

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.265e-01  1.109e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.667e+00  3.696e+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.005e-01  4.963e-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.177e+00  9.596e-02  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/31351451/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2026-07-11 10:42:29.447489', job_id='31351451', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783791749.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2180' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:42:29 PDT 2026

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

 FCN=   12829.96     FROM HESSE     STATUS=OK           383 CALLS     2044 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    17.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.6193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17062        .50581        .23884E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.690        9.6241        .13295E-03   -1.5557    
   5  Prefactor     .15543E-07    11.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .81716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.290        16.458        .15558E-03   -1.5579    
   8  norm          .33419E-02    6.6737        .14070E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20800E-06    7.3680        .66268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69629E-01    .93219        .71134E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2390        3.4670        .68536E-03   -1.5678    
  12  Prefactor     21.742        22.631        .21520E-03   -1.5615    
  13  Prefactor     11.468        8.7691        .29505E-03   -1.5640    
  14  Prefactor     .23981E-07    10.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12212E-08    9.1767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9839        3.4558        .50490E-03   -1.5668    
  17  Prefactor     4.9914        1.6447        .45001E-02   -1.5261    
  18  Prefactor     5.6114        7.1632        .42548E-03   -1.5661    
  19  norm          1.0569        .69826        .11953E-02   -1.5687    
  20  Normalizat    1.1837        .15345        .66278E-01   -.87109    
  21  Prefactor     .79868        .79124E-01    .43699E-01   -.99777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82445e-08
Minuit parameter uncertainties:
  1  0.000339692
  2  3.71711e-06
  3  0.505811
  4  9.62415
  5  0.000843449
  6  4.31454e-06
  7  16.4577
  8  0.298683
  9  0.00247578
  10  0.50954
  11  3.46698
  12  22.6313
  13  8.76915
  14  0.000999031
  15  0.00021251
  16  3.45581
  17  1.64467
  18  7.16322
  19  0.698263
  20  0.153512
  21  0.079135
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.95     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12653        243.05        .12293E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6666        6.8243        .43136E-02   -.26994    
   3  Normalizat    1.1769        .95943E-01    .29396E-03   -.87320    
   4  Prefactor     .80052        .49626E-01    .18683E-03   -.99709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84718e-09
Minuit parameter uncertainties:
  1  11.0916
  2  36.9567
  3  0.0959575
  4  0.0496288
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) = 12829.9456438
delta logL = 0.0113416668901

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.265e-01  1.109e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.667e+00  3.696e+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.005e-01  4.963e-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.177e+00  9.596e-02  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/31350999/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2026-07-11 10:42:33.189009', job_id='31350999', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783791753.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2180' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:42:33 PDT 2026

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

 FCN=   12829.96     FROM HESSE     STATUS=OK           383 CALLS     2044 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    17.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.6193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17062        .50581        .23884E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.690        9.6241        .13295E-03   -1.5557    
   5  Prefactor     .15543E-07    11.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .81716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.290        16.458        .15558E-03   -1.5579    
   8  norm          .33419E-02    6.6737        .14070E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20800E-06    7.3680        .66268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69629E-01    .93219        .71134E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2390        3.4670        .68536E-03   -1.5678    
  12  Prefactor     21.742        22.631        .21520E-03   -1.5615    
  13  Prefactor     11.468        8.7691        .29505E-03   -1.5640    
  14  Prefactor     .23981E-07    10.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12212E-08    9.1767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9839        3.4558        .50490E-03   -1.5668    
  17  Prefactor     4.9914        1.6447        .45001E-02   -1.5261    
  18  Prefactor     5.6114        7.1632        .42548E-03   -1.5661    
  19  norm          1.0569        .69826        .11953E-02   -1.5687    
  20  Normalizat    1.1837        .15345        .66278E-01   -.87109    
  21  Prefactor     .79868        .79124E-01    .43699E-01   -.99777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82445e-08
Minuit parameter uncertainties:
  1  0.000339692
  2  3.71711e-06
  3  0.505811
  4  9.62415
  5  0.000843449
  6  4.31454e-06
  7  16.4577
  8  0.298683
  9  0.00247578
  10  0.50954
  11  3.46698
  12  22.6313
  13  8.76915
  14  0.000999031
  15  0.00021251
  16  3.45581
  17  1.64467
  18  7.16322
  19  0.698263
  20  0.153512
  21  0.079135
Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.080e-07  2.476e-03  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:  7.987e-01  7.914e-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.184e+00  1.535e-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: 6.32906659874e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0049060817575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31351664/likelihoodResults_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.9705593
delta logL = -0.0135738165991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12829.9456462
delta logL = 0.01133932624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12674       1.0000          .0000       .10000E+07
     2 'Index     '    3.6624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80037       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=   12829.95     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      265 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12653        .65759        .34335E-02** at limit **
   2  Index         3.6666        .27410        .50000        .41135E-05
   3  Normalizat    1.1769        .55731E-02    .66448E-01    .21868E-04
   4  Prefactor     .80052        .29957E-02    .43722E-01    .13290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.126533
  Index      = 3.66661
  Normalizat = 1.1769
  Prefactor  = 0.800524
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.95     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12653        243.05        .12293E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6666        6.8243        .43136E-02   -.26994    
   3  Normalizat    1.1769        .95943E-01    .29396E-03   -.87320    
   4  Prefactor     .80052        .49626E-01    .18683E-03   -.99709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84718e-09
Minuit parameter uncertainties:
  1  11.0916
  2  36.9567
  3  0.0959575
  4  0.0496288
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) = 12829.9456438
delta logL = 0.0113416668901

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.265e-01  1.109e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.667e+00  3.696e+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.005e-01  4.963e-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.177e+00  9.596e-02  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/31351664/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2026-07-11 10:43:00.174998', job_id='31351664', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783791780.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2180' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:43:00 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.080e-07  2.476e-03  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:  7.987e-01  7.914e-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.184e+00  1.535e-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: 6.32906659874e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0049060817575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31351742/likelihoodResults_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.9705593
delta logL = -0.0135738165991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12829.9456462
delta logL = 0.01133932624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12674       1.0000          .0000       .10000E+07
     2 'Index     '    3.6624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80037       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=   12829.95     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      265 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12653        .65759        .34335E-02** at limit **
   2  Index         3.6666        .27410        .50000        .41135E-05
   3  Normalizat    1.1769        .55731E-02    .66448E-01    .21868E-04
   4  Prefactor     .80052        .29957E-02    .43722E-01    .13290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.126533
  Index      = 3.66661
  Normalizat = 1.1769
  Prefactor  = 0.800524
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.95     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12653        243.05        .12293E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6666        6.8243        .43136E-02   -.26994    
   3  Normalizat    1.1769        .95943E-01    .29396E-03   -.87320    
   4  Prefactor     .80052        .49626E-01    .18683E-03   -.99709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84718e-09
Minuit parameter uncertainties:
  1  11.0916
  2  36.9567
  3  0.0959575
  4  0.0496288
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) = 12829.9456438
delta logL = 0.0113416668901

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.265e-01  1.109e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.667e+00  3.696e+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.005e-01  4.963e-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.177e+00  9.596e-02  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/31351742/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2026-07-11 10:43:07.277921', job_id='31351742', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783791787.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2180' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:43:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.080e-07  2.476e-03  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:  7.987e-01  7.914e-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.184e+00  1.535e-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: 6.32906659874e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0049060817575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31351656/likelihoodResults_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.9705593
delta logL = -0.0135738165991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12829.9456462
delta logL = 0.01133932624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12674       1.0000          .0000       .10000E+07
     2 'Index     '    3.6624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80037       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=   12829.95     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      265 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12653        .65759        .34335E-02** at limit **
   2  Index         3.6666        .27410        .50000        .41135E-05
   3  Normalizat    1.1769        .55731E-02    .66448E-01    .21868E-04
   4  Prefactor     .80052        .29957E-02    .43722E-01    .13290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.126533
  Index      = 3.66661
  Normalizat = 1.1769
  Prefactor  = 0.800524
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.95     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12653        243.05        .12293E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6666        6.8243        .43136E-02   -.26994    
   3  Normalizat    1.1769        .95943E-01    .29396E-03   -.87320    
   4  Prefactor     .80052        .49626E-01    .18683E-03   -.99709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84718e-09
Minuit parameter uncertainties:
  1  11.0916
  2  36.9567
  3  0.0959575
  4  0.0496288
Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.080e-07  2.476e-03  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:  7.987e-01  7.914e-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.184e+00  1.535e-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: 6.32906659874e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0049060817575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31351896/likelihoodResults_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.9705593
delta logL = -0.0135738165991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12829.9456462
delta logL = 0.01133932624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12674       1.0000          .0000       .10000E+07
     2 'Index     '    3.6624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80037       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=   12829.95     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      265 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12653        .65759        .34335E-02** at limit **
   2  Index         3.6666        .27410        .50000        .41135E-05
   3  Normalizat    1.1769        .55731E-02    .66448E-01    .21868E-04
   4  Prefactor     .80052        .29957E-02    .43722E-01    .13290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.126533
  Index      = 3.66661
  Normalizat = 1.1769
  Prefactor  = 0.800524
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) = 12829.9456438
delta logL = 0.0113416668901

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.265e-01  1.109e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.667e+00  3.696e+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.005e-01  4.963e-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.177e+00  9.596e-02  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/31351656/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2026-07-11 10:43:29.803991', job_id='31351656', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783791809.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2180' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:43:29 PDT 2026

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

 FCN=   12829.95     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12653        243.05        .12293E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6666        6.8243        .43136E-02   -.26994    
   3  Normalizat    1.1769        .95943E-01    .29396E-03   -.87320    
   4  Prefactor     .80052        .49626E-01    .18683E-03   -.99709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84718e-09
Minuit parameter uncertainties:
  1  11.0916
  2  36.9567
  3  0.0959575
  4  0.0496288
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) = 12829.9456438
delta logL = 0.0113416668901

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.265e-01  1.109e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.667e+00  3.696e+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.005e-01  4.963e-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.177e+00  9.596e-02  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/31351896/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2026-07-11 10:43:33.585768', job_id='31351896', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783791813.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2180' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:43:33 PDT 2026

 outfile=/lscratch/kocevski/31352854/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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/31352854/ft2_4FGL_J1159.2-2227_daily_bin2180.fits
.....................!
real 7.48
user 7.06
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31352854/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31352854/ft2_4FGL_J1159.2-2227_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31352854/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits outfile=/lscratch/kocevski/31352854/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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/31352854/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
.....................!
real 60.58
user 56.41
sys 3.68

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/31352854/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits scfile=/lscratch/kocevski/31352854/ft2_4FGL_J1159.2-2227_daily_bin2180.fits outfile=/lscratch/kocevski/31352854/cmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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.61
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31352854/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits scfile=/lscratch/kocevski/31352854/ft2_4FGL_J1159.2-2227_daily_bin2180.fits outfile=/lscratch/kocevski/31352854/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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.50
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31352854/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31352854/ft2_4FGL_J1159.2-2227_daily_bin2180.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31352854/Model_4FGL_J1159.2-2227_daily_bin2180.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/31352854/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits.....................!
real 35.92
user 34.71
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31352854/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits', '/lscratch/kocevski/31352854/ft2_4FGL_J1159.2-2227_daily_bin2180.fits', expMap='/lscratch/kocevski/31352854/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', expCube='/lscratch/kocevski/31352854/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31352854/Model_4FGL_J1159.2-2227_daily_bin2180.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/31352854/ft1_filtered_4FGL_J1159.2-2227_daily_bin2180.fits
Spacecraft file(s): /lscratch/kocevski/31352854/ft2_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure map: /lscratch/kocevski/31352854/expmap_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
Exposure cube: /lscratch/kocevski/31352854/ltcube_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31352854/Model_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.997445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11027E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21283E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .17018       1.0000          .0000       .10000E+07
     4 'Prefactor '    56.579       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10039E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13378E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    41.320       1.0000          .0000       .10000E+07
     8 'norm      '    .94846E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17651E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .59440E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2464       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.606       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.509       1.0000          .0000       .10000E+07
    14 'Prefactor '    .33526E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45493E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9866       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9912       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5692       1.0000          .0000       .10000E+07
    19 'norm      '    1.0571       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1842       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79860       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=   12829.96     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1661 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16098E-08    17.675       -.13424E-05** at limit **
   2  Prefactor      .0000        1.6121        .21665E-07** at limit **
   3  norm          .17062        .70808       -.12420E-06** at limit **
   4  Prefactor     56.690        9.6251        .70892E-08   -.52393E-02
   5  Prefactor     .15543E-07    11.085       -.34296E-06** at limit **
   6  Prefactor      .0000        .81132        .79289E-07** at limit **
   7  Prefactor     41.290        4.0751       -.94329E-07    .13692E-01
   8  norm          .33419E-02    11.103        .75262E-06** at limit **
   9  Prefactor     .20800E-06    74.734        .37320E-05** at limit **
  10  norm          .69629E-01    17.994       -.10089E-05** at limit **
  11  Prefactor     2.2390        3.0704       -.91684E-07   -.78464E-03
  12  Prefactor     21.742        2.7024       -.57708E-07    .35907E-01
  13  Prefactor     11.468        8.7563       -.84493E-07   -.80357E-03
  14  Prefactor     .23981E-07    10.000        .81529E-06** at limit **
  15  Prefactor     .12212E-08    9.1290       -.25198E-06** at limit **
  16  Prefactor     3.9839        3.4554        .45735E-07    .61184E-03
  17  Prefactor     4.9914        1.6438        .67302E-07    .17699E-03
  18  Prefactor     5.6114        7.1380       -.95865E-07    .14123E-02
  19  norm          1.0569        .67771       -.90869E-07    .41309E-02
  20  Normalizat    1.1837        .17904        .70237E-06    .32707E-04
  21  Prefactor     .79868        .93917E-01   -.20868E-05   -.44115E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  norm       = 0.170622
  Prefactor  = 56.6905
  Prefactor  = 1.55431e-08
  Prefactor  = 0
  Prefactor  = 41.29
  norm       = 0.00334193
  Prefactor  = 2.08e-07
  norm       = 0.0696292
  Prefactor  = 2.23901
  Prefactor  = 21.7424
  Prefactor  = 11.4683
  Prefactor  = 2.39808e-08
  Prefactor  = 1.22125e-09
  Prefactor  = 3.98388
  Prefactor  = 4.99139
  Prefactor  = 5.61139
  norm       = 1.05693
  Normalizat = 1.18366
  Prefactor  = 0.798676
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.96     FROM HESSE     STATUS=OK           383 CALLS     2044 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    17.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.6193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17062        .50581        .23884E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.690        9.6241        .13295E-03   -1.5557    
   5  Prefactor     .15543E-07    11.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .81716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.290        16.458        .15558E-03   -1.5579    
   8  norm          .33419E-02    6.6737        .14070E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20800E-06    7.3680        .66268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69629E-01    .93219        .71134E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2390        3.4670        .68536E-03   -1.5678    
  12  Prefactor     21.742        22.631        .21520E-03   -1.5615    
  13  Prefactor     11.468        8.7691        .29505E-03   -1.5640    
  14  Prefactor     .23981E-07    10.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12212E-08    9.1767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9839        3.4558        .50490E-03   -1.5668    
  17  Prefactor     4.9914        1.6447        .45001E-02   -1.5261    
  18  Prefactor     5.6114        7.1632        .42548E-03   -1.5661    
  19  norm          1.0569        .69826        .11953E-02   -1.5687    
  20  Normalizat    1.1837        .15345        .66278E-01   -.87109    
  21  Prefactor     .79868        .79124E-01    .43699E-01   -.99777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82445e-08
Minuit parameter uncertainties:
  1  0.000339692
  2  3.71711e-06
  3  0.505811
  4  9.62415
  5  0.000843449
  6  4.31454e-06
  7  16.4577
  8  0.298683
  9  0.00247578
  10  0.50954
  11  3.46698
  12  22.6313
  13  8.76915
  14  0.000999031
  15  0.00021251
  16  3.45581
  17  1.64467
  18  7.16322
  19  0.698263
  20  0.153512
  21  0.079135
Done.

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

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  2.080e-07  2.476e-03  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:  7.987e-01  7.914e-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.184e+00  1.535e-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: 6.32906659874e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0049060817575 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31352854/likelihoodResults_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.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) = 12829.9705593
delta logL = -0.0135738165991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12829.9456462
delta logL = 0.01133932624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12674       1.0000          .0000       .10000E+07
     2 'Index     '    3.6624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80037       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=   12829.95     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      265 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12653        .65759        .34335E-02** at limit **
   2  Index         3.6666        .27410        .50000        .41135E-05
   3  Normalizat    1.1769        .55731E-02    .66448E-01    .21868E-04
   4  Prefactor     .80052        .29957E-02    .43722E-01    .13290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.126533
  Index      = 3.66661
  Normalizat = 1.1769
  Prefactor  = 0.800524
 **********
 **   18 **HESSE 
 **********

 FCN=   12829.95     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12653        243.05        .12293E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6666        6.8243        .43136E-02   -.26994    
   3  Normalizat    1.1769        .95943E-01    .29396E-03   -.87320    
   4  Prefactor     .80052        .49626E-01    .18683E-03   -.99709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84718e-09
Minuit parameter uncertainties:
  1  11.0916
  2  36.9567
  3  0.0959575
  4  0.0496288
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) = 12829.9456438
delta logL = 0.0113416668901

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  1.265e-01  1.109e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.667e+00  3.696e+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.005e-01  4.963e-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.177e+00  9.596e-02  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/31352854/cmap_HighResolution_804384001_804643201_4FGL_J1159.2-2227_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2026-07-11 10:47:17.066586', job_id='31352854', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783792037.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.13e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2180' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:47:17 PDT 2026

