 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
 **********
 **   18 **HESSE 
 **********

 FCN=   9459.858     FROM HESSE     STATUS=OK           367 CALLS     2002 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    25.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    3.9909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .59556        .76995        .69620E-03   -1.5693    
   4  Prefactor     21.778        9.2555        .21445E-03   -1.5615    
   5  Prefactor     75.423        38.864        .11501E-03   -1.5534    
   6  Prefactor     1.6515        2.9541        .82042E-03   -1.5682    
   7  Prefactor     37.826        17.266        .16259E-03   -1.5585    
   8  norm          2.7548        17.699        .61179E-03   -1.5675    
   9  Prefactor     .44409E-09    4.1599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .72569        2.8779        .56655E-03   -1.5691    
  11  Prefactor     .74046        2.9078        .56148E-03   -1.5691    
  12  Prefactor      .0000        30.331        .11518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.824        37.398        .23150E-03   -1.5621    
  15  Prefactor     20.256        16.171        .22241E-03   -1.5618    
  16  Prefactor     .16653E-09    2.4686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9351        2.0959        .38086E-02   -1.5181    
  18  Prefactor     10.186        10.057        .31378E-03   -1.5644    
  19  norm          .72226        .73427        .58885E-03   -1.5691    
  20  Normalizat    1.3249        .18683        .67228E-01   -.82825    
  21  Prefactor     .82948        .97283E-01    .44099E-01   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34655e-07
Minuit parameter uncertainties:
  1  0.000377812
  2  9.91289e-05
  3  0.769949
  4  9.25547
  5  38.8644
  6  2.95411
  7  17.2665
  8  13.9656
  9  8.70334e-05
  10  2.8779
  11  2.90777
  12  5.62667e-05
  13  2.10855e-05
  14  37.3985
  15  16.1713
  16  4.23879e-05
  17  2.09597
  18  10.0565
  19  0.734275
  20  0.186925
  21  0.0973036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31350040/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:39:01.207813', job_id='31350040', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791541.21', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:39:01 PDT 2026

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

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

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

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

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

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31349099/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********

 FCN=   9459.858     FROM HESSE     STATUS=OK           367 CALLS     2002 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    25.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    3.9909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .59556        .76995        .69620E-03   -1.5693    
   4  Prefactor     21.778        9.2555        .21445E-03   -1.5615    
   5  Prefactor     75.423        38.864        .11501E-03   -1.5534    
   6  Prefactor     1.6515        2.9541        .82042E-03   -1.5682    
   7  Prefactor     37.826        17.266        .16259E-03   -1.5585    
   8  norm          2.7548        17.699        .61179E-03   -1.5675    
   9  Prefactor     .44409E-09    4.1599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .72569        2.8779        .56655E-03   -1.5691    
  11  Prefactor     .74046        2.9078        .56148E-03   -1.5691    
  12  Prefactor      .0000        30.331        .11518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.824        37.398        .23150E-03   -1.5621    
  15  Prefactor     20.256        16.171        .22241E-03   -1.5618    
  16  Prefactor     .16653E-09    2.4686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9351        2.0959        .38086E-02   -1.5181    
  18  Prefactor     10.186        10.057        .31378E-03   -1.5644    
  19  norm          .72226        .73427        .58885E-03   -1.5691    
  20  Normalizat    1.3249        .18683        .67228E-01   -.82825    
  21  Prefactor     .82948        .97283E-01    .44099E-01   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34655e-07
