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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1758
RA = 328.461, Dec = -11.6306
tmin = 695001601, tmax = 695260801
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='383720', job_status='RUN', time_executed='2023-01-13 01:46:59.978517', time_epoch_executed='1673603219.98' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/383720

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/383720/ft1_4FGL_J2153.8-1137_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/383720/ft2_4FGL_J2153.8-1137_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/383720/ft1_4FGL_J2153.8-1137_daily_bin1758.fits outfile=/scratch/kocevski/383720/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1758.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=695001601.0 tmax=695260801.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.84
user 2.57
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/383720/ft2_4FGL_J2153.8-1137_daily_bin1758.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/383720/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/383720/ft1_filtered_4FGL_J2153.8-1137_daily_bin1758.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.57
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 427

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/383720/ft1_filtered_4FGL_J2153.8-1137_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/383720/ft2_4FGL_J2153.8-1137_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/383720/ltcube_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.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/383720/ft2_4FGL_J2153.8-1137_daily_bin1758.fits
.....................!
real 17.77
user 17.14
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/383720/ft1_filtered_4FGL_J2153.8-1137_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/383720/ft2_4FGL_J2153.8-1137_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/383720/ltcube_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.fits outfile=/scratch/kocevski/383720/expmap_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.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/383720/ltcube_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.fits
.....................!
real 195.10
user 188.97
sys 4.97

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/383720/ft1_filtered_4FGL_J2153.8-1137_daily_bin1758.fits scfile=/scratch/kocevski/383720/ft2_4FGL_J2153.8-1137_daily_bin1758.fits outfile=/scratch/kocevski/383720/cmap_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.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.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/383720/ft1_filtered_4FGL_J2153.8-1137_daily_bin1758.fits scfile=/scratch/kocevski/383720/ft2_4FGL_J2153.8-1137_daily_bin1758.fits outfile=/scratch/kocevski/383720/cmap_HighResolution_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/383720/ft1_filtered_4FGL_J2153.8-1137_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/383720/ft2_4FGL_J2153.8-1137_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/383720/Model_4FGL_J2153.8-1137_daily_bin1758.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/383720/ft1_filtered_4FGL_J2153.8-1137_daily_bin1758.fits.....................!
real 51.36
user 49.26
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/383720/ft1_filtered_4FGL_J2153.8-1137_daily_bin1758.fits', '/scratch/kocevski/383720/ft2_4FGL_J2153.8-1137_daily_bin1758.fits', expMap='/scratch/kocevski/383720/expmap_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.fits', expCube='/scratch/kocevski/383720/ltcube_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/383720/Model_4FGL_J2153.8-1137_daily_bin1758.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  0.000e+00  1.000e+06 ( 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/383720/ft1_filtered_4FGL_J2153.8-1137_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/383720/ft2_4FGL_J2153.8-1137_daily_bin1758.fits
Exposure map: /scratch/kocevski/383720/expmap_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.fits
Exposure cube: /scratch/kocevski/383720/ltcube_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/383720/Model_4FGL_J2153.8-1137_daily_bin1758.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) = 4838.7143406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    74.288       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12535       1.0000          .0000       .10000E+07
     3 'Prefactor '    38.542       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.0932       1.0000          .0000       .10000E+07
     5 'Prefactor '    .47173       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.0393       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10400E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .74580E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .59674E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11881E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .44246       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.7399       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.003       1.0000          .0000       .10000E+07
    14 'Prefactor '    32.846       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.7637       1.0000          .0000       .10000E+07
    16 'Prefactor '    .29833E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.0421       1.0000          .0000       .10000E+07
    18 'Prefactor '    .53660E-05   1.0000          .0000       .10000E+07
    19 'norm      '    1.3442       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.4021       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .57556       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4838.676     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1765 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.101        43.760       -.76840E-07    .49622E-01
   2  Prefactor     .11308E-03    47.148       -.32842E-06** at limit **
   3  Prefactor     44.231        75.440       -.69395E-06   -.28346E-02
   4  Prefactor     6.0826        10.236        .62379E-07   -.26808E-03
   5  Prefactor     .38210        5.1767        .27854E-06    .23090E-02
   6  Prefactor     5.0691        11.992       -.57584E-07   -.33632E-01
   7  Prefactor     .33307E-09    7.8247       -.12520E-06** at limit **
   8  norm          .16653E-09    2.2931        .99532E-07** at limit **
   9  Prefactor      .0000        1.6796        .18044E-07** at limit **
  10  Prefactor      .0000        4.6855       -.36880E-07** at limit **
  11  Prefactor     .89355        126.85        .39413E-06   -.14434E-01
  12  Prefactor     4.7909        9.7227        .25282E-07   -.19605E-02
  13  Prefactor     23.963        16.414       -.59145E-07    .10674E-01
  14  Prefactor     32.895        9.2121       -.16200E-07    .10234    
  15  Prefactor     5.7730        4.1081       -.33130E-08   -.51245E-02
  16  Prefactor     .20367E-06    29.209        .37466E-06** at limit **
  17  norm          4.0572        3.2626       -.25893E-07   -.36733E-02
  18  Prefactor     .53962E-06    22.161        .38609E-07** at limit **
  19  norm          1.3459        .76449       -.15733E-07   -.10656E-01
  20  Normalizat    1.3981        .29268        .94478E-06   -.11654E-03
  21  Prefactor     .57568        .16169       -.87931E-06   -.14114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.1007
  Prefactor  = 0.000113084
  Prefactor  = 44.2312
  Prefactor  = 6.08256
  Prefactor  = 0.382099
  Prefactor  = 5.06911
  Prefactor  = 3.33067e-10
  norm       = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.893546
  Prefactor  = 4.79095
  Prefactor  = 23.9628
  Prefactor  = 32.8953
  Prefactor  = 5.77302
  Prefactor  = 2.0367e-07
  norm       = 4.05722
  Prefactor  = 5.39624e-07
  norm       = 1.34587
  Normalizat = 1.39815
  Prefactor  = 0.575684
 **********
 **   18 **HESSE 
 **********

 FCN=   4838.676     FROM HESSE     STATUS=OK           367 CALLS     2132 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.101        51.606        .11603E-03   -1.5535    
   2  Prefactor     .11308E-03    29.375        .13293E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     44.231        80.246        .16109E-03   -1.5575    
   4  Prefactor     6.0826        10.285        .40650E-03   -1.5659    
   5  Prefactor     .38210        5.8294        .81606E-03   -1.5696    
   6  Prefactor     5.0691        14.642        .44770E-03   -1.5663    
   7  Prefactor     .33307E-09    7.8365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .16653E-09    2.2972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.6779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.7115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .89355        139.27        .84723E-03   -1.5689    
  12  Prefactor     4.7909        9.7566        .46193E-03   -1.5664    
  13  Prefactor     23.963        16.523        .20416E-03   -1.5610    
  14  Prefactor     32.895        14.552        .17451E-03   -1.5593    
  15  Prefactor     5.7730        4.2597        .41812E-03   -1.5660    
  16  Prefactor     .20367E-06    29.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.0572        3.2652        .50130E-03   -1.5668    
  18  Prefactor     .53962E-06    22.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.3459        .76669        .94441E-03   -1.5685    
  20  Normalizat    1.3981        .24897        .60144E-01   -.80682    
  21  Prefactor     .57568        .13904        .40720E-01   -1.0862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05642e-07
