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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1295
RA = 328.461, Dec = -11.6306
tmin = 574992001, tmax = 575251201
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='28484', job_status='RUN', time_executed='2021-09-27 20:36:30.641793', time_epoch_executed='1632800190.64' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1295'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28484

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28484/ft1_4FGL_J2153.8-1137_daily_bin1295.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28484/ft2_4FGL_J2153.8-1137_daily_bin1295.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28484/ft1_4FGL_J2153.8-1137_daily_bin1295.fits outfile=/scratch/kocevski/28484/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1295.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=574992001.0 tmax=575251201.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.41
user 5.08
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28484/ft1_filtered_4FGL_J2153.8-1137_daily_bin1295.fits" evtable="EVENTS" scfile=/scratch/kocevski/28484/ft2_4FGL_J2153.8-1137_daily_bin1295.fits sctable="SC_DATA" outfile=/scratch/kocevski/28484/ltcube_574992001_575251201_4FGL_J2153.8-1137_daily_bin1295.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/28484/ft2_4FGL_J2153.8-1137_daily_bin1295.fits
.....................!
real 11.63
user 11.29
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28484/ft1_filtered_4FGL_J2153.8-1137_daily_bin1295.fits evtable="EVENTS" scfile=/scratch/kocevski/28484/ft2_4FGL_J2153.8-1137_daily_bin1295.fits sctable="SC_DATA" expcube=/scratch/kocevski/28484/ltcube_574992001_575251201_4FGL_J2153.8-1137_daily_bin1295.fits outfile=/scratch/kocevski/28484/expmap_574992001_575251201_4FGL_J2153.8-1137_daily_bin1295.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/28484/ltcube_574992001_575251201_4FGL_J2153.8-1137_daily_bin1295.fits
.....................!
real 190.49
user 185.24
sys 4.91

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/28484/ft1_filtered_4FGL_J2153.8-1137_daily_bin1295.fits scfile=/scratch/kocevski/28484/ft2_4FGL_J2153.8-1137_daily_bin1295.fits outfile=/scratch/kocevski/28484/cmap_574992001_575251201_4FGL_J2153.8-1137_daily_bin1295.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28484/ft1_filtered_4FGL_J2153.8-1137_daily_bin1295.fits scfile=/scratch/kocevski/28484/ft2_4FGL_J2153.8-1137_daily_bin1295.fits outfile=/scratch/kocevski/28484/cmap_HighResolution_574992001_575251201_4FGL_J2153.8-1137_daily_bin1295.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28484/ft1_filtered_4FGL_J2153.8-1137_daily_bin1295.fits evtable="EVENTS" scfile=/scratch/kocevski/28484/ft2_4FGL_J2153.8-1137_daily_bin1295.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28484/Model_4FGL_J2153.8-1137_daily_bin1295.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/28484/ft1_filtered_4FGL_J2153.8-1137_daily_bin1295.fits.....................!
real 69.04
user 67.73
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44551E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9206       1.0000         .10000E-03   10000.    
     3 'Prefactor '    84.667       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4015       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .97613       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.445       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.7424       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7277       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.643       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1428       1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.584       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12933E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    120.83       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.7473       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.917       1.0000         .10000E-03   10000.    
    19 'norm      '    .18983E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .45679E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.4799       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99676       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92941       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=   7626.259     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2719 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96218        71.540        .23231E-04   -.68562E-04
   2  Prefactor     2.6611        19.696       -.21476E-05    .16028E-04
   3  Prefactor     84.618        57.975        .14145E-05    .58135E-04
   4  Prefactor     6.3872        5.3453       -.44090E-06   -.11679E-04
   5  Prefactor     .98191        2.5401       -.32457E-06   -.19021E-03
   6  Prefactor     .10000E-03    1.7201       -.76087E-07** at limit **
   7  Prefactor     .10000E-03    9.4647       -.19681E-07** at limit **
   8  Prefactor     26.460        14.612       -.15138E-06    .10119E-04
   9  norm          .10000E-03    2.1240       -.90606E-08** at limit **
  10  Prefactor     5.7469        5.3575        .10472E-05   -.26088E-04
  11  Prefactor     9.7394        12.834       -.12456E-05   -.45946E-05
  12  Prefactor     14.653        14.255       -.51939E-06   -.99338E-05
  13  Prefactor     3.1548        26.914       -.85797E-06    .94069E-05
  14  Prefactor     39.604        15.034        .43436E-06   -.45395E-04
  15  Prefactor     .10000E-03    5.6018       -.62822E-06** at limit **
  16  Prefactor     120.92        87.055       -.11707E-04   -.16196E-03
  17  Prefactor     4.7498        3.8106        .71736E-06    .22736E-04
  18  Prefactor     10.921        26.407       -.34929E-05   -.26407E-04
  19  norm          .10000E-03    1.8644        .14220E-05** at limit **
  20  Prefactor     .10000E-03    197.86       -.23811E-04** at limit **
  21  norm          2.4807        .94976        .10938E-06    .84114E-04
  22  Normalizat    .99636        .20630        .12539E-07   -.21104E-04
  23  Prefactor     .92902        .12217        .34776E-06    .30069E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.962181
  Prefactor  = 2.66112
  Prefactor  = 84.6177
  Prefactor  = 6.38723
  Prefactor  = 0.981914
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.4596
  norm       = 0.0001
  Prefactor  = 5.74688
  Prefactor  = 9.73942
  Prefactor  = 14.6534
  Prefactor  = 3.15484
  Prefactor  = 39.6042
  Prefactor  = 0.000100001
  Prefactor  = 120.922
  Prefactor  = 4.74984
  Prefactor  = 10.921
  norm       = 0.000100004
  Prefactor  = 0.000100002
  norm       = 2.4807
  Normalizat = 0.996363
  Prefactor  = 0.929016
 **********
 **   18 **HESSE 
 **********

 FCN=   7626.259     FROM HESSE     STATUS=OK           380 CALLS     3099 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96218        73.498        .18487E-02   -1.5512    
   2  Prefactor     2.6611        19.748        .23771E-03   -1.5382    
   3  Prefactor     84.618        56.042        .43657E-04   -1.3866    
   4  Prefactor     6.3872        5.3433        .15863E-03   -1.5202    
   5  Prefactor     .98191        2.4111        .18851E-03   -1.5510    
   6  Prefactor     .10000E-03    1.7243        .11185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.4664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     26.460        14.638        .77900E-04   -1.4679    
   9  norm          .10000E-03    2.1269        .12429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.7469        5.3429        .83807E-03   -1.5228    
  11  Prefactor     9.7394        12.796        .12848E-03   -1.5084    
  12  Prefactor     14.653        14.246        .10467E-03   -1.4942    
  13  Prefactor     3.1548        26.627        .22866E-03   -1.5353    
  14  Prefactor     39.604        15.106        .63708E-04   -1.4448    
  15  Prefactor     .10000E-03    28.127        .39080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     120.92        87.473        .18306E-03   -1.3504    
  17  Prefactor     4.7498        3.7430        .72424E-03   -1.5272    
  18  Prefactor     10.921        26.383        .12126E-03   -1.5047    
  19  norm          .10000E-03    5.9474        .22532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    198.86        .21201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.4807        .95049        .50696E-04   -1.5393    
  22  Normalizat    .99636        .24549        .31348E-03   -.93152    
  23  Prefactor     .92902        .14668        .20006E-03   -.95134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81264e-10
