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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1767
RA = 328.461, Dec = -11.6306
tmin = 697334401, tmax = 697593601
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='90094', job_status='RUN', time_executed='2023-02-09 02:00:05.449030', time_epoch_executed='1675936805.45' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90094

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90094/ft1_4FGL_J2153.8-1137_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90094/ft2_4FGL_J2153.8-1137_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90094/ft1_4FGL_J2153.8-1137_daily_bin1767.fits outfile=/scratch/kocevski/90094/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1767.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=697334401.0 tmax=697593601.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.73
user 3.48
sys 0.21

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

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

Number of photons that the gtmktime cut: 538

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90094/ft1_filtered_4FGL_J2153.8-1137_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/90094/ft2_4FGL_J2153.8-1137_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/90094/ltcube_697334401_697593601_4FGL_J2153.8-1137_daily_bin1767.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/90094/ft2_4FGL_J2153.8-1137_daily_bin1767.fits
.....................!
real 16.57
user 16.08
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90094/ft1_filtered_4FGL_J2153.8-1137_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/90094/ft2_4FGL_J2153.8-1137_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/90094/ltcube_697334401_697593601_4FGL_J2153.8-1137_daily_bin1767.fits outfile=/scratch/kocevski/90094/expmap_697334401_697593601_4FGL_J2153.8-1137_daily_bin1767.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/90094/ltcube_697334401_697593601_4FGL_J2153.8-1137_daily_bin1767.fits
.....................!
real 194.72
user 188.30
sys 5.45

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/90094/ft1_filtered_4FGL_J2153.8-1137_daily_bin1767.fits scfile=/scratch/kocevski/90094/ft2_4FGL_J2153.8-1137_daily_bin1767.fits outfile=/scratch/kocevski/90094/cmap_697334401_697593601_4FGL_J2153.8-1137_daily_bin1767.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90094/ft1_filtered_4FGL_J2153.8-1137_daily_bin1767.fits scfile=/scratch/kocevski/90094/ft2_4FGL_J2153.8-1137_daily_bin1767.fits outfile=/scratch/kocevski/90094/cmap_HighResolution_697334401_697593601_4FGL_J2153.8-1137_daily_bin1767.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90094/ft1_filtered_4FGL_J2153.8-1137_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/90094/ft2_4FGL_J2153.8-1137_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90094/Model_4FGL_J2153.8-1137_daily_bin1767.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/90094/ft1_filtered_4FGL_J2153.8-1137_daily_bin1767.fits.....................!
real 60.67
user 59.19
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54498E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.712       1.0000          .0000       .10000E+07
     3 'Prefactor '    .40609E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .23913E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .54919       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.8522       1.0000          .0000       .10000E+07
     7 'Prefactor '    .33908E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .99964E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.1742       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.0345       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7632       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20643E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.1516       1.0000          .0000       .10000E+07
    14 'Prefactor '    .20290E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .48029E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    15.091       1.0000          .0000       .10000E+07
    17 'norm      '    2.4788       1.0000          .0000       .10000E+07
    18 'Prefactor '    .33981E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .15201E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .93670       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2514       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=   6093.527     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1687 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .52847E-07    9.8845       -.71797E-06** at limit **
   2  Prefactor     46.803        9.9767       -.12981E-05    .61493E-01
   3  Prefactor     .66613E-09    30.835       -.13582E-06** at limit **
   4  Prefactor     .52069E-07    13.371        .36362E-05** at limit **
   5  Prefactor     .55481        3.0055        .24772E-06   -.45115E-02
   6  Prefactor     5.8294        5.5554       -.14296E-07   -.15323E-02
   7  Prefactor     .12212E-08    11.981       -.34426E-05** at limit **
   8  norm           .0000        2.9893        .95876E-07** at limit **
   9  Prefactor     7.1843        9.2772       -.73292E-06   -.69064E-02
  10  Prefactor     8.0553        3.5364       -.11893E-05   -.36095E-01
  11  Prefactor     2.6813        8.3229        .48658E-05   -.12759E-01
  12  Prefactor     .10342E-06    9.9962        .13093E-05** at limit **
  13  Prefactor     4.1827        7.7459        .31988E-05    .31585E-01
  14  Prefactor     .22204E-09    5.4583        .67235E-07** at limit **
  15  Prefactor      .0000        2.8559        .43160E-07** at limit **
  16  Prefactor     15.957        43.883        .18039E-05   -.26780E-02
  17  norm          2.4774        3.5934        .18155E-08   -.23950E-02
  18  Prefactor      .0000        29.577       -.15489E-06** at limit **
  19  norm          .33307E-09    4.2880        .28212E-06** at limit **
  20  Normalizat    .93610        .29837       -.14584E-04   -.23682E-03
  21  Prefactor     1.2515        .17963        .76649E-05   -.80455E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.28466e-08
  Prefactor  = 46.8035
  Prefactor  = 6.66134e-10
  Prefactor  = 5.20695e-08
  Prefactor  = 0.554806
  Prefactor  = 5.82939
  Prefactor  = 1.22125e-09
  norm       = 0
  Prefactor  = 7.18432
  Prefactor  = 8.05534
  Prefactor  = 2.68129
  Prefactor  = 1.03417e-07
  Prefactor  = 4.18266
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 15.9571
  norm       = 2.47735
  Prefactor  = 0
  norm       = 3.33067e-10
  Normalizat = 0.936103
  Prefactor  = 1.2515
 **********
 **   18 **HESSE 
 **********

 FCN=   6093.527     FROM HESSE     STATUS=OK           365 CALLS     2052 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .52847E-07    10.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.803        24.352        .14633E-03   -1.5571    
   3  Prefactor     .66613E-09    30.679        .15936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .52069E-07    17.423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55481        3.0235        .73908E-03   -1.5693    
   6  Prefactor     5.8294        5.5545        .41490E-03   -1.5660    
   7  Prefactor     .12212E-08    15.062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.1843        9.4959        .37426E-03   -1.5654    
  10  Prefactor     8.0553        12.283        .35348E-03   -1.5651    
  11  Prefactor     2.6813        65.486        .61205E-03   -1.5675    
  12  Prefactor     .10342E-06    11.861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1827        14.415        .49444E-03   -1.5667    
  14  Prefactor     .22204E-09    5.4584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        2.8464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.957        44.031        .25756E-03   -1.5628    
  17  norm          2.4774        3.6135        .64909E-03   -1.5676    
  18  Prefactor      .0000        29.567        .16247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .33307E-09    .57683        .31851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .93610        .26402        .80593E-01   -.95203    
  21  Prefactor     1.2515        .15478        .33516E-01   -.84761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20309e-06
