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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1728
RA = 328.461, Dec = -11.6306
tmin = 687225601, tmax = 687484801
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='304442', job_status='RUN', time_executed='2022-10-15 00:36:27.082469', time_epoch_executed='1665819387.08' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304442

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304442/ft1_4FGL_J2153.8-1137_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304442/ft2_4FGL_J2153.8-1137_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304442/ft1_4FGL_J2153.8-1137_daily_bin1728.fits outfile=/scratch/kocevski/304442/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1728.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=687225601.0 tmax=687484801.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.72
user 2.50
sys 0.20

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

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

Number of photons that the gtmktime cut: 434

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304442/ft1_filtered_4FGL_J2153.8-1137_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304442/ft2_4FGL_J2153.8-1137_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/304442/ltcube_687225601_687484801_4FGL_J2153.8-1137_daily_bin1728.fits outfile=/scratch/kocevski/304442/expmap_687225601_687484801_4FGL_J2153.8-1137_daily_bin1728.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/304442/ltcube_687225601_687484801_4FGL_J2153.8-1137_daily_bin1728.fits
.....................!
real 190.44
user 185.14
sys 4.95

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/304442/ft1_filtered_4FGL_J2153.8-1137_daily_bin1728.fits scfile=/scratch/kocevski/304442/ft2_4FGL_J2153.8-1137_daily_bin1728.fits outfile=/scratch/kocevski/304442/cmap_687225601_687484801_4FGL_J2153.8-1137_daily_bin1728.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304442/ft1_filtered_4FGL_J2153.8-1137_daily_bin1728.fits scfile=/scratch/kocevski/304442/ft2_4FGL_J2153.8-1137_daily_bin1728.fits outfile=/scratch/kocevski/304442/cmap_HighResolution_687225601_687484801_4FGL_J2153.8-1137_daily_bin1728.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/304442/ft1_filtered_4FGL_J2153.8-1137_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304442/ft2_4FGL_J2153.8-1137_daily_bin1728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/304442/Model_4FGL_J2153.8-1137_daily_bin1728.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/304442/ft1_filtered_4FGL_J2153.8-1137_daily_bin1728.fits.....................!
real 51.01
user 49.68
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20773E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.7229       1.0000          .0000       .10000E+07
     3 'Prefactor '    .80661E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25308E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.9574       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15434E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    31.754       1.0000          .0000       .10000E+07
     8 'norm      '    .45688E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .50578E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    29.100       1.0000          .0000       .10000E+07
    11 'Prefactor '    36.214       1.0000          .0000       .10000E+07
    12 'Prefactor '    .93821E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.3540       1.0000          .0000       .10000E+07
    14 'Prefactor '    20.238       1.0000          .0000       .10000E+07
    15 'Prefactor '    .66642E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .42429       1.0000          .0000       .10000E+07
    17 'norm      '    .68788       1.0000          .0000       .10000E+07
    18 'Prefactor '    .70390       1.0000          .0000       .10000E+07
    19 'norm      '    3.0345       1.0000          .0000       .10000E+07
    20 'Normalizat'    .66551       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1119       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=   4955.977     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1610 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36382E-06    42.522       -.15931E-05** at limit **
   2  Prefactor     3.7336        11.238       -.44829E-07   -.64166E-01
   3  Prefactor     .17059E-05    88.446        .39172E-06** at limit **
   4  Prefactor     .14244E-06    4.0553       -.16480E-07** at limit **
   5  Prefactor     3.9528        3.4106        .63575E-07    .15331E-03
   6  Prefactor      .0000        2.8635        .17260E-07** at limit **
   7  Prefactor     31.829        11.879       -.78963E-07    .13678    
   8  norm          .78382E-07    3.7743       -.48454E-07** at limit **
   9  Prefactor      .0000        3.8944        .29133E-06** at limit **
  10  Prefactor     29.044        6.1980        .28646E-07   -.53895E-01
  11  Prefactor     36.485        9.2726       -.30533E-08    .10956    
  12  Prefactor     .98976E-07    8.5663       -.27352E-06** at limit **
  13  Prefactor     1.3348        32.094       -.83959E-06   -.11014E-01
  14  Prefactor     20.300        8.4633       -.17920E-07   -.40463E-01
  15  Prefactor      .0000        3.4337       -.12884E-06** at limit **
  16  Prefactor     .81607E-06    47.492       -.43145E-06** at limit **
  17  norm          .69857        7.3673        .61258E-06    .21323E-03
  18  Prefactor     .22374E-04    102.19       -.44841E-06** at limit **
  19  norm          3.0355        1.4397        .81637E-07    .40633E-02
  20  Normalizat    .66514        .29651       -.45986E-05   -.95927E-04
  21  Prefactor     1.1121        .17926       -.60551E-06   -.17366E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.6382e-07
  Prefactor  = 3.73362
  Prefactor  = 1.70591e-06
  Prefactor  = 1.42442e-07
  Prefactor  = 3.95284
  Prefactor  = 0
  Prefactor  = 31.8291
  norm       = 7.83817e-08
  Prefactor  = 0
  Prefactor  = 29.0439
  Prefactor  = 36.4846
  Prefactor  = 9.89764e-08
  Prefactor  = 1.33478
  Prefactor  = 20.3005
  Prefactor  = 0
  Prefactor  = 8.16069e-07
  norm       = 0.698571
  Prefactor  = 2.2374e-05
  norm       = 3.03546
  Normalizat = 0.665143
  Prefactor  = 1.11211
 **********
 **   18 **HESSE 
 **********

 FCN=   4955.977     FROM HESSE     STATUS=OK           357 CALLS     1967 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36382E-06    43.136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7336        17.807        .52310E-03   -1.5669    
   3  Prefactor     .17059E-05    90.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14244E-06    7.6443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9528        3.4186        .50681E-03   -1.5668    
   6  Prefactor      .0000        2.8657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31.829        21.322        .17749E-03   -1.5595    
   8  norm          .78382E-07    7.6224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.8895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.044        22.356        .18541E-03   -1.5600    
  11  Prefactor     36.485        26.925        .16619E-03   -1.5587    
  12  Prefactor     .98976E-07    8.7837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.3348        33.747        .93928E-03   -1.5685    
  14  Prefactor     20.300        16.922        .22236E-03   -1.5618    
  15  Prefactor      .0000        3.4373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .81607E-06    48.568        .86724E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .69857        7.3761        .61698E-03   -1.5691    
  18  Prefactor     .22374E-04    124.81        .60392E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.0355        1.4431        .58225E-03   -1.5673    
  20  Normalizat    .66514        .26211        .82807E-01   -1.0529    
  21  Prefactor     1.1121        .15513        .37151E-01   -.89081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00821e-06