Minuit parameter uncertainties:
  1  0.000377812
  2  9.91289e-05
  3  0.769949
  4  9.25547
  5  38.8644
  6  2.95411
  7  17.2665
  8  13.9656
  9  8.70334e-05
  10  2.8779
  11  2.90777
  12  5.62667e-05
  13  2.10855e-05
  14  37.3985
  15  16.1713
  16  4.23879e-05
  17  2.09597
  18  10.0565
  19  0.734275
  20  0.186925
  21  0.0973036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629

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

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31349099/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:39:15.123930', job_id='31349099', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791555.12', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:39:15 PDT 2026

Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31350192/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31350192/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:39:19.627000', job_id='31350192', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791559.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:39:19 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/31350818/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits.....................!
real 32.96
user 31.03
sys 1.55

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40858E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .59885E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .59563       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.756       1.0000          .0000       .10000E+07
     5 'Prefactor '    75.612       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6540       1.0000          .0000       .10000E+07
     7 'Prefactor '    37.835       1.0000          .0000       .10000E+07
     8 'norm      '    2.7653       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22116E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .75108       1.0000          .0000       .10000E+07
    11 'Prefactor '    .75763       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21483       1.0000          .0000       .10000E+07
    13 'Prefactor '    .61617E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.673       1.0000          .0000       .10000E+07
    15 'Prefactor '    20.229       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47419E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.181       1.0000          .0000       .10000E+07
    19 'norm      '    .72269       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3247       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82940       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=   9459.858     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1635 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    24.998        .91271E-06** at limit **
   2  Prefactor     .61062E-09    3.9788        .27168E-06** at limit **
   3  norm          .59556        .76080       -.37042E-07    .16385E-02
   4  Prefactor     21.778        8.7062        .68682E-06    .38792E-01
   5  Prefactor     75.423        25.083       -.10736E-05    .32404E-01
   6  Prefactor     1.6515        2.9322       -.22483E-06   -.33904E-02
   7  Prefactor     37.826        11.320       -.13371E-05    .81040E-01
   8  norm          2.7548        9.9641       -.51162E-05   -.15910E-01
   9  Prefactor     .44409E-09    4.0322       -.15540E-06** at limit **
  10  norm          .72569        2.8744       -.16889E-06    .74776E-03
  11  Prefactor     .74046        2.8847       -.40325E-06    .37112E-02
  12  Prefactor      .0000        1.1763       -.54206E-07** at limit **
  13  Prefactor      .0000        6.9682       -.64687E-06** at limit **
  14  Prefactor     18.824        27.476        .21558E-05    .39172E-02
  15  Prefactor     20.256        2.2010       -.35977E-06    .10127E-01
  16  Prefactor     .16653E-09    2.4796       -.80892E-07** at limit **
  17  Prefactor     6.9351        2.0969        .13374E-05    .25924E-03
  18  Prefactor     10.186        4.5818        .51134E-06    .59263E-01
  19  norm          .72226        .72901       -.10385E-07   -.33034E-02
  20  Normalizat    1.3249        .21731       -.30035E-05    .11183E-04
  21  Prefactor     .82948        .11493        .43731E-05    .65382E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Prefactor  = 6.10623e-10
  norm       = 0.59556
  Prefactor  = 21.7776
  Prefactor  = 75.4228
  Prefactor  = 1.6515
  Prefactor  = 37.8261
  norm       = 2.75484
  Prefactor  = 4.44089e-10
  norm       = 0.725694
  Prefactor  = 0.740464
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.8243
  Prefactor  = 20.2557
  Prefactor  = 1.66533e-10
  Prefactor  = 6.93508
  Prefactor  = 10.1861
  norm       = 0.722257
  Normalizat = 1.32493
  Prefactor  = 0.82948
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31350520/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31350545/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31350520/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:39:48.121714', job_id='31350520', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791588.12', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:39:48 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31350545/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:39:49.785544', job_id='31350545', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791589.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:39:49 PDT 2026

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

 FCN=   9459.858     FROM HESSE     STATUS=OK           367 CALLS     2002 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    25.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    3.9909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .59556        .76995        .69620E-03   -1.5693    
   4  Prefactor     21.778        9.2555        .21445E-03   -1.5615    
   5  Prefactor     75.423        38.864        .11501E-03   -1.5534    
   6  Prefactor     1.6515        2.9541        .82042E-03   -1.5682    
   7  Prefactor     37.826        17.266        .16259E-03   -1.5585    
   8  norm          2.7548        17.699        .61179E-03   -1.5675    
   9  Prefactor     .44409E-09    4.1599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .72569        2.8779        .56655E-03   -1.5691    
  11  Prefactor     .74046        2.9078        .56148E-03   -1.5691    
  12  Prefactor      .0000        30.331        .11518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.824        37.398        .23150E-03   -1.5621    
  15  Prefactor     20.256        16.171        .22241E-03   -1.5618    
  16  Prefactor     .16653E-09    2.4686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9351        2.0959        .38086E-02   -1.5181    
  18  Prefactor     10.186        10.057        .31378E-03   -1.5644    
  19  norm          .72226        .73427        .58885E-03   -1.5691    
  20  Normalizat    1.3249        .18683        .67228E-01   -.82825    
  21  Prefactor     .82948        .97283E-01    .44099E-01   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34655e-07
Minuit parameter uncertainties:
  1  0.000377812
  2  9.91289e-05
  3  0.769949
  4  9.25547
  5  38.8644
  6  2.95411
  7  17.2665
  8  13.9656
  9  8.70334e-05
  10  2.8779
  11  2.90777
  12  5.62667e-05
  13  2.10855e-05
  14  37.3985
  15  16.1713
  16  4.23879e-05
  17  2.09597
  18  10.0565
  19  0.734275
  20  0.186925
  21  0.0973036
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31349352/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31349352/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:40:03.661370', job_id='31349352', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791603.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:40:03 PDT 2026

Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31350605/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31350605/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:40:07.229052', job_id='31350605', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791607.23', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:40:07 PDT 2026

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


