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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1765
RA = 328.461, Dec = -11.6306
tmin = 696816001, tmax = 697075201
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='647079', job_status='RUN', time_executed='2023-02-03 01:42:44.655696', time_epoch_executed='1675417364.66' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647079

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647079/ft1_4FGL_J2153.8-1137_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647079/ft2_4FGL_J2153.8-1137_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647079/ft1_4FGL_J2153.8-1137_daily_bin1765.fits outfile=/scratch/kocevski/647079/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1765.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=696816001.0 tmax=697075201.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.69
user 3.44
sys 0.21

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

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

Number of photons that the gtmktime cut: 474

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647079/ft1_filtered_4FGL_J2153.8-1137_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/647079/ft2_4FGL_J2153.8-1137_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/647079/ltcube_696816001_697075201_4FGL_J2153.8-1137_daily_bin1765.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/647079/ft2_4FGL_J2153.8-1137_daily_bin1765.fits
.....................!
real 15.87
user 15.44
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647079/ft1_filtered_4FGL_J2153.8-1137_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/647079/ft2_4FGL_J2153.8-1137_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/647079/ltcube_696816001_697075201_4FGL_J2153.8-1137_daily_bin1765.fits outfile=/scratch/kocevski/647079/expmap_696816001_697075201_4FGL_J2153.8-1137_daily_bin1765.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/647079/ltcube_696816001_697075201_4FGL_J2153.8-1137_daily_bin1765.fits
.....................!
real 192.47
user 186.92
sys 5.02

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/647079/ft1_filtered_4FGL_J2153.8-1137_daily_bin1765.fits scfile=/scratch/kocevski/647079/ft2_4FGL_J2153.8-1137_daily_bin1765.fits outfile=/scratch/kocevski/647079/cmap_696816001_697075201_4FGL_J2153.8-1137_daily_bin1765.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647079/ft1_filtered_4FGL_J2153.8-1137_daily_bin1765.fits scfile=/scratch/kocevski/647079/ft2_4FGL_J2153.8-1137_daily_bin1765.fits outfile=/scratch/kocevski/647079/cmap_HighResolution_696816001_697075201_4FGL_J2153.8-1137_daily_bin1765.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/647079/ft1_filtered_4FGL_J2153.8-1137_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/647079/ft2_4FGL_J2153.8-1137_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647079/Model_4FGL_J2153.8-1137_daily_bin1765.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/647079/ft1_filtered_4FGL_J2153.8-1137_daily_bin1765.fits.....................!
real 53.44
user 52.06
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.357       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.7553       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19828E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .88710E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7621       1.0000          .0000       .10000E+07
     6 'Prefactor '    .48057E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60341E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .78547E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.276       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32168E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .88034E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.2012       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.074       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26932E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .48017E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .25366E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .24997E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .68545E-01   1.0000          .0000       .10000E+07
    19 'norm      '    3.0623       1.0000          .0000       .10000E+07
    20 'Normalizat'    .89947       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0872       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=   5377.809     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1573 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.314        1.5596       -.16838E-06    .24070E-01
   2  Prefactor     6.7297        1.3969        .31325E-06   -.21575E-02
   3  Prefactor     .15488E-07    9.0167        .22018E-06** at limit **
   4  Prefactor     .15521E-06    6.8931       -.41535E-06** at limit **
   5  Prefactor     1.7585        2.3752        .21039E-06   -.10045E-03
   6  Prefactor      .0000        2.7888       -.10671E-06** at limit **
   7  Prefactor     .83267E-09    7.5125        .12964E-05** at limit **
   8  norm          .22204E-08    2.9981        .98226E-06** at limit **
   9  Prefactor     11.271        8.2945       -.24073E-05   -.39883E-02
  10  Prefactor     .12212E-08    5.7513       -.12671E-05** at limit **
  11  Prefactor     .96589E-08    18.401        .59576E-05** at limit **
  12  Prefactor     8.2246        1.8225        .55708E-07    .43239E-01
  13  Prefactor     14.575        3.2564       -.16865E-06   -.48034E-01
  14  Prefactor     .27756E-08    2.6308        .80262E-06** at limit **
  15  Prefactor      .0000        1.9734       -.80341E-06** at limit **
  16  Prefactor     .27311E-07    52.800        .21063E-05** at limit **
  17  norm          .55511E-10    .96207       -.30194E-06** at limit **
  18  Prefactor      .0000        36.614        .87300E-05** at limit **
  19  norm          3.0626        1.3960       -.61099E-06   -.23270E-02
  20  Normalizat    .90175        .27782        .10588E-04    .78808E-04
  21  Prefactor     1.0865        .17046       -.20508E-04    .11946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.3139
  Prefactor  = 6.72969
  Prefactor  = 1.54876e-08
  Prefactor  = 1.55209e-07
  Prefactor  = 1.75848
  Prefactor  = 0
  Prefactor  = 8.32667e-10
  norm       = 2.22045e-09
  Prefactor  = 11.2712
  Prefactor  = 1.22125e-09
  Prefactor  = 9.65894e-09
  Prefactor  = 8.22455
  Prefactor  = 14.5747
  Prefactor  = 2.77556e-09
  Prefactor  = 0
  Prefactor  = 2.73115e-08
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 3.06264
  Normalizat = 0.901748
  Prefactor  = 1.08648
 **********
 **   18 **HESSE 
 **********

 FCN=   5377.809     FROM HESSE     STATUS=OK           353 CALLS     1926 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.314        19.645        .22171E-03   -1.5618    
   2  Prefactor     6.7297        19.134        .38582E-03   -1.5656    
   3  Prefactor     .15488E-07    15.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15521E-06    16.727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7585        2.4021        .78898E-03   -1.5681    
   6  Prefactor      .0000        2.7909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .83267E-09    7.5213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .22204E-08    5.6035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.271        8.3074        .29810E-03   -1.5641    
  10  Prefactor     .12212E-08    5.7719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .96589E-08    18.784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.2246        16.387        .34984E-03   -1.5651    
  13  Prefactor     14.575        17.501        .25771E-03   -1.5632    
  14  Prefactor     .27756E-08    5.5274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.9732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .27311E-07    53.013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    .96052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        36.606        .14866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.0626        1.4007        .57945E-03   -1.5673    
  20  Normalizat    .90175        .24640        .75274E-01   -.96399    
  21  Prefactor     1.0865        .14573        .38095E-01   -.89900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29605e-07
