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

 FCN=   9121.850     FROM HESSE     STATUS=OK           269 CALLS     1613 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10097E-06    12.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.437        8.6297        .28377E-03   -1.5637    
   3  Prefactor     .27397E-03    2.6314        .55384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7701        3.0147        .61120E-03   -1.5675    
   5  Prefactor     .14155E-07    3.3802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10031E-06    17.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .49905E-07    5.8638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.009        6.6262        .20396E-03   -1.5610    
   9  Prefactor     .29587E-07    5.6154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2176        4.5029        .56958E-03   -1.5672    
  11  Prefactor     23.271        13.056        .20679E-03   -1.5611    
  12  Prefactor     .45419E-05    42.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     67.908        56.654        .12354E-03   -1.5543    
  14  norm          8.5859        4.0244        .34218E-03   -1.5649    
  15  norm          .23747E-01    .36572        .21337E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67635        .17874        .76799E-01   -1.0483    
  17  Prefactor     1.1719        .11786        .35334E-01   -.87201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94334e-07
Minuit parameter uncertainties:
  1  0.00221495
  2  8.62974
  3  0.0537006
  4  3.01466
  5  0.0004377
  6  0.00261316
  7  0.00108202
  8  6.62617
  9  0.00081539
  10  4.50293
  11  13.0564
  12  0.02774
  13  56.6548
  14  4.02436
  15  0.186382
  16  0.178899
  17  0.117882
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Done.

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

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  2.959e-08  8.154e-04  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.181e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.172e+00  1.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  6.763e-01  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 329.527 -15.024
Photon Flux Upper Limit: 4.75202835853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361554107955 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39306037/likelihoodResults_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9121.8508928
delta logL = -0.00127075569981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9120.14946269
delta logL = 1.70015935929

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83666E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .56375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2241       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9121.850     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      887 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5529        .42118E-03** at limit **
   2  Index         2.1539        1.2962       -.11453E-04     .0000    
   3  Normalizat    .67634        .98076       -.32844E-04    .29131E-04
   4  Prefactor     1.1719        1.0752       -.56432E-08    .16299E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.15387
  Normalizat = 0.676344
  Prefactor  = 1.17187
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9121.850     FROM HESSE     STATUS=FAILED         9 CALLS      896 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5529        .42118E-03   -259.18    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .50921        1.7898       -.11453E-04    50340.    
   3  Normalizat    .67634        .98076       -.32844E-04    86.916    
   4  Prefactor     1.1719        1.0752       -.56432E-08    98.261    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.83326e-12
