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 78 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 = 7680
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2158.1-1501_daily_bin1780
RA = 329.527, Dec = -15.0237
tmin = 700704001, tmax = 700963201
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='77942', job_status='RUN', time_executed='2023-03-20 01:46:45.412587', time_epoch_executed='1679302005.41' WHERE source_name='4FGL J2158.1-1501' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77942

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77942/ft1_4FGL_J2158.1-1501_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77942/ft2_4FGL_J2158.1-1501_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77942/ft1_4FGL_J2158.1-1501_daily_bin1780.fits outfile=/scratch/kocevski/77942/ft1_filteredMKT_4FGL_J2158.1-1501_daily_bin1780.fits ra=329.527 dec=-15.0237 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.12
user 3.88
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77942/ft2_4FGL_J2158.1-1501_daily_bin1780.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/77942/ft1_filteredMKT_4FGL_J2158.1-1501_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/77942/ft1_filtered_4FGL_J2158.1-1501_daily_bin1780.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 510

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77942/ft1_filtered_4FGL_J2158.1-1501_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/77942/ft2_4FGL_J2158.1-1501_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/77942/ltcube_700704001_700963201_4FGL_J2158.1-1501_daily_bin1780.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/77942/ft2_4FGL_J2158.1-1501_daily_bin1780.fits
.....................!
real 11.87
user 11.53
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77942/ft1_filtered_4FGL_J2158.1-1501_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/77942/ft2_4FGL_J2158.1-1501_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/77942/ltcube_700704001_700963201_4FGL_J2158.1-1501_daily_bin1780.fits outfile=/scratch/kocevski/77942/expmap_700704001_700963201_4FGL_J2158.1-1501_daily_bin1780.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/77942/ltcube_700704001_700963201_4FGL_J2158.1-1501_daily_bin1780.fits
.....................!
real 189.91
user 185.38
sys 4.22

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/77942/ft1_filtered_4FGL_J2158.1-1501_daily_bin1780.fits scfile=/scratch/kocevski/77942/ft2_4FGL_J2158.1-1501_daily_bin1780.fits outfile=/scratch/kocevski/77942/cmap_700704001_700963201_4FGL_J2158.1-1501_daily_bin1780.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77942/ft1_filtered_4FGL_J2158.1-1501_daily_bin1780.fits scfile=/scratch/kocevski/77942/ft2_4FGL_J2158.1-1501_daily_bin1780.fits outfile=/scratch/kocevski/77942/cmap_HighResolution_700704001_700963201_4FGL_J2158.1-1501_daily_bin1780.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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77942/ft1_filtered_4FGL_J2158.1-1501_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/77942/ft2_4FGL_J2158.1-1501_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77942/Model_4FGL_J2158.1-1501_daily_bin1780.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/77942/ft1_filtered_4FGL_J2158.1-1501_daily_bin1780.fits.....................!
real 56.29
user 55.00
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55828E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14434E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8263       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16009E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    10.722       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25750E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .16189E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16834E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    19.462       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.060       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17641E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1157       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26440E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .14469E-02   1.0000          .0000       .10000E+07
    15 'norm      '    2.1481       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4334       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86345       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=   5714.527     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      930 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        24.781       -.13238E-05** at limit **
   2  Prefactor     .33862E-08    68.779        .38391E-05** at limit **
   3  Prefactor     1.8261        2.7359        .80219E-07   -.67885E-03
   4  Prefactor     .55511E-10    8.6624        .17443E-07** at limit **
   5  Prefactor     10.767        10.766       -.27348E-06   -.30950E-02
   6  Prefactor      .0000        7.9136        .11195E-06** at limit **
   7  norm           .0000        3.8831       -.13153E-06** at limit **
   8  Prefactor      .0000        2.0465        .12924E-06** at limit **
   9  Prefactor     19.336        1.2355       -.32076E-08    .16458E-01
  10  Prefactor     36.077        3.4563       -.93668E-08    .10614E-02
  11  Prefactor     .38858E-09    13.703       -.85970E-06** at limit **
  12  Prefactor     1.9100        1.8583       -.21755E-06    .15695E-01
  13  Prefactor     .21927E-05    1.6488       -.12671E-06** at limit **
  14  norm          .55511E-10    4.3322       -.27387E-06** at limit **
  15  norm          2.1475        1.5998        .18698E-07    .37318E-03
  16  Normalizat    1.4337        .27735       -.61153E-05    .42513E-04
  17  Prefactor     .86352        .17449        .30819E-05    .39474E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.38618e-09
  Prefactor  = 1.82607
  Prefactor  = 5.55112e-11
  Prefactor  = 10.7667
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 19.3365
  Prefactor  = 36.0775
  Prefactor  = 3.88578e-10
  Prefactor  = 1.91002
  Prefactor  = 2.19269e-06
  norm       = 5.55112e-11
  norm       = 2.1475
  Normalizat = 1.43369
  Prefactor  = 0.863523
 **********
 **   18 **HESSE 
 **********

 FCN=   5714.527     FROM HESSE     STATUS=OK           255 CALLS     1185 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        24.845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33862E-08    67.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8261        2.7510        .77216E-03   -1.5681    
   4  Prefactor     .55511E-10    8.9117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.767        10.798        .30573E-03   -1.5642    
   6  Prefactor      .0000        8.1417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        3.8917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.0407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.336        15.623        .22676E-03   -1.5620    
  10  Prefactor     36.077        13.949        .16655E-03   -1.5588    
  11  Prefactor     .38858E-09    13.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9100        41.802        .70887E-03   -1.5680    
  13  Prefactor     .21927E-05    388.06        .16645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    4.3116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1475        1.6090        .70279E-03   -1.5679    
  16  Normalizat    1.4337        .23300        .63148E-01   -.79659    
  17  Prefactor     .86352        .14530        .44537E-01   -.97428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.48123e-08