Performing analysis on: 4FGL_J1159.2-2227_daily_bin2177
RA = 179.811, Dec = -22.4605
tmin = 803606401, tmax = 803865601
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='31352242', job_status='RUN', time_executed='2026-07-11 10:39:14.743027', time_epoch_executed='1783791554.74' WHERE source_name='4FGL J1159.2-2227' and cadence='daily' and bin_id='2177'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31352242

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31352242/ft1_4FGL_J1159.2-2227_daily_bin2177.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31352242/ft2_4FGL_J1159.2-2227_daily_bin2177.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31352242/ft1_4FGL_J1159.2-2227_daily_bin2177.fits outfile=/lscratch/kocevski/31352242/ft1_filteredMKT_4FGL_J1159.2-2227_daily_bin2177.fits ra=179.811 dec=-22.4605 rad=12.0 tmin=803606401.0 tmax=803865601.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.78
user 1.49
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31352242/ft2_4FGL_J1159.2-2227_daily_bin2177.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/31352242/ft1_filteredMKT_4FGL_J1159.2-2227_daily_bin2177.fits evtable="EVENTS" outfile="/lscratch/kocevski/31352242/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.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.51
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 892

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31352242/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31352242/ft2_4FGL_J1159.2-2227_daily_bin2177.fits sctable="SC_DATA" e GAL_V02
Working on...
/lscratch/kocevski/31350939/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits.....................!
real 33.88
user 31.81
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40858E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .59885E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .59563       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.756       1.0000          .0000       .10000E+07
     5 'Prefactor '    75.612       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6540       1.0000          .0000       .10000E+07
     7 'Prefactor '    37.835       1.0000          .0000       .10000E+07
     8 'norm      '    2.7653       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22116E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .75108       1.0000          .0000       .10000E+07
    11 'Prefactor '    .75763       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21483       1.0000          .0000       .10000E+07
    13 'Prefactor '    .61617E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.673       1.0000          .0000       .10000E+07
    15 'Prefactor '    20.229       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47419E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.181       1.0000          .0000       .10000E+07
    19 'norm      '    .72269       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3247       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82940       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=   9459.858     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1635 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    24.998        .91271E-06** at limit **
   2  Prefactor     .61062E-09    3.9788        .27168E-06** at limit **
   3  norm          .59556        .76080       -.37042E-07    .16385E-02
   4  Prefactor     21.778        8.7062        .68682E-06    .38792E-01
   5  Prefactor     75.423        25.083       -.10736E-05    .32404E-01
   6  Prefactor     1.6515        2.9322       -.22483E-06   -.33904E-02
   7  Prefactor     37.826        11.320       -.13371E-05    .81040E-01
   8  norm          2.7548        9.9641       -.51162E-05   -.15910E-01
   9  Prefactor     .44409E-09    4.0322       -.15540E-06** at limit **
  10  norm          .72569        2.8744       -.16889E-06    .74776E-03
  11  Prefactor     .74046        2.8847       -.40325E-06    .37112E-02
  12  Prefactor      .0000        1.1763       -.54206E-07** at limit **
  13  Prefactor      .0000        6.9682       -.64687E-06** at limit **
  14  Prefactor     18.824        27.476        .21558E-05    .39172E-02
  15  Prefactor     20.256        2.2010       -.35977E-06    .10127E-01
  16  Prefactor     .16653E-09    2.4796       -.80892E-07** at limit **
  17  Prefactor     6.9351        2.0969        .13374E-05    .25924E-03
  18  Prefactor     10.186        4.5818        .51134E-06    .59263E-01
  19  norm          .72226        .72901       -.10385E-07   -.33034E-02
  20  Normalizat    1.3249        .21731       -.30035E-05    .11183E-04
  21  Prefactor     .82948        .11493        .43731E-05    .65382E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Prefactor  = 6.10623e-10
  norm       = 0.59556
  Prefactor  = 21.7776
  Prefactor  = 75.4228
  Prefactor  = 1.6515
  Prefactor  = 37.8261
  norm       = 2.75484
  Prefactor  = 4.44089e-10
  norm       = 0.725694
  Prefactor  = 0.740464
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.8243
  Prefactor  = 20.2557
  Prefactor  = 1.66533e-10
  Prefactor  = 6.93508
  Prefactor  = 10.1861
  norm       = 0.722257
  Normalizat = 1.32493
  Prefactor  = 0.82948
