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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1310
RA = 328.461, Dec = -11.6306
tmin = 578880001, tmax = 579139201
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='28506', job_status='RUN', time_executed='2021-09-27 20:36:56.063496', time_epoch_executed='1632800216.06' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1310'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28506

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28506/ft1_4FGL_J2153.8-1137_daily_bin1310.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28506/ft2_4FGL_J2153.8-1137_daily_bin1310.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28506/ft1_4FGL_J2153.8-1137_daily_bin1310.fits outfile=/scratch/kocevski/28506/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1310.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=578880001.0 tmax=579139201.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.70
user 3.45
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28506/ft1_filtered_4FGL_J2153.8-1137_daily_bin1310.fits" evtable="EVENTS" scfile=/scratch/kocevski/28506/ft2_4FGL_J2153.8-1137_daily_bin1310.fits sctable="SC_DATA" outfile=/scratch/kocevski/28506/ltcube_578880001_579139201_4FGL_J2153.8-1137_daily_bin1310.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/28506/ft2_4FGL_J2153.8-1137_daily_bin1310.fits
.....................!
real 14.64
user 14.20
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28506/ft1_filtered_4FGL_J2153.8-1137_daily_bin1310.fits evtable="EVENTS" scfile=/scratch/kocevski/28506/ft2_4FGL_J2153.8-1137_daily_bin1310.fits sctable="SC_DATA" expcube=/scratch/kocevski/28506/ltcube_578880001_579139201_4FGL_J2153.8-1137_daily_bin1310.fits outfile=/scratch/kocevski/28506/expmap_578880001_579139201_4FGL_J2153.8-1137_daily_bin1310.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/28506/ltcube_578880001_579139201_4FGL_J2153.8-1137_daily_bin1310.fits
.....................!
real 190.98
user 186.09
sys 4.43

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/28506/ft1_filtered_4FGL_J2153.8-1137_daily_bin1310.fits scfile=/scratch/kocevski/28506/ft2_4FGL_J2153.8-1137_daily_bin1310.fits outfile=/scratch/kocevski/28506/cmap_578880001_579139201_4FGL_J2153.8-1137_daily_bin1310.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=328.461 yref=-11.6306 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.42
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28506/ft1_filtered_4FGL_J2153.8-1137_daily_bin1310.fits scfile=/scratch/kocevski/28506/ft2_4FGL_J2153.8-1137_daily_bin1310.fits outfile=/scratch/kocevski/28506/cmap_HighResolution_578880001_579139201_4FGL_J2153.8-1137_daily_bin1310.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.58
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28506/ft1_filtered_4FGL_J2153.8-1137_daily_bin1310.fits evtable="EVENTS" scfile=/scratch/kocevski/28506/ft2_4FGL_J2153.8-1137_daily_bin1310.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28506/Model_4FGL_J2153.8-1137_daily_bin1310.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/28506/ft1_filtered_4FGL_J2153.8-1137_daily_bin1310.fits.....................!
real 61.52
user 60.16
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.323       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .45300       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4176       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    40.853       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10719E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.5400       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.639       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.8771       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.074       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10507E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.6907       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .32799E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.8327       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11313E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11477E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87783       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=   6473.184     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2621 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.316        21.619        .50706E-05   -.31618E-05
   2  Prefactor     .10000E-03    9.2896       -.27727E-06** at limit **
   3  Prefactor     .35585        23.602       -.44273E-05    .85309E-04
   4  Prefactor     .10000E-03    8.2716       -.18070E-06** at limit **
   5  Prefactor     1.4186        1.3509       -.10761E-06    .43613E-03
   6  Prefactor     .10000E-03    2.6555        .10833E-07** at limit **
   7  Prefactor     40.885        39.965        .15429E-04    .76017E-04
   8  Prefactor     .10000E-03    18.323        .45828E-06** at limit **
   9  norm          7.5393        5.4921       -.24428E-05    .13231E-03
  10  Prefactor     .10000E-03    1.5980        .32988E-07** at limit **
  11  Prefactor     .10000E-03    4.2486        .48238E-08** at limit **
  12  Prefactor     19.642        18.729       -.31244E-05   -.31079E-04
  13  Prefactor     5.8731        13.521       -.11964E-07   -.50076E-04
  14  Prefactor     .10000E-03    5.4282        .86296E-07** at limit **
  15  Prefactor     10.075        10.622       -.16397E-05   -.16420E-02
  16  Prefactor     .10000E-03    39.155        .19544E-06** at limit **
  17  Prefactor     1.6918        2.5129        .81997E-07   -.29411E-03
  18  Prefactor     .10001E-03    243.25        .62135E-04** at limit **
  19  norm          2.8320        3.0597       -.77155E-08   -.38536E-03
  20  Prefactor     .10000E-03    23.565       -.33928E-06** at limit **
  21  norm          .10000E-03    .49377        .12617E-07** at limit **
  22  Normalizat    1.1773        .20012       -.42474E-06   -.43228E-04
  23  Prefactor     .87789        .12254       -.49319E-06    .19096E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3156
  Prefactor  = 0.0001
  Prefactor  = 0.355849
  Prefactor  = 0.0001
  Prefactor  = 1.4186
  Prefactor  = 0.0001
  Prefactor  = 40.8848
  Prefactor  = 0.0001
  norm       = 7.53932
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.6423
  Prefactor  = 5.87309
  Prefactor  = 0.0001
  Prefactor  = 10.0755
  Prefactor  = 0.0001
  Prefactor  = 1.69176
  Prefactor  = 0.000100009
  norm       = 2.83202
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.17728
  Prefactor  = 0.877892
 **********
 **   18 **HESSE 
 **********

 FCN=   6473.184     FROM HESSE     STATUS=OK           378 CALLS     2999 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.316        21.537        .10974E-03   -1.4978    
   2  Prefactor     .10000E-03    9.3545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .35585        26.643        .12894       -1.5589    
   4  Prefactor     .10000E-03    8.5757        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4186        1.3680        .88161E-04   -1.5470    
   6  Prefactor     .10000E-03    2.6623        .12804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     40.885        39.762        .62715E-04   -1.4428    
   8  Prefactor     .10000E-03    18.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.5393        5.4718        .14605E-03   -1.5159    
  10  Prefactor     .10000E-03    1.6020        .99311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.2597        .16195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.642        18.754        .90379E-04   -1.4821    
  13  Prefactor     5.8731        13.521        .16565E-03   -1.5223    
  14  Prefactor     .10000E-03    5.4647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.075        10.915        .63122E-03   -1.5073    
  16  Prefactor     .10000E-03    39.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.6918        2.4832        .14939E-03   -1.5448    
  18  Prefactor     .10001E-03    244.53        .42704E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.8320        3.0526        .14026E-03   -1.5371    
  20  Prefactor     .10000E-03    23.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.7708        .10838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1773        .23522        .28094E-03   -.87308    
  23  Prefactor     .87789        .14544        .19699E-03   -.96918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78326e-09