Minuit parameter uncertainties:
  1  1.09001e-05
  2  1.31868
  3  1.00801
  4  1.0963
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) = 9121.84962204
delta logL = 2.68119038083e-09

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  1.090e-05  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.154e+00  1.319e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.172e+00  1.096e+00  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  6.763e-01  1.008e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 329.527 -15.024

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/39306037/cmap_HighResolution_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2026-09-27 18:37:55.864174', job_id='39306037', GAL2='1.17', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1790559475.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='2.68e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2209' AND source_name='4FGL J2158.1-1501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 18:37:56 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39306078/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits.....................!
real 33.49
user 31.73
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39306078/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits', '/lscratch/kocevski/39306078/ft2_4FGL_J2158.1-1501_daily_bin2209.fits', expMap='/lscratch/kocevski/39306078/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits', expCube='/lscratch/kocevski/39306078/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39306078/Model_4FGL_J2158.1-1501_daily_bin2209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2158.1-1501'

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  6.798e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.181e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39306078/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits
Spacecraft file(s): /lscratch/kocevski/39306078/ft2_4FGL_J2158.1-1501_daily_bin2209.fits
Exposure map: /lscratch/kocevski/39306078/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
Exposure cube: /lscratch/kocevski/39306078/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39306078/Model_4FGL_J2158.1-1501_daily_bin2209.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) = 9121.92360848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38972E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.439       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55992E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7703       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14056E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48586E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .60982E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    24.050       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20191E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1635       1.0000          .0000       .10000E+07
    11 'Prefactor '    23.395       1.0000          .0000       .10000E+07
    12 'Prefactor '    .51225E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    65.535       1.0000          .0000       .10000E+07
    14 'norm      '    8.5701       1.0000          .0000       .10000E+07
    15 'norm      '    .25056E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    .67712       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9121.850     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     1344 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10097E-06    12.058        .27499E-05** at limit **
   2  Prefactor     12.437        8.6251        .73308E-07   -.42122E-02
   3  Prefactor     .27397E-03    9.0875        .27221E-05** at limit **
   4  Prefactor     2.7701        3.0071       -.16726E-06    .45501E-02
   5  Prefactor     .14155E-07    3.3740        .50487E-06** at limit **
   6  Prefactor     .10031E-06    17.095        .29593E-06** at limit **
   7  norm          .49905E-07    5.8976       -.20233E-06** at limit **
   8  Prefactor     24.009        6.6067        .37384E-06    .57894E-02
   9  Prefactor     .29587E-07    5.5923        .21132E-05** at limit **
  10  Prefactor     3.2176        4.4856       -.29674E-06   -.34992E-02
  11  Prefactor     23.271        12.893       -.22554E-05   -.13190    
  12  Prefactor     .45419E-05    41.731       -.30481E-05** at limit **
  13  Prefactor     67.908        55.840        .60933E-06   -.56428E-01
  14  norm          8.5859        4.0163        .27811E-06    .88649E-02
  15  norm          .23747E-01    2.5247        .54651E-06** at limit **
  16  Normalizat    .67635        .20329        .24825E-04    .24838E-04
  17  Prefactor     1.1719        .13491       -.12080E-04   -.20237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00975e-07
  Prefactor  = 12.4367
  Prefactor  = 0.000273972
  Prefactor  = 2.77011
  Prefactor  = 1.41553e-08
  Prefactor  = 1.00309e-07
  norm       = 4.99045e-08
  Prefactor  = 24.0093
  Prefactor  = 2.95874e-08
  Prefactor  = 3.21761
  Prefactor  = 23.2708
  Prefactor  = 4.54192e-06
  Prefactor  = 67.9081
  norm       = 8.58589
  norm       = 0.0237468
  Normalizat = 0.676345
  Prefactor  = 1.17187
utfile=/lscratch/kocevski/39306231/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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/39306231/ft2_4FGL_J2158.1-1501_daily_bin2209.fits
.....................!
real 7.93
user 7.38
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39306231/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39306231/ft2_4FGL_J2158.1-1501_daily_bin2209.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39306231/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits outfile=/lscratch/kocevski/39306231/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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/39306231/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
.....................!
real 59.66
user 55.57
sys 3.51

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

Setting source of interest to:
4FGL J2158.1-1501 @ 329.527 -15.0237

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39306231/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits scfile=/lscratch/kocevski/39306231/ft2_4FGL_J2158.1-1501_daily_bin2209.fits outfile=/lscratch/kocevski/39306231/cmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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=329.527 yref=-15.0237 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39306231/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits scfile=/lscratch/kocevski/39306231/ft2_4FGL_J2158.1-1501_daily_bin2209.fits outfile=/lscratch/kocevski/39306231/cmap_HighResolution_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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=329.527 yref=-15.0237 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39306231/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39306231/ft2_4FGL_J2158.1-1501_daily_bin2209.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39306231/Model_4FGL_J2158.1-1501_daily_bin2209.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 **********
 **   18 **HESSE 
 **********

 FCN=   9121.850     FROM HESSE     STATUS=OK           269 CALLS     1613 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10097E-06    12.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.437        8.6297        .28377E-03   -1.5637    
   3  Prefactor     .27397E-03    2.6314        .55384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7701        3.0147        .61120E-03   -1.5675    
   5  Prefactor     .14155E-07    3.3802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10031E-06    17.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .49905E-07    5.8638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.009        6.6262        .20396E-03   -1.5610    
   9  Prefactor     .29587E-07    5.6154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2176        4.5029        .56958E-03   -1.5672    
  11  Prefactor     23.271        13.056        .20679E-03   -1.5611    
  12  Prefactor     .45419E-05    42.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     67.908        56.654        .12354E-03   -1.5543    
  14  norm          8.5859        4.0244        .34218E-03   -1.5649    
  15  norm          .23747E-01    .36572        .21337E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67635        .17874        .76799E-01   -1.0483    
  17  Prefactor     1.1719        .11786        .35334E-01   -.87201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94334e-07