e GAL_V02
Working on...
/lscratch/kocevski/31350932/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits.....................!
real 33.89
user 31.98
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40858E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .59885E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .59563       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.756       1.0000          .0000       .10000E+07
     5 'Prefactor '    75.612       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6540       1.0000          .0000       .10000E+07
     7 'Prefactor '    37.835       1.0000          .0000       .10000E+07
     8 'norm      '    2.7653       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22116E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .75108       1.0000          .0000       .10000E+07
    11 'Prefactor '    .75763       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21483       1.0000          .0000       .10000E+07
    13 'Prefactor '    .61617E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.673       1.0000          .0000       .10000E+07
    15 'Prefactor '    20.229       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47419E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.181       1.0000          .0000       .10000E+07
    19 'norm      '    .72269       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3247       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82940       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=   9459.858     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1635 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    24.998        .91271E-06** at limit **
   2  Prefactor     .61062E-09    3.9788        .27168E-06** at limit **
   3  norm          .59556        .76080       -.37042E-07    .16385E-02
   4  Prefactor     21.778        8.7062        .68682E-06    .38792E-01
   5  Prefactor     75.423        25.083       -.10736E-05    .32404E-01
   6  Prefactor     1.6515        2.9322       -.22483E-06   -.33904E-02
   7  Prefactor     37.826        11.320       -.13371E-05    .81040E-01
   8  norm          2.7548        9.9641       -.51162E-05   -.15910E-01
   9  Prefactor     .44409E-09    4.0322       -.15540E-06** at limit **
  10  norm          .72569        2.8744       -.16889E-06    .74776E-03
  11  Prefactor     .74046        2.8847       -.40325E-06    .37112E-02
  12  Prefactor      .0000        1.1763       -.54206E-07** at limit **
  13  Prefactor      .0000        6.9682       -.64687E-06** at limit **
  14  Prefactor     18.824        27.476        .21558E-05    .39172E-02
  15  Prefactor     20.256        2.2010       -.35977E-06    .10127E-01
  16  Prefactor     .16653E-09    2.4796       -.80892E-07** at limit **
  17  Prefactor     6.9351        2.0969        .13374E-05    .25924E-03
  18  Prefactor     10.186        4.5818        .51134E-06    .59263E-01
  19  norm          .72226        .72901       -.10385E-07   -.33034E-02
  20  Normalizat    1.3249        .21731       -.30035E-05    .11183E-04
  21  Prefactor     .82948        .11493        .43731E-05    .65382E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Prefactor  = 6.10623e-10
  norm       = 0.59556
  Prefactor  = 21.7776
  Prefactor  = 75.4228
  Prefactor  = 1.6515
  Prefactor  = 37.8261
  norm       = 2.75484
  Prefactor  = 4.44089e-10
  norm       = 0.725694
  Prefactor  = 0.740464
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.8243
  Prefactor  = 20.2557
  Prefactor  = 1.66533e-10
  Prefactor  = 6.93508
  Prefactor  = 10.1861
  norm       = 0.722257
  Normalizat = 1.32493
  Prefactor  = 0.82948
rce GAL_V02
Working on...
/lscratch/kocevski/31351345/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits.....................!
real 35.44
user 33.29
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40858E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .59885E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .59563       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.756       1.0000          .0000       .10000E+07
     5 'Prefactor '    75.612       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6540       1.0000          .0000       .10000E+07
     7 'Prefactor '    37.835       1.0000          .0000       .10000E+07
     8 'norm      '    2.7653       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22116E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .75108       1.0000          .0000       .10000E+07
    11 'Prefactor '    .75763       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21483       1.0000          .0000       .10000E+07
    13 'Prefactor '    .61617E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.673       1.0000          .0000       .10000E+07
    15 'Prefactor '    20.229       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47419E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.181       1.0000          .0000       .10000E+07
    19 'norm      '    .72269       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3247       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82940       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=   9459.858     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1635 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    24.998        .91271E-06** at limit **
   2  Prefactor     .61062E-09    3.9788        .27168E-06** at limit **
   3  norm          .59556        .76080       -.37042E-07    .16385E-02
   4  Prefactor     21.778        8.7062        .68682E-06    .38792E-01
   5  Prefactor     75.423        25.083       -.10736E-05    .32404E-01
   6  Prefactor     1.6515        2.9322       -.22483E-06   -.33904E-02
   7  Prefactor     37.826        11.320       -.13371E-05    .81040E-01
   8  norm          2.7548        9.9641       -.51162E-05   -.15910E-01
   9  Prefactor     .44409E-09    4.0322       -.15540E-06** at limit **
  10  norm          .72569        2.8744       -.16889E-06    .74776E-03
  11  Prefactor     .74046        2.8847       -.40325E-06    .37112E-02
  12  Prefactor      .0000        1.1763       -.54206E-07** at limit **
  13  Prefactor      .0000        6.9682       -.64687E-06** at limit **
  14  Prefactor     18.824        27.476        .21558E-05    .39172E-02
  15  Prefactor     20.256        2.2010       -.35977E-06    .10127E-01
  16  Prefactor     .16653E-09    2.4796       -.80892E-07** at limit **
  17  Prefactor     6.9351        2.0969        .13374E-05    .25924E-03
  18  Prefactor     10.186        4.5818        .51134E-06    .59263E-01
  19  norm          .72226        .72901       -.10385E-07   -.33034E-02
  20  Normalizat    1.3249        .21731       -.30035E-05    .11183E-04
  21  Prefactor     .82948        .11493        .43731E-05    .65382E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Prefactor  = 6.10623e-10
  norm       = 0.59556
  Prefactor  = 21.7776
  Prefactor  = 75.4228
  Prefactor  = 1.6515
  Prefactor  = 37.8261
  norm       = 2.75484
  Prefactor  = 4.44089e-10
  norm       = 0.725694
  Prefactor  = 0.740464
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.8243
  Prefactor  = 20.2557
  Prefactor  = 1.66533e-10
  Prefactor  = 6.93508
  Prefactor  = 10.1861
  norm       = 0.722257
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********

 FCN=   9459.858     FROM HESSE     STATUS=OK           367 CALLS     2002 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    25.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    3.9909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .59556        .76995        .69620E-03   -1.5693    
   4  Prefactor     21.778        9.2555        .21445E-03   -1.5615    
   5  Prefactor     75.423        38.864        .11501E-03   -1.5534    
   6  Prefactor     1.6515        2.9541        .82042E-03   -1.5682    
   7  Prefactor     37.826        17.266        .16259E-03   -1.5585    
   8  norm          2.7548        17.699        .61179E-03   -1.5675    
   9  Prefactor     .44409E-09    4.1599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .72569        2.8779        .56655E-03   -1.5691    
  11  Prefactor     .74046        2.9078        .56148E-03   -1.5691    
  12  Prefactor      .0000        30.331        .11518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.824        37.398        .23150E-03   -1.5621    
  15  Prefactor     20.256        16.171        .22241E-03   -1.5618    
  16  Prefactor     .16653E-09    2.4686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9351        2.0959        .38086E-02   -1.5181    
  18  Prefactor     10.186        10.057        .31378E-03   -1.5644    
  19  norm          .72226        .73427        .58885E-03   -1.5691    
  20  Normalizat    1.3249        .18683        .67228E-01   -.82825    
  21  Prefactor     .82948        .97283E-01    .44099E-01   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34655e-07