Minuit parameter uncertainties:
  1  0.00792284
  2  16.3079
  3  0.024787
  4  0.00208681
  5  3.41856
  6  1.92418e-06
  7  21.3223
  8  0.00154606
  9  7.30672e-07
  10  22.3557
  11  26.9251
  12  0.00186479
  13  13.4232
  14  16.9219
  15  4.50899e-06
  16  0.0125916
  17  4.53994
  18  0.10569
  19  1.44307
  20  0.262601
  21  0.155193
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  7.307e-07  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.112e+00  1.552e-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:  6.651e-01  2.626e-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: 9.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/304442/likelihoodResults_687225601_687484801_4FGL_J2153.8-1137_daily_bin1728.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) = 4955.97767786
delta logL = -0.00115134322459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4955.97645896
delta logL = 6.7557561124e-05

Fit tolerance = 1e-08

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

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

 FCN=   4955.977     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      296 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1296        .84235E-04** at limit **
   2  Index         2.6691        3.7222       -.31401E-04     .0000    
   3  Normalizat    .66515        .13185        .11661E-07    .11341E-03
   4  Prefactor     1.1121        .81924E-01    .36209E-08   -.44683E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.66909
  Normalizat = 0.665154
  Prefactor  = 1.1121
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4955.977     FROM HESSE     STATUS=FAILED         9 CALLS      305 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1296        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .80628        3.7222       -.31401E-04   -.48497    
   3  Normalizat    .66515        .13185        .11661E-07   -1.0529    
   4  Prefactor     1.1121        .81924E-01    .36209E-08   -.89081    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.80967e-11
Minuit parameter uncertainties:
  1  9.92188e-08
  2  4.42344
  3  0.131908
  4  0.0819336
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304442': 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) = 4955.97652652
delta logL = -6.93034962751e-10

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  9.922e-08  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.669e+00  4.423e+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:  1.112e+00  8.193e-02  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:  6.652e-01  1.319e-01  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/304442/cmap_HighResolution_687225601_687484801_4FGL_J2153.8-1137_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.62e-03', job_status='DONE', photon_flux_upper_limit='9.76e-08', time_completed='2022-10-15 00:44:26.766384', job_id='304442', GAL2='1.11', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1665819866.77', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-6.93e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1728' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:44:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 304442: <4FGL_J2153.8-1137_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1728> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Oct 15 00:35:54 2022
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:35:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:35:55 2022
Terminated at Sat Oct 15 00:44:27 2022
Results reported at Sat Oct 15 00:44:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1728 328.461 -11.6306 687225601 687484801 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 :                                   482.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             372.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   512 sec.
    Turnaround time :                            513 sec.

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