Minuit parameter uncertainties:
  1  0.00151109
  2  24.3522
  3  0.000281459
  4  0.00190492
  5  2.59033
  6  5.55448
  7  0.00027412
  8  9.47518e-06
  9  9.49595
  10  12.2835
  11  26.5021
  12  0.00221517
  13  14.415
  14  6.79404e-05
  15  2.58267e-06
  16  44.032
  17  3.61346
  18  1.34616e-05
  19  2.86854e-05
  20  0.264388
  21  0.154832
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  7.184e+00  9.496e+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.251e+00  1.548e-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.361e-01  2.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/90094/likelihoodResults_697334401_697593601_4FGL_J2153.8-1137_daily_bin1767.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) = 6093.01432266
delta logL = 0.512250559457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6093.0104449
delta logL = 0.516128325347

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27958       1.0000          .0000       .10000E+07
     2 'Index     '    5.3212       1.0000          .0000       10.000    
     3 'Normalizat'    .82458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3065       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=   6093.010     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      318 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27792        2.9790        .70490E-03    .46591E-02
   2  Index         5.3250        2.8656        .16194        .63765E-04
   3  Normalizat    .82458        .54358E-01    .85329E-01    .72907E-05
   4  Prefactor     1.3065        .33842E-01    .32497E-01   -.31000E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.277924
  Index      = 5.32496
  Normalizat = 0.824584
  Prefactor  = 1.30653
 **********
 **   18 **HESSE 
 **********

 FCN=   6093.010     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      353 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27792        8.2475        .32005E-04   -1.5697    
   2  Index         5.3250        7.5393        .56726E-02    .65038E-01
   3  Normalizat    .82458        .22203        .37786E-03   -.99163    
   4  Prefactor     1.3065        .13425        .19094E-03   -.83113    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.06256e-10
Minuit parameter uncertainties:
  1  3.02799
  2  6.5894
  3  0.222276
  4  0.134282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90094': 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) = 6093.01044418
delta logL = 0.516129041948

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  2.779e-01  3.028e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  5.325e+00  6.589e+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.307e+00  1.343e-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:  8.246e-01  2.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.01
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 5.32 +/- 6.59
Photon Flux (Free Index): 1.27e-07 +/- 1.01e-07
Energy Flux (Free Index): 1.65e-05 +/- 1.63e-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/90094/cmap_HighResolution_697334401_697593601_4FGL_J2153.8-1137_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', comment='SUCCESS', energy_flux2='1.65e-05', dlogl='5.16e-01', photon_flux2='1.27e-07', job_status='DONE', time_completed='2023-02-09 02:09:21.576553', photon_index_error2='6.59', photon_index2='5.32', ts='0.73', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='1.92e-07', energy_flux_error2='1.63e-05', EG='0.94', time_epoch_completed='1675937361.58', return_code='0', job_id='90094', GAL2='1.31', EG2='0.82', return_code2='102', photon_flux_error2='1.01e-07', ts2='2.01', photon_index='2.55' WHERE bin_id='1767' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 02:09:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 90094: <4FGL_J2153.8-1137_daily_bin1767> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1767> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Feb  9 01:55:17 2023
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:55:57 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:55:57 2023
Terminated at Thu Feb  9 02:09:22 2023
Results reported at Thu Feb  9 02:09:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1767 328.461 -11.6306 697334401 697593601 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 :                                   558.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            845 sec.

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