Minuit parameter uncertainties:
  1  0.00221495
  2  8.62974
  3  0.0537006
  4  3.01466
  5  0.0004377
  6  0.00261316
  7  0.00108202
  8  6.62617
  9  0.00081539
  10  4.50293
  11  13.0564
  12  0.02774
  13  56.6548
  14  4.02436
  15  0.186382
  16  0.178899
  17  0.117882
outfile=/lscratch/kocevski/39306217/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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/39306217/ft2_4FGL_J2158.1-1501_daily_bin2209.fits
.....................!
real 8.35
user 7.79
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39306217/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39306217/ft2_4FGL_J2158.1-1501_daily_bin2209.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39306217/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits outfile=/lscratch/kocevski/39306217/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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/39306217/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
.....................!
real 68.57
user 63.88
sys 4.11

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

Setting source of interest to:
4FGL J2158.1-1501 @ 329.527 -15.0237

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39306217/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits scfile=/lscratch/kocevski/39306217/ft2_4FGL_J2158.1-1501_daily_bin2209.fits outfile=/lscratch/kocevski/39306217/cmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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=329.527 yref=-15.0237 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.60
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39306217/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits scfile=/lscratch/kocevski/39306217/ft2_4FGL_J2158.1-1501_daily_bin2209.fits outfile=/lscratch/kocevski/39306217/cmap_HighResolution_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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=329.527 yref=-15.0237 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39306217/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39306217/ft2_4FGL_J2158.1-1501_daily_bin2209.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39306217/Model_4FGL_J2158.1-1501_daily_bin2209.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 sourcnumber of points = 7660
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2158.1-1501_daily_bin2209
RA = 329.527, Dec = -15.0237
tmin = 811900801, tmax = 812160001
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='39306365', job_status='RUN', time_executed='2026-09-27 18:37:21.807583', time_epoch_executed='1790559441.81' WHERE source_name='4FGL J2158.1-1501' and cadence='daily' and bin_id='2209'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39306365

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39306365/ft1_4FGL_J2158.1-1501_daily_bin2209.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39306365/ft1_4FGL_J2158.1-1501_daily_bin2209.fits outfile=/lscratch/kocevski/39306365/ft1_filteredMKT_4FGL_J2158.1-1501_daily_bin2209.fits ra=329.527 dec=-15.0237 rad=12.0 tmin=811900801.0 tmax=812160001.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 3.23
user 2.80
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.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/39306365/ft1_filteredMKT_4FGL_J2158.1-1501_daily_bin2209.fits evtable="EVENTS" outfile="/lscratch/kocevski/39306365/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.57
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 856

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39306365/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.fits sctable="SC_DATA" Done.

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

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  2.959e-08  8.154e-04  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.181e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.172e+00  1.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  6.763e-01  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 329.527 -15.024
Photon Flux Upper Limit: 4.75202835853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361554107955 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39306078/likelihoodResults_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9121.8508928
delta logL = -0.00127075569981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9120.14946269
delta logL = 1.70015935929

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83666E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .56375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2241       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9121.850     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      887 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5529        .42118E-03** at limit **
   2  Index         2.1539        1.2962       -.11453E-04     .0000    
   3  Normalizat    .67634        .98076       -.32844E-04    .29131E-04
   4  Prefactor     1.1719        1.0752       -.56432E-08    .16299E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.15387
  Normalizat = 0.676344
  Prefactor  = 1.17187
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9121.850     FROM HESSE     STATUS=FAILED         9 CALLS      896 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5529        .42118E-03   -259.18    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .50921        1.7898       -.11453E-04    50340.    
   3  Normalizat    .67634        .98076       -.32844E-04    86.916    
   4  Prefactor     1.1719        1.0752       -.56432E-08    98.261    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.83326e-12
