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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin774
RA = 328.461, Dec = -11.6306
tmin = 439948801, tmax = 440208001
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='23034', job_status='RUN', time_executed='2021-09-27 20:23:57.404555', time_epoch_executed='1632799437.4' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/23034

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/23034/ft1_4FGL_J2153.8-1137_daily_bin774.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/23034/ft2_4FGL_J2153.8-1137_daily_bin774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/23034/ft1_4FGL_J2153.8-1137_daily_bin774.fits outfile=/scratch/kocevski/23034/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin774.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=439948801.0 tmax=440208001.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.85
user 2.64
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/23034/ft2_4FGL_J2153.8-1137_daily_bin774.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/23034/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin774.fits evtable="EVENTS" outfile="/scratch/kocevski/23034/ft1_filtered_4FGL_J2153.8-1137_daily_bin774.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.44
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/23034/ft1_filtered_4FGL_J2153.8-1137_daily_bin774.fits" evtable="EVENTS" scfile=/scratch/kocevski/23034/ft2_4FGL_J2153.8-1137_daily_bin774.fits sctable="SC_DATA" outfile=/scratch/kocevski/23034/ltcube_439948801_440208001_4FGL_J2153.8-1137_daily_bin774.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/23034/ft2_4FGL_J2153.8-1137_daily_bin774.fits
.....................!
real 12.62
user 12.32
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/23034/ft1_filtered_4FGL_J2153.8-1137_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/23034/ft2_4FGL_J2153.8-1137_daily_bin774.fits sctable="SC_DATA" expcube=/scratch/kocevski/23034/ltcube_439948801_440208001_4FGL_J2153.8-1137_daily_bin774.fits outfile=/scratch/kocevski/23034/expmap_439948801_440208001_4FGL_J2153.8-1137_daily_bin774.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/23034/ltcube_439948801_440208001_4FGL_J2153.8-1137_daily_bin774.fits
.....................!
real 157.00
user 152.33
sys 4.15

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/23034/ft1_filtered_4FGL_J2153.8-1137_daily_bin774.fits scfile=/scratch/kocevski/23034/ft2_4FGL_J2153.8-1137_daily_bin774.fits outfile=/scratch/kocevski/23034/cmap_439948801_440208001_4FGL_J2153.8-1137_daily_bin774.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.48
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/23034/ft1_filtered_4FGL_J2153.8-1137_daily_bin774.fits scfile=/scratch/kocevski/23034/ft2_4FGL_J2153.8-1137_daily_bin774.fits outfile=/scratch/kocevski/23034/cmap_HighResolution_439948801_440208001_4FGL_J2153.8-1137_daily_bin774.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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/23034/ft1_filtered_4FGL_J2153.8-1137_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/23034/ft2_4FGL_J2153.8-1137_daily_bin774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/23034/Model_4FGL_J2153.8-1137_daily_bin774.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/23034/ft1_filtered_4FGL_J2153.8-1137_daily_bin774.fits.....................!
real 45.42
user 44.27
sys 0.99

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9845       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2050       1.0000         .10000E-03   10000.    
     9 'norm      '    12.579       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.223       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3639       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10712E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4619       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.312       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.2138       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.0446       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3379       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80665       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=   5606.320     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2502 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9430        .21985E-07** at limit **
   2  Prefactor     .10000E-03    5.1436       -.90167E-07** at limit **
   3  Prefactor     .10000E-03    45.918        .59177E-05** at limit **
   4  Prefactor     2.9837        6.9771        .28030E-05   -.62398E-03
   5  Prefactor     .10000E-03    1.6248       -.32407E-07** at limit **
   6  Prefactor     .10000E-03    1.7800       -.57416E-07** at limit **
   7  Prefactor     .10000E-03    12.802       -.27757E-06** at limit **
   8  Prefactor     6.1912        20.441        .18522E-04    .17423E-03
   9  norm          12.584        8.9544       -.11664E-05    .33836E-03
  10  Prefactor     .10000E-03    2.8685        .97576E-07** at limit **
  11  Prefactor     19.226        17.325       -.10516E-05    .95019E-04
  12  Prefactor     1.2900        108.75       -.68416E-04   -.36653E-04
  13  Prefactor     .10000E-03    39.287       -.54306E-05** at limit **
  14  Prefactor     4.4558        9.3227        .10500E-04   -.33679E-03
  15  Prefactor     14.319        15.476       -.92825E-06    .49159E-04
  16  Prefactor     .10000E-03    34.366       -.43058E-05** at limit **
  17  Prefactor     .10000E-03    4.6125       -.25698E-07** at limit **
  18  Prefactor     .10000E-03    50.521        .12759E-04** at limit **
  19  norm          7.2152        4.7787        .41976E-06   -.32456E-03
  20  Prefactor     .10000E-03    67.071       -.18884E-05** at limit **
  21  norm          2.0445        1.1806        .11353E-07   -.29913E-03
  22  Normalizat    1.3383        .24445       -.59869E-06    .38090E-03
  23  Prefactor     .80649        .13862        .45109E-06    .35031E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.98371
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.19121
  norm       = 12.5841
  Prefactor  = 0.0001
  Prefactor  = 19.2255
  Prefactor  = 1.29002
  Prefactor  = 0.000100002
  Prefactor  = 4.45577
  Prefactor  = 14.3188
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 7.21522
  Prefactor  = 0.0001
  norm       = 2.04447
  Normalizat = 1.33828
  Prefactor  = 0.806488
 **********
 **   18 **HESSE 
 **********

 FCN=   5606.320     FROM HESSE     STATUS=OK           362 CALLS     2864 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9488        .17827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.1530        .16584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    45.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9837        6.9130        .23500E-03   -1.5362    
   5  Prefactor     .10000E-03    1.6618        .93132E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.7807        .97560E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.1912        20.613        .16116E-03   -1.5210    
   9  norm          12.584        8.9499        .11294E-03   -1.4998    
  10  Prefactor     .10000E-03    2.8798        .12380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.226        17.330        .91351E-04   -1.4831    
  12  Prefactor     1.2900        117.33        .37374E-03   -1.5481    
  13  Prefactor     .10000E-03    39.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.4558        9.2515        .19063E-03   -1.5286    
  15  Prefactor     14.319        15.461        .10587E-03   -1.4951    
  16  Prefactor     .10000E-03    34.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.6831        .15646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    50.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.2152        4.7789        .12707E-03   -1.5171    
  20  Prefactor     .10000E-03    67.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0445        1.1786        .59751E-04   -1.5422    
  22  Normalizat    1.3383        .29928        .28232E-03   -.82431    
  23  Prefactor     .80649        .16909        .20873E-03   -.99490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98289e-09
