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 44 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1703
RA = 328.461, Dec = -11.6306
tmin = 680745601, tmax = 681004801
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='324110', job_status='RUN', time_executed='2022-08-01 01:22:17.541446', time_epoch_executed='1659342137.54' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324110

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324110/ft1_4FGL_J2153.8-1137_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324110/ft1_4FGL_J2153.8-1137_daily_bin1703.fits outfile=/scratch/kocevski/324110/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1703.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=680745601.0 tmax=681004801.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 2.97
user 2.72
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.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/324110/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/324110/ft1_filtered_4FGL_J2153.8-1137_daily_bin1703.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.33
sys 0.16

Number of photons that the gtmktime cut: 67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324110/ft1_filtered_4FGL_J2153.8-1137_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/324110/ltcube_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.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/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.fits
.....................!
real 16.29
user 15.88
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324110/ft1_filtered_4FGL_J2153.8-1137_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/324110/ltcube_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.fits outfile=/scratch/kocevski/324110/expmap_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.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/324110/ltcube_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.fits
.....................!
real 198.00
user 192.40
sys 4.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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2153.8-1137 @ 328.461 -11.6306

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/324110/ft1_filtered_4FGL_J2153.8-1137_daily_bin1703.fits scfile=/scratch/kocevski/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.fits outfile=/scratch/kocevski/324110/cmap_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.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=328.461 yref=-11.6306 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324110/ft1_filtered_4FGL_J2153.8-1137_daily_bin1703.fits scfile=/scratch/kocevski/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.fits outfile=/scratch/kocevski/324110/cmap_HighResolution_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.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=328.461 yref=-11.6306 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/324110/ft1_filtered_4FGL_J2153.8-1137_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/324110/Model_4FGL_J2153.8-1137_daily_bin1703.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/324110/ft1_filtered_4FGL_J2153.8-1137_daily_bin1703.fits.......................!
real 20.76
user 19.45
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324110/ft1_filtered_4FGL_J2153.8-1137_daily_bin1703.fits', '/scratch/kocevski/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.fits', expMap='/scratch/kocevski/324110/expmap_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.fits', expCube='/scratch/kocevski/324110/ltcube_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324110/Model_4FGL_J2153.8-1137_daily_bin1703.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2153.8-1137'

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.202e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.552e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  6.399e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/324110/ft1_filtered_4FGL_J2153.8-1137_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/324110/ft2_4FGL_J2153.8-1137_daily_bin1703.fits
Exposure map: /scratch/kocevski/324110/expmap_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.fits
Exposure cube: /scratch/kocevski/324110/ltcube_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324110/Model_4FGL_J2153.8-1137_daily_bin1703.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) = 800.584364189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7079       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .12175E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.910       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.398       1.0000         .10000E-03   10000.    
    13 'Prefactor '    130.56       1.0000         .10000E-03   10000.    
    14 'Prefactor '    149.07       1.0000         .10000E-03   10000.    
    15 'Prefactor '    82.402       1.0000         .10000E-03   10000.    
    16 'Prefactor '    68.926       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    104.52       1.0000         .10000E-03   10000.    
    19 'norm      '    21.780       1.0000         .10000E-03   10000.    
    20 'Prefactor '    315.12       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .10004E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    .81474       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   800.5507     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2491 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    239.27       -.12272E-05** at limit **
   2  Prefactor     .10000E-03    218.93       -.55369E-06** at limit **
   3  Prefactor     .10000E-03    182.52        .43586E-06** at limit **
   4  Prefactor     .10000E-03    29.046       -.91216E-08** at limit **
   5  Prefactor     6.7070        13.747       -.34089E-06    .77940E-04
   6  Prefactor     .10000E-03    50.924        .48408E-06** at limit **
   7  Prefactor     .10000E-03    140.74        .90612E-06** at limit **
   8  Prefactor     .10000E-03    55.608       -.96600E-06** at limit **
   9  norm          .10000E-03    195.02        .10549E-05** at limit **
  10  Prefactor     14.903        26.774       -.37389E-06    .11077E-03
  11  Prefactor     .10000E-03    21.343       -.17449E-08** at limit **
  12  Prefactor     22.325        143.84       -.17351E-05    .54066E-04
  13  Prefactor     130.55        88.800       -.24988E-06    .95545E-04
  14  Prefactor     149.04        70.079        .89599E-06    .25649E-03
  15  Prefactor     82.395        48.467       -.68937E-07    .19107E-03
  16  Prefactor     68.769        225.18       -.19099E-05    .24734E-04
  17  Prefactor     .10000E-03    7.1009       -.12424E-06** at limit **
  18  Prefactor     104.47        127.45        .47372E-06    .60392E-04
  19  norm          21.777        13.779        .25364E-06    .47608E-03
  20  Prefactor     314.98        265.16       -.85534E-06    .11931E-04
  21  norm          .10000E-03    .77000       -.19651E-06** at limit **
  22  Normalizat    .10000E-01    .43951       -.42554E-04** at limit **
  23  Prefactor     .81427        .24633        .77688E-05    .26810E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.70702
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 0.000100005
  Prefactor  = 14.9026
  Prefactor  = 0.0001
  Prefactor  = 22.3253
  Prefactor  = 130.552
  Prefactor  = 149.043
  Prefactor  = 82.3954
  Prefactor  = 68.7686
  Prefactor  = 0.0001
  Prefactor  = 104.471
  norm       = 21.7775
  Prefactor  = 314.978
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.81427
 **********
 **   18 **HESSE 
 **********

 FCN=   800.5507     FROM HESSE     STATUS=OK           352 CALLS     2843 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    239.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    218.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    182.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.046        .14903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.7070        13.762        .14495E-03   -1.5190    
   6  Prefactor     .10000E-03    50.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    140.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    55.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    196.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.903        26.805        .10373E-03   -1.4936    
  11  Prefactor     .10000E-03    21.347        .12772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.325        144.53        .84635E-04   -1.4763    
  13  Prefactor     130.55        88.915        .35238E-04   -1.3418    
  14  Prefactor     149.04        70.285        .16505E-03   -1.3260    
  15  Prefactor     82.395        48.531        .44248E-04   -1.3890    
  16  Prefactor     68.769        225.44        .24174E-03   -1.4048    
  17  Prefactor     .10000E-03    7.1108        .73612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     104.47        127.65        .19666E-03   -1.3660    
  19  norm          21.777        13.835        .71841E-04   -1.4774    
  20  Prefactor     314.98        265.24        .11448E-03   -1.2140    
  21  norm          .10000E-03    .77713        .24213E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .62391        .11077E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .81427        .25977        .20597E-03   -.99204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35903e-09
