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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1390
RA = 328.461, Dec = -11.6306
tmin = 599616001, tmax = 599875201
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='28625', job_status='RUN', time_executed='2021-09-27 20:38:20.586299', time_epoch_executed='1632800300.59' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28625

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28625/ft1_4FGL_J2153.8-1137_daily_bin1390.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28625/ft2_4FGL_J2153.8-1137_daily_bin1390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28625/ft1_4FGL_J2153.8-1137_daily_bin1390.fits outfile=/scratch/kocevski/28625/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1390.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=599616001.0 tmax=599875201.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.51
user 2.33
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/28625/ft2_4FGL_J2153.8-1137_daily_bin1390.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/28625/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1390.fits evtable="EVENTS" outfile="/scratch/kocevski/28625/ft1_filtered_4FGL_J2153.8-1137_daily_bin1390.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28625/ft1_filtered_4FGL_J2153.8-1137_daily_bin1390.fits" evtable="EVENTS" scfile=/scratch/kocevski/28625/ft2_4FGL_J2153.8-1137_daily_bin1390.fits sctable="SC_DATA" outfile=/scratch/kocevski/28625/ltcube_599616001_599875201_4FGL_J2153.8-1137_daily_bin1390.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/28625/ft2_4FGL_J2153.8-1137_daily_bin1390.fits
.....................!
real 12.17
user 11.78
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28625/ft1_filtered_4FGL_J2153.8-1137_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/28625/ft2_4FGL_J2153.8-1137_daily_bin1390.fits sctable="SC_DATA" expcube=/scratch/kocevski/28625/ltcube_599616001_599875201_4FGL_J2153.8-1137_daily_bin1390.fits outfile=/scratch/kocevski/28625/expmap_599616001_599875201_4FGL_J2153.8-1137_daily_bin1390.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/28625/ltcube_599616001_599875201_4FGL_J2153.8-1137_daily_bin1390.fits
.....................!
real 191.28
user 185.37
sys 5.60

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/28625/ft1_filtered_4FGL_J2153.8-1137_daily_bin1390.fits scfile=/scratch/kocevski/28625/ft2_4FGL_J2153.8-1137_daily_bin1390.fits outfile=/scratch/kocevski/28625/cmap_599616001_599875201_4FGL_J2153.8-1137_daily_bin1390.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28625/ft1_filtered_4FGL_J2153.8-1137_daily_bin1390.fits scfile=/scratch/kocevski/28625/ft2_4FGL_J2153.8-1137_daily_bin1390.fits outfile=/scratch/kocevski/28625/cmap_HighResolution_599616001_599875201_4FGL_J2153.8-1137_daily_bin1390.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .97970E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11336E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1162       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.848       1.0000         .10000E-03   10000.    
     9 'norm      '    10.655       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7656       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.020       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.312       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16239E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5174       1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.951       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8977       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.8096       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3761       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .73977       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=   6466.079     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2605 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 16.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.847       -.10942E-07** at limit **
   2  Prefactor     .10000E-03    12.585        .81779E-07** at limit **
   3  Prefactor     .10088E-03    440.04       -.49162E-04** at limit **
   4  Prefactor     .10000E-03    3.3940       -.64142E-07** at limit **
   5  Prefactor     .10000E-03    1.1678       -.32748E-06** at limit **
   6  Prefactor     3.1159        5.4669        .85571E-07    .63629E-05
   7  Prefactor     .10000E-03    33.674       -.85406E-06** at limit **
   8  Prefactor     30.841        22.336        .99155E-06    .14619E-03
   9  norm          10.655        6.9558       -.12311E-06   -.10466E-03
  10  Prefactor     .10000E-03    3.2476        .65126E-06** at limit **
  11  Prefactor     3.7469        13.084        .67024E-06   -.29132E-04
  12  Prefactor     33.012        23.376        .51733E-06    .36737E-04
  13  Prefactor     15.316        18.762       -.15450E-05   -.26176E-03
  14  Prefactor     .10002E-03    11.163        .56540E-05** at limit **
  15  Prefactor     1.5156        7.9796       -.40095E-06    .19113E-03
  16  Prefactor     34.934        64.008       -.20695E-05   -.75506E-04
  17  Prefactor     .10000E-03    2.6256       -.32908E-06** at limit **
  18  Prefactor     3.8892        99.315        .11114E-05    .32589E-05
  19  norm          .10000E-03    1.1599       -.53916E-07** at limit **
  20  Prefactor     .10000E-03    29.700        .17865E-06** at limit **
  21  norm          3.8094        1.1960       -.22878E-08   -.33466E-03
  22  Normalizat    1.3763        .22631        .19383E-05   -.19924E-04
  23  Prefactor     .73976        .12450       -.24099E-05   -.93123E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100879
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.11587
  Prefactor  = 0.0001
  Prefactor  = 30.8407
  norm       = 10.6549
  Prefactor  = 0.0001
  Prefactor  = 3.74695
  Prefactor  = 33.012
  Prefactor  = 15.3162
  Prefactor  = 0.000100023
  Prefactor  = 1.51555
  Prefactor  = 34.9338
  Prefactor  = 0.0001
  Prefactor  = 3.8892
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.80939
  Normalizat = 1.37625
  Prefactor  = 0.739761
 **********
 **   18 **HESSE 
 **********

 FCN=   6466.079     FROM HESSE     STATUS=OK           380 CALLS     2985 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10088E-03    41.050        .13746       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.4354        .14462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.6761        .16079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1159        5.4532        .22969E-03   -1.5355    
   7  Prefactor     .10000E-03    33.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.841        22.362        .72140E-04   -1.4597    
   9  norm          10.655        6.9570        .12275E-03   -1.5055    
  10  Prefactor     .10000E-03    3.2943        .14178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.7469        13.063        .20805E-03   -1.5321    
  12  Prefactor     33.012        23.250        .69734E-04   -1.4558    
  13  Prefactor     15.316        18.884        .10235E-03   -1.4925    
  14  Prefactor     .10002E-03    36.494        .39102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.5156        8.2273        .17349E-02   -1.5462    
  16  Prefactor     34.934        64.179        .67786E-04   -1.4525    
  17  Prefactor     .10000E-03    2.6885        .25324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.8892        99.315        .20437E-03   -1.5314    
  19  norm          .10000E-03    1.1807        .84394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.8094        1.1958        .47405E-04   -1.5318    
  22  Normalizat    1.3763        .25863        .26981E-03   -.81318    
  23  Prefactor     .73976        .14704        .21090E-03   -1.0199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72742e-09
