aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 95 seconds before starting...
Proceeding.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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).

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


Performing analysis on: 4FGL_J2158.1-1501_daily_bin1764
RA = 329.527, Dec = -15.0237
tmin = 696556801, tmax = 696816001
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='466020', job_status='RUN', time_executed='2023-01-31 02:02:45.310585', time_epoch_executed='1675159365.31' WHERE source_name='4FGL J2158.1-1501' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/466020

Creating custom pfile directory:
/scratch/kocevski/466020/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=696556801.0 && nMetStart<696816001.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=696556801.0 && nMetStart<696816001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/466020/ft1_4FGL_J2158.1-1501_daily_bin1764.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=696556801.0 && nMetStart<696816001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/466020/ft1_4FGL_J2158.1-1501_daily_bin1764.fits outfile=/scratch/kocevski/466020/ft1_filteredMKT_4FGL_J2158.1-1501_daily_bin1764.fits ra=329.527 dec=-15.0237 rad=12.0 tmin=696556801.0 tmax=696816001.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.71
user 3.47
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/466020/ft1_filteredMKT_4FGL_J2158.1-1501_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/466020/ft1_filtered_4FGL_J2158.1-1501_daily_bin1764.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 446

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/466020/ft1_filtered_4FGL_J2158.1-1501_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/466020/ltcube_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.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 /scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits
.....................!
real 15.17
user 14.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/466020/ft1_filtered_4FGL_J2158.1-1501_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/466020/ltcube_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.fits outfile=/scratch/kocevski/466020/expmap_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.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 /scratch/kocevski/466020/ltcube_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.fits
.....................!
real 192.39
user 187.06
sys 4.85

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=/scratch/kocevski/466020/ft1_filtered_4FGL_J2158.1-1501_daily_bin1764.fits scfile=/scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits outfile=/scratch/kocevski/466020/cmap_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/466020/ft1_filtered_4FGL_J2158.1-1501_daily_bin1764.fits scfile=/scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits outfile=/scratch/kocevski/466020/cmap_HighResolution_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/466020/ft1_filtered_4FGL_J2158.1-1501_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/466020/Model_4FGL_J2158.1-1501_daily_bin1764.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...
/scratch/kocevski/466020/ft1_filtered_4FGL_J2158.1-1501_daily_bin1764.fits.....................!
real 50.45
user 49.04
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/466020/ft1_filtered_4FGL_J2158.1-1501_daily_bin1764.fits', '/scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits', expMap='/scratch/kocevski/466020/expmap_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.fits', expCube='/scratch/kocevski/466020/ltcube_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/466020/Model_4FGL_J2158.1-1501_daily_bin1764.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): /scratch/kocevski/466020/ft1_filtered_4FGL_J2158.1-1501_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/466020/ft2_4FGL_J2158.1-1501_daily_bin1764.fits
Exposure map: /scratch/kocevski/466020/expmap_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.fits
Exposure cube: /scratch/kocevski/466020/ltcube_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/466020/Model_4FGL_J2158.1-1501_daily_bin1764.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) = 4999.32289637

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19393E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    18.397       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.5029       1.0000          .0000       .10000E+07
     4 'Prefactor '    .37116E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .77628E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    29.349       1.0000          .0000       .10000E+07
     7 'norm      '    .20183E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8204       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.0279       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.9552       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.3375       1.0000          .0000       .10000E+07
    12 'Prefactor '    .32752E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .36373E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .83022E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .90915       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1657       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0068       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=   4999.311     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     1410 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .78826E-08    7.1451        .48805E-05** at limit **
   2  Prefactor     18.408        1.7247       -.53374E-06    .78605E-02
   3  Prefactor     8.4991        6.9816        .13610E-06    .23997E-02
   4  Prefactor     .49960E-09    5.4156        .19920E-06** at limit **
   5  Prefactor     .45519E-08    51.040        .94582E-06** at limit **
   6  Prefactor     29.356        1.3060        .21094E-06   -.23046E-01
   7  norm          .27756E-09    3.4573        .76812E-06** at limit **
   8  Prefactor     1.8301        10.850       -.22558E-07   -.28982E-02
   9  Prefactor     4.0320        2.2022        .14748E-05   -.66762E-03
  10  Prefactor     8.9312        2.4904        .11433E-05   -.11713E-01
  11  Prefactor     7.3462        5.7971        .34581E-05    .28575E-01
  12  Prefactor     .16098E-08    10.391       -.33254E-05** at limit **
  13  Prefactor     .55511E-10    27.114        .74717E-06** at limit **
  14  norm          .14544E-07    7.5638       -.60748E-05** at limit **
  15  norm          .90960        .82146        .30692E-07   -.14613E-02
  16  Normalizat    1.1653        .29152       -.20767E-04   -.20266E-03
  17  Prefactor     1.0066        .18618        .12823E-04   -.14315E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.88258e-09
  Prefactor  = 18.4081
  Prefactor  = 8.49913
  Prefactor  = 4.996e-10
  Prefactor  = 4.55191e-09
  Prefactor  = 29.356
  norm       = 2.77556e-10
  Prefactor  = 1.83013
  Prefactor  = 4.032
  Prefactor  = 8.93118
  Prefactor  = 7.34615
  Prefactor  = 1.60982e-09
  Prefactor  = 5.55112e-11
  norm       = 1.45439e-08
  norm       = 0.909597
  Normalizat = 1.16534
  Prefactor  = 1.00657
 **********
 **   18 **HESSE 
 **********

 FCN=   4999.311     FROM HESSE     STATUS=OK           257 CALLS     1667 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .78826E-08    7.7432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.408        15.805        .23323E-03   -1.5622    
   3  Prefactor     8.4991        7.0045        .34354E-03   -1.5650    
   4  Prefactor     .49960E-09    5.4506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .45519E-08    50.857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.356        22.740        .18462E-03   -1.5600    
   7  norm          .27756E-09    3.4644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.8301        11.690        .77365E-03   -1.5681    
   9  Prefactor     4.0320        14.661        .50221E-03   -1.5668    
  10  Prefactor     8.9312        14.163        .33469E-03   -1.5648    
  11  Prefactor     7.3462        12.362        .37003E-03   -1.5654    
  12  Prefactor     .16098E-08    10.489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    27.120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .14544E-07    8.8820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .90960        .82507        .45129E-03   -1.5689    
  16  Normalizat    1.1653        .25074        .67781E-01   -.87681    
  17  Prefactor     1.0066        .15712        .43851E-01   -.92511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45691e-07
