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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1437
RA = 328.461, Dec = -11.6306
tmin = 611798401, tmax = 612057601
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='28691', job_status='RUN', time_executed='2021-09-27 20:37:37.232420', time_epoch_executed='1632800257.23' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1437'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28691

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28691/ft1_4FGL_J2153.8-1137_daily_bin1437.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28691/ft2_4FGL_J2153.8-1137_daily_bin1437.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28691/ft1_4FGL_J2153.8-1137_daily_bin1437.fits outfile=/scratch/kocevski/28691/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1437.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=611798401.0 tmax=612057601.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.47
user 3.25
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28691/ft1_filtered_4FGL_J2153.8-1137_daily_bin1437.fits" evtable="EVENTS" scfile=/scratch/kocevski/28691/ft2_4FGL_J2153.8-1137_daily_bin1437.fits sctable="SC_DATA" outfile=/scratch/kocevski/28691/ltcube_611798401_612057601_4FGL_J2153.8-1137_daily_bin1437.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/28691/ft2_4FGL_J2153.8-1137_daily_bin1437.fits
.....................!
real 13.47
user 13.08
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28691/ft1_filtered_4FGL_J2153.8-1137_daily_bin1437.fits evtable="EVENTS" scfile=/scratch/kocevski/28691/ft2_4FGL_J2153.8-1137_daily_bin1437.fits sctable="SC_DATA" expcube=/scratch/kocevski/28691/ltcube_611798401_612057601_4FGL_J2153.8-1137_daily_bin1437.fits outfile=/scratch/kocevski/28691/expmap_611798401_612057601_4FGL_J2153.8-1137_daily_bin1437.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/28691/ltcube_611798401_612057601_4FGL_J2153.8-1137_daily_bin1437.fits
.....................!
real 190.85
user 185.22
sys 5.27

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/28691/ft1_filtered_4FGL_J2153.8-1137_daily_bin1437.fits scfile=/scratch/kocevski/28691/ft2_4FGL_J2153.8-1137_daily_bin1437.fits outfile=/scratch/kocevski/28691/cmap_611798401_612057601_4FGL_J2153.8-1137_daily_bin1437.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.53
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28691/ft1_filtered_4FGL_J2153.8-1137_daily_bin1437.fits scfile=/scratch/kocevski/28691/ft2_4FGL_J2153.8-1137_daily_bin1437.fits outfile=/scratch/kocevski/28691/cmap_HighResolution_611798401_612057601_4FGL_J2153.8-1137_daily_bin1437.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28691/ft1_filtered_4FGL_J2153.8-1137_daily_bin1437.fits evtable="EVENTS" scfile=/scratch/kocevski/28691/ft2_4FGL_J2153.8-1137_daily_bin1437.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28691/Model_4FGL_J2153.8-1137_daily_bin1437.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/28691/ft1_filtered_4FGL_J2153.8-1137_daily_bin1437.fits.....................!
real 75.31
user 73.99
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.494       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.343       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1691       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11308E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.8758       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5321       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.5719       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.8456       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2621       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.897       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.210       1.0000         .10000E-03   10000.    
    19 'norm      '    1.7839       1.0000         .10000E-03   10000.    
    20 'Prefactor '    84.053       1.0000         .10000E-03   10000.    
    21 'norm      '    1.0532       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0830       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79116       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=   8336.677     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2536 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.495        9.4197        .69738E-07   -.10570E-05
   2  Prefactor     .10000E-03    3.6539       -.12257E-06** at limit **
   3  Prefactor     30.339        33.707       -.11971E-05   -.11060E-03
   4  Prefactor     3.1690        3.2260        .35482E-07   -.63870E-05
   5  Prefactor     .10000E-03    .83786        .34676E-06** at limit **
   6  Prefactor     .10000E-03    1.7915       -.81960E-07** at limit **
   7  Prefactor     .10000E-03    24.735       -.21929E-06** at limit **
   8  Prefactor     .10000E-03    2.7466       -.23370E-07** at limit **
   9  norm          1.8758        2.3138        .33738E-08    .49001E-05
  10  Prefactor     4.5315        3.7036        .76951E-07   -.67174E-05
  11  Prefactor     .10000E-03    10.057       -.31898E-06** at limit **
  12  Prefactor     8.5691        13.668        .20449E-06   -.17344E-05
  13  Prefactor     5.8453        9.5463        .90934E-08    .19814E-05
  14  Prefactor     1.2590        11.487        .15137E-05    .10805E-04
  15  Prefactor     12.897        8.5311        .10375E-06    .12397E-04
  16  Prefactor     .10000E-03    20.232        .51693E-07** at limit **
  17  Prefactor     .10000E-03    .93347       -.13144E-06** at limit **
  18  Prefactor     21.175        36.894       -.30198E-07    .16674E-04
  19  norm          1.7817        2.8344       -.16121E-06   -.55622E-04
  20  Prefactor     84.060        87.790        .10029E-05    .17755E-05
  21  norm          1.0528        .69880        .31415E-06    .84368E-03
  22  Normalizat    1.0833        .18268       -.22068E-05    .37099E-04
  23  Prefactor     .79104        .10815        .12029E-05   -.25610E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4946
  Prefactor  = 0.0001
  Prefactor  = 30.339
  Prefactor  = 3.16902
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.87578
  Prefactor  = 4.5315
  Prefactor  = 0.0001
  Prefactor  = 8.56907
  Prefactor  = 5.84534
  Prefactor  = 1.25896
  Prefactor  = 12.8966
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.1753
  norm       = 1.78166
  Prefactor  = 84.0605
  norm       = 1.05277
  Normalizat = 1.08327
  Prefactor  = 0.791041
 **********
 **   18 **HESSE 
 **********

 FCN=   8336.677     FROM HESSE     STATUS=OK           374 CALLS     2910 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.495        9.4190        .11816E-03   -1.5030    
   2  Prefactor     .10000E-03    3.6737        .17040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.339        33.619        .72736E-04   -1.4606    
   4  Prefactor     3.1690        3.2240        .16037E-03   -1.5352    
   5  Prefactor     .10000E-03    1.3014        .15724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.8092        .11932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.7489        .14776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.8758        2.3082        .15063E-03   -1.5434    
  10  Prefactor     4.5315        3.7013        .15222E-03   -1.5282    
  11  Prefactor     .10000E-03    10.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.5691        13.669        .13692E-03   -1.5122    
  13  Prefactor     5.8453        9.5396        .16611E-03   -1.5224    
  14  Prefactor     1.2590        11.584        .19844E-02   -1.5484    
  15  Prefactor     12.897        8.5310        .11154E-03   -1.4990    
  16  Prefactor     .10000E-03    20.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .93861        .86069E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.175        36.869        .86971E-04   -1.4787    
  19  norm          1.7817        2.8065        .17625E-03   -1.5441    
  20  Prefactor     84.060        87.124        .43815E-04   -1.3872    
  21  norm          1.0528        .70157        .61806E-03   -1.5503    
  22  Normalizat    1.0833        .19894        .26238E-03   -.90291    
  23  Prefactor     .79104        .11882        .18976E-03   -1.0006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6711e-10
