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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1717
RA = 328.461, Dec = -11.6306
tmin = 684374401, tmax = 684633601
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='238574', job_status='RUN', time_executed='2022-09-16 23:37:46.282701', time_epoch_executed='1663396666.28' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/238574

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/238574/ft1_4FGL_J2153.8-1137_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/238574/ft2_4FGL_J2153.8-1137_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/238574/ft1_4FGL_J2153.8-1137_daily_bin1717.fits outfile=/scratch/kocevski/238574/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1717.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=684374401.0 tmax=684633601.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 5.05
user 4.78
sys 0.24

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

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

Number of photons that the gtmktime cut: 555

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/238574/ft1_filtered_4FGL_J2153.8-1137_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/238574/ft2_4FGL_J2153.8-1137_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/238574/ltcube_684374401_684633601_4FGL_J2153.8-1137_daily_bin1717.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/238574/ft2_4FGL_J2153.8-1137_daily_bin1717.fits
.....................!
real 13.93
user 13.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/238574/ft1_filtered_4FGL_J2153.8-1137_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/238574/ft2_4FGL_J2153.8-1137_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/238574/ltcube_684374401_684633601_4FGL_J2153.8-1137_daily_bin1717.fits outfile=/scratch/kocevski/238574/expmap_684374401_684633601_4FGL_J2153.8-1137_daily_bin1717.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/238574/ltcube_684374401_684633601_4FGL_J2153.8-1137_daily_bin1717.fits
.....................!
real 192.04
user 185.83
sys 5.73

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/238574/ft1_filtered_4FGL_J2153.8-1137_daily_bin1717.fits scfile=/scratch/kocevski/238574/ft2_4FGL_J2153.8-1137_daily_bin1717.fits outfile=/scratch/kocevski/238574/cmap_684374401_684633601_4FGL_J2153.8-1137_daily_bin1717.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/238574/ft1_filtered_4FGL_J2153.8-1137_daily_bin1717.fits scfile=/scratch/kocevski/238574/ft2_4FGL_J2153.8-1137_daily_bin1717.fits outfile=/scratch/kocevski/238574/cmap_HighResolution_684374401_684633601_4FGL_J2153.8-1137_daily_bin1717.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.58
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/238574/ft1_filtered_4FGL_J2153.8-1137_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/238574/ft2_4FGL_J2153.8-1137_daily_bin1717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/238574/Model_4FGL_J2153.8-1137_daily_bin1717.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/238574/ft1_filtered_4FGL_J2153.8-1137_daily_bin1717.fits.....................!
real 59.11
user 57.65
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81773E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .96377E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    19.278       1.0000          .0000       .10000E+07
     4 'Prefactor '    .77518       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21734E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13549E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.8946       1.0000          .0000       .10000E+07
     8 'norm      '    5.3185       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.4343       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.3749       1.0000          .0000       .10000E+07
    11 'Prefactor '    .87439E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6946       1.0000          .0000       .10000E+07
    13 'Prefactor '    21.808       1.0000          .0000       .10000E+07
    14 'Prefactor '    26.295       1.0000          .0000       .10000E+07
    15 'Prefactor '    .61217E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    20.704       1.0000          .0000       .10000E+07
    17 'norm      '    1.2246       1.0000          .0000       .10000E+07
    18 'Prefactor '    .64440E-01   1.0000          .0000       .10000E+07
    19 'norm      '    1.7392       1.0000          .0000       .10000E+07
    20 'Normalizat'    .93481       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0219       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=   6061.243     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1632 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13711E-07    5.0867        .10986E-05** at limit **
   2  Prefactor     .34972E-08    4.3660        .34336E-06** at limit **
   3  Prefactor     19.936        36.240        .22723E-06    .79439E-01
   4  Prefactor     .77766        .54523        .40309E-07   -.13020E-02
   5  Prefactor      .0000        2.8239       -.46466E-06** at limit **
   6  Prefactor     .24925E-07    4.8652       -.19636E-05** at limit **
   7  Prefactor     1.8994        1.4199        .42508E-06   -.49594E-03
   8  norm          5.3202        7.0797        .31147E-06    .15875E-02
   9  Prefactor     2.4117        6.0810       -.16660E-06   -.19213E-02
  10  Prefactor     8.3776        5.1490       -.17120E-05   -.41845E-01
  11  Prefactor      .0000        8.5642        .71987E-06** at limit **
  12  Prefactor     4.7104        16.294        .85029E-05    .31163E-01
  13  Prefactor     21.812        1.8651       -.28132E-06   -.28809E-01
  14  Prefactor     26.273        3.4213        .47031E-06    .98454E-01
  15  Prefactor     .66613E-09    2.0495        .18104E-06** at limit **
  16  Prefactor     21.331        29.406        .42335E-05   -.10718    
  17  norm          1.2246        2.2225        .37000E-07    .22455E-02
  18  Prefactor     .16098E-08    24.250        .11411E-05** at limit **
  19  norm          1.7379        1.0123       -.23235E-07    .43441E-02
  20  Normalizat    .93440        .25873       -.48162E-05    .19776E-03
  21  Prefactor     1.0220        .16221       -.92361E-06    .34781E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.37113e-08
  Prefactor  = 3.4972e-09
  Prefactor  = 19.9362
  Prefactor  = 0.777661
  Prefactor  = 0
  Prefactor  = 2.49245e-08
  Prefactor  = 1.89945
  norm       = 5.32017
  Prefactor  = 2.41168
  Prefactor  = 8.37758
  Prefactor  = 0
  Prefactor  = 4.71043
  Prefactor  = 21.8123
  Prefactor  = 26.273
  Prefactor  = 6.66134e-10
  Prefactor  = 21.3312
  norm       = 1.22459
  Prefactor  = 1.60982e-09
  norm       = 1.73785
  Normalizat = 0.934395
  Prefactor  = 1.022
 **********
 **   18 **HESSE 
 **********

 FCN=   6061.243     FROM HESSE     STATUS=OK           363 CALLS     1995 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13711E-07    5.1271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .34972E-08    4.3701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.936        42.659        .22783E-03   -1.5619    
   4  Prefactor     .77766        7.6966        .54804E-03   -1.5690    
   5  Prefactor      .0000        2.7844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .24925E-07    4.9414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.8994        17.695        .75552E-03   -1.5680    
   8  norm          5.3202        7.1237        .43557E-03   -1.5662    
   9  Prefactor     2.4117        6.1244        .65557E-03   -1.5677    
  10  Prefactor     8.3776        12.457        .34617E-03   -1.5650    
  11  Prefactor      .0000        8.5683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.7104        18.557        .46420E-03   -1.5665    
  13  Prefactor     21.812        13.443        .21419E-03   -1.5615    
  14  Prefactor     26.273        12.790        .19505E-03   -1.5605    
  15  Prefactor     .66613E-09    2.0425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.331        47.761        .21984E-03   -1.5616    
  17  norm          1.2246        2.2734        .10176E-02   -1.5686    
  18  Prefactor     .16098E-08    24.217        .15006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.7379        1.0254        .79528E-03   -1.5682    
  20  Normalizat    .93440        .22334        .69898E-01   -.95262    
  21  Prefactor     1.0220        .13611        .41955E-01   -.92000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81225e-06