Minuit parameter uncertainties:
  1  19.6447
  2  19.1344
  3  0.000983122
  4  0.00322251
  5  2.4021
  6  5.13354e-06
  7  0.000157326
  8  0.000222515
  9  8.30736
  10  0.000167866
  11  0.000851815
  12  16.387
  13  17.5011
  14  0.000247219
  15  2.52005e-06
  16  0.00240642
  17  1.63476e-05
  18  3.29728e-05
  19  1.40074
  20  0.24671
  21  0.145783
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.127e+01  8.307e+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.086e+00  1.458e-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.017e-01  2.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.90
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 8.30e-08 +/- 6.11e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.68e-05

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

Saving results to:
/scratch/kocevski/647079/likelihoodResults_696816001_697075201_4FGL_J2153.8-1137_daily_bin1765.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) = 5377.63304894
delta logL = 0.176181901321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5377.63119142
delta logL = 0.178039420282

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.336       1.0000          .0000       .10000E+07
     2 'Index     '    2.2446       1.0000          .0000       10.000    
     3 'Normalizat'    .91843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0792       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=   5377.631     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      269 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.336        9.8245        .10961E-04    .64450E-02
   2  Index         2.2444        .49311        .72574E-02    .16474E-03
   3  Normalizat    .91845        .27663        .33036E-03   -.38199E-04
   4  Prefactor     1.0791        .17037        .18924E-03   -.71179E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3356
  Index      = 2.24436
  Normalizat = 0.918451
  Prefactor  = 1.07911
 **********
 **   18 **HESSE 
 **********

 FCN=   5377.631     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.336        9.7843        .43845E-06   -1.5635    
   2  Index         2.2444        .49099        .29030E-03   -.58371    
   3  Normalizat    .91845        .27684        .13214E-04   -.95815    
   4  Prefactor     1.0791        .17049        .37847E-04   -.90137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0579e-10
Minuit parameter uncertainties:
  1  9.78428
  2  0.492133
  3  0.277269
  4  0.170576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647079': 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) = 5377.63119119
delta logL = 0.178039653264

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.334e+01  9.784e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.244e+00  4.921e-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.079e+00  1.706e-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.185e-01  2.773e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.24
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 2.24 +/- 0.49
Photon Flux (Free Index): 6.91e-08 +/- 5.83e-08
Energy Flux (Free Index): 2.87e-05 +/- 2.41e-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/647079/cmap_HighResolution_696816001_697075201_4FGL_J2153.8-1137_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.64e-02', comment='SUCCESS', photon_flux='8.30e-08', energy_flux2='2.87e-05', photon_flux_error='6.11e-08', dlogl='1.78e-01', energy_flux='2.28e-05', photon_flux2='6.91e-08', job_status='DONE', time_completed='2023-02-03 01:51:17.150103', photon_index_error2='0.49', photon_index2='2.24', ts='2.90', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='2.11e-07', energy_flux_error2='2.41e-05', EG='0.90', time_epoch_completed='1675417877.15', return_code='0', job_id='647079', GAL2='1.08', EG2='0.92', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='5.83e-08', ts2='3.24', photon_index='2.55' WHERE bin_id='1765' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:51:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 647079: <4FGL_J2153.8-1137_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 01:40:18 2023
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:41:50 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:41:50 2023
Terminated at Fri Feb  3 01:51:18 2023
Results reported at Fri Feb  3 01:51:18 2023

Your job looked like:

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

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

