/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 146 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 = 7362
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1283
RA = 328.461, Dec = -11.6306
tmin = 571881601, tmax = 572140801
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='28468', job_status='RUN', time_executed='2021-09-27 20:38:31.361210', time_epoch_executed='1632800311.36' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1283'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28468

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28468/ft1_4FGL_J2153.8-1137_daily_bin1283.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28468/ft2_4FGL_J2153.8-1137_daily_bin1283.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28468/ft1_4FGL_J2153.8-1137_daily_bin1283.fits outfile=/scratch/kocevski/28468/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1283.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=571881601.0 tmax=572140801.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.57
user 2.37
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28468/ft1_filtered_4FGL_J2153.8-1137_daily_bin1283.fits" evtable="EVENTS" scfile=/scratch/kocevski/28468/ft2_4FGL_J2153.8-1137_daily_bin1283.fits sctable="SC_DATA" outfile=/scratch/kocevski/28468/ltcube_571881601_572140801_4FGL_J2153.8-1137_daily_bin1283.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/28468/ft2_4FGL_J2153.8-1137_daily_bin1283.fits
.....................!
real 15.11
user 14.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28468/ft1_filtered_4FGL_J2153.8-1137_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/28468/ft2_4FGL_J2153.8-1137_daily_bin1283.fits sctable="SC_DATA" expcube=/scratch/kocevski/28468/ltcube_571881601_572140801_4FGL_J2153.8-1137_daily_bin1283.fits outfile=/scratch/kocevski/28468/expmap_571881601_572140801_4FGL_J2153.8-1137_daily_bin1283.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/28468/ltcube_571881601_572140801_4FGL_J2153.8-1137_daily_bin1283.fits
.....................!
real 191.78
user 186.10
sys 5.20

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/28468/ft1_filtered_4FGL_J2153.8-1137_daily_bin1283.fits scfile=/scratch/kocevski/28468/ft2_4FGL_J2153.8-1137_daily_bin1283.fits outfile=/scratch/kocevski/28468/cmap_571881601_572140801_4FGL_J2153.8-1137_daily_bin1283.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28468/ft1_filtered_4FGL_J2153.8-1137_daily_bin1283.fits scfile=/scratch/kocevski/28468/ft2_4FGL_J2153.8-1137_daily_bin1283.fits outfile=/scratch/kocevski/28468/cmap_HighResolution_571881601_572140801_4FGL_J2153.8-1137_daily_bin1283.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28468/ft1_filtered_4FGL_J2153.8-1137_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/28468/ft2_4FGL_J2153.8-1137_daily_bin1283.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28468/Model_4FGL_J2153.8-1137_daily_bin1283.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/28468/ft1_filtered_4FGL_J2153.8-1137_daily_bin1283.fits.....................!
real 37.57
user 36.32
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.083       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10056E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.071       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .18913E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .46449E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .51426E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .51585E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11388E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    70.564       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8303       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .20330E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .40777E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    65.186       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.377       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .68873E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.8976       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .54019E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    3.8926       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .45237E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    .50623       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .32832       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2242       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=   2726.208     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2294 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.304        40.339        .29281E-06   -.39776E-05
   2  Prefactor     .10000E-03    23.228       -.58474E-07** at limit **
   3  Prefactor     24.664        58.591        .13747E-05    .12312E-04
   4  Prefactor     .10000E-03    12.812        .57268E-08** at limit **
   5  Prefactor     .10000E-03    2.3182        .36520E-06** at limit **
   6  Prefactor     .10000E-03    85.454        .20061E-06** at limit **
   7  Prefactor     .10000E-03    41.058        .21653E-06** at limit **
   8  Prefactor     .10000E-03    56.636       -.14993E-06** at limit **
   9  norm          .10000E-03    29.299       -.11505E-06** at limit **
  10  Prefactor     70.237        30.778        .47061E-06   -.36491E-04
  11  Prefactor     9.1178        14.396        .59698E-06   -.83564E-05
  12  Prefactor     .10000E-03    43.648       -.22827E-06** at limit **
  13  Prefactor     .10000E-03    7.8322        .12149E-06** at limit **
  14  Prefactor     66.731        44.552        .51225E-06   -.56362E-04
  15  Prefactor     15.004        17.958        .56066E-06   -.31570E-05
  16  Prefactor     .10000E-03    104.17       -.11911E-06** at limit **
  17  Prefactor     4.7694        6.6369        .21269E-06   -.14374E-03
  18  Prefactor     .10000E-03    318.18       -.81484E-06** at limit **
  19  norm          3.9897        6.7844        .64536E-06   -.15459E-03
  20  Prefactor     .10000E-03    56.062        .17153E-06** at limit **
  21  norm          .51310        2.5677        .54280E-06    .21423E-04
  22  Normalizat    .31831        .46560       -.12099E-04   -.31171E-04
  23  Prefactor     1.2260        .24625        .24222E-05   -.32650E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.3044
  Prefactor  = 0.0001
  Prefactor  = 24.6643
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 70.2369
  Prefactor  = 9.11785
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 66.7313
  Prefactor  = 15.0038
  Prefactor  = 0.0001
  Prefactor  = 4.76936
  Prefactor  = 0.0001
  norm       = 3.98975
  Prefactor  = 0.0001
  norm       = 0.513103
  Normalizat = 0.318311
  Prefactor  = 1.22602
 **********
 **   18 **HESSE 
 **********

 FCN=   2726.208     FROM HESSE     STATUS=OK           364 CALLS     2658 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.304        40.451        .78439E-04   -1.4701    
   2  Prefactor     .10000E-03    23.231        .18147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.664        58.292        .85260E-04   -1.4714    
   4  Prefactor     .10000E-03    12.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.2965        .15250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    85.397        .19302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    41.090        .19163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    56.693        .21142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    29.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     70.237        30.955        .47788E-04   -1.4030    
  11  Prefactor     9.1178        14.447        .13489E-03   -1.5104    
  12  Prefactor     .10000E-03    43.703        .20214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.8434        .14271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     66.731        44.345        .49707E-04   -1.4072    
  15  Prefactor     15.004        17.893        .10563E-03   -1.4933    
  16  Prefactor     .10000E-03    104.23        .20989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.7694        6.5921        .13798E-03   -1.5271    
  18  Prefactor     .10000E-03    317.58        .18579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.9897        6.7484        .15914E-03   -1.5308    
  20  Prefactor     .10000E-03    56.036        .19337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .51310        2.6149        .15176E-03   -1.5565    
  22  Normalizat    .31831        .46915        .60338E-03   -1.2176    
  23  Prefactor     1.2260        .24893        .18292E-03   -.85534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07644e-10
