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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1308
RA = 328.461, Dec = -11.6306
tmin = 578361601, tmax = 578620801
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='28503', job_status='RUN', time_executed='2021-09-27 20:36:39.997364', time_epoch_executed='1632800200.0' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1308'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28503

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28503/ft1_4FGL_J2153.8-1137_daily_bin1308.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28503/ft2_4FGL_J2153.8-1137_daily_bin1308.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28503/ft1_4FGL_J2153.8-1137_daily_bin1308.fits outfile=/scratch/kocevski/28503/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1308.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=578361601.0 tmax=578620801.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.65
user 3.42
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28503/ft1_filtered_4FGL_J2153.8-1137_daily_bin1308.fits" evtable="EVENTS" scfile=/scratch/kocevski/28503/ft2_4FGL_J2153.8-1137_daily_bin1308.fits sctable="SC_DATA" outfile=/scratch/kocevski/28503/ltcube_578361601_578620801_4FGL_J2153.8-1137_daily_bin1308.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/28503/ft2_4FGL_J2153.8-1137_daily_bin1308.fits
.....................!
real 14.34
user 13.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28503/ft1_filtered_4FGL_J2153.8-1137_daily_bin1308.fits evtable="EVENTS" scfile=/scratch/kocevski/28503/ft2_4FGL_J2153.8-1137_daily_bin1308.fits sctable="SC_DATA" expcube=/scratch/kocevski/28503/ltcube_578361601_578620801_4FGL_J2153.8-1137_daily_bin1308.fits outfile=/scratch/kocevski/28503/expmap_578361601_578620801_4FGL_J2153.8-1137_daily_bin1308.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/28503/ltcube_578361601_578620801_4FGL_J2153.8-1137_daily_bin1308.fits
.....................!
real 191.03
user 186.09
sys 4.37

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/28503/ft1_filtered_4FGL_J2153.8-1137_daily_bin1308.fits scfile=/scratch/kocevski/28503/ft2_4FGL_J2153.8-1137_daily_bin1308.fits outfile=/scratch/kocevski/28503/cmap_578361601_578620801_4FGL_J2153.8-1137_daily_bin1308.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.51
user 0.36
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28503/ft1_filtered_4FGL_J2153.8-1137_daily_bin1308.fits scfile=/scratch/kocevski/28503/ft2_4FGL_J2153.8-1137_daily_bin1308.fits outfile=/scratch/kocevski/28503/cmap_HighResolution_578361601_578620801_4FGL_J2153.8-1137_daily_bin1308.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28503/ft1_filtered_4FGL_J2153.8-1137_daily_bin1308.fits evtable="EVENTS" scfile=/scratch/kocevski/28503/ft2_4FGL_J2153.8-1137_daily_bin1308.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28503/Model_4FGL_J2153.8-1137_daily_bin1308.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/28503/ft1_filtered_4FGL_J2153.8-1137_daily_bin1308.fits....................!
real 57.70
user 56.40
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    11.400       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9816       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8472       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.6319       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18334E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2228       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10862E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0111       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .54781E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.2897       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11285E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.7429       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11408E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.5668       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .73181       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1384       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=   5845.635     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2604 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.2990       -.32276E-06** at limit **
   2  Prefactor     11.408        13.283        .43244E-06    .44671E-04
   3  Prefactor     .10000E-03    32.278       -.39168E-06** at limit **
   4  Prefactor     4.9787        4.9639       -.71418E-07    .67056E-04
   5  Prefactor     2.8490        2.6840       -.19167E-06   -.10168E-03
   6  Prefactor     .10000E-03    3.8897        .25574E-07** at limit **
   7  Prefactor     8.5090        53.758        .74392E-05    .16437E-04
   8  Prefactor     .10000E-03    5.9267       -.72574E-07** at limit **
   9  norm          .10000E-03    2.7692       -.47175E-08** at limit **
  10  Prefactor     .14639E-01    9.3046       -.43243E-05    .98934E-03
  11  Prefactor     2.2230        8.1911        .79087E-05    .46621E-03
  12  Prefactor     .10000E-03    9.2009        .25899E-07** at limit **
  13  Prefactor     .10000E-03    6.7602        .95932E-07** at limit **
  14  Prefactor     2.0068        30.796        .19432E-05    .14331E-03
  15  Prefactor     .10000E-03    5.2942        .49348E-06** at limit **
  16  Prefactor     .10000E-03    223.84       -.22497E-04** at limit **
  17  Prefactor     4.2889        4.4510       -.30630E-06   -.30098E-04
  18  Prefactor     .10000E-03    28.258        .14159E-05** at limit **
  19  norm          2.7437        4.5274        .12346E-05    .43479E-03
  20  Prefactor     .10000E-03    27.295       -.11957E-05** at limit **
  21  norm          2.5668        1.1885        .40970E-07    .33829E-03
  22  Normalizat    .73193        .23605       -.80972E-06    .35934E-03
  23  Prefactor     1.1385        .13499       -.45836E-06    .51610E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.4076
  Prefactor  = 0.0001
  Prefactor  = 4.97872
  Prefactor  = 2.84896
  Prefactor  = 0.0001
  Prefactor  = 8.50897
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0146394
  Prefactor  = 2.22297
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.00676
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.2889
  Prefactor  = 0.0001
  norm       = 2.74369
  Prefactor  = 0.0001
  norm       = 2.56678
  Normalizat = 0.73193
  Prefactor  = 1.13845
 **********
 **   18 **HESSE 
 **********

 FCN=   5845.635     FROM HESSE     STATUS=OK           376 CALLS     2980 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.3015        .17187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.408        13.277        .11865E-03   -1.5032    
   3  Prefactor     .10000E-03    32.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9787        4.9627        .16430E-03   -1.5262    
   5  Prefactor     2.8490        2.6676        .11363E-03   -1.5370    
   6  Prefactor     .10000E-03    3.9470        .14725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.5090        53.585        .13644E-03   -1.5124    
   8  Prefactor     .10000E-03    5.9392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.7715        .12425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .14639E-01    9.5314        .50107E-01   -1.5684    
  11  Prefactor     2.2230        8.2143        .13790E-02   -1.5410    
  12  Prefactor     .10000E-03    9.2170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.7738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.0068        30.815        .29192E-03   -1.5425    
  15  Prefactor     .10000E-03    5.3235        .17173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    224.52        .21111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.2889        4.4375        .15529E-03   -1.5294    
  18  Prefactor     .10000E-03    28.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.7437        4.5380        .19389E-03   -1.5377    
  20  Prefactor     .10000E-03    27.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5668        1.1887        .54552E-04   -1.5388    
  22  Normalizat    .73193        .27016        .34276E-03   -1.0265    
  23  Prefactor     1.1385        .15597        .17755E-03   -.88247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.08667e-09
