/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 76 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1568
RA = 328.461, Dec = -11.6306
tmin = 645753601, tmax = 646012801
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='29995', job_status='RUN', time_executed='2021-09-27 20:43:02.907107', time_epoch_executed='1632800582.91' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/29995

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/29995/ft1_4FGL_J2153.8-1137_daily_bin1568.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/29995/ft2_4FGL_J2153.8-1137_daily_bin1568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/29995/ft1_4FGL_J2153.8-1137_daily_bin1568.fits outfile=/scratch/kocevski/29995/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1568.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=645753601.0 tmax=646012801.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 2.37
user 2.17
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/29995/ft1_filtered_4FGL_J2153.8-1137_daily_bin1568.fits" evtable="EVENTS" scfile=/scratch/kocevski/29995/ft2_4FGL_J2153.8-1137_daily_bin1568.fits sctable="SC_DATA" outfile=/scratch/kocevski/29995/ltcube_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.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/29995/ft2_4FGL_J2153.8-1137_daily_bin1568.fits
.....................!
real 16.09
user 15.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/29995/ft1_filtered_4FGL_J2153.8-1137_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/29995/ft2_4FGL_J2153.8-1137_daily_bin1568.fits sctable="SC_DATA" expcube=/scratch/kocevski/29995/ltcube_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.fits outfile=/scratch/kocevski/29995/expmap_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.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/29995/ltcube_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.fits
.....................!
real 192.20
user 186.87
sys 4.46

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/29995/ft1_filtered_4FGL_J2153.8-1137_daily_bin1568.fits scfile=/scratch/kocevski/29995/ft2_4FGL_J2153.8-1137_daily_bin1568.fits outfile=/scratch/kocevski/29995/cmap_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/29995/ft1_filtered_4FGL_J2153.8-1137_daily_bin1568.fits scfile=/scratch/kocevski/29995/ft2_4FGL_J2153.8-1137_daily_bin1568.fits outfile=/scratch/kocevski/29995/cmap_HighResolution_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/29995/ft1_filtered_4FGL_J2153.8-1137_daily_bin1568.fits', '/scratch/kocevski/29995/ft2_4FGL_J2153.8-1137_daily_bin1568.fits', expMap='/scratch/kocevski/29995/expmap_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.fits', expCube='/scratch/kocevski/29995/ltcube_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/29995/Model_4FGL_J2153.8-1137_daily_bin1568.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  1.000e-04  1.000e+04 ( 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/29995/ft1_filtered_4FGL_J2153.8-1137_daily_bin1568.fits
Spacecraft file(s): /scratch/kocevski/29995/ft2_4FGL_J2153.8-1137_daily_bin1568.fits
Exposure map: /scratch/kocevski/29995/expmap_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.fits
Exposure cube: /scratch/kocevski/29995/ltcube_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/29995/Model_4FGL_J2153.8-1137_daily_bin1568.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) = 7395.23918498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    63.299       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8115       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .87998       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2256       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7912       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1879       1.0000         .10000E-03   10000.    
    10 'Prefactor '    35.346       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3440       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.8953       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.7298       1.0000         .10000E-03   10000.    
    16 'Prefactor '    40.466       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10400E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.5788       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.934       1.0000         .10000E-03   10000.    
    21 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .68114       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2035       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.

 FCN=   7395.229     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2591 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.7921       -.37947E-07** at limit **
   2  Prefactor     .10000E-03    3.7342       -.34968E-08** at limit **
   3  Prefactor     63.292        58.242        .38518E-05    .15946E-03
   4  Prefactor     2.8119        3.7839       -.20585E-08    .18945E-04
   5  Prefactor     .87890        3.2988       -.18808E-05   -.57630E-03
   6  Prefactor     4.2274        8.6439        .21461E-06   -.99628E-05
   7  Prefactor     1.7802        109.50        .72296E-05   -.73451E-05
   8  Prefactor     .10000E-03    19.766       -.11740E-06** at limit **
   9  norm          3.1884        3.8723        .85728E-07   -.41305E-04
  10  Prefactor     35.345        9.5134        .64662E-07   -.26195E-04
  11  Prefactor     3.3459        10.001        .37884E-05   -.20553E-03
  12  Prefactor     9.8943        13.882        .14229E-06   -.82841E-05
  13  Prefactor     .10000E-03    18.650        .26791E-06** at limit **
  14  Prefactor     .10000E-03    6.1510        .27797E-06** at limit **
  15  Prefactor     5.7225        8.8126        .10968E-05   -.33073E-03
  16  Prefactor     40.471        55.081       -.52917E-06    .18173E-04
  17  Prefactor     .10001E-03    1.6412        .15708E-06** at limit **
  18  Prefactor     .10000E-03    26.287       -.23489E-06** at limit **
  19  norm          3.5785        3.2626        .13773E-06   -.89962E-04
  20  Prefactor     16.959        51.535       -.52357E-05    .78373E-04
  21  norm          .10000E-03    .40208        .90509E-08** at limit **
  22  Normalizat    .68126        .22908       -.45489E-06    .43813E-05
  23  Prefactor     1.2034        .13530       -.36016E-06    .16677E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 63.2925
  Prefactor  = 2.8119
  Prefactor  = 0.878898
  Prefactor  = 4.22744
  Prefactor  = 1.78016
  Prefactor  = 0.0001
  norm       = 3.18838
  Prefactor  = 35.3454
  Prefactor  = 3.3459
  Prefactor  = 9.89427
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.72253
  Prefactor  = 40.471
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  norm       = 3.57855
  Prefactor  = 16.9589
  norm       = 0.0001
  Normalizat = 0.681261
  Prefactor  = 1.2034
 **********
 **   18 **HESSE 
 **********

 FCN=   7395.229     FROM HESSE     STATUS=OK           376 CALLS     2967 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.8087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.7370        .16229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     63.292        56.016        .50438E-04   -1.4115    
   4  Prefactor     2.8119        3.7716        .18805E-03   -1.5373    
   5  Prefactor     .87890        3.2133        .21796E-03   -1.5520    
   6  Prefactor     4.2274        8.6280        .19603E-03   -1.5297    
   7  Prefactor     1.7802        109.61        .31252E-03   -1.5441    
   8  Prefactor     .10000E-03    20.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1884        3.8689        .18199E-03   -1.5351    
  10  Prefactor     35.345        9.5003        .67407E-04   -1.4518    
  11  Prefactor     3.3459        9.9252        .11066E-02   -1.5342    
  12  Prefactor     9.8943        13.853        .12739E-03   -1.5079    
  13  Prefactor     .10000E-03    18.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.799        .40497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.7225        8.6641        .83900E-03   -1.5229    
  16  Prefactor     40.471        54.942        .63013E-04   -1.4435    
  17  Prefactor     .10001E-03    15.637        .20334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.5785        3.2437        .13928E-03   -1.5330    
  20  Prefactor     16.959        49.731        .97329E-04   -1.4884    
  21  norm          .10000E-03    .81054        .10581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .68126        .25532        .38375E-03   -1.0464    
  23  Prefactor     1.2034        .15348        .18371E-03   -.86227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6959e-09