Minuit parameter uncertainties:
  1  0.000377812
  2  9.91289e-05
  3  0.769949
  4  9.25547
  5  38.8644
  6  2.95411
  7  17.2665
  8  13.9656
  9  8.70334e-05
  10  2.8779
  11  2.90777
  12  5.62667e-05
  13  2.10855e-05
  14  37.3985
  15  16.1713
  16  4.23879e-05
  17  2.09597
  18  10.0565
  19  0.734275
  20  0.186925
  21  0.0973036
 **********
 **   18 **HESSE 
 **********

 FCN=   9459.858     FROM HESSE     STATUS=OK           367 CALLS     2002 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    25.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    3.9909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .59556        .76995        .69620E-03   -1.5693    
   4  Prefactor     21.778        9.2555        .21445E-03   -1.5615    
   5  Prefactor     75.423        38.864        .11501E-03   -1.5534    
   6  Prefactor     1.6515        2.9541        .82042E-03   -1.5682    
   7  Prefactor     37.826        17.266        .16259E-03   -1.5585    
   8  norm          2.7548        17.699        .61179E-03   -1.5675    
   9  Prefactor     .44409E-09    4.1599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .72569        2.8779        .56655E-03   -1.5691    
  11  Prefactor     .74046        2.9078        .56148E-03   -1.5691    
  12  Prefactor      .0000        30.331        .11518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.824        37.398        .23150E-03   -1.5621    
  15  Prefactor     20.256        16.171        .22241E-03   -1.5618    
  16  Prefactor     .16653E-09    2.4686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9351        2.0959        .38086E-02   -1.5181    
  18  Prefactor     10.186        10.057        .31378E-03   -1.5644    
  19  norm          .72226        .73427        .58885E-03   -1.5691    
  20  Normalizat    1.3249        .18683        .67228E-01   -.82825    
  21  Prefactor     .82948        .97283E-01    .44099E-01   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34655e-07
Minuit parameter uncertainties:
  1  0.000377812
  2  9.91289e-05
  3  0.769949
  4  9.25547
  5  38.8644
  6  2.95411
  7  17.2665
  8  13.9656
  9  8.70334e-05
  10  2.8779
  11  2.90777
  12  5.62667e-05
  13  2.10855e-05
  14  37.3985
  15  16.1713
  16  4.23879e-05
  17  2.09597
  18  10.0565
  19  0.734275
  20  0.186925
  21  0.0973036