Minuit parameter uncertainties:
  1  1.29958e-06
  2  13.2809
  3  5.79937e-05
  4  4.96307
  5  2.66775
  6  3.99338e-06
  7  42.7625
  8  1.13666e-05
  9  2.32956e-06
  10  0.744649
  11  8.21845
  12  1.68559e-05
  13  2.89101e-06
  14  15.7367
  15  1.78225e-05
  16  0.00059934
  17  4.43782
  18  2.34775e-05
  19  4.53855
  20  2.64447e-05
  21  1.18871
  22  0.270658
  23  0.156028
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.464e-02  7.446e-01  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.138e+00  1.560e-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:  7.319e-01  2.707e-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.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28503/likelihoodResults_578361601_578620801_4FGL_J2153.8-1137_daily_bin1308.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) = 5845.63486071
delta logL = 2.35081643041e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5845.63486047
delta logL = 4.69880433229e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14639E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5526       1.0000          .0000       10.000    
     3 'Normalizat'    .73192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1385       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=   5845.279     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      282 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64416E-01    1.3647        .52877E-02    .33041E-02
   2  Index         5.6947        3.6332        .15877        .10235E-03
   3  Normalizat    .66188        .40546E-01    .81169E-01    .82604E-04
   4  Prefactor     1.1653        .25766E-01    .36280E-01    .96044E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0644157
  Index      = 5.69466
  Normalizat = 0.661883
  Prefactor  = 1.16535
 **********
 **   18 **HESSE 
 **********

 FCN=   5845.279     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      315 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64416E-01    4.8820        .24311E-03   -1.5657    
   2  Index         5.6947        7.7034        .85732E-02    .13938    
   3  Normalizat    .66188        .16814        .35943E-03   -1.0542    
   4  Prefactor     1.1653        .10405        .17576E-03   -.87404    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.52903e-08
Minuit parameter uncertainties:
  1  1.1208
  2  10.1561
  3  0.16827
  4  0.104067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28503': 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) = 5845.27933855
delta logL = 0.355522393982

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  6.442e-02  1.121e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  5.695e+00  1.016e+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:  1.165e+00  1.041e-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:  6.619e-01  1.683e-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/28503/cmap_HighResolution_578361601_578620801_4FGL_J2153.8-1137_daily_bin1308.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.60e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2021-09-27 20:47:00.606588', job_id='28503', GAL2='1.17', fit_tolerance='1e-08', EG2='0.66', EG='0.73', time_epoch_completed='1632800820.61', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='3.56e-01', ts2='0.78', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1308' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:47:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 28503: <4FGL_J2153.8-1137_daily_bin1308> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1308 328.461 -11.6306 578361601 578620801 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 :                                   613.40 sec.
    Max Memory :                                 1245 MB
    Average Memory :                             347.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            702 sec.

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

