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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1744
RA = 328.461, Dec = -11.6306
tmin = 691372801, tmax = 691632001
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='594449', job_status='RUN', time_executed='2022-12-02 01:53:41.547385', time_epoch_executed='1669974821.55' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594449

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594449/ft1_4FGL_J2153.8-1137_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594449/ft2_4FGL_J2153.8-1137_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594449/ft1_4FGL_J2153.8-1137_daily_bin1744.fits outfile=/scratch/kocevski/594449/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1744.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=691372801.0 tmax=691632001.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.51
user 2.32
sys 0.18

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

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

Number of photons that the gtmktime cut: 804

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594449/ft1_filtered_4FGL_J2153.8-1137_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/594449/ft2_4FGL_J2153.8-1137_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/594449/ltcube_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.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/594449/ft2_4FGL_J2153.8-1137_daily_bin1744.fits
.....................!
real 12.44
user 12.10
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594449/ft1_filtered_4FGL_J2153.8-1137_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/594449/ft2_4FGL_J2153.8-1137_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/594449/ltcube_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.fits outfile=/scratch/kocevski/594449/expmap_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.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/594449/ltcube_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.fits
.....................!
real 191.03
user 185.42
sys 5.15

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/594449/ft1_filtered_4FGL_J2153.8-1137_daily_bin1744.fits scfile=/scratch/kocevski/594449/ft2_4FGL_J2153.8-1137_daily_bin1744.fits outfile=/scratch/kocevski/594449/cmap_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.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.65
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594449/ft1_filtered_4FGL_J2153.8-1137_daily_bin1744.fits scfile=/scratch/kocevski/594449/ft2_4FGL_J2153.8-1137_daily_bin1744.fits outfile=/scratch/kocevski/594449/cmap_HighResolution_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.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.78
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/594449/ft1_filtered_4FGL_J2153.8-1137_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/594449/ft2_4FGL_J2153.8-1137_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/594449/Model_4FGL_J2153.8-1137_daily_bin1744.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/594449/ft1_filtered_4FGL_J2153.8-1137_daily_bin1744.fits.....................!
real 77.10
user 74.86
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/594449/ft1_filtered_4FGL_J2153.8-1137_daily_bin1744.fits', '/scratch/kocevski/594449/ft2_4FGL_J2153.8-1137_daily_bin1744.fits', expMap='/scratch/kocevski/594449/expmap_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.fits', expCube='/scratch/kocevski/594449/ltcube_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/594449/Model_4FGL_J2153.8-1137_daily_bin1744.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/594449/ft1_filtered_4FGL_J2153.8-1137_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/594449/ft2_4FGL_J2153.8-1137_daily_bin1744.fits
Exposure map: /scratch/kocevski/594449/expmap_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.fits
Exposure cube: /scratch/kocevski/594449/ltcube_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/594449/Model_4FGL_J2153.8-1137_daily_bin1744.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) = 8643.70325099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35093E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3920       1.0000          .0000       .10000E+07
     3 'Prefactor '    .95890E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.5804       1.0000          .0000       .10000E+07
     5 'Prefactor '    .38403       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.043       1.0000          .0000       .10000E+07
     7 'Prefactor '    13.468       1.0000          .0000       .10000E+07
     8 'norm      '    .34144E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.2767       1.0000          .0000       .10000E+07
    10 'Prefactor '    .34122E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34955E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.6520       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.9529       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10441E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .64799E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    36.964       1.0000          .0000       .10000E+07
    17 'norm      '    3.4534       1.0000          .0000       .10000E+07
    18 'Prefactor '    68.510       1.0000          .0000       .10000E+07
    19 'norm      '    5.5035       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.4892       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .75956       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=   8643.673     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1651 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.7197       -.94118E-07** at limit **
   2  Prefactor     2.3854        13.145        .23105E-07    .10591E-03
   3  Prefactor      .0000        8.3486        .11925E-06** at limit **
   4  Prefactor     3.5240        4.4778       -.48771E-07    .11402E-05
   5  Prefactor     .38618        1.1790       -.38012E-07   -.26026E-04
   6  Prefactor     11.052        9.4323       -.19355E-06    .12176E-02
   7  Prefactor     13.600        10.377        .16492E-06   -.28788E-01
   8  norm           .0000        1.6850        .44785E-07** at limit **
   9  Prefactor     6.3568        5.4891       -.73437E-07    .82447E-03
  10  Prefactor      .0000        2.0966       -.83675E-08** at limit **
  11  Prefactor      .0000        15.922        .16478E-06** at limit **
  12  Prefactor     7.6743        12.090        .25876E-06    .18156E-01
  13  Prefactor     2.9701        6.3938        .12529E-06   -.14742E-03
  14  Prefactor      .0000        3.2178        .44785E-07** at limit **
  15  Prefactor     .21649E-08    183.44       -.14238E-05** at limit **
  16  Prefactor     37.057        3.2454       -.24285E-07   -.22838E-01
  17  norm          3.4465        2.7125        .10692E-06   -.17501E-02
  18  Prefactor     70.226        70.338       -.47567E-06    .14735E-02
  19  norm          5.5041        1.3144       -.27039E-08   -.41132E-03
  20  Normalizat    1.4879        .22951       -.67116E-06   -.15088E-03
  21  Prefactor     .75998        .13326        .47274E-05   -.21100E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.38543
  Prefactor  = 0
  Prefactor  = 3.524
  Prefactor  = 0.386178
  Prefactor  = 11.0517
  Prefactor  = 13.5997
  norm       = 0
  Prefactor  = 6.35677
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 7.67427
  Prefactor  = 2.97012
  Prefactor  = 0
  Prefactor  = 2.16493e-09
  Prefactor  = 37.0572
  norm       = 3.44646
  Prefactor  = 70.2255
  norm       = 5.50407
  Normalizat = 1.48787
  Prefactor  = 0.759981
 **********
 **   18 **HESSE 
 **********

 FCN=   8643.673     FROM HESSE     STATUS=OK           371 CALLS     2022 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.7283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3854        13.450        .66191E-03   -1.5677    
   3  Prefactor      .0000        8.3207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5240        4.4948        .53383E-03   -1.5670    
   5  Prefactor     .38618        1.2142        .91361E-03   -1.5696    
   6  Prefactor     11.052        9.4354        .30123E-03   -1.5641    
   7  Prefactor     13.600        16.377        .27268E-03   -1.5634    
   8  norm           .0000        1.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.3568        5.5092        .40043E-03   -1.5658    
  10  Prefactor      .0000        2.0974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        15.275        .16200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.6743        15.086        .36228E-03   -1.5653    
  13  Prefactor     2.9701        6.4116        .59073E-03   -1.5673    
  14  Prefactor      .0000        3.2259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .21649E-08    1.4664        .63302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.057        78.506        .16450E-03   -1.5586    
  17  norm          3.4465        2.7207        .54397E-03   -1.5671    
  18  Prefactor     70.226        70.528        .12082E-03   -1.5540    
  19  norm          5.5041        1.3412        .42805E-03   -1.5661    
  20  Normalizat    1.4879        .19592        .61412E-01   -.78120    
  21  Prefactor     .75998        .11283        .43189E-01   -1.0122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07794e-07