Minuit parameter uncertainties:
  1  0.0005305
  2  0.000247805
  3  42.6592
  4  4.89299
  5  7.07665e-06
  6  0.000701774
  7  11.595
  8  7.1237
  9  6.12437
  10  12.4569
  11  4.65594e-06
  12  18.5574
  13  13.4432
  14  12.7903
  15  7.22274e-05
  16  47.7623
  17  2.27345
  18  0.00039227
  19  1.02543
  20  0.223565
  21  0.136156
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  2.412e+00  6.124e+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:  1.022e+00  1.362e-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:  9.344e-01  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 328.461 -11.631
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/238574/likelihoodResults_684374401_684633601_4FGL_J2153.8-1137_daily_bin1717.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) = 6061.19791586
delta logL = 0.0454515363263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6061.19555841
delta logL = 0.0478089845001

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5539       1.0000          .0000       .10000E+07
     2 'Index     '    2.2456       1.0000          .0000       10.000    
     3 'Normalizat'    .93756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0190       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=   6061.196     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      281 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5533        7.5253        .21436E-04   -.25457E-03
   2  Index         2.2454        .88749        .12706E-01    .50573E-05
   3  Normalizat    .93759        .25294        .30874E-03   -.93271E-04
   4  Prefactor     1.0190        .16132        .18851E-03   -.21913E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.55332
  Index      = 2.24538
  Normalizat = 0.937591
  Prefactor  = 1.019
 **********
 **   18 **HESSE 
 **********

 FCN=   6061.196     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5533        7.4077        .85744E-06   -1.5670    
   2  Index         2.2454        .87413        .50823E-03   -.58347    
   3  Normalizat    .93759        .25319        .12350E-04   -.95152    
   4  Prefactor     1.0190        .16143        .37701E-04   -.92099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49874e-11
Minuit parameter uncertainties:
  1  7.40775
  2  0.880658
  3  0.253512
  4  0.161508
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/238574': 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) = 6061.19555836
delta logL = 0.0478090377628

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.553e+00  7.408e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.245e+00  8.807e-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:  1.019e+00  1.615e-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:  9.376e-01  2.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/238574/cmap_HighResolution_684374401_684633601_4FGL_J2153.8-1137_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.27e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2022-09-16 23:46:55.093505', job_id='238574', GAL2='1.02', fit_tolerance='1e-08', EG2='0.94', EG='0.93', time_epoch_completed='1663397215.09', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='4.78e-02', ts2='0.27', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1717' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:46:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 238574: <4FGL_J2153.8-1137_daily_bin1717> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1717> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 23:35:18 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:35:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:35:48 2022
Terminated at Fri Sep 16 23:46:55 2022
Results reported at Fri Sep 16 23:46:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1717 328.461 -11.6306 684374401 684633601 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 :                                   550.29 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             279.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            697 sec.

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