Minuit parameter uncertainties:
  1  0.00192957
  2  0.000910451
  3  0.000557683
  4  7.53466e-06
  5  13.769
  6  0.000379631
  7  0.00100316
  8  0.00035957
  9  0.00192732
  10  26.8266
  11  4.30605e-06
  12  114.012
  13  89.006
  14  70.3248
  15  48.5539
  16  228.339
  17  5.94999e-06
  18  127.984
  19  13.8368
  20  266.268
  21  8.59876e-06
  22  3.3214e-05
  23  0.260163
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.490e+01  2.683e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.552e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  6.399e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  8.143e-01  2.602e-01  0.000e+00  1.000e+01 ( 1.000e+00)
505        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
506        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  1.000e-02  3.321e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 328.461 -11.631
Photon Flux Upper Limit: 7.86e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/324110/likelihoodResults_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.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) = 800.077084943
delta logL = 0.473632473351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 800.031455241
delta logL = 0.519262175949

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.000       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5841       1.0000          .0000       10.000    
     3 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79868       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   800.0315     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      218 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.015        30.484        .45587E-05    .10899E-03
   2  Index         1.5842        .72583        .30113E-04   -.18382E-04
   3  Normalizat    .10000E-01    .60068       -.39300E-05** at limit **
   4  Prefactor     .79856        .24102        .56193E-07    .64377E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.0147
  Index      = 1.58415
  Normalizat = 0.01
  Prefactor  = 0.798558
 **********
 **   18 **HESSE 
 **********

 FCN=   800.0315     FROM HESSE     STATUS=OK            29 CALLS      247 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.015        30.353        .41761E-03   -1.4748    
   2  Index         1.5842        .72055        .48789E-02   -.75209    
   3  Normalizat    .10000E-01    .76034        .11611E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .79856        .20493        .20717E-03   -.99781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63021e-11
Minuit parameter uncertainties:
  1  30.3735
  2  0.725309
  3  3.83304e-06
  4  0.205121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324110': 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) = 800.031452906
delta logL = 0.519264510265

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  2.301e+01  3.037e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.584e+00  7.253e-01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  6.399e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  7.986e-01  2.051e-01  0.000e+00  1.000e+01 ( 1.000e+00)
505        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
506        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  1.000e-02  3.833e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.55
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 1.58 +/- 0.73
Photon Flux (Free Index): 7.33e-08 +/- 1.03e-07
Energy Flux (Free Index): 1.75e-04 +/- 3.72e-04

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/324110/cmap_HighResolution_680745601_681004801_4FGL_J2153.8-1137_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-02', comment='SUCCESS', energy_flux2='1.75e-04', dlogl='5.19e-01', photon_flux2='7.33e-08', job_status='DONE', time_completed='2022-08-01 01:28:19.789895', photon_index_error2='0.73', photon_index2='1.58', ts='0.52', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='7.86e-07', energy_flux_error2='3.72e-04', EG='0.01', time_epoch_completed='1659342499.79', return_code='0', job_id='324110', GAL2='0.80', EG2='0.01', return_code2='0', photon_flux_error2='1.03e-07', ts2='1.55', photon_index='2.55' WHERE bin_id='1703' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:28:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 324110: <4FGL_J2153.8-1137_daily_bin1703> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:20:18 2022
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:21:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:21:24 2022
Terminated at Mon Aug  1 01:28:20 2022
Results reported at Mon Aug  1 01:28:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1703 328.461 -11.6306 680745601 681004801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2153.8-1137 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   364.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             332.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   416 sec.
    Turnaround time :                            482 sec.

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