Minuit parameter uncertainties:
  1  1.09001e-05
  2  1.31868
  3  1.00801
  4  1.0963
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) = 9121.84962204
delta logL = 2.68119038083e-09

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  1.090e-05  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.154e+00  1.319e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.172e+00  1.096e+00  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  6.763e-01  1.008e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 329.527 -15.024

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/39306078/cmap_HighResolution_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2026-09-27 18:39:06.481369', job_id='39306078', GAL2='1.17', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1790559546.48', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='2.68e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2209' AND source_name='4FGL J2158.1-1501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 18:39:06 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/39306231/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits.....................!
real 28.49
user 26.73
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39306231/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits', '/lscratch/kocevski/39306231/ft2_4FGL_J2158.1-1501_daily_bin2209.fits', expMap='/lscratch/kocevski/39306231/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits', expCube='/lscratch/kocevski/39306231/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39306231/Model_4FGL_J2158.1-1501_daily_bin2209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2158.1-1501'

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  6.798e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.181e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39306231/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits
Spacecraft file(s): /lscratch/kocevski/39306231/ft2_4FGL_J2158.1-1501_daily_bin2209.fits
Exposure map: /lscratch/kocevski/39306231/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
Exposure cube: /lscratch/kocevski/39306231/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39306231/Model_4FGL_J2158.1-1501_daily_bin2209.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) = 9121.92360848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38972E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.439       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55992E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7703       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14056E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48586E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .60982E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    24.050       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20191E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1635       1.0000          .0000       .10000E+07
    11 'Prefactor '    23.395       1.0000          .0000       .10000E+07
    12 'Prefactor '    .51225E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    65.535       1.0000          .0000       .10000E+07
    14 'norm      '    8.5701       1.0000          .0000       .10000E+07
    15 'norm      '    .25056E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    .67712       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9121.850     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     1344 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10097E-06    12.058        .27499E-05** at limit **
   2  Prefactor     12.437        8.6251        .73308E-07   -.42122E-02
   3  Prefactor     .27397E-03    9.0875        .27221E-05** at limit **
   4  Prefactor     2.7701        3.0071       -.16726E-06    .45501E-02
   5  Prefactor     .14155E-07    3.3740        .50487E-06** at limit **
   6  Prefactor     .10031E-06    17.095        .29593E-06** at limit **
   7  norm          .49905E-07    5.8976       -.20233E-06** at limit **
   8  Prefactor     24.009        6.6067        .37384E-06    .57894E-02
   9  Prefactor     .29587E-07    5.5923        .21132E-05** at limit **
  10  Prefactor     3.2176        4.4856       -.29674E-06   -.34992E-02
  11  Prefactor     23.271        12.893       -.22554E-05   -.13190    
  12  Prefactor     .45419E-05    41.731       -.30481E-05** at limit **
  13  Prefactor     67.908        55.840        .60933E-06   -.56428E-01
  14  norm          8.5859        4.0163        .27811E-06    .88649E-02
  15  norm          .23747E-01    2.5247        .54651E-06** at limit **
  16  Normalizat    .67635        .20329        .24825E-04    .24838E-04
  17  Prefactor     1.1719        .13491       -.12080E-04   -.20237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00975e-07
  Prefactor  = 12.4367
  Prefactor  = 0.000273972
  Prefactor  = 2.77011
  Prefactor  = 1.41553e-08
  Prefactor  = 1.00309e-07
  norm       = 4.99045e-08
  Prefactor  = 24.0093
  Prefactor  = 2.95874e-08
  Prefactor  = 3.21761
  Prefactor  = 23.2708
  Prefactor  = 4.54192e-06
  Prefactor  = 67.9081
  norm       = 8.58589
  norm       = 0.0237468
  Normalizat = 0.676345
  Prefactor  = 1.17187
 **********
 **   18 **HESSE 
 **********

 FCN=   9121.850     FROM HESSE     STATUS=OK           269 CALLS     1613 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10097E-06    12.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.437        8.6297        .28377E-03   -1.5637    
   3  Prefactor     .27397E-03    2.6314        .55384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7701        3.0147        .61120E-03   -1.5675    
   5  Prefactor     .14155E-07    3.3802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10031E-06    17.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .49905E-07    5.8638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.009        6.6262        .20396E-03   -1.5610    
   9  Prefactor     .29587E-07    5.6154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2176        4.5029        .56958E-03   -1.5672    
  11  Prefactor     23.271        13.056        .20679E-03   -1.5611    
  12  Prefactor     .45419E-05    42.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     67.908        56.654        .12354E-03   -1.5543    
  14  norm          8.5859        4.0244        .34218E-03   -1.5649    
  15  norm          .23747E-01    .36572        .21337E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67635        .17874        .76799E-01   -1.0483    
  17  Prefactor     1.1719        .11786        .35334E-01   -.87201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94334e-07