Minuit parameter uncertainties:
  1  21.5494
  2  6.08253e-05
  3  6.16014
  4  5.69302e-05
  5  1.368
  6  1.92932e-06
  7  39.788
  8  0.000107073
  9  5.47214
  10  3.66878e-06
  11  5.72984e-07
  12  18.7601
  13  13.5278
  14  1.68209e-05
  15  10.9175
  16  1.70937e-05
  17  2.4833
  18  0.00293938
  19  3.05281
  20  4.86798e-06
  21  1.18379e-06
  22  0.235433
  23  0.145507
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  3.669e-06  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:  8.779e-01  1.455e-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:  1.177e+00  2.354e-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.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28506/likelihoodResults_578880001_579139201_4FGL_J2153.8-1137_daily_bin1310.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) = 6473.18683422
delta logL = -0.00294537532773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6473.18388872
delta logL = 1.28137799038e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5387       1.0000          .0000       10.000    
     3 'Normalizat'    1.1772       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87793       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=   6473.184     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      249 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.098        .10008E-01** at limit **
   2  Index         2.0337        7.6506        .50000        .75320E-06
   3  Normalizat    1.1773        .18089E-01    .28094E-03    .61346E-04
   4  Prefactor     .87789        .11192E-01    .19699E-03    .11756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.03366
  Normalizat = 1.17729
  Prefactor  = 0.877892
 **********
 **   18 **HESSE 
 **********

 FCN=   6473.184     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    202.50        .10830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0337        5.5128        .50000       -.63511    
   3  Normalizat    1.1773        .61508E-01    .11238E-04   -.87308    
   4  Prefactor     .87789        .38056E-01    .78797E-05   -.96918    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.74239e-08
Minuit parameter uncertainties:
  1  1.70417e-05
  2  861.024
  3  0.0615122
  4  0.0380569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28506': 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) = 6473.1838839
delta logL = 4.94369487569e-06

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.704e-05  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.034e+00  8.610e+02  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:  8.779e-01  3.806e-02  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:  1.177e+00  6.151e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/28506/cmap_HighResolution_578880001_579139201_4FGL_J2153.8-1137_daily_bin1310.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2021-09-27 20:48:01.151449', job_id='28506', GAL2='0.88', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1632800881.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='4.94e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1310' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:48:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 28506: <4FGL_J2153.8-1137_daily_bin1310> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1310> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep 27 20:35:19 2021
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 20:36:14 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:36:14 2021
Terminated at Mon Sep 27 20:48:01 2021
Results reported at Mon Sep 27 20:48:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1310 328.461 -11.6306 578880001 579139201 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 :                                   655.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            762 sec.

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

