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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1764
RA = 328.461, Dec = -11.6306
tmin = 696556801, tmax = 696816001
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='466015', job_status='RUN', time_executed='2023-01-31 02:05:02.445563', time_epoch_executed='1675159502.45' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/466015

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/466015/ft1_4FGL_J2153.8-1137_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/466015/ft2_4FGL_J2153.8-1137_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/466015/ft1_4FGL_J2153.8-1137_daily_bin1764.fits outfile=/scratch/kocevski/466015/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1764.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=696556801.0 tmax=696816001.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 3.71
user 3.45
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/466015/ft2_4FGL_J2153.8-1137_daily_bin1764.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/466015/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/466015/ft1_filtered_4FGL_J2153.8-1137_daily_bin1764.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 447

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/466015/ft1_filtered_4FGL_J2153.8-1137_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/466015/ft2_4FGL_J2153.8-1137_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/466015/ltcube_696556801_696816001_4FGL_J2153.8-1137_daily_bin1764.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/466015/ft2_4FGL_J2153.8-1137_daily_bin1764.fits
.....................!
real 14.97
user 14.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/466015/ft1_filtered_4FGL_J2153.8-1137_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/466015/ft2_4FGL_J2153.8-1137_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/466015/ltcube_696556801_696816001_4FGL_J2153.8-1137_daily_bin1764.fits outfile=/scratch/kocevski/466015/expmap_696556801_696816001_4FGL_J2153.8-1137_daily_bin1764.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/466015/ltcube_696556801_696816001_4FGL_J2153.8-1137_daily_bin1764.fits
.....................!
real 191.55
user 186.52
sys 4.44

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/466015/ft1_filtered_4FGL_J2153.8-1137_daily_bin1764.fits scfile=/scratch/kocevski/466015/ft2_4FGL_J2153.8-1137_daily_bin1764.fits outfile=/scratch/kocevski/466015/cmap_696556801_696816001_4FGL_J2153.8-1137_daily_bin1764.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=328.461 yref=-11.6306 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/466015/ft1_filtered_4FGL_J2153.8-1137_daily_bin1764.fits scfile=/scratch/kocevski/466015/ft2_4FGL_J2153.8-1137_daily_bin1764.fits outfile=/scratch/kocevski/466015/cmap_HighResolution_696556801_696816001_4FGL_J2153.8-1137_daily_bin1764.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/466015/ft1_filtered_4FGL_J2153.8-1137_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/466015/ft2_4FGL_J2153.8-1137_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/466015/Model_4FGL_J2153.8-1137_daily_bin1764.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/466015/ft1_filtered_4FGL_J2153.8-1137_daily_bin1764.fits.....................!
real 50.63
user 49.33
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83548E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    22.286       1.0000          .0000       .10000E+07
     3 'Prefactor '    .64123E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6545       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11090       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15004E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    35.505       1.0000          .0000       .10000E+07
     8 'norm      '    .92906E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3841       1.0000          .0000       .10000E+07
    10 'Prefactor '    .94363       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.2573       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.497       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.3658       1.0000          .0000       .10000E+07
    14 'Prefactor '    .33135E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.6269       1.0000          .0000       .10000E+07
    16 'Prefactor '    .39451E-01   1.0000          .0000       .10000E+07
    17 'norm      '    .78199E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15725E-02   1.0000          .0000       .10000E+07
    19 'norm      '    1.0820       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1932       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83825       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=   4989.530     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1304 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24425E-08    7.8512       -.30760E-06** at limit **
   2  Prefactor     22.298        1.0793       -.37468E-07    .86981E-02
   3  Prefactor     .69389E-08    13.307        .53339E-07** at limit **
   4  Prefactor     9.6273        7.4151        .41322E-08   -.78600E-03
   5  Prefactor     .11173        2.9709       -.51895E-07** at limit **
   6  Prefactor     .49405E-08    6.1076        .70477E-06** at limit **
   7  Prefactor     35.807        6.1555       -.61038E-06    .15561    
   8  norm          .20706E-07    3.5256       -.15269E-05** at limit **
   9  Prefactor     4.3633        7.8215       -.16326E-05   -.30317E-01
  10  Prefactor     .96564        .44056        .72270E-07   -.15571E-02
  11  Prefactor     6.1968        1.3807       -.17688E-06   -.49859E-02
  12  Prefactor     36.538        1.0495       -.30739E-07    .12905E-01
  13  Prefactor     9.4213        1.5507       -.18601E-06   -.39158E-02
  14  Prefactor     .27756E-08    2.8280        .24921E-06** at limit **
  15  Prefactor     9.6248        5.0326        .45472E-07   -.87524E-03
  16  Prefactor     .55511E-10    29.251        .19729E-06** at limit **
  17  norm          .73275E-08    2.8853        .88171E-06** at limit **
  18  Prefactor     .37581E-07    38.342        .50606E-06** at limit **
  19  norm          1.0811        .88952        .43792E-07   -.12549E-02
  20  Normalizat    1.1925        .28414        .23024E-04   -.25756E-04
  21  Prefactor     .83839        .16628       -.15236E-04   -.25083E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44249e-09
  Prefactor  = 22.298
  Prefactor  = 6.93889e-09
  Prefactor  = 9.62725
  Prefactor  = 0.111727
  Prefactor  = 4.94049e-09
  Prefactor  = 35.8074
  norm       = 2.07057e-08
  Prefactor  = 4.36333
  Prefactor  = 0.965641
  Prefactor  = 6.19679
  Prefactor  = 36.5379
  Prefactor  = 9.42133
  Prefactor  = 2.77556e-09
  Prefactor  = 9.62482
  Prefactor  = 5.55112e-11
  norm       = 7.32747e-09
  Prefactor  = 3.7581e-08
  norm       = 1.08105
  Normalizat = 1.19249
  Prefactor  = 0.838386
 **********
 **   18 **HESSE 
 **********

 FCN=   4989.530     FROM HESSE     STATUS=OK           365 CALLS     1669 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24425E-08    7.8753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.298        16.988        .21189E-03   -1.5614    
   3  Prefactor     .69389E-08    13.387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.6273        7.4345        .32227E-03   -1.5646    
   5  Prefactor     .11173        1.2090        .28679E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .49405E-08    6.2479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.807        23.969        .16785E-03   -1.5588    
   8  norm          .20706E-07    3.7238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3633        9.7814        .48078E-03   -1.5666    
  10  Prefactor     .96564        48.783        .42789E-03   -1.5688    
  11  Prefactor     6.1968        15.579        .40106E-03   -1.5658    
  12  Prefactor     36.538        21.371        .16555E-03   -1.5587    
  13  Prefactor     9.4213        12.976        .32723E-03   -1.5647    
  14  Prefactor     .27756E-08    3.8890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.6248        5.0415        .32274E-03   -1.5646    
  16  Prefactor     .55511E-10    29.408        .15989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .73275E-08    5.0164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .37581E-07    38.549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.0811        .90815        .11566E-02   -1.5687    
  20  Normalizat    1.1925        .24475        .65827E-01   -.86835    
  21  Prefactor     .83839        .14133        .44213E-01   -.98329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41842e-07