Minuit parameter uncertainties:
  1  0.00221495
  2  8.62974
  3  0.0537006
  4  3.01466
  5  0.0004377
  6  0.00261316
  7  0.00108202
  8  6.62617
  9  0.00081539
  10  4.50293
  11  13.0564
  12  0.02774
  13  56.6548
  14  4.02436
  15  0.186382
  16  0.178899
  17  0.117882
e GAL_V02
Working on...
/lscratch/kocevski/39306217/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits.....................!
real 32.03
user 30.45
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39306217/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits', '/lscratch/kocevski/39306217/ft2_4FGL_J2158.1-1501_daily_bin2209.fits', expMap='/lscratch/kocevski/39306217/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits', expCube='/lscratch/kocevski/39306217/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39306217/Model_4FGL_J2158.1-1501_daily_bin2209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2158.1-1501'

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  6.798e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.181e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39306217/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits
Spacecraft file(s): /lscratch/kocevski/39306217/ft2_4FGL_J2158.1-1501_daily_bin2209.fits
Exposure map: /lscratch/kocevski/39306217/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
Exposure cube: /lscratch/kocevski/39306217/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39306217/Model_4FGL_J2158.1-1501_daily_bin2209.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) = 9121.92360848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38972E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.439       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55992E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7703       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14056E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48586E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .60982E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    24.050       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20191E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1635       1.0000          .0000       .10000E+07
    11 'Prefactor '    23.395       1.0000          .0000       .10000E+07
    12 'Prefactor '    .51225E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    65.535       1.0000          .0000       .10000E+07
    14 'norm      '    8.5701       1.0000          .0000       .10000E+07
    15 'norm      '    .25056E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    .67712       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9121.850     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     1344 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10097E-06    12.058        .27499E-05** at limit **
   2  Prefactor     12.437        8.6251        .73308E-07   -.42122E-02
   3  Prefactor     .27397E-03    9.0875        .27221E-05** at limit **
   4  Prefactor     2.7701        3.0071       -.16726E-06    .45501E-02
   5  Prefactor     .14155E-07    3.3740        .50487E-06** at limit **
   6  Prefactor     .10031E-06    17.095        .29593E-06** at limit **
   7  norm          .49905E-07    5.8976       -.20233E-06** at limit **
   8  Prefactor     24.009        6.6067        .37384E-06    .57894E-02
   9  Prefactor     .29587E-07    5.5923        .21132E-05** at limit **
  10  Prefactor     3.2176        4.4856       -.29674E-06   -.34992E-02
  11  Prefactor     23.271        12.893       -.22554E-05   -.13190    
  12  Prefactor     .45419E-05    41.731       -.30481E-05** at limit **
  13  Prefactor     67.908        55.840        .60933E-06   -.56428E-01
  14  norm          8.5859        4.0163        .27811E-06    .88649E-02
  15  norm          .23747E-01    2.5247        .54651E-06** at limit **
  16  Normalizat    .67635        .20329        .24825E-04    .24838E-04
  17  Prefactor     1.1719        .13491       -.12080E-04   -.20237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00975e-07
  Prefactor  = 12.4367
  Prefactor  = 0.000273972
  Prefactor  = 2.77011
  Prefactor  = 1.41553e-08
  Prefactor  = 1.00309e-07
  norm       = 4.99045e-08
  Prefactor  = 24.0093
  Prefactor  = 2.95874e-08
  Prefactor  = 3.21761
  Prefactor  = 23.2708
  Prefactor  = 4.54192e-06
  Prefactor  = 67.9081
  norm       = 8.58589
  norm       = 0.0237468
  Normalizat = 0.676345
  Prefactor  = 1.17187
 **********
 **   18 **HESSE 
 **********

 FCN=   9121.850     FROM HESSE     STATUS=OK           269 CALLS     1613 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10097E-06    12.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.437        8.6297        .28377E-03   -1.5637    
   3  Prefactor     .27397E-03    2.6314        .55384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7701        3.0147        .61120E-03   -1.5675    
   5  Prefactor     .14155E-07    3.3802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10031E-06    17.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .49905E-07    5.8638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.009        6.6262        .20396E-03   -1.5610    
   9  Prefactor     .29587E-07    5.6154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2176        4.5029        .56958E-03   -1.5672    
  11  Prefactor     23.271        13.056        .20679E-03   -1.5611    
  12  Prefactor     .45419E-05    42.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     67.908        56.654        .12354E-03   -1.5543    
  14  norm          8.5859        4.0244        .34218E-03   -1.5649    
  15  norm          .23747E-01    .36572        .21337E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67635        .17874        .76799E-01   -1.0483    
  17  Prefactor     1.1719        .11786        .35334E-01   -.87201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94334e-07
