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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1720
RA = 328.461, Dec = -11.6306
tmin = 685152001, tmax = 685411201
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='848699', job_status='RUN', time_executed='2022-09-21 00:57:05.538723', time_epoch_executed='1663747025.54' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848699

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848699/ft1_4FGL_J2153.8-1137_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848699/ft2_4FGL_J2153.8-1137_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848699/ft1_4FGL_J2153.8-1137_daily_bin1720.fits outfile=/scratch/kocevski/848699/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1720.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=685152001.0 tmax=685411201.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.75
user 3.50
sys 0.23

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

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

Number of photons that the gtmktime cut: 325

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/848699/ft1_filtered_4FGL_J2153.8-1137_daily_bin1720.fits" evtable="EVENTS" scfile=/scratch/kocevski/848699/ft2_4FGL_J2153.8-1137_daily_bin1720.fits sctable="SC_DATA" outfile=/scratch/kocevski/848699/ltcube_685152001_685411201_4FGL_J2153.8-1137_daily_bin1720.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/848699/ft2_4FGL_J2153.8-1137_daily_bin1720.fits
.....................!
real 15.45
user 15.05
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848699/ft1_filtered_4FGL_J2153.8-1137_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/848699/ft2_4FGL_J2153.8-1137_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/848699/ltcube_685152001_685411201_4FGL_J2153.8-1137_daily_bin1720.fits outfile=/scratch/kocevski/848699/expmap_685152001_685411201_4FGL_J2153.8-1137_daily_bin1720.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/848699/ltcube_685152001_685411201_4FGL_J2153.8-1137_daily_bin1720.fits
.....................!
real 193.05
user 187.39
sys 5.06

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/848699/ft1_filtered_4FGL_J2153.8-1137_daily_bin1720.fits scfile=/scratch/kocevski/848699/ft2_4FGL_J2153.8-1137_daily_bin1720.fits outfile=/scratch/kocevski/848699/cmap_685152001_685411201_4FGL_J2153.8-1137_daily_bin1720.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/848699/ft1_filtered_4FGL_J2153.8-1137_daily_bin1720.fits scfile=/scratch/kocevski/848699/ft2_4FGL_J2153.8-1137_daily_bin1720.fits outfile=/scratch/kocevski/848699/cmap_HighResolution_685152001_685411201_4FGL_J2153.8-1137_daily_bin1720.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.60
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/848699/ft1_filtered_4FGL_J2153.8-1137_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/848699/ft2_4FGL_J2153.8-1137_daily_bin1720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/848699/Model_4FGL_J2153.8-1137_daily_bin1720.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/848699/ft1_filtered_4FGL_J2153.8-1137_daily_bin1720.fits.....................!
real 41.18
user 39.71
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.009       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25365E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .74932E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25089E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24311E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .83739E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1677       1.0000          .0000       .10000E+07
     8 'norm      '    .47473E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.366       1.0000          .0000       .10000E+07
    10 'Prefactor '    .45599E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19565E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.9563       1.0000          .0000       .10000E+07
    13 'Prefactor '    26.541       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.182       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11717E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13872E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .40751E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.7395       1.0000          .0000       .10000E+07
    19 'norm      '    2.1900       1.0000          .0000       .10000E+07
    20 'Normalizat'    .81383       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99369       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=   3554.061     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1286 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.636        24.269        .50298E-07    .10464E-01
   2  Prefactor     .44409E-09    7.8536       -.17385E-05** at limit **
   3  Prefactor     .61062E-09    16.904       -.33701E-06** at limit **
   4  Prefactor      .0000        3.6231        .55105E-06** at limit **
   5  Prefactor      .0000        .73705        .26847E-06** at limit **
   6  Prefactor      .0000        5.6812       -.33521E-07** at limit **
   7  Prefactor     .86039        1.8832        .71058E-07   -.39876E-03
   8  norm           .0000        3.8232        .91663E-06** at limit **
   9  Prefactor     13.358        9.6352        .12836E-06    .25355E-02
  10  Prefactor     .55511E-10    9.8748        .21049E-05** at limit **
  11  Prefactor     .88818E-09    8.5496        .53132E-06** at limit **
  12  Prefactor     6.9529        2.8755       -.13500E-06    .27404E-01
  13  Prefactor     26.518        2.4364        .81632E-07   -.38947E-01
  14  Prefactor     13.172        4.2420        .55195E-06    .57300E-02
  15  Prefactor     .55511E-10    3.7065        .92413E-06** at limit **
  16  Prefactor     .55511E-10    61.961       -.19487E-05** at limit **
  17  norm          .16653E-09    8.2213        .28040E-05** at limit **
  18  Prefactor     .16193E-06    2647.2        .34862E-04** at limit **
  19  norm          2.1871        1.4437       -.22907E-06   -.21770E-02
  20  Normalizat    .81526        .32248       -.31620E-04   -.16290E-03
  21  Prefactor     .99357        .19756        .21356E-04   -.23178E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.636
  Prefactor  = 4.44089e-10
  Prefactor  = 6.10623e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.860388
  norm       = 0
  Prefactor  = 13.3578
  Prefactor  = 5.55112e-11
  Prefactor  = 8.88178e-10
  Prefactor  = 6.9529
  Prefactor  = 26.5182
  Prefactor  = 13.1724
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 1.66533e-10
  Prefactor  = 1.61926e-07
  norm       = 2.18709
  Normalizat = 0.815261
  Prefactor  = 0.993568
 **********
 **   18 **HESSE 
 **********

 FCN=   3554.061     FROM HESSE     STATUS=OK           355 CALLS     1641 TOTAL
                     EDM=   .90E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.636        24.584        .14285E-03   -1.5568    
   2  Prefactor     .44409E-09    8.3334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .61062E-09    16.964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.6566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .73743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        5.6660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .86039        18.192        .10628E-01   -1.5689    
   8  norm           .0000        3.8253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.358        9.8937        .27372E-03   -1.5635    
  10  Prefactor     .55511E-10    9.8956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88818E-09    8.6813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9529        25.023        .38014E-03   -1.5655    
  13  Prefactor     26.518        18.541        .19414E-03   -1.5605    
  14  Prefactor     13.172        13.612        .27563E-03   -1.5635    
  15  Prefactor     .55511E-10    3.7134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    61.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    8.2875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16193E-06    2613.0        .61488E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.1871        1.4451        .69519E-03   -1.5678    
  20  Normalizat    .81526        .27967        .71932E-01   -.99505    
  21  Prefactor     .99357        .16622        .46188E-01   -.92944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.98864e-08
