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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1399
RA = 328.461, Dec = -11.6306
tmin = 601948801, tmax = 602208001
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='28637', job_status='RUN', time_executed='2021-09-27 20:38:22.230195', time_epoch_executed='1632800302.23' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1399'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28637

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28637/ft1_4FGL_J2153.8-1137_daily_bin1399.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28637/ft2_4FGL_J2153.8-1137_daily_bin1399.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28637/ft1_4FGL_J2153.8-1137_daily_bin1399.fits outfile=/scratch/kocevski/28637/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1399.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=601948801.0 tmax=602208001.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.89
user 3.63
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28637/ft1_filtered_4FGL_J2153.8-1137_daily_bin1399.fits" evtable="EVENTS" scfile=/scratch/kocevski/28637/ft2_4FGL_J2153.8-1137_daily_bin1399.fits sctable="SC_DATA" outfile=/scratch/kocevski/28637/ltcube_601948801_602208001_4FGL_J2153.8-1137_daily_bin1399.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/28637/ft2_4FGL_J2153.8-1137_daily_bin1399.fits
.....................!
real 13.51
user 13.13
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28637/ft1_filtered_4FGL_J2153.8-1137_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/28637/ft2_4FGL_J2153.8-1137_daily_bin1399.fits sctable="SC_DATA" expcube=/scratch/kocevski/28637/ltcube_601948801_602208001_4FGL_J2153.8-1137_daily_bin1399.fits outfile=/scratch/kocevski/28637/expmap_601948801_602208001_4FGL_J2153.8-1137_daily_bin1399.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/28637/ltcube_601948801_602208001_4FGL_J2153.8-1137_daily_bin1399.fits
.....................!
real 190.56
user 185.67
sys 4.33

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/28637/ft1_filtered_4FGL_J2153.8-1137_daily_bin1399.fits scfile=/scratch/kocevski/28637/ft2_4FGL_J2153.8-1137_daily_bin1399.fits outfile=/scratch/kocevski/28637/cmap_601948801_602208001_4FGL_J2153.8-1137_daily_bin1399.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28637/ft1_filtered_4FGL_J2153.8-1137_daily_bin1399.fits scfile=/scratch/kocevski/28637/ft2_4FGL_J2153.8-1137_daily_bin1399.fits outfile=/scratch/kocevski/28637/cmap_HighResolution_601948801_602208001_4FGL_J2153.8-1137_daily_bin1399.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=328.461 yref=-11.6306 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28637/ft1_filtered_4FGL_J2153.8-1137_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/28637/ft2_4FGL_J2153.8-1137_daily_bin1399.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28637/Model_4FGL_J2153.8-1137_daily_bin1399.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/28637/ft1_filtered_4FGL_J2153.8-1137_daily_bin1399.fits.....................!
real 58.34
user 57.02
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12174E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1066       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.114       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.3596       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    34.640       1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .44237E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6181       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15789E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99595       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0490       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=   6202.518     FROM MIGRAD    STATUS=CONVERGED    873 CALLS     2892 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.808        .36285E-03** at limit **
   2  Prefactor     4.1148        12.499        .19893E-03   -.25145E-04
   3  Prefactor     23.095        64.646        .83317E-04   -.81871E-06
   4  Prefactor     .10000E-03    5.3790        .17747E-02** at limit **
   5  Prefactor     4.3597        3.5717        .11070E-03   -.11605E-04
   6  Prefactor     .10000E-03    4.3951        .16070E-02** at limit **
   7  Prefactor     .10000E-03    29.474        .18142E-02** at limit **
   8  Prefactor     34.635        19.826        .68088E-04   -.16864E-04
   9  norm          .10000E-03    3.2334        .13813E-02** at limit **
  10  Prefactor     .10000E-03    6.0202        .18142E-02** at limit **
  11  Prefactor     .10000E-03    4.3227        .15980E-02** at limit **
  12  Prefactor     .10000E-03    6.4085        .18142E-02** at limit **
  13  Prefactor     .10000E-03    19.603        .10091    ** at limit **
  14  Prefactor     .10000E-03    3.4172        .14206E-02** at limit **
  15  Prefactor     .10000E-03    11.431        .18142E-02** at limit **
  16  Prefactor     .10000E-03    29.954        .18142E-02** at limit **
  17  Prefactor     4.6214        4.7413        .16638E-03   -.59788E-04
  18  Prefactor     .10000E-03    362.73        .40860E-03** at limit **
  19  norm          .10000E-03    1.8382        .10344E-02** at limit **
  20  Prefactor     .10000E-03    27.055        .18142E-02** at limit **
  21  norm          .10000E-03    .45762        .10169E-03** at limit **
  22  Normalizat    .99596        .24960        .31360E-03   -.10122E-03
  23  Prefactor     1.0489        .15186        .18956E-03   -.12114E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.11481
  Prefactor  = 23.0947
  Prefactor  = 0.0001
  Prefactor  = 4.3597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.6351
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.62142
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.995955
  Prefactor  = 1.04891
 **********
 **   18 **HESSE 
 **********

 FCN=   6202.518     FROM HESSE     STATUS=OK           356 CALLS     3248 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.810        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.1148        12.498        .79573E-05   -1.5302    
   3  Prefactor     23.095        64.597        .33327E-05   -1.4746    
   4  Prefactor     .10000E-03    5.3810        .35494E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.3597        3.5703        .44280E-05   -1.5290    
   6  Prefactor     .10000E-03    4.3960        .32140E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    29.476        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     34.635        19.824        .27235E-05   -1.4530    
   9  norm          .10000E-03    3.2335        .27626E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.0252        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.3229        .31959E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.4089        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.312        .10206       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.4173        .28411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.435        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    29.955        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.6214        4.7409        .66553E-05   -1.5278    
  18  Prefactor     .10000E-03    362.75        .81720E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.8386        .20689E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    27.055        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .45762        .20338E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .99596        .24979        .12544E-04   -.93166    
  23  Prefactor     1.0489        .15199        .75826E-05   -.91117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21482e-11