Minuit parameter uncertainties:
  1  3.34722e-06
  2  11.3286
  3  2.15916e-05
  4  4.49481
  5  1.21417
  6  9.4354
  7  16.3775
  8  1.05373e-06
  9  5.50916
  10  8.21148e-07
  11  1.24661e-05
  12  15.0862
  13  6.41164
  14  3.57453e-06
  15  0.000113186
  16  78.5078
  17  2.72074
  18  70.5285
  19  1.34122
  20  0.196018
  21  0.112862
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  6.357e+00  5.509e+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

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  7.600e-01  1.129e-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.488e+00  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.08
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 4.68e-08 +/- 4.05e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 1.11e-05

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

Saving results to:
/scratch/kocevski/594449/likelihoodResults_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.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) = 8643.12967433
delta logL = 0.543613661064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8643.12130317
delta logL = 0.551984820899

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8643.121     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      282 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2934        8.5847        .10156E-04    .26509E-02
   2  Index         3.4963        1.7979        .68970E-02    .72439E-04
   3  Normalizat    1.4310        .22882        .27585E-03    .54813E-04
   4  Prefactor     .78313        .13548        .21686E-03    .71298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.29338
  Index      = 3.4963
  Normalizat = 1.43104
  Prefactor  = 0.783128
 **********
 **   18 **HESSE 
 **********

 FCN=   8643.121     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2934        4.9598        .40622E-06   -1.5672    
   2  Index         3.4963        1.0549        .27588E-03   -.30547    
   3  Normalizat    1.4310        .22738        .11034E-04   -.79735    
   4  Prefactor     .78313        .13431        .86742E-05   -1.0035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09209e-11
Minuit parameter uncertainties:
  1  4.95983
  2  1.06365
  3  0.227543
  4  0.134361
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594449': 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) = 8643.12130307
delta logL = 0.551984927197

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.293e+00  4.960e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  3.496e+00  1.064e+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:  7.831e-01  1.344e-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.431e+00  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.30
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 3.50 +/- 1.06
Photon Flux (Free Index): 8.71e-08 +/- 5.85e-08
Energy Flux (Free Index): 1.45e-05 +/- 9.47e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/594449/cmap_HighResolution_691372801_691632001_4FGL_J2153.8-1137_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.68e-08', energy_flux2='1.45e-05', photon_flux_error='4.05e-08', dlogl='5.52e-01', energy_flux='1.29e-05', photon_flux2='8.71e-08', job_status='DONE', time_completed='2022-12-02 02:04:14.632567', photon_index_error2='1.06', photon_index2='3.50', ts='2.08', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='9.47e-06', EG='1.49', time_epoch_completed='1669975454.63', return_code='0', job_id='594449', GAL2='0.78', EG2='1.43', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='5.85e-08', ts2='3.30', photon_index='2.55' WHERE bin_id='1744' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 02:04:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 594449: <4FGL_J2153.8-1137_daily_bin1744> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec  2 01:50:28 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:50:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:50:29 2022
Terminated at Fri Dec  2 02:04:15 2022
Results reported at Fri Dec  2 02:04:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1744 328.461 -11.6306 691372801 691632001 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 :                                   633.14 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             306.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            827 sec.

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