e GAL_V02
Working on...
/lscratch/kocevski/31351413/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits.....................!
real 33.19
user 32.15
sys 0.65

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40858E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .59885E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .59563       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.756       1.0000          .0000       .10000E+07
     5 'Prefactor '    75.612       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6540       1.0000          .0000       .10000E+07
     7 'Prefactor '    37.835       1.0000          .0000       .10000E+07
     8 'norm      '    2.7653       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22116E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .75108       1.0000          .0000       .10000E+07
    11 'Prefactor '    .75763       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21483       1.0000          .0000       .10000E+07
    13 'Prefactor '    .61617E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.673       1.0000          .0000       .10000E+07
    15 'Prefactor '    20.229       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47419E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.181       1.0000          .0000       .10000E+07
    19 'norm      '    .72269       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3247       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82940       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=   9459.858     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1635 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    24.998        .91271E-06** at limit **
   2  Prefactor     .61062E-09    3.9788        .27168E-06** at limit **
   3  norm          .59556        .76080       -.37042E-07    .16385E-02
   4  Prefactor     21.778        8.7062        .68682E-06    .38792E-01
   5  Prefactor     75.423        25.083       -.10736E-05    .32404E-01
   6  Prefactor     1.6515        2.9322       -.22483E-06   -.33904E-02
   7  Prefactor     37.826        11.320       -.13371E-05    .81040E-01
   8  norm          2.7548        9.9641       -.51162E-05   -.15910E-01
   9  Prefactor     .44409E-09    4.0322       -.15540E-06** at limit **
  10  norm          .72569        2.8744       -.16889E-06    .74776E-03
  11  Prefactor     .74046        2.8847       -.40325E-06    .37112E-02
  12  Prefactor      .0000        1.1763       -.54206E-07** at limit **
  13  Prefactor      .0000        6.9682       -.64687E-06** at limit **
  14  Prefactor     18.824        27.476        .21558E-05    .39172E-02
  15  Prefactor     20.256        2.2010       -.35977E-06    .10127E-01
  16  Prefactor     .16653E-09    2.4796       -.80892E-07** at limit **
  17  Prefactor     6.9351        2.0969        .13374E-05    .25924E-03
  18  Prefactor     10.186        4.5818        .51134E-06    .59263E-01
  19  norm          .72226        .72901       -.10385E-07   -.33034E-02
  20  Normalizat    1.3249        .21731       -.30035E-05    .11183E-04
  21  Prefactor     .82948        .11493        .43731E-05    .65382E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Prefactor  = 6.10623e-10
  norm       = 0.59556
  Prefactor  = 21.7776
  Prefactor  = 75.4228
  Prefactor  = 1.6515
  Prefactor  = 37.8261
  norm       = 2.75484
  Prefactor  = 4.44089e-10
  norm       = 0.725694
  Prefactor  = 0.740464
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.8243
  Prefactor  = 20.2557
  Prefactor  = 1.66533e-10
  Prefactor  = 6.93508
  Prefactor  = 10.1861
  norm       = 0.722257
  Normalizat = 1.32493
  Prefactor  = 0.82948
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31350818/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31350818/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:40:45.789965', job_id='31350818', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791645.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:40:45 PDT 2026

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

 FCN=   9459.858     FROM HESSE     STATUS=OK           367 CALLS     2002 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    25.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    3.9909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .59556        .76995        .69620E-03   -1.5693    
   4  Prefactor     21.778        9.2555        .21445E-03   -1.5615    
   5  Prefactor     75.423        38.864        .11501E-03   -1.5534    
   6  Prefactor     1.6515        2.9541        .82042E-03   -1.5682    
   7  Prefactor     37.826        17.266        .16259E-03   -1.5585    
   8  norm          2.7548        17.699        .61179E-03   -1.5675    
   9  Prefactor     .44409E-09    4.1599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .72569        2.8779        .56655E-03   -1.5691    
  11  Prefactor     .74046        2.9078        .56148E-03   -1.5691    
  12  Prefactor      .0000        30.331        .11518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.824        37.398        .23150E-03   -1.5621    
  15  Prefactor     20.256        16.171        .22241E-03   -1.5618    
  16  Prefactor     .16653E-09    2.4686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9351        2.0959        .38086E-02   -1.5181    
  18  Prefactor     10.186        10.057        .31378E-03   -1.5644    
  19  norm          .72226        .73427        .58885E-03   -1.5691    
  20  Normalizat    1.3249        .18683        .67228E-01   -.82825    
  21  Prefactor     .82948        .97283E-01    .44099E-01   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34655e-07