Minuit parameter uncertainties:
  1  9.60029e-06
  2  0.000958197
  3  2.75099
  4  4.81482e-05
  5  10.7985
  6  2.09408e-05
  7  1.59015e-05
  8  1.00675e-05
  9  15.6225
  10  13.9486
  11  0.000149442
  12  17.871
  13  0.0583435
  14  2.6303e-05
  15  1.60898
  16  0.233171
  17  0.145369
Done.

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

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  1.934e+01  1.562e+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:  8.635e-01  1.454e-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.434e+00  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.87
Ra Dec: 329.527 -15.024
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 4.01e-08 +/- 3.24e-08
Energy Flux (Fixed Index): 1.87e-05 +/- 1.51e-05

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) = 5714.39665089
delta logL = 0.129943482841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5714.3908339
delta logL = 0.13576046683

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.125       1.0000          .0000       .10000E+07
     2 'Index     '    1.8895       1.0000          .0000       10.000    
     3 'Normalizat'    1.4441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86041       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=   5714.391     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      267 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.145        692.60        .21266E-03   -.92487E-05
   2  Index         1.8903        5.5510        .23245        .19672E-04
   3  Normalizat    1.4439        .16523        .62962E-01    .48238E-05
   4  Prefactor     .86056        .75775E-01    .44498E-01    .98282E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.1451
  Index      = 1.89035
  Normalizat = 1.4439
  Prefactor  = 0.860555
 **********
 **   18 **HESSE 
 **********

 FCN=   5714.391     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.145        18.497        .85062E-05   -1.5614    
   2  Index         1.8903        .55051        .79670E-02   -.67121    
   3  Normalizat    1.4439        .27461        .27848E-03   -.79367    
   4  Prefactor     .86056        .17392        .22057E-03   -.97533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99013e-13
Minuit parameter uncertainties:
  1  18.4972
  2  0.552341
  3  0.274894
  4  0.174034
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77942': 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) = 5714.3908317
delta logL = 0.135762672448

Extracting fit parameters...

4FGL J2158.1-1501
   Spectrum: PowerLaw
269    Prefactor:  2.215e+01  1.850e+01  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  1.890e+00  5.523e-01  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:  8.606e-01  1.740e-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.444e+00  2.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.15
Ra Dec: 329.527 -15.024
Photon Index (Free Index): 1.89 +/- 0.55
Photon Flux (Free Index): 2.92e-08 +/- 3.17e-08
Energy Flux (Free Index): 2.69e-05 +/- 3.17e-05

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/77942/cmap_HighResolution_700704001_700963201_4FGL_J2158.1-1501_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.01e-08', energy_flux2='2.69e-05', photon_flux_error='3.24e-08', dlogl='1.36e-01', energy_flux='1.87e-05', photon_flux2='2.92e-08', job_status='DONE', time_completed='2023-03-20 01:54:07.020433', photon_index_error2='0.55', photon_index2='1.89', ts='4.87', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='3.17e-05', EG='1.43', time_epoch_completed='1679302447.02', return_code='0', job_id='77942', GAL2='0.86', EG2='1.44', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='3.17e-08', ts2='5.15', photon_index='2.18' WHERE bin_id='1780' AND source_name='4FGL J2158.1-1501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:54:07 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 77942: <4FGL_J2158.1-1501_daily_bin1780> in cluster <slac> Done

Job <4FGL_J2158.1-1501_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:45:18 2023
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:45:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:45:19 2023
Terminated at Mon Mar 20 01:54:07 2023
Results reported at Mon Mar 20 01:54:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2158.1-1501_daily_bin1780 329.527 -15.0237 700704001 700963201 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 :                                   443.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             306.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   533 sec.
    Turnaround time :                            529 sec.

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

