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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1565
RA = 328.461, Dec = -11.6306
tmin = 644976001, tmax = 645235201
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='29990', job_status='RUN', time_executed='2021-09-27 20:42:00.464803', time_epoch_executed='1632800520.46' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1565'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/29990

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/29990/ft1_4FGL_J2153.8-1137_daily_bin1565.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/29990/ft2_4FGL_J2153.8-1137_daily_bin1565.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/29990/ft1_4FGL_J2153.8-1137_daily_bin1565.fits outfile=/scratch/kocevski/29990/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1565.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=644976001.0 tmax=645235201.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.07
user 2.86
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/29990/ft1_filtered_4FGL_J2153.8-1137_daily_bin1565.fits" evtable="EVENTS" scfile=/scratch/kocevski/29990/ft2_4FGL_J2153.8-1137_daily_bin1565.fits sctable="SC_DATA" outfile=/scratch/kocevski/29990/ltcube_644976001_645235201_4FGL_J2153.8-1137_daily_bin1565.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/29990/ft2_4FGL_J2153.8-1137_daily_bin1565.fits
.....................!
real 15.05
user 14.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/29990/ft1_filtered_4FGL_J2153.8-1137_daily_bin1565.fits evtable="EVENTS" scfile=/scratch/kocevski/29990/ft2_4FGL_J2153.8-1137_daily_bin1565.fits sctable="SC_DATA" expcube=/scratch/kocevski/29990/ltcube_644976001_645235201_4FGL_J2153.8-1137_daily_bin1565.fits outfile=/scratch/kocevski/29990/expmap_644976001_645235201_4FGL_J2153.8-1137_daily_bin1565.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/29990/ltcube_644976001_645235201_4FGL_J2153.8-1137_daily_bin1565.fits
.....................!
real 191.20
user 185.59
sys 4.98

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/29990/ft1_filtered_4FGL_J2153.8-1137_daily_bin1565.fits scfile=/scratch/kocevski/29990/ft2_4FGL_J2153.8-1137_daily_bin1565.fits outfile=/scratch/kocevski/29990/cmap_644976001_645235201_4FGL_J2153.8-1137_daily_bin1565.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/29990/ft1_filtered_4FGL_J2153.8-1137_daily_bin1565.fits scfile=/scratch/kocevski/29990/ft2_4FGL_J2153.8-1137_daily_bin1565.fits outfile=/scratch/kocevski/29990/cmap_HighResolution_644976001_645235201_4FGL_J2153.8-1137_daily_bin1565.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.42
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/29990/ft1_filtered_4FGL_J2153.8-1137_daily_bin1565.fits evtable="EVENTS" scfile=/scratch/kocevski/29990/ft2_4FGL_J2153.8-1137_daily_bin1565.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/29990/Model_4FGL_J2153.8-1137_daily_bin1565.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/29990/ft1_filtered_4FGL_J2153.8-1137_daily_bin1565.fits.....................!
real 64.06
user 62.63
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.271       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .36708       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5552       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8702       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2546       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.556       1.0000         .10000E-03   10000.    
     9 'norm      '    7.5442       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .97085       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .33024E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.190       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.654       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.8904       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11370E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.6185       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .75245       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1341       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86990       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=   7072.305     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2605 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.179        21.434        .55119E-06    .37652E-04
   2  Prefactor     .53422        33.935        .84130E-05   -.43438E-03
   3  Prefactor     .10000E-03    13.135        .71367E-08** at limit **
   4  Prefactor     3.5563        5.1801        .23017E-06    .10175E-03
   5  Prefactor     2.8710        2.0379        .38378E-07   -.16142E-05
   6  Prefactor     6.2550        7.4683        .24192E-05    .11294E-02
   7  Prefactor     .10000E-03    22.479        .58124E-06** at limit **
   8  Prefactor     22.555        20.146        .43409E-06    .59423E-04
   9  norm          7.5444        6.6807        .16418E-06    .52600E-04
  10  Prefactor     .97090        3.6254        .86536E-06    .27548E-03
  11  Prefactor     .10000E-03    6.6441        .21439E-05** at limit **
  12  Prefactor     27.196        22.230        .17072E-06    .38325E-04
  13  Prefactor     .10000E-03    10.468        .36874E-08** at limit **
  14  Prefactor     11.651        11.169        .10629E-06    .93033E-04
  15  Prefactor     8.8933        7.8199        .95531E-06    .61018E-03
  16  Prefactor     .10000E-03    102.98       -.86572E-05** at limit **
  17  Prefactor     .10000E-03    1.1326        .11321E-07** at limit **
  18  Prefactor     .10000E-03    15.707       -.81852E-07** at limit **
  19  norm          6.6170        3.3565        .11925E-06    .39414E-03
  20  Prefactor     .10000E-03    29.131       -.14300E-06** at limit **
  21  norm          .75251        .66657        .46065E-07    .34664E-03
  22  Normalizat    1.1339        .20586       -.34041E-06    .17339E-03
  23  Prefactor     .86991        .12199       -.30521E-06    .18326E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1794
  Prefactor  = 0.534221
  Prefactor  = 0.0001
  Prefactor  = 3.55625
  Prefactor  = 2.871
  Prefactor  = 6.25502
  Prefactor  = 0.0001
  Prefactor  = 22.555
  norm       = 7.54439
  Prefactor  = 0.970897
  Prefactor  = 0.000100002
  Prefactor  = 27.196
  Prefactor  = 0.0001
  Prefactor  = 11.6514
  Prefactor  = 8.89328
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.61698
  Prefactor  = 0.0001
  norm       = 0.752507
  Normalizat = 1.13385
  Prefactor  = 0.869907
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.179        22.160        .99291E-04   -1.4903    
   2  Prefactor     .53422        112.75        .49115E-02   -1.5562    
   3  Prefactor     .10000E-03    13.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5563        5.1683        .21436E-03   -1.5331    
   5  Prefactor     2.8710        2.0380        .97844E-04   -1.5369    
   6  Prefactor     6.2550        7.9087        .80255E-03   -1.5208    
   7  Prefactor     .10000E-03    22.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.555        20.220        .84338E-04   -1.4758    
   9  norm          7.5444        6.6788        .14601E-03   -1.5159    
  10  Prefactor     .97090        3.6030        .29863E-03   -1.5511    
  11  Prefactor     .10000E-03    28.658        .37894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.196        22.189        .76828E-04   -1.4664    
  13  Prefactor     .10000E-03    10.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.651        11.229        .11735E-03   -1.5025    
  15  Prefactor     8.8933        7.9011        .67213E-03   -1.5111    
  16  Prefactor     .10000E-03    102.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.1418        .87337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.6170        3.3602        .10481E-03   -1.5193    
  20  Prefactor     .10000E-03    29.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .75251        .63269        .62574E-03   -1.5534    
  22  Normalizat    1.1339        .24776        .28648E-03   -.88672    
  23  Prefactor     .86991        .14617        .20105E-03   -.97201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.93939e-09