Minuit parameter uncertainties:
  1  0.000377812
  2  9.91289e-05
  3  0.769949
  4  9.25547
  5  38.8644
  6  2.95411
  7  17.2665
  8  13.9656
  9  8.70334e-05
  10  2.8779
  11  2.90777
  12  5.62667e-05
  13  2.10855e-05
  14  37.3985
  15  16.1713
  16  4.23879e-05
  17  2.09597
  18  10.0565
  19  0.734275
  20  0.186925
  21  0.0973036
 **********
 **   18 **HESSE 
 **********

 FCN=   9459.858     FROM HESSE     STATUS=OK           367 CALLS     2002 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    25.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    3.9909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .59556        .76995        .69620E-03   -1.5693    
   4  Prefactor     21.778        9.2555        .21445E-03   -1.5615    
   5  Prefactor     75.423        38.864        .11501E-03   -1.5534    
   6  Prefactor     1.6515        2.9541        .82042E-03   -1.5682    
   7  Prefactor     37.826        17.266        .16259E-03   -1.5585    
   8  norm          2.7548        17.699        .61179E-03   -1.5675    
   9  Prefactor     .44409E-09    4.1599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .72569        2.8779        .56655E-03   -1.5691    
  11  Prefactor     .74046        2.9078        .56148E-03   -1.5691    
  12  Prefactor      .0000        30.331        .11518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.824        37.398        .23150E-03   -1.5621    
  15  Prefactor     20.256        16.171        .22241E-03   -1.5618    
  16  Prefactor     .16653E-09    2.4686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9351        2.0959        .38086E-02   -1.5181    
  18  Prefactor     10.186        10.057        .31378E-03   -1.5644    
  19  norm          .72226        .73427        .58885E-03   -1.5691    
  20  Normalizat    1.3249        .18683        .67228E-01   -.82825    
  21  Prefactor     .82948        .97283E-01    .44099E-01   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34655e-07
Minuit parameter uncertainties:
  1  0.000377812
  2  9.91289e-05
  3  0.769949
  4  9.25547
  5  38.8644
  6  2.95411
  7  17.2665
  8  13.9656
  9  8.70334e-05
  10  2.8779
  11  2.90777
  12  5.62667e-05
  13  2.10855e-05
  14  37.3985
  15  16.1713
  16  4.23879e-05
  17  2.09597
  18  10.0565
  19  0.734275
  20  0.186925
  21  0.0973036
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31350939/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31350932/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31350939/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:41:24.888710', job_id='31350939', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791684.89', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:41:25 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31350932/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:41:26.634724', job_id='31350932', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791686.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:41:26 PDT 2026

Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31351345/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31351345/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:41:48.077834', job_id='31351345', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791708.08', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:41:48 PDT 2026

Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31351413/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31351413/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:41:58.246058', job_id='31351413', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791718.25', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:41:58 PDT 2026