Minuit parameter uncertainties:
  1  16.8395
  2  14.5051
  3  56.0766
  4  5.34369
  5  2.41136
  6  3.18153e-06
  7  5.031e-06
  8  14.6403
  9  1.28121e-06
  10  5.34336
  11  12.7993
  12  14.2495
  13  18.3413
  14  15.1076
  15  0.000278447
  16  87.5665
  17  3.74314
  18  26.411
  19  0.000294462
  20  0.00122125
  21  0.950496
  22  0.245768
  23  0.146743
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  5.747e+00  5.343e+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:  9.290e-01  1.467e-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.964e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.71
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 4.23e-08 +/- 3.93e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 1.08e-05

TS (Fixed Index): 1.71
Ra Dec: 328.461 -11.631
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28484/likelihoodResults_574992001_575251201_4FGL_J2153.8-1137_daily_bin1295.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) = 7626.23638097
delta logL = 0.0223651840943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7626.23271388
delta logL = 0.0260322705444

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2210       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3863       1.0000          .0000       10.000    
     3 'Normalizat'    1.0027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92628       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=   7626.233     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      240 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2211        6.0159        .16095E-03   -.67507E-03
   2  Index         2.3862        .71542        .10359E-01   -.11540E-03
   3  Normalizat    1.0027        .23238        .31263E-03   -.21197E-03
   4  Prefactor     .92629        .14342        .20032E-03    .11067E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.2211
  Index      = 2.38624
  Normalizat = 1.00267
  Prefactor  = 0.926289
 **********
 **   18 **HESSE 
 **********

 FCN=   7626.233     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2211        5.9427        .64379E-05   -1.5209    
   2  Index         2.3862        .70658        .41435E-03   -.55008    
   3  Normalizat    1.0027        .23256        .12505E-04   -.92941    
   4  Prefactor     .92629        .14352        .80128E-05   -.95228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88394e-10
Minuit parameter uncertainties:
  1  5.94322
  2  0.709853
  3  0.232793
  4  0.14358
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28484': 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) = 7626.23271387
delta logL = 0.0260322814147

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  6.221e+00  5.943e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.386e+00  7.099e-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:  9.263e-01  1.436e-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.003e+00  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.76
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 2.39 +/- 0.71
Photon Flux (Free Index): 3.77e-08 +/- 4.16e-08
Energy Flux (Free Index): 1.26e-05 +/- 1.26e-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/28484/cmap_HighResolution_574992001_575251201_4FGL_J2153.8-1137_daily_bin1295.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.98e-03', comment='SUCCESS', photon_flux='4.23e-08', energy_flux2='1.26e-05', photon_flux_error='3.93e-08', dlogl='2.60e-02', energy_flux='1.16e-05', photon_flux2='3.77e-08', job_status='DONE', time_completed='2021-09-27 20:48:49.816328', photon_index_error2='0.71', photon_index2='2.39', ts='1.71', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='1.26e-05', EG='1.00', time_epoch_completed='1632800929.82', return_code='0', job_id='28484', GAL2='0.93', EG2='1.00', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='4.16e-08', ts2='1.76', photon_index='2.55' WHERE bin_id='1295' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:48:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 28484: <4FGL_J2153.8-1137_daily_bin1295> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1295 328.461 -11.6306 574992001 575251201 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 :                                   732.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             374.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            812 sec.

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