Minuit parameter uncertainties:
  1  0.0004942
  2  15.8047
  3  7.00447
  4  0.000104512
  5  0.000963784
  6  22.7402
  7  6.00008e-05
  8  9.25089
  9  14.6614
  10  14.163
  11  12.3619
  12  0.00026164
  13  9.21818e-05
  14  0.000719236
  15  0.825072
  16  0.250996
  17  0.157187
Done.

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

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  4.032e+00  1.466e+01  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.007e+00  1.572e-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:  1.165e+00  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 329.527 -15.024
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/466020/likelihoodResults_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.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) = 4999.30070476
delta logL = 0.0104910311993

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4999.30016156
delta logL = 0.0110342307089

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6609       1.0000          .0000       .10000E+07
     2 'Index     '    2.4060       1.0000          .0000       10.000    
     3 'Normalizat'    1.1631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0071       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.

 FCN=   4999.300     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      234 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6609        782.45        .52769E-03    .26188E-02
   2  Index         2.4061        5.1502        .23881        .42884E-04
   3  Normalizat    1.1631        .65703E-01    .67835E-01    .96064E-05
   4  Prefactor     1.0070        .40874E-01    .43792E-01    .36894E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.66092
  Index      = 2.40605
  Normalizat = 1.16314
  Prefactor  = 1.00705
 **********
 **   18 **HESSE 
 **********

 FCN=   4999.300     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6609        14.204        .21107E-04   -1.5670    
   2  Index         2.4061        1.6037        .15010E-01   -.54543    
   3  Normalizat    1.1631        .28609        .30012E-03   -.87750    
   4  Prefactor     1.0070        .18620        .20720E-03   -.92495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66641e-09
Minuit parameter uncertainties:
  1  14.2037
  2  1.64388
  3  0.28647
  4  0.186315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/466020': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4999.30016154
delta logL = 0.0110342519256

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  3.661e+00  1.420e+01  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.406e+00  1.644e+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.007e+00  1.863e-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:  1.163e+00  2.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/466020/cmap_HighResolution_696556801_696816001_4FGL_J2158.1-1501_daily_bin1764.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/466020

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.04e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2023-01-31 02:10:43.269154', job_id='466020', GAL2='1.01', fit_tolerance='1e-08', EG2='1.16', EG='1.17', time_epoch_completed='1675159843.27', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.10e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1764' AND source_name='4FGL J2158.1-1501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:10:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 466020: <4FGL_J2158.1-1501_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2158.1-1501_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 02:00:28 2023
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 02:00:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 02:00:58 2023
Terminated at Tue Jan 31 02:10:43 2023
Results reported at Tue Jan 31 02:10:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2158.1-1501_daily_bin1764 329.527 -15.0237 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2158.1-1501 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   480.40 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   585 sec.
    Turnaround time :                            615 sec.

The output (if any) is above this job summary.