Minuit parameter uncertainties:
  1  0.00221495
  2  8.62974
  3  0.0537006
  4  3.01466
  5  0.0004377
  6  0.00261316
  7  0.00108202
  8  6.62617
  9  0.00081539
  10  4.50293
  11  13.0564
  12  0.02774
  13  56.6548
  14  4.02436
  15  0.186382
  16  0.178899
  17  0.117882
Done.

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

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  2.959e-08  8.154e-04  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.181e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.172e+00  1.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  6.763e-01  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 329.527 -15.024
Photon Flux Upper Limit: 4.75202835853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361554107955 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39306231/likelihoodResults_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9121.8508928
delta logL = -0.00127075569981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9120.14946269
delta logL = 1.70015935929

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83666E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .56375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2241       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9121.850     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      887 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5529        .42118E-03** at limit **
   2  Index         2.1539        1.2962       -.11453E-04     .0000    
   3  Normalizat    .67634        .98076       -.32844E-04    .29131E-04
   4  Prefactor     1.1719        1.0752       -.56432E-08    .16299E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.15387
  Normalizat = 0.676344
  Prefactor  = 1.17187
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9121.850     FROM HESSE     STATUS=FAILED         9 CALLS      896 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5529        .42118E-03   -259.18    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .50921        1.7898       -.11453E-04    50340.    
   3  Normalizat    .67634        .98076       -.32844E-04    86.916    
   4  Prefactor     1.1719        1.0752       -.56432E-08    98.261    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.83326e-12
Minuit parameter uncertainties:
  1  1.09001e-05
  2  1.31868
  3  1.00801
  4  1.0963
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) = 9121.84962204
delta logL = 2.68119038083e-09

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  1.090e-05  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.154e+00  1.319e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.172e+00  1.096e+00  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  6.763e-01  1.008e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 329.527 -15.024

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/39306231/cmap_HighResolution_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2026-09-27 18:40:09.053579', job_id='39306231', GAL2='1.17', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1790559609.05', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='2.68e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2209' AND source_name='4FGL J2158.1-1501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 18:40:09 PDT 2026

outfile=/lscratch/kocevski/39306365/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.fits
.....................!
real 8.09
user 7.61
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39306365/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39306365/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits outfile=/lscratch/kocevski/39306365/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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/39306365/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
.....................!
real 66.40
user 61.92
sys 3.91

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

