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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1289
RA = 328.461, Dec = -11.6306
tmin = 573436801, tmax = 573696001
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='28476', job_status='RUN', time_executed='2021-09-27 20:37:09.399573', time_epoch_executed='1632800229.4' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1289'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28476

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28476/ft1_4FGL_J2153.8-1137_daily_bin1289.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28476/ft2_4FGL_J2153.8-1137_daily_bin1289.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28476/ft1_4FGL_J2153.8-1137_daily_bin1289.fits outfile=/scratch/kocevski/28476/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1289.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=573436801.0 tmax=573696001.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 5.40
user 5.09
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28476/ft1_filtered_4FGL_J2153.8-1137_daily_bin1289.fits" evtable="EVENTS" scfile=/scratch/kocevski/28476/ft2_4FGL_J2153.8-1137_daily_bin1289.fits sctable="SC_DATA" outfile=/scratch/kocevski/28476/ltcube_573436801_573696001_4FGL_J2153.8-1137_daily_bin1289.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/28476/ft2_4FGL_J2153.8-1137_daily_bin1289.fits
.....................!
real 12.96
user 12.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28476/ft1_filtered_4FGL_J2153.8-1137_daily_bin1289.fits evtable="EVENTS" scfile=/scratch/kocevski/28476/ft2_4FGL_J2153.8-1137_daily_bin1289.fits sctable="SC_DATA" expcube=/scratch/kocevski/28476/ltcube_573436801_573696001_4FGL_J2153.8-1137_daily_bin1289.fits outfile=/scratch/kocevski/28476/expmap_573436801_573696001_4FGL_J2153.8-1137_daily_bin1289.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/28476/ltcube_573436801_573696001_4FGL_J2153.8-1137_daily_bin1289.fits
.....................!
real 192.48
user 185.91
sys 5.31

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/28476/ft1_filtered_4FGL_J2153.8-1137_daily_bin1289.fits scfile=/scratch/kocevski/28476/ft2_4FGL_J2153.8-1137_daily_bin1289.fits outfile=/scratch/kocevski/28476/cmap_573436801_573696001_4FGL_J2153.8-1137_daily_bin1289.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28476/ft1_filtered_4FGL_J2153.8-1137_daily_bin1289.fits scfile=/scratch/kocevski/28476/ft2_4FGL_J2153.8-1137_daily_bin1289.fits outfile=/scratch/kocevski/28476/cmap_HighResolution_573436801_573696001_4FGL_J2153.8-1137_daily_bin1289.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/28476/ft1_filtered_4FGL_J2153.8-1137_daily_bin1289.fits evtable="EVENTS" scfile=/scratch/kocevski/28476/ft2_4FGL_J2153.8-1137_daily_bin1289.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28476/Model_4FGL_J2153.8-1137_daily_bin1289.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/28476/ft1_filtered_4FGL_J2153.8-1137_daily_bin1289.fits.....................!
real 53.29
user 51.80
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.0123       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7663       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.8431       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .27970E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10441E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.784       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1674       1.0000         .10000E-03   10000.    
    16 'Prefactor '    71.593       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.6870       1.0000         .10000E-03   10000.    
    18 'Prefactor '    112.42       1.0000         .10000E-03   10000.    
    19 'norm      '    4.5973       1.0000         .10000E-03   10000.    
    20 'Prefactor '    79.050       1.0000         .10000E-03   10000.    
    21 'norm      '    3.5149       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5782       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .78203       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=   4906.025     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2581 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.772        .56908E-06** at limit **
   2  Prefactor     .10000E-03    17.499       -.12537E-06** at limit **
   3  Prefactor     .10000E-03    35.973       -.29851E-06** at limit **
   4  Prefactor     4.0118        4.5929        .12434E-07   -.22671E-05
   5  Prefactor     2.7670        2.7731        .74203E-08    .97829E-05
   6  Prefactor     .10000E-03    4.4922        .11116E-07** at limit **
   7  Prefactor     .10000E-03    12.364        .65671E-08** at limit **
   8  Prefactor     .10000E-03    10.066        .19196E-06** at limit **
   9  norm          .10000E-03    3.6998       -.63129E-08** at limit **
  10  Prefactor     6.8398        7.8007       -.87088E-07    .85902E-05
  11  Prefactor     .10000E-03    9.6341       -.16409E-06** at limit **
  12  Prefactor     .10000E-03    53.516       -.36500E-07** at limit **
  13  Prefactor     .10000E-03    34.889       -.46434E-06** at limit **
  14  Prefactor     41.767        26.630       -.44106E-06    .23696E-04
  15  Prefactor     4.1177        17.342        .17380E-05    .27235E-04
  16  Prefactor     71.005        140.89        .11486E-04    .28866E-04
  17  Prefactor     2.7006        6.2082       -.30498E-07    .81312E-04
  18  Prefactor     112.40        119.14        .44574E-07    .44362E-05
  19  norm          4.6027        6.5112       -.59927E-06   -.20529E-04
  20  Prefactor     79.096        77.556       -.83550E-06   -.55981E-05
  21  norm          3.5159        2.3437       -.13201E-06   -.32144E-04
  22  Normalizat    1.5785        .31629        .29143E-05   -.59251E-04
  23  Prefactor     .78184        .17166       -.24846E-05    .88901E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.01184
  Prefactor  = 2.76702
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.83981
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.7666
  Prefactor  = 4.11773
  Prefactor  = 71.0045
  Prefactor  = 2.70057
  Prefactor  = 112.401
  norm       = 4.60269
  Prefactor  = 79.0957
  norm       = 3.51587
  Normalizat = 1.5785
  Prefactor  = 0.781839
 **********
 **   18 **HESSE 
 **********

 FCN=   4906.025     FROM HESSE     STATUS=OK           370 CALLS     2951 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    36.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.0118        4.5917        .15606E-03   -1.5307    
   5  Prefactor     2.7670        2.7657        .11232E-03   -1.5375    
   6  Prefactor     .10000E-03    4.5019        .14498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.7020        .13158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8398        7.8094        .15337E-03   -1.5185    
  11  Prefactor     .10000E-03    9.7201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    54.136        .21419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    35.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.767        26.750        .62015E-04   -1.4415    
  15  Prefactor     4.1177        17.568        .19743E-03   -1.5302    
  16  Prefactor     71.005        144.37        .23723E-03   -1.4021    
  17  Prefactor     2.7006        6.2531        .11534E-02   -1.5379    
  18  Prefactor     112.40        119.05        .37940E-04   -1.3584    
  19  norm          4.6027        6.4970        .18773E-03   -1.5279    
  20  Prefactor     79.096        77.545        .22585E-03   -1.3927    
  21  norm          3.5159        2.3341        .80245E-04   -1.5333    
  22  Normalizat    1.5785        .35745        .29813E-03   -.75596    
  23  Prefactor     .78184        .19069        .23137E-03   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93498e-10