Minuit parameter uncertainties:
  1  3.03432e-07
  2  12.506
  3  64.7934
  4  3.74618e-07
  5  3.57049
  6  1.27662e-06
  7  1.13491e-05
  8  19.8276
  9  9.10802e-07
  10  3.29824e-06
  11  3.51146e-07
  12  1.11919e-07
  13  6.65514e-05
  14  1.40811e-06
  15  8.0019e-06
  16  8.90437e-06
  17  4.74124
  18  0.00145465
  19  1.26285e-06
  20  1.18389e-05
  21  1.78186e-06
  22  0.250087
  23  0.152053
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  3.298e-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:  1.049e+00  1.521e-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:  9.960e-01  2.501e-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: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28637/likelihoodResults_601948801_602208001_4FGL_J2153.8-1137_daily_bin1399.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) = 6202.5190728
delta logL = -0.000791782527813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6202.51828104
delta logL = -2.09793142858e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5694       1.0000          .0000       10.000    
     3 'Normalizat'    .99587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0490       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=   6202.515     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      304 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12055E-01    1.9418        .88769E-02   -.28208E-02
   2  Index         5.4470        7.7200        .36271        .18579E-04
   3  Normalizat    .98838        .24840E-01    .31360E-03    .45896E-04
   4  Prefactor     1.0517        .15232E-01    .18956E-03    .89551E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0120546
  Index      = 5.44698
  Normalizat = 0.988384
  Prefactor  = 1.05171
 **********
 **   18 **HESSE 
 **********

 FCN=   6202.515     FROM HESSE     STATUS=OK            31 CALLS      335 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12055E-01    .87850        .48684E-03   -1.5730    
   2  Index         5.4470        7.6198        .28074E-01    .89515E-01
   3  Normalizat    .98838        .25973        .12544E-04   -.93421    
   4  Prefactor     1.0517        .15512        .37913E-04   -.91025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04417e-08
Minuit parameter uncertainties:
  1  0.204963
  2  9.70754
  3  0.260067
  4  0.155188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28637': 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) = 6202.51475039
delta logL = 0.00353062865361

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  1.052e+00  1.552e-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:  9.884e-01  2.601e-01  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/28637/cmap_HighResolution_601948801_602208001_4FGL_J2153.8-1137_daily_bin1399.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.92e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-27 20:51:03.867343', job_id='28637', GAL2='1.05', fit_tolerance='1e-08', EG2='0.99', EG='1.00', time_epoch_completed='1632801063.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.53e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1399' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:51:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 28637: <4FGL_J2153.8-1137_daily_bin1399> in cluster <slac> Done

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

Your job looked like:

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

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