Minuit parameter uncertainties:
  1  51.6059
  2  0.115272
  3  80.2481
  4  10.285
  5  2.98492
  6  14.6419
  7  9.94184e-05
  8  4.21256e-05
  9  6.93923e-06
  10  1.33584e-05
  11  22.3118
  12  9.75661
  13  16.5231
  14  14.5521
  15  4.25966
  16  0.00490145
  17  3.26519
  18  0.0070285
  19  0.766692
  20  0.249188
  21  0.13912
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  6.939e-06  0.000e+00  1.000e+06 ( 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:  5.757e-01  1.391e-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.398e+00  2.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 328.461 -11.631
Photon Flux Upper Limit: 6.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/383720/likelihoodResults_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4838.67922008
delta logL = -0.00366436728382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4838.67555607
delta logL = -3.53694304067e-07

Fit tolerance = 1e-08

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

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

 FCN=   4838.676     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      246 TOTAL
                     EDM=   .60E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .40952        .42118E-03** at limit **
   2  Index         .82794        1.0570       -.38418E-04     .0000    
   3  Normalizat    1.3981        1.0622        .68175E-06    .14621E-06
   4  Prefactor     .57568        .92249       -.31666E-05    .14054E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.827936
  Normalizat = 1.39815
  Prefactor  = 0.575685
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4838.676     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .60E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .40952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13584E-01    1.1334       -.38418E-04   -.98707    
   3  Normalizat    1.3981        1.0622        .68175E-06   -.80682    
   4  Prefactor     .57568        .92249       -.31666E-05   -1.0862    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.9759e-13
Minuit parameter uncertainties:
  1  1.39829e-08
  2  1.08475
  3  1.07967
  4  0.948489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/383720': 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): 101
logL (Free Index) = 4838.67555571
delta logL = 1.1823431123e-11

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  1.398e-08  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  8.279e-01  1.085e+00  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:  5.757e-01  9.485e-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.398e+00  1.080e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 328.461 -11.631

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/383720/cmap_HighResolution_695001601_695260801_4FGL_J2153.8-1137_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.31e-03', job_status='DONE', photon_flux_upper_limit='6.81e-08', time_completed='2023-01-13 01:55:38.416957', job_id='383720', GAL2='0.58', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1673603738.42', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.58', dlogl='1.18e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1758' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 01:55:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 383720: <4FGL_J2153.8-1137_daily_bin1758> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1758> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Jan 13 01:45:32 2023
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 01:46:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 01:46:33 2023
Terminated at Fri Jan 13 01:55:39 2023
Results reported at Fri Jan 13 01:55:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1758 328.461 -11.6306 695001601 695260801 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 :                                   518.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             327.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   545 sec.
    Turnaround time :                            607 sec.

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

