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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1721
RA = 328.461, Dec = -11.6306
tmin = 685411201, tmax = 685670401
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='70604', job_status='RUN', time_executed='2022-09-24 01:15:48.922890', time_epoch_executed='1664007348.92' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70604

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70604/ft1_4FGL_J2153.8-1137_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70604/ft2_4FGL_J2153.8-1137_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70604/ft1_4FGL_J2153.8-1137_daily_bin1721.fits outfile=/scratch/kocevski/70604/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1721.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=685411201.0 tmax=685670401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.24
user 4.93
sys 0.26

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

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

Number of photons that the gtmktime cut: 751

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70604/ft1_filtered_4FGL_J2153.8-1137_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/70604/ft2_4FGL_J2153.8-1137_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/70604/ltcube_685411201_685670401_4FGL_J2153.8-1137_daily_bin1721.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/70604/ft2_4FGL_J2153.8-1137_daily_bin1721.fits
.....................!
real 16.75
user 16.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70604/ft1_filtered_4FGL_J2153.8-1137_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70604/ft2_4FGL_J2153.8-1137_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70604/ltcube_685411201_685670401_4FGL_J2153.8-1137_daily_bin1721.fits outfile=/scratch/kocevski/70604/expmap_685411201_685670401_4FGL_J2153.8-1137_daily_bin1721.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/70604/ltcube_685411201_685670401_4FGL_J2153.8-1137_daily_bin1721.fits
.....................!
real 194.06
user 188.40
sys 4.86

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/70604/ft1_filtered_4FGL_J2153.8-1137_daily_bin1721.fits scfile=/scratch/kocevski/70604/ft2_4FGL_J2153.8-1137_daily_bin1721.fits outfile=/scratch/kocevski/70604/cmap_685411201_685670401_4FGL_J2153.8-1137_daily_bin1721.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70604/ft1_filtered_4FGL_J2153.8-1137_daily_bin1721.fits scfile=/scratch/kocevski/70604/ft2_4FGL_J2153.8-1137_daily_bin1721.fits outfile=/scratch/kocevski/70604/cmap_HighResolution_685411201_685670401_4FGL_J2153.8-1137_daily_bin1721.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/70604/ft1_filtered_4FGL_J2153.8-1137_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70604/ft2_4FGL_J2153.8-1137_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/70604/Model_4FGL_J2153.8-1137_daily_bin1721.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/70604/ft1_filtered_4FGL_J2153.8-1137_daily_bin1721.fits.....................!
real 73.16
user 71.74
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8752       1.0000          .0000       .10000E+07
     2 'Prefactor '    .30005E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    38.502       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10699       1.0000          .0000       .10000E+07
     5 'Prefactor '    .44013       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38691E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.9480       1.0000          .0000       .10000E+07
     8 'norm      '    .68565E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .44888E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .56871E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2609       1.0000          .0000       .10000E+07
    12 'Prefactor '    24.895       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.5560       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.0908       1.0000          .0000       .10000E+07
    15 'Prefactor '    .51803E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .23717E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .11628E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.955       1.0000          .0000       .10000E+07
    19 'norm      '    .91326       1.0000          .0000       .10000E+07
    20 'Normalizat'    .85233       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93738       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=   8143.931     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1665 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9742        7.2108        .62701E-07    .24327E-01
   2  Prefactor     .11102E-09    5.4653        .68199E-07** at limit **
   3  Prefactor     38.720        4.4687       -.11452E-07   -.74494E-01
   4  Prefactor     .10430        25.693       -.53383E-06** at limit **
   5  Prefactor     .43869        1.4249        .24034E-07    .50545E-03
   6  Prefactor      .0000        .88726       -.33605E-07** at limit **
   7  Prefactor     7.9396        11.053       -.11262E-06   -.17968E-01
   8  norm           .0000        1.2546       -.96083E-08** at limit **
   9  Prefactor      .0000        2.8318       -.91860E-07** at limit **
  10  Prefactor     .27756E-09    9.8984       -.42526E-06** at limit **
  11  Prefactor     2.2769        7.2788       -.12508E-06   -.99244E-02
  12  Prefactor     25.030        15.924        .16910E-06   -.13156E-01
  13  Prefactor     9.5708        4.6785        .43198E-07    .38602E-01
  14  Prefactor     6.0967        7.8642       -.33323E-07   -.32213E-03
  15  Prefactor     .55511E-10    3.7073       -.89102E-07** at limit **
  16  Prefactor     .32530E-07    58.731        .51882E-06** at limit **
  17  norm           .0000        1.8893       -.66720E-07** at limit **
  18  Prefactor     23.232        49.675        .43071E-06   -.40902E-02
  19  norm          .91422        .71375       -.59502E-08   -.58837E-04
  20  Normalizat    .85200        .19035        .14647E-05    .28744E-04
  21  Prefactor     .93719        .12086       -.29277E-06    .34494E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.97422
  Prefactor  = 1.11022e-10
  Prefactor  = 38.7199
  Prefactor  = 0.104297
  Prefactor  = 0.438689
  Prefactor  = 0
  Prefactor  = 7.93955
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.2769
  Prefactor  = 25.03
  Prefactor  = 9.57076
  Prefactor  = 6.09668
  Prefactor  = 5.55112e-11
  Prefactor  = 3.25295e-08
  norm       = 0
  Prefactor  = 23.2319
  norm       = 0.914221
  Normalizat = 0.852005
  Prefactor  = 0.937189
 **********
 **   18 **HESSE 
 **********

 FCN=   8143.931     FROM HESSE     STATUS=OK           367 CALLS     2032 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9742        15.066        .41408E-03   -1.5659    
   2  Prefactor     .11102E-09    5.4531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     38.720        34.451        .16118E-03   -1.5584    
   4  Prefactor     .10430        1.9176        .76616E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .43869        1.5115        .84977E-03   -1.5695    
   6  Prefactor      .0000        .88758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.9396        12.150        .35542E-03   -1.5652    
   8  norm           .0000        1.2576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.8216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27756E-09    9.8951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2769        8.2932        .68290E-03   -1.5678    
  12  Prefactor     25.030        16.510        .20046E-03   -1.5608    
  13  Prefactor     9.5708        8.6635        .32394E-03   -1.5646    
  14  Prefactor     6.0967        7.8746        .40658E-03   -1.5659    
  15  Prefactor     .55511E-10    3.6437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .32530E-07    58.820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        1.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.232        49.828        .21348E-03   -1.5612    
  19  norm          .91422        .71781        .44847E-03   -1.5689    
  20  Normalizat    .85200        .16282        .64234E-01   -.98168    
  21  Prefactor     .93719        .10092        .45480E-01   -.94853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48694e-07