Setting source of interest to:
4FGL J2158.1-1501 @ 329.527 -15.0237

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39306365/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits scfile=/lscratch/kocevski/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.fits outfile=/lscratch/kocevski/39306365/cmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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=329.527 yref=-15.0237 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.51
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39306365/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits scfile=/lscratch/kocevski/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.fits outfile=/lscratch/kocevski/39306365/cmap_HighResolution_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.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=329.527 yref=-15.0237 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.45
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39306365/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39306365/Model_4FGL_J2158.1-1501_daily_bin2209.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 sourcDone.

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

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  2.959e-08  8.154e-04  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.181e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.172e+00  1.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  6.763e-01  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 329.527 -15.024
Photon Flux Upper Limit: 4.75202835853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361554107955 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39306217/likelihoodResults_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9121.8508928
delta logL = -0.00127075569981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9120.14946269
delta logL = 1.70015935929

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83666E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .56375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2241       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9121.850     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      887 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5529        .42118E-03** at limit **
   2  Index         2.1539        1.2962       -.11453E-04     .0000    
   3  Normalizat    .67634        .98076       -.32844E-04    .29131E-04
   4  Prefactor     1.1719        1.0752       -.56432E-08    .16299E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.15387
  Normalizat = 0.676344
  Prefactor  = 1.17187
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9121.850     FROM HESSE     STATUS=FAILED         9 CALLS      896 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5529        .42118E-03   -259.18    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .50921        1.7898       -.11453E-04    50340.    
   3  Normalizat    .67634        .98076       -.32844E-04    86.916    
   4  Prefactor     1.1719        1.0752       -.56432E-08    98.261    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.83326e-12
Minuit parameter uncertainties:
  1  1.09001e-05
  2  1.31868
  3  1.00801
  4  1.0963
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) = 9121.84962204
delta logL = 2.68119038083e-09

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  1.090e-05  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.154e+00  1.319e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.172e+00  1.096e+00  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  6.763e-01  1.008e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 329.527 -15.024

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/39306217/cmap_HighResolution_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2026-09-27 18:40:36.376489', job_id='39306217', GAL2='1.17', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1790559636.38', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='2.68e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2209' AND source_name='4FGL J2158.1-1501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 18:40:36 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39306365/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits.....................!
real 29.24
user 27.94
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39306365/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits', '/lscratch/kocevski/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.fits', expMap='/lscratch/kocevski/39306365/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits', expCube='/lscratch/kocevski/39306365/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39306365/Model_4FGL_J2158.1-1501_daily_bin2209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2158.1-1501'

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  6.798e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.181e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39306365/ft1_filtered_4FGL_J2158.1-1501_daily_bin2209.fits
Spacecraft file(s): /lscratch/kocevski/39306365/ft2_4FGL_J2158.1-1501_daily_bin2209.fits
Exposure map: /lscratch/kocevski/39306365/expmap_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
Exposure cube: /lscratch/kocevski/39306365/ltcube_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39306365/Model_4FGL_J2158.1-1501_daily_bin2209.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) = 9121.92360848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38972E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.439       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55992E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7703       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14056E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48586E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .60982E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    24.050       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20191E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1635       1.0000          .0000       .10000E+07
    11 'Prefactor '    23.395       1.0000          .0000       .10000E+07
    12 'Prefactor '    .51225E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    65.535       1.0000          .0000       .10000E+07
    14 'norm      '    8.5701       1.0000          .0000       .10000E+07
    15 'norm      '    .25056E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    .67712       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9121.850     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     1344 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10097E-06    12.058        .27499E-05** at limit **
   2  Prefactor     12.437        8.6251        .73308E-07   -.42122E-02
   3  Prefactor     .27397E-03    9.0875        .27221E-05** at limit **
   4  Prefactor     2.7701        3.0071       -.16726E-06    .45501E-02
   5  Prefactor     .14155E-07    3.3740        .50487E-06** at limit **
   6  Prefactor     .10031E-06    17.095        .29593E-06** at limit **
   7  norm          .49905E-07    5.8976       -.20233E-06** at limit **
   8  Prefactor     24.009        6.6067        .37384E-06    .57894E-02
   9  Prefactor     .29587E-07    5.5923        .21132E-05** at limit **
  10  Prefactor     3.2176        4.4856       -.29674E-06   -.34992E-02
  11  Prefactor     23.271        12.893       -.22554E-05   -.13190    
  12  Prefactor     .45419E-05    41.731       -.30481E-05** at limit **
  13  Prefactor     67.908        55.840        .60933E-06   -.56428E-01
  14  norm          8.5859        4.0163        .27811E-06    .88649E-02
  15  norm          .23747E-01    2.5247        .54651E-06** at limit **
  16  Normalizat    .67635        .20329        .24825E-04    .24838E-04
  17  Prefactor     1.1719        .13491       -.12080E-04   -.20237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00975e-07
  Prefactor  = 12.4367
  Prefactor  = 0.000273972
  Prefactor  = 2.77011
  Prefactor  = 1.41553e-08
  Prefactor  = 1.00309e-07
  norm       = 4.99045e-08
  Prefactor  = 24.0093
  Prefactor  = 2.95874e-08
  Prefactor  = 3.21761
  Prefactor  = 23.2708
  Prefactor  = 4.54192e-06
  Prefactor  = 67.9081
  norm       = 8.58589
  norm       = 0.0237468
  Normalizat = 0.676345
  Prefactor  = 1.17187
 **********
 **   18 **HESSE 
 **********

 FCN=   9121.850     FROM HESSE     STATUS=OK           269 CALLS     1613 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10097E-06    12.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.437        8.6297        .28377E-03   -1.5637    
   3  Prefactor     .27397E-03    2.6314        .55384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7701        3.0147        .61120E-03   -1.5675    
   5  Prefactor     .14155E-07    3.3802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10031E-06    17.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .49905E-07    5.8638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.009        6.6262        .20396E-03   -1.5610    
   9  Prefactor     .29587E-07    5.6154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2176        4.5029        .56958E-03   -1.5672    
  11  Prefactor     23.271        13.056        .20679E-03   -1.5611    
  12  Prefactor     .45419E-05    42.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     67.908        56.654        .12354E-03   -1.5543    
  14  norm          8.5859        4.0244        .34218E-03   -1.5649    
  15  norm          .23747E-01    .36572        .21337E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67635        .17874        .76799E-01   -1.0483    
  17  Prefactor     1.1719        .11786        .35334E-01   -.87201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94334e-07