Minuit parameter uncertainties:
  1  24.5845
  2  0.000118057
  3  0.00020132
  4  7.46517e-06
  5  2.72045e-06
  6  1.55701e-05
  7  7.91264
  8  3.76693e-06
  9  9.89373
  10  3.87068e-05
  11  0.000174795
  12  25.0235
  13  18.5412
  14  13.6122
  15  2.60765e-05
  16  0.000114913
  17  7.61082e-05
  18  0.0411557
  19  1.44508
  20  0.280169
  21  0.166305
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.336e+01  9.894e+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:  9.936e-01  1.663e-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.153e-01  2.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.05
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 9.83e-08 +/- 7.28e-08
Energy Flux (Fixed Index): 2.70e-05 +/- 2.00e-05

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) = 3553.4314795
delta logL = 0.629153346745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3553.2860158
delta logL = 0.7746170461

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.016       1.0000          .0000       .10000E+07
     2 'Index     '    1.8671       1.0000          .0000       10.000    
     3 'Normalizat'    .86458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96684       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=   3553.286     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      218 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.027        14.475        .22359E-03    .11118E-03
   2  Index         1.8672        .43742        .14790       -.28216E-04
   3  Normalizat    .86440        .26332        .70021E-01    .24265E-04
   4  Prefactor     .96692        .16372        .45851E-01    .94609E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.0272
  Index      = 1.86724
  Normalizat = 0.864404
  Prefactor  = 0.966924
 **********
 **   18 **HESSE 
 **********

 FCN=   3553.286     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.027        13.298        .89436E-05   -1.5618    
   2  Index         1.8672        .44499        .59038E-02   -.67712    
   3  Normalizat    .86440        .31663        .30982E-03   -.97722    
   4  Prefactor     .96692        .19694        .18241E-03   -.93840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47995e-12
Minuit parameter uncertainties:
  1  13.2978
  2  0.445966
  3  0.317313
  4  0.19709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848699': 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) = 3553.28601528
delta logL = 0.774617562683

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  2.003e+01  1.330e+01  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  1.867e+00  4.460e-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:  9.669e-01  1.971e-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.644e-01  3.173e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.60
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 1.87 +/- 0.45
Photon Flux (Free Index): 7.37e-08 +/- 5.71e-08
Energy Flux (Free Index): 7.25e-05 +/- 7.83e-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/848699/cmap_HighResolution_685152001_685411201_4FGL_J2153.8-1137_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.83e-08', energy_flux2='7.25e-05', photon_flux_error='7.28e-08', dlogl='7.75e-01', energy_flux='2.70e-05', photon_flux2='7.37e-08', job_status='DONE', time_completed='2022-09-21 01:04:06.519226', photon_index_error2='0.45', photon_index2='1.87', ts='4.05', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='7.83e-05', EG='0.82', time_epoch_completed='1663747446.52', return_code='0', job_id='848699', GAL2='0.97', EG2='0.86', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='5.71e-08', ts2='5.60', photon_index='2.55' WHERE bin_id='1720' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:04:06 PDT 2022


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

Job <4FGL_J2153.8-1137_daily_bin1720> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep 21 00:50:53 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:54:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:54:44 2022
Terminated at Wed Sep 21 01:04:07 2022
Results reported at Wed Sep 21 01:04:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1720 328.461 -11.6306 685152001 685411201 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 :                                   423.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   562 sec.
    Turnaround time :                            794 sec.

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