outfile=/lscratch/kocevski/31352242/ltcube_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.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/31352242/ft2_4FGL_J1159.2-2227_daily_bin2177.fits
.....................!
real 8.01
user 7.57
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31352242/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/31352242/ft2_4FGL_J1159.2-2227_daily_bin2177.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31352242/ltcube_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.fits outfile=/lscratch/kocevski/31352242/expmap_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.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/31352242/ltcube_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.fits
.....................!
real 71.52
user 65.85
sys 4.27

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/31352242/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits scfile=/lscratch/kocevski/31352242/ft2_4FGL_J1159.2-2227_daily_bin2177.fits outfile=/lscratch/kocevski/31352242/cmap_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.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.52
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31352242/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits scfile=/lscratch/kocevski/31352242/ft2_4FGL_J1159.2-2227_daily_bin2177.fits outfile=/lscratch/kocevski/31352242/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.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.49
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31352242/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits evtable="EVENTS" scfile=/lscratch/kocevski/31352242/ft2_4FGL_J1159.2-2227_daily_bin2177.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31352242/Model_4FGL_J1159.2-2227_daily_bin2177.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/31352242/ft1_filtered_4FGL_J1159.2-2227_daily_bin2177.fits.....................!
real 34.55
user 32.20
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40858E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .59885E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .59563       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.756       1.0000          .0000       .10000E+07
     5 'Prefactor '    75.612       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6540       1.0000          .0000       .10000E+07
     7 'Prefactor '    37.835       1.0000          .0000       .10000E+07
     8 'norm      '    2.7653       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22116E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .75108       1.0000          .0000       .10000E+07
    11 'Prefactor '    .75763       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21483       1.0000          .0000       .10000E+07
    13 'Prefactor '    .61617E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.673       1.0000          .0000       .10000E+07
    15 'Prefactor '    20.229       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47419E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.181       1.0000          .0000       .10000E+07
    19 'norm      '    .72269       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3247       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82940       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=   9459.858     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1635 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    24.998        .91271E-06** at limit **
   2  Prefactor     .61062E-09    3.9788        .27168E-06** at limit **
   3  norm          .59556        .76080       -.37042E-07    .16385E-02
   4  Prefactor     21.778        8.7062        .68682E-06    .38792E-01
   5  Prefactor     75.423        25.083       -.10736E-05    .32404E-01
   6  Prefactor     1.6515        2.9322       -.22483E-06   -.33904E-02
   7  Prefactor     37.826        11.320       -.13371E-05    .81040E-01
   8  norm          2.7548        9.9641       -.51162E-05   -.15910E-01
   9  Prefactor     .44409E-09    4.0322       -.15540E-06** at limit **
  10  norm          .72569        2.8744       -.16889E-06    .74776E-03
  11  Prefactor     .74046        2.8847       -.40325E-06    .37112E-02
  12  Prefactor      .0000        1.1763       -.54206E-07** at limit **
  13  Prefactor      .0000        6.9682       -.64687E-06** at limit **
  14  Prefactor     18.824        27.476        .21558E-05    .39172E-02
  15  Prefactor     20.256        2.2010       -.35977E-06    .10127E-01
  16  Prefactor     .16653E-09    2.4796       -.80892E-07** at limit **
  17  Prefactor     6.9351        2.0969        .13374E-05    .25924E-03
  18  Prefactor     10.186        4.5818        .51134E-06    .59263E-01
  19  norm          .72226        .72901       -.10385E-07   -.33034E-02
  20  Normalizat    1.3249        .21731       -.30035E-05    .11183E-04
  21  Prefactor     .82948        .11493        .43731E-05    .65382E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Prefactor  = 6.10623e-10
  norm       = 0.59556
  Prefactor  = 21.7776
  Prefactor  = 75.4228
  Prefactor  = 1.6515
  Prefactor  = 37.8261
  norm       = 2.75484
  Prefactor  = 4.44089e-10
  norm       = 0.725694
  Prefactor  = 0.740464
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.8243
  Prefactor  = 20.2557
  Prefactor  = 1.66533e-10
  Prefactor  = 6.93508
  Prefactor  = 10.1861
  norm       = 0.722257
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********

 FCN=   9459.858     FROM HESSE     STATUS=OK           367 CALLS     2002 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    25.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    3.9909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .59556        .76995        .69620E-03   -1.5693    
   4  Prefactor     21.778        9.2555        .21445E-03   -1.5615    
   5  Prefactor     75.423        38.864        .11501E-03   -1.5534    
   6  Prefactor     1.6515        2.9541        .82042E-03   -1.5682    
   7  Prefactor     37.826        17.266        .16259E-03   -1.5585    
   8  norm          2.7548        17.699        .61179E-03   -1.5675    
   9  Prefactor     .44409E-09    4.1599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .72569        2.8779        .56655E-03   -1.5691    
  11  Prefactor     .74046        2.9078        .56148E-03   -1.5691    
  12  Prefactor      .0000        30.331        .11518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.824        37.398        .23150E-03   -1.5621    
  15  Prefactor     20.256        16.171        .22241E-03   -1.5618    
  16  Prefactor     .16653E-09    2.4686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9351        2.0959        .38086E-02   -1.5181    
  18  Prefactor     10.186        10.057        .31378E-03   -1.5644    
  19  norm          .72226        .73427        .58885E-03   -1.5691    
  20  Normalizat    1.3249        .18683        .67228E-01   -.82825    
  21  Prefactor     .82948        .97283E-01    .44099E-01   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34655e-07
Minuit parameter uncertainties:
  1  0.000377812
  2  9.91289e-05
  3  0.769949
  4  9.25547
  5  38.8644
  6  2.95411
  7  17.2665
  8  13.9656
  9  8.70334e-05
  10  2.8779
  11  2.90777
  12  5.62667e-05
  13  2.10855e-05
  14  37.3985
  15  16.1713
  16  4.23879e-05
  17  2.09597
  18  10.0565
  19  0.734275
  20  0.186925
  21  0.0973036
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  8.295e-01  9.730e-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.325e+00  1.869e-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.08289095036e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0047152545891 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31352242/likelihoodResults_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.85873759
delta logL = -0.000237606074734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9459.8585
delta logL = -1.28911779029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .49907       1.0000          .0000       10.000    
     3 'Normalizat'    1.3249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82948       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      250 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3134        .42118E-03** at limit **
   2  Index         3.2427        1.8082        .50182E-04     .0000    
   3  Normalizat    1.3249        1.0744       -.59287E-05    .25582E-04
   4  Prefactor     .82948        1.1772        .26324E-05    .84475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24274
  Normalizat = 1.32493
  Prefactor  = 0.82948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9459.858     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1812        2.1979        .50182E-04   -.35912    
   3  Normalizat    1.3249        1.0744       -.59287E-05   -.82825    
   4  Prefactor     .82948        1.1772        .26324E-05   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.09514e-12
Minuit parameter uncertainties:
  1  4.70517e-06
  2  1.85646
  3  1.09337
  4  1.21629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9459.85849998
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1159.2-2227
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  4.705e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.243e+00  1.856e+00  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.295e-01  1.216e+00  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.325e+00  1.093e+00  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/31352242/cmap_HighResolution_803606401_803865601_4FGL_J1159.2-2227_daily_bin2177.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2026-07-11 10:45:23.476029', job_id='31352242', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1783791923.48', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2177' AND source_name='4FGL J1159.2-2227' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 11 10:45:23 PDT 2026