Minuit parameter uncertainties:
  1  3.35054e-07
  2  4.68062e-07
  3  56.0623
  4  3.77187
  5  3.21398
  6  8.63057
  7  27.9899
  8  3.96934e-06
  9  3.86919
  10  9.50069
  11  9.93011
  12  13.8572
  13  4.54574e-05
  14  9.49814e-05
  15  8.66597
  16  55.0108
  17  0.000770202
  18  3.36634e-05
  19  3.24383
  20  49.8529
  21  2.41177e-06
  22  0.255764
  23  0.153534
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.535e+01  9.501e+00  1.000e-04  1.000e+04 ( 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.203e+00  1.535e-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:  6.813e-01  2.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 35.12
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 2.60e-07 +/- 6.99e-08
Energy Flux (Fixed Index): 7.15e-05 +/- 1.92e-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) = 7395.16643968
delta logL = 0.0625620667879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7395.13820297
delta logL = 0.0907987726714

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.204       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4277       1.0000          .0000       10.000    
     3 'Normalizat'    .70547       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1925       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=   7395.138     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      269 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.203        12.098        .64845E-04    .21996E-02
   2  Index         2.4277        .29155        .43182E-02    .62797E-03
   3  Normalizat    .70544        .25290        .37775E-03   -.60764E-04
   4  Prefactor     1.1925        .15370        .18443E-03   -.20747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.2028
  Index      = 2.42774
  Normalizat = 0.705441
  Prefactor  = 1.19248
 **********
 **   18 **HESSE 
 **********

 FCN=   7395.138     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.203        11.917        .12969E-04   -1.4471    
   2  Index         2.4277        .28697        .17273E-03   -.54037    
   3  Normalizat    .70544        .25297        .15110E-04   -1.0368    
   4  Prefactor     1.1925        .15374        .36887E-04   -.86563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81174e-09
Minuit parameter uncertainties:
  1  11.9181
  2  0.287189
  3  0.253388
  4  0.1538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/29995': 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) = 7395.13820296
delta logL = 0.090798790774

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.820e+01  1.192e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.428e+00  2.872e-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.192e+00  1.538e-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:  7.054e-01  2.534e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 35.05
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 2.43 +/- 0.29
Photon Flux (Free Index): 2.43e-07 +/- 7.84e-08
Energy Flux (Free Index): 7.67e-05 +/- 2.51e-05

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/29995/cmap_HighResolution_645753601_646012801_4FGL_J2153.8-1137_daily_bin1568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.60e-07', energy_flux2='7.67e-05', photon_flux_error='6.99e-08', dlogl='9.08e-02', energy_flux='7.15e-05', photon_flux2='2.43e-07', job_status='DONE', time_completed='2021-09-27 20:53:27.690004', photon_index_error2='0.29', photon_index2='2.43', ts='35.12', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='2.51e-05', EG='0.68', time_epoch_completed='1632801207.69', return_code='0', job_id='29995', GAL2='1.19', EG2='0.71', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='7.84e-08', ts2='35.05', photon_index='2.55' WHERE bin_id='1568' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:53:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 29995: <4FGL_J2153.8-1137_daily_bin1568> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1568> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Sep 27 20:40:24 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 20:41:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 20:41:36 2021
Terminated at Mon Sep 27 20:53:28 2021
Results reported at Mon Sep 27 20:53:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1568 328.461 -11.6306 645753601 646012801 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 :                                   621.14 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             342.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            784 sec.

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