Minuit parameter uncertainties:
  1  1.08676e-05
  2  7.08522e-06
  3  0.000447244
  4  6.91488
  5  9.57999e-08
  6  1.51474e-07
  7  9.14005e-06
  8  20.6368
  9  8.95083
  10  1.53484e-05
  11  17.3345
  12  24.655
  13  0.000520158
  14  9.25444
  15  15.4655
  16  0.000240687
  17  1.34394e-05
  18  0.000992527
  19  4.77912
  20  0.000143116
  21  1.17859
  22  0.299674
  23  0.169195
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.535e-05  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.065e-01  1.692e-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.338e+00  2.997e-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: 9.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/23034/likelihoodResults_439948801_440208001_4FGL_J2153.8-1137_daily_bin774.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) = 5606.32201703
delta logL = -0.00165045286758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5606.32036661
delta logL = -3.09573806589e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5367       1.0000          .0000       10.000    
     3 'Normalizat'    1.3383       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80649       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=   5606.320     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      248 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.446        .12505E-01** at limit **
   2  Index         2.1441        5.1223        .50000        .56752E-07
   3  Normalizat    1.3383        .13492E-01    .28232E-03    .54070E-03
   4  Prefactor     .80649        .80111E-02    .20873E-03    .78540E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.14414
  Normalizat = 1.33828
  Prefactor  = 0.80649
 **********
 **   18 **HESSE 
 **********

 FCN=   5606.320     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      277 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    170.67        .13307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1441        5.9450        .50000       -.60793    
   3  Normalizat    1.3383        .44516E-01    .56463E-04   -.82431    
   4  Prefactor     .80649        .26432E-01    .41745E-04   -.99490    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.48017e-09
Minuit parameter uncertainties:
  1  0.000550827
  2  668.769
  3  0.0445177
  4  0.0264328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/23034': 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) = 5606.32036422
delta logL = 2.35688094108e-06

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  5.508e-04  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.144e+00  6.688e+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.065e-01  2.643e-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.338e+00  4.452e-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/23034/cmap_HighResolution_439948801_440208001_4FGL_J2153.8-1137_daily_bin774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', job_status='DONE', photon_flux_upper_limit='9.24e-08', time_completed='2021-09-27 20:32:13.475535', job_id='23034', GAL2='0.81', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1632799933.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.36e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='774' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:32:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 23034: <4FGL_J2153.8-1137_daily_bin774> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin774> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 27 20:16:19 2021
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 20:21:37 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:21:37 2021
Terminated at Mon Sep 27 20:32:13 2021
Results reported at Mon Sep 27 20:32:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin774 328.461 -11.6306 439948801 440208001 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 :                                   488.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             278.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   636 sec.
    Turnaround time :                            954 sec.

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