Minuit parameter uncertainties:
  1  0.00221495
  2  8.62974
  3  0.0537006
  4  3.01466
  5  0.0004377
  6  0.00261316
  7  0.00108202
  8  6.62617
  9  0.00081539
  10  4.50293
  11  13.0564
  12  0.02774
  13  56.6548
  14  4.02436
  15  0.186382
  16  0.178899
  17  0.117882
Done.

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

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  2.959e-08  8.154e-04  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.181e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.172e+00  1.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  6.763e-01  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 329.527 -15.024
Photon Flux Upper Limit: 4.75202835853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361554107955 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39306365/likelihoodResults_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9121.8508928
delta logL = -0.00127075569981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9120.14946269
delta logL = 1.70015935929

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83666E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .56375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2241       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9121.850     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      887 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5529        .42118E-03** at limit **
   2  Index         2.1539        1.2962       -.11453E-04     .0000    
   3  Normalizat    .67634        .98076       -.32844E-04    .29131E-04
   4  Prefactor     1.1719        1.0752       -.56432E-08    .16299E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.15387
  Normalizat = 0.676344
  Prefactor  = 1.17187
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9121.850     FROM HESSE     STATUS=FAILED         9 CALLS      896 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5529        .42118E-03   -259.18    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .50921        1.7898       -.11453E-04    50340.    
   3  Normalizat    .67634        .98076       -.32844E-04    86.916    
   4  Prefactor     1.1719        1.0752       -.56432E-08    98.261    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.83326e-12
Minuit parameter uncertainties:
  1  1.09001e-05
  2  1.31868
  3  1.00801
  4  1.0963
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) = 9121.84962204
delta logL = 2.68119038083e-09

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  0.000e+00  1.090e-05  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.154e+00  1.319e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.246e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.172e+00  1.096e+00  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  6.763e-01  1.008e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 329.527 -15.024

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/39306365/cmap_HighResolution_811900801_812160001_4FGL_J2158.1-1501_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2026-09-27 18:42:16.791663', job_id='39306365', GAL2='1.17', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1790559736.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='2.68e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2209' AND source_name='4FGL J2158.1-1501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 18:42:17 PDT 2026