Minuit parameter uncertainties:
  1  0.000278682
  2  16.9881
  3  0.000609751
  4  7.43452
  5  0.735067
  6  0.000352036
  7  23.9691
  8  0.000555112
  9  9.78146
  10  13.727
  11  15.579
  12  21.3709
  13  12.9759
  14  0.000207785
  15  5.04148
  16  6.95903e-05
  17  0.000383946
  18  0.00240749
  19  0.908149
  20  0.244985
  21  0.141394
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  4.363e+00  9.781e+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:  8.384e-01  1.414e-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.192e+00  2.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/466015/likelihoodResults_696556801_696816001_4FGL_J2153.8-1137_daily_bin1764.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) = 4988.94589545
delta logL = 0.584119555339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4988.92862179
delta logL = 0.601393215988

Fit tolerance = 1e-08

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

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

 FCN=   4988.929     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      322 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18142        2.4114        .57913E-03** at limit **
   2  Index         5.4901        3.1156        .16512        .29123E-03
   3  Normalizat    1.0978        .53784E-01    .68150E-01    .30799E-04
   4  Prefactor     .88011        .32368E-01    .44753E-01   -.13254E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.181419
  Index      = 5.4901
  Normalizat = 1.09777
  Prefactor  = 0.880107
 **********
 **   18 **HESSE 
 **********

 FCN=   4988.929     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      355 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18142        6.9791        .26320E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4901        7.7141        .57340E-02    .98177E-01
   3  Normalizat    1.0978        .21789        .30152E-03   -.89824    
   4  Prefactor     .88011        .12802        .19944E-03   -.96840    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.82133e-10
Minuit parameter uncertainties:
  1  2.25046
  2  7.52128
  3  0.218065
  4  0.128067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/466015': 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): 102
logL (Free Index) = 4988.92860824
delta logL = 0.601406763741

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.814e-01  2.250e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  5.490e+00  7.521e+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:  8.801e-01  1.281e-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.098e+00  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.59
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 5.49 +/- 7.52
Photon Flux (Free Index): 1.09e-07 +/- 9.38e-08
Energy Flux (Free Index): 1.39e-05 +/- 1.44e-05

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/466015/cmap_HighResolution_696556801_696816001_4FGL_J2153.8-1137_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-02', comment='SUCCESS', energy_flux2='1.39e-05', dlogl='6.01e-01', photon_flux2='1.09e-07', job_status='DONE', time_completed='2023-01-31 02:13:09.560072', photon_index_error2='7.52', photon_index2='5.49', ts='0.24', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.88e-07', energy_flux_error2='1.44e-05', EG='1.19', time_epoch_completed='1675159989.56', return_code='0', job_id='466015', GAL2='0.88', EG2='1.10', return_code2='102', photon_flux_error2='9.38e-08', ts2='1.59', photon_index='2.55' WHERE bin_id='1764' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:13:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 466015: <4FGL_J2153.8-1137_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 02:00:28 2023
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 02:00:57 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 02:00:57 2023
Terminated at Tue Jan 31 02:13:10 2023
Results reported at Tue Jan 31 02:13:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1764 328.461 -11.6306 696556801 696816001 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 :                                   489.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             242.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            762 sec.

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