Minuit parameter uncertainties:
  1  15.0656
  2  4.61687e-05
  3  34.4508
  4  0.894426
  5  1.51151
  6  5.12304e-07
  7  12.1504
  8  1.80209e-06
  9  1.00284e-05
  10  0.000105827
  11  8.29324
  12  16.51
  13  8.66351
  14  7.87465
  15  2.59234e-05
  16  0.00276742
  17  8.19119e-07
  18  49.8292
  19  0.717806
  20  0.162911
  21  0.10094
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  1.003e-05  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:  9.372e-01  1.009e-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.520e-01  1.629e-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: 6.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/70604/likelihoodResults_685411201_685670401_4FGL_J2153.8-1137_daily_bin1721.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) = 8143.93271612
delta logL = -0.00142044922904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8143.93129599
delta logL = -3.18796082865e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35694E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0785       1.0000          .0000       10.000    
     3 'Normalizat'    .85214       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93711       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=   8143.931     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      284 TOTAL
                     EDM=   .10E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .30152E-02    .42118E-03** at limit **
   2  Index         4.0293        6.4830        .38469        .29553E-09
   3  Normalizat    .85201        .23478E-03    .64233E-01    .71187E-03
   4  Prefactor     .93719        .15255E-03    .45476E-01    .84390E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 4.02932
  Normalizat = 0.852007
  Prefactor  = 0.937189
 **********
 **   18 **HESSE 
 **********

 FCN=   8143.931     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      315 TOTAL
                     EDM=   .34E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .79591E-02    .16484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0293        6.6830        .50000       -.19538    
   3  Normalizat    .85201        .37300E-03    .28413E-03   -.98168    
   4  Prefactor     .93719        .24263E-03    .17580E-03   -.94853    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.39958e-13
Minuit parameter uncertainties:
  1  1.69916e-06
  2  5464.13
  3  0.000373
  4  0.000242626
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70604': 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) = 8143.93129567
delta logL = -3.18323145621e-10

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.110e-10  1.699e-06  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  4.029e+00  5.464e+03  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:  9.372e-01  2.426e-04  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.520e-01  3.730e-04  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/70604/cmap_HighResolution_685411201_685670401_4FGL_J2153.8-1137_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.05e-03', job_status='DONE', photon_flux_upper_limit='6.47e-08', time_completed='2022-09-24 01:26:28.513697', job_id='70604', GAL2='0.94', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1664007988.51', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-3.18e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1721' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:26:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 70604: <4FGL_J2153.8-1137_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1721> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep 24 01:10:34 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:12:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 01:12:33 2022
Terminated at Sat Sep 24 01:26:29 2022
Results reported at Sat Sep 24 01:26:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1721 328.461 -11.6306 685411201 685670401 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 :                                   640.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            955 sec.

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