Minuit parameter uncertainties:
  1  9.42018
  2  1.71627e-08
  3  33.6398
  4  3.2242
  5  5.89058e-06
  6  2.74911e-07
  7  1.30289e-06
  8  1.23781e-06
  9  2.30827
  10  3.70144
  11  1.16187e-06
  12  13.6737
  13  9.54211
  14  7.63932
  15  8.53184
  16  8.02615e-06
  17  4.40892e-07
  18  36.909
  19  2.80675
  20  87.2572
  21  0.701576
  22  0.199081
  23  0.118859
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  4.531e+00  3.701e+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.910e-01  1.189e-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.083e+00  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.18
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 3.34e-08 +/- 2.72e-08
Energy Flux (Fixed Index): 9.16e-06 +/- 7.48e-06

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

Saving results to:
/scratch/kocevski/28691/likelihoodResults_611798401_612057601_4FGL_J2153.8-1137_daily_bin1437.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) = 8336.57730632
delta logL = 0.100180424603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8336.57350513
delta logL = 0.103981615348

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9995       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2284       1.0000          .0000       10.000    
     3 'Normalizat'    1.0936       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78718       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=   8336.574     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      263 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9992        4.1951        .16552E-03    .20931E-02
   2  Index         2.2276        .69064        .11453E-01    .30968E-03
   3  Normalizat    1.0937        .18714        .26126E-03   -.28379E-03
   4  Prefactor     .78707        .11721        .19018E-03   -.31034E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.99922
  Index      = 2.22759
  Normalizat = 1.09375
  Prefactor  = 0.787074
 **********
 **   18 **HESSE 
 **********

 FCN=   8336.574     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9992        4.1896        .66208E-05   -1.5261    
   2  Index         2.2276        .68963        .45814E-03   -.58774    
   3  Normalizat    1.0937        .18726        .52252E-04   -.89953    
   4  Prefactor     .78707        .11729        .38036E-04   -1.0021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40906e-09
Minuit parameter uncertainties:
  1  4.18989
  2  0.692822
  3  0.187377
  4  0.117326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28691': 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) = 8336.5735039
delta logL = 0.103982845509

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  4.999e+00  4.190e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.228e+00  6.928e-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.871e-01  1.173e-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.094e+00  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.38
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 2.23 +/- 0.69
Photon Flux (Free Index): 2.55e-08 +/- 2.80e-08
Energy Flux (Free Index): 1.09e-05 +/- 1.07e-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/28691/cmap_HighResolution_611798401_612057601_4FGL_J2153.8-1137_daily_bin1437.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', comment='SUCCESS', photon_flux='3.34e-08', energy_flux2='1.09e-05', photon_flux_error='2.72e-08', dlogl='1.04e-01', energy_flux='9.16e-06', photon_flux2='2.55e-08', job_status='DONE', time_completed='2021-09-27 20:50:06.704833', photon_index_error2='0.69', photon_index2='2.23', ts='3.18', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='9.66e-08', energy_flux_error2='1.07e-05', EG='1.08', time_epoch_completed='1632801006.7', return_code='0', job_id='28691', GAL2='0.79', EG2='1.09', return_code2='0', energy_flux_error='7.48e-06', photon_flux_error2='2.80e-08', ts2='3.38', photon_index='2.55' WHERE bin_id='1437' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:50:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 28691: <4FGL_J2153.8-1137_daily_bin1437> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1437 328.461 -11.6306 611798401 612057601 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 :                                   733.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             304.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            875 sec.

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