Minuit parameter uncertainties:
  1  40.495
  2  3.99795e-05
  3  58.4272
  4  2.61489e-05
  5  5.01182e-05
  6  0.000199948
  7  0.000118101
  8  0.000138147
  9  2.90979e-05
  10  30.9618
  11  14.4522
  12  0.000239773
  13  1.65508e-05
  14  44.3667
  15  17.8992
  16  0.000324497
  17  6.59308
  18  0.000156838
  19  6.74966
  20  0.000109866
  21  2.31658
  22  0.475111
  23  0.249172
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  7.024e+01  3.096e+01  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.226e+00  2.492e-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:  3.183e-01  4.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.05
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 5.17e-07 +/- 2.28e-07
Energy Flux (Fixed Index): 1.42e-04 +/- 6.26e-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) = 2725.28031817
delta logL = 0.927689938816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2725.17373445
delta logL = 1.03427365007

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    86.030       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0358       1.0000          .0000       10.000    
     3 'Normalizat'    .43137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1702       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=   2725.174     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      217 TOTAL
                     EDM=   .90E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     86.020        36.227       -.10265E-05    .54522E-05
   2  Index         2.0358        .32165       -.64584E-05    .11985E-04
   3  Normalizat    .43130        .42688        .27191E-05    .34791E-04
   4  Prefactor     1.1703        .24451       -.18511E-06    .57341E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 86.0196
  Index      = 2.03577
  Normalizat = 0.431299
  Prefactor  = 1.17026
 **********
 **   18 **HESSE 
 **********

 FCN=   2725.174     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     86.020        36.205        .43313E-04   -1.3850    
   2  Index         2.0358        .32142        .38735E-02   -.63459    
   3  Normalizat    .43130        .42698        .52134E-03   -1.1571    
   4  Prefactor     1.1703        .24587        .18630E-03   -.87251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72944e-11
Minuit parameter uncertainties:
  1  36.2147
  2  0.321761
  3  0.430261
  4  0.246112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28468': 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) = 2725.17373439
delta logL = 1.03427370945

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  8.602e+01  3.621e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.036e+00  3.218e-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.170e+00  2.461e-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:  4.313e-01  4.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.09
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 2.04 +/- 0.32
Photon Flux (Free Index): 3.63e-07 +/- 1.91e-07
Energy Flux (Free Index): 2.30e-04 +/- 1.40e-04

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/28468/cmap_HighResolution_571881601_572140801_4FGL_J2153.8-1137_daily_bin1283.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.17e-07', energy_flux2='2.30e-04', photon_flux_error='2.28e-07', dlogl='1.03e+00', energy_flux='1.42e-04', photon_flux2='3.63e-07', job_status='DONE', time_completed='2021-09-27 20:47:38.639024', photon_index_error2='0.32', photon_index2='2.04', ts='11.05', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', energy_flux_error2='1.40e-04', EG='0.32', time_epoch_completed='1632800858.64', return_code='0', job_id='28468', GAL2='1.17', EG2='0.43', return_code2='0', energy_flux_error='6.26e-05', photon_flux_error2='1.91e-07', ts2='13.09', photon_index='2.55' WHERE bin_id='1283' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:47:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 28468: <4FGL_J2153.8-1137_daily_bin1283> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1283> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep 27 20:35:17 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 20:35:56 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:35:56 2021
Terminated at Mon Sep 27 20:47:39 2021
Results reported at Mon Sep 27 20:47:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1283 328.461 -11.6306 571881601 572140801 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 :                                   416.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             246.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            742 sec.

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