Minuit parameter uncertainties:
  1  4.13653e-05
  2  4.34258e-06
  3  1.56849e-05
  4  4.59214
  5  2.76579
  6  6.64675e-07
  7  6.26367e-07
  8  4.95753e-06
  9  1.12904e-06
  10  7.81055
  11  5.72111e-07
  12  2.47769e-05
  13  1.60404e-05
  14  26.7573
  15  17.019
  16  145.093
  17  6.25457
  18  119.309
  19  6.49795
  20  77.6442
  21  2.33416
  22  0.358024
  23  0.190849
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  6.840e+00  7.811e+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:  7.818e-01  1.908e-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.579e+00  3.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 5.03e-08 +/- 5.74e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 1.58e-05

TS (Fixed Index): 1.43
Ra Dec: 328.461 -11.631
Photon Flux Upper Limit: 1.93e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.51e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28476/likelihoodResults_573436801_573696001_4FGL_J2153.8-1137_daily_bin1289.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) = 4905.80753504
delta logL = 0.217751956533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4905.76518184
delta logL = 0.260105152558

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6237       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6990       1.0000          .0000       10.000    
     3 'Normalizat'    1.6217       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76731       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=   4905.765     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6207        5.4696        .46794E-02   -.37774E-04
   2  Index         1.6987        .53118        .27872       -.48656E-04
   3  Normalizat    1.6219        .27596        .66663E-01   -.49166E-05
   4  Prefactor     .76727        .15792        .43290E-01   -.16023E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.62066
  Index      = 1.69867
  Normalizat = 1.62186
  Prefactor  = 0.767267
 **********
 **   18 **HESSE 
 **********

 FCN=   4905.765     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6207        7.1364        .17325E-03   -1.5278    
   2  Index         1.6987        .91360        .96588E-02   -.72117    
   3  Normalizat    1.6219        .32851        .29487E-03   -.74409    
   4  Prefactor     .76727        .18790        .23329E-03   -1.0095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10741e-12
Minuit parameter uncertainties:
  1  7.13773
  2  0.922866
  3  0.328949
  4  0.188057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28476': 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) = 4905.76518169
delta logL = 0.26010530877

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  4.621e+00  7.138e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.699e+00  9.229e-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:  7.673e-01  1.881e-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.622e+00  3.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.95
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 1.70 +/- 0.92
Photon Flux (Free Index): 1.54e-08 +/- 2.86e-08
Energy Flux (Free Index): 2.52e-05 +/- 4.83e-05

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/28476/cmap_HighResolution_573436801_573696001_4FGL_J2153.8-1137_daily_bin1289.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-02', comment='SUCCESS', photon_flux='5.03e-08', energy_flux2='2.52e-05', photon_flux_error='5.74e-08', dlogl='2.60e-01', energy_flux='1.38e-05', photon_flux2='1.54e-08', job_status='DONE', time_completed='2021-09-27 20:46:51.322468', photon_index_error2='0.92', photon_index2='1.70', ts='1.43', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='1.93e-07', energy_flux_error2='4.83e-05', EG='1.58', time_epoch_completed='1632800811.32', return_code='0', job_id='28476', GAL2='0.77', EG2='1.62', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='2.86e-08', ts2='1.95', photon_index='2.55' WHERE bin_id='1289' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:46:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 28476: <4FGL_J2153.8-1137_daily_bin1289> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1289 328.461 -11.6306 573436801 573696001 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 :                                   573.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            694 sec.

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