Minuit parameter uncertainties:
  1  22.171
  2  15.5505
  3  2.51641e-06
  4  5.16896
  5  2.03807
  6  7.91
  7  2.29959e-05
  8  20.2265
  9  6.67944
  10  3.60377
  11  0.000441144
  12  22.1955
  13  2.04375e-06
  14  11.2307
  15  7.90204
  16  0.000933427
  17  4.02861e-08
  18  4.28537e-06
  19  3.36028
  20  1.21353e-05
  21  0.632699
  22  0.248019
  23  0.146235
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  9.709e-01  3.604e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.552e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  6.399e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  8.699e-01  1.462e-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.134e+00  2.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 328.461 -11.631
Photon Flux Upper Limit: 8.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/29990/likelihoodResults_644976001_645235201_4FGL_J2153.8-1137_daily_bin1565.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): 0
logL (Free Index) = 7071.80339154
delta logL = 0.50169057098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7071.80270385
delta logL = 0.502378263401

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3130       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6429       1.0000          .0000       10.000    
     3 'Normalizat'    1.1448       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85992       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.

 FCN=   7071.803     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      249 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2724        4.4262        .55602E-02    .26301E-03
   2  Index         1.6412        .48555        .28360       -.54094E-04
   3  Normalizat    1.1447        .19249        .64476E-01    .13409E-04
   4  Prefactor     .86001        .12070        .44492E-01    .96300E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.27245
  Index      = 1.64119
  Normalizat = 1.14467
  Prefactor  = 0.860012
 **********
 **   18 **HESSE 
 **********

 FCN=   7071.803     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2724        4.2236        .18187E-03   -1.5346    
   2  Index         1.6412        .61314        .97886E-02   -.73658    
   3  Normalizat    1.1447        .22931        .28522E-03   -.88330    
   4  Prefactor     .86001        .14386        .20192E-03   -.97553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36858e-09
Minuit parameter uncertainties:
  1  4.22398
  2  0.61598
  3  0.229509
  4  0.143926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/29990': 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) = 7071.80265907
delta logL = 0.502423041881

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.272e+00  4.224e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.641e+00  6.160e-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:  8.600e-01  1.439e-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.145e+00  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 1.64 +/- 0.62
Photon Flux (Free Index): 1.06e-08 +/- 1.47e-08
Energy Flux (Free Index): 2.10e-05 +/- 3.86e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/29990/cmap_HighResolution_644976001_645235201_4FGL_J2153.8-1137_daily_bin1565.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', comment='SUCCESS', energy_flux2='2.10e-05', dlogl='5.02e-01', photon_flux2='1.06e-08', job_status='DONE', time_completed='2021-09-27 20:53:23.632780', photon_index_error2='0.62', photon_index2='1.64', ts='0.08', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='8.56e-08', energy_flux_error2='3.86e-05', EG='1.13', time_epoch_completed='1632801203.63', return_code='0', job_id='29990', GAL2='0.86', EG2='1.14', return_code2='0', photon_flux_error2='1.47e-08', ts2='1.09', photon_index='2.55' WHERE bin_id='1565' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:53:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 29990: <4FGL_J2153.8-1137_daily_bin1565> in cluster <slac> Done

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

Your job looked like:

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

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