Minuit parameter uncertainties:
  1  1.13946e-05
  2  3.00211e-05
  3  0.0120235
  4  1.79262e-06
  5  5.15542e-06
  6  5.45407
  7  0.000110649
  8  22.368
  9  6.95751
  10  3.90355e-05
  11  13.0726
  12  23.2565
  13  18.8912
  14  0.00184008
  15  7.06354
  16  64.3063
  17  1.80489e-05
  18  39.3794
  19  9.81457e-06
  20  6.51653e-05
  21  1.19581
  22  0.25888
  23  0.147117
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  3.904e-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:  7.398e-01  1.471e-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.376e+00  2.589e-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: 8.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28625/likelihoodResults_599616001_599875201_4FGL_J2153.8-1137_daily_bin1390.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) = 6466.08033303
delta logL = -0.0014449485252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6466.07888838
delta logL = -2.98709892377e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5556       1.0000          .0000       10.000    
     3 'Normalizat'    1.3761       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73987       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=   6466.079     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      240 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    121.53        .14182E-02** at limit **
   2  Index         2.5802        6.1761        .50000       -.65843E-05
   3  Normalizat    1.3762        .33318E-01    .26981E-03    .82628E-04
   4  Prefactor     .73977        .19862E-01    .21089E-03    .69971E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100107
  Index      = 2.58019
  Normalizat = 1.37624
  Prefactor  = 0.739768
 **********
 **   18 **HESSE 
 **********

 FCN=   6466.079     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10011E-03    480.14        .28364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5802        6.1022        .50000       -.50518    
   3  Normalizat    1.3762        .81868E-01    .10792E-04   -.81318    
   4  Prefactor     .73977        .48783E-01    .84358E-05   -1.0199    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.39278e-08
Minuit parameter uncertainties:
  1  0.0144442
  2  1435.94
  3  0.0818762
  4  0.0487859
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28625': 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) = 6466.07888804
delta logL = 3.46817614627e-08

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.001e-04  1.444e-02  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.580e+00  1.436e+03  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:  7.398e-01  4.879e-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.376e+00  8.188e-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/28625/cmap_HighResolution_599616001_599875201_4FGL_J2153.8-1137_daily_bin1390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.70e-03', job_status='DONE', photon_flux_upper_limit='8.59e-08', time_completed='2021-09-27 20:50:57.924009', job_id='28625', GAL2='0.74', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1632801057.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='3.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1390' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:50:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 28625: <4FGL_J2153.8-1137_daily_bin1390> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1390 328.461 -11.6306 599616001 599875201 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 :                                   641.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            931 sec.

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

