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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1446
RA = 328.461, Dec = -11.6306
tmin = 614131201, tmax = 614390401
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='28704', job_status='RUN', time_executed='2021-09-27 20:38:06.332922', time_epoch_executed='1632800286.33' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1446'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28704

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28704/ft1_4FGL_J2153.8-1137_daily_bin1446.fits


Retrieving the FT1 file...

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

Retrieving 43 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28704/ft2_4FGL_J2153.8-1137_daily_bin1446.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28704/ft1_4FGL_J2153.8-1137_daily_bin1446.fits outfile=/scratch/kocevski/28704/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1446.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=614131201.0 tmax=614390401.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 4.68
user 4.41
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28704/ft1_filtered_4FGL_J2153.8-1137_daily_bin1446.fits" evtable="EVENTS" scfile=/scratch/kocevski/28704/ft2_4FGL_J2153.8-1137_daily_bin1446.fits sctable="SC_DATA" outfile=/scratch/kocevski/28704/ltcube_614131201_614390401_4FGL_J2153.8-1137_daily_bin1446.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/28704/ft2_4FGL_J2153.8-1137_daily_bin1446.fits
.....................!
real 12.10
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28704/ft1_filtered_4FGL_J2153.8-1137_daily_bin1446.fits evtable="EVENTS" scfile=/scratch/kocevski/28704/ft2_4FGL_J2153.8-1137_daily_bin1446.fits sctable="SC_DATA" expcube=/scratch/kocevski/28704/ltcube_614131201_614390401_4FGL_J2153.8-1137_daily_bin1446.fits outfile=/scratch/kocevski/28704/expmap_614131201_614390401_4FGL_J2153.8-1137_daily_bin1446.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/28704/ltcube_614131201_614390401_4FGL_J2153.8-1137_daily_bin1446.fits
.....................!
real 192.46
user 187.10
sys 4.99

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/28704/ft1_filtered_4FGL_J2153.8-1137_daily_bin1446.fits scfile=/scratch/kocevski/28704/ft2_4FGL_J2153.8-1137_daily_bin1446.fits outfile=/scratch/kocevski/28704/cmap_614131201_614390401_4FGL_J2153.8-1137_daily_bin1446.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28704/ft1_filtered_4FGL_J2153.8-1137_daily_bin1446.fits scfile=/scratch/kocevski/28704/ft2_4FGL_J2153.8-1137_daily_bin1446.fits outfile=/scratch/kocevski/28704/cmap_HighResolution_614131201_614390401_4FGL_J2153.8-1137_daily_bin1446.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28704/ft1_filtered_4FGL_J2153.8-1137_daily_bin1446.fits evtable="EVENTS" scfile=/scratch/kocevski/28704/ft2_4FGL_J2153.8-1137_daily_bin1446.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28704/Model_4FGL_J2153.8-1137_daily_bin1446.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/28704/ft1_filtered_4FGL_J2153.8-1137_daily_bin1446.fits.....................!
real 50.56
user 49.08
sys 1.38

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.0757       1.0000         .10000E-03   10000.    
     3 'Prefactor '    57.883       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1174       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.056       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .70214E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    11.356       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.7899       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10626E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.262       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.324       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.177       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.810       1.0000         .10000E-03   10000.    
    19 'norm      '    4.0934       1.0000         .10000E-03   10000.    
    20 'Prefactor '    52.267       1.0000         .10000E-03   10000.    
    21 'norm      '    .10557E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1900       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83987       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=   4840.918     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2607 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8242       -.21712E-06** at limit **
   2  Prefactor     8.0725        18.499       -.32065E-06   -.17139E-03
   3  Prefactor     57.886        56.132        .13753E-05   -.51246E-05
   4  Prefactor     2.1159        8.2046        .27787E-05    .54810E-04
   5  Prefactor     .10000E-03    1.2253        .15096E-07** at limit **
   6  Prefactor     .10000E-03    15.236       -.10864E-06** at limit **
   7  Prefactor     29.053        51.350        .91135E-06   -.18256E-04
   8  Prefactor     .10028E-03    13.471        .14884E-05** at limit **
   9  norm          11.352        11.748        .12261E-05    .21270E-03
  10  Prefactor     8.7877        8.9930        .52892E-06   -.20644E-03
  11  Prefactor     .10000E-03    3.5308       -.42339E-08** at limit **
  12  Prefactor     .10005E-03    18.640        .93740E-06** at limit **
  13  Prefactor     23.264        22.039        .69740E-06    .15458E-04
  14  Prefactor     10.325        12.354       -.10419E-06   -.17420E-03
  15  Prefactor     14.176        12.123       -.13246E-06   -.15513E-03
  16  Prefactor     .10000E-03    30.831       -.25438E-06** at limit **
  17  Prefactor     .10000E-03    1.5480       -.76405E-07** at limit **
  18  Prefactor     19.905        68.534        .13804E-04    .15661E-03
  19  norm          4.0938        4.5148        .35375E-05   -.52939E-03
  20  Prefactor     52.285        95.726       -.11955E-05    .24923E-04
  21  norm          .10000E-03    .68352        .69407E-06** at limit **
  22  Normalizat    1.1900        .27056       -.46656E-05   -.25451E-03
  23  Prefactor     .83989        .14850        .22014E-06   -.53794E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.07254
  Prefactor  = 57.8859
  Prefactor  = 2.1159
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.053
  Prefactor  = 0.000100282
  norm       = 11.3518
  Prefactor  = 8.78768
  Prefactor  = 0.0001
  Prefactor  = 0.000100051
  Prefactor  = 23.2639
  Prefactor  = 10.3246
  Prefactor  = 14.1765
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.9046
  norm       = 4.09376
  Prefactor  = 52.2847
  norm       = 0.000100001
  Normalizat = 1.19003
  Prefactor  = 0.839888
 **********
 **   18 **HESSE 
 **********

 FCN=   4840.918     FROM HESSE     STATUS=OK           380 CALLS     2987 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.0725        18.565        .14109E-03   -1.5140    
   3  Prefactor     57.886        56.094        .52731E-04   -1.4185    
   4  Prefactor     2.1159        8.2199        .28346E-03   -1.5417    
   5  Prefactor     .10000E-03    1.2343        .74990E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.940        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     29.053        51.346        .74326E-04   -1.4629    
   8  Prefactor     .10028E-03    167.08        .46653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.352        11.712        .11888E-03   -1.5034    
  10  Prefactor     8.7877        8.9805        .13520E-03   -1.5115    
  11  Prefactor     .10000E-03    3.5346        .12768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10005E-03    23.163        .90355E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     23.264        22.043        .83051E-04   -1.4743    
  14  Prefactor     10.325        12.377        .12470E-03   -1.5065    
  15  Prefactor     14.176        12.125        .10638E-03   -1.4955    
  16  Prefactor     .10000E-03    30.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.5526        .84504E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.905        71.180        .89989E-04   -1.4815    
  19  norm          4.0938        4.6329        .73924E-03   -1.5303    
  20  Prefactor     52.285        96.011        .55476E-04   -1.4261    
  21  norm          .10000E-03    1.0962        .10898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1900        .32309        .29218E-03   -.86911    
  23  Prefactor     .83989        .18050        .20294E-03   -.98274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14615e-09
Minuit parameter uncertainties:
  1  8.67735e-06
  2  18.5778
  3  56.145
  4  8.22425
  5  6.05257e-07
  6  9.80261e-05
  7  51.4241
  8  0.0137788
  9  11.7145
  10  8.98191
  11  2.35686e-06
  12  0.00216481
  13  22.0511
  14  12.3805
  15  12.1274
  16  5.87067e-05
  17  1.71648e-06
  18  71.4861
  19  4.63331
  20  96.2969
  21  7.30894e-05
  22  0.323629
  23  0.180631
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  8.788e+00  8.982e+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:  8.399e-01  1.806e-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.190e+00  3.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 6.47e-08 +/- 6.61e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.82e-05

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

Saving results to:
/scratch/kocevski/28704/likelihoodResults_614131201_614390401_4FGL_J2153.8-1137_daily_bin1446.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) = 4839.25727142
delta logL = 1.66038609681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4839.2323698
delta logL = 1.68528771104

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55364       1.0000         .10000E-03   10000.    
     2 'Index     '    5.0697       1.0000          .0000       10.000    
     3 'Normalizat'    1.0525       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90249       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=   4839.232     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      309 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54887        5.1072        .62451E-02   -.47178E-02
   2  Index         5.0749        3.1433        .10247       -.21297E-03
   3  Normalizat    1.0528        .81934E-01    .69502E-01   -.72005E-04
   4  Prefactor     .90231        .49006E-01    .45037E-01   -.24844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.548865
  Index      = 5.0749
  Normalizat = 1.05281
  Prefactor  = 0.902308
 **********
 **   18 **HESSE 
 **********

 FCN=   4839.232     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      340 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54887        8.7297        .28022E-04   -1.5560    
   2  Index         5.0749        4.1231        .42143E-02    .14981E-01
   3  Normalizat    1.0528        .27367        .30751E-03   -.91282    
   4  Prefactor     .90231        .16088        .19653E-03   -.96060    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.7393e-10
Minuit parameter uncertainties:
  1  4.37821
  2  4.84789
  3  0.274037
  4  0.160968
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28704': 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) = 4839.23236768
delta logL = 1.68528983572

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  9.023e-01  1.610e-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.053e+00  2.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.09
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 5.07 +/- 4.85
Photon Flux (Free Index): 1.67e-07 +/- 9.68e-08
Energy Flux (Free Index): 2.21e-05 +/- 1.71e-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/28704/cmap_HighResolution_614131201_614390401_4FGL_J2153.8-1137_daily_bin1446.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.56e-02', comment='SUCCESS', photon_flux='6.47e-08', energy_flux2='2.21e-05', photon_flux_error='6.61e-08', dlogl='1.69e+00', energy_flux='1.78e-05', photon_flux2='1.67e-07', job_status='DONE', time_completed='2021-09-27 20:48:46.808636', photon_index_error2='4.85', photon_index2='5.07', ts='1.34', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='2.00e-07', energy_flux_error2='1.71e-05', EG='1.19', time_epoch_completed='1632800926.81', return_code='0', job_id='28704', GAL2='0.90', EG2='1.05', return_code2='102', energy_flux_error='1.82e-05', photon_flux_error2='9.68e-08', ts2='5.09', photon_index='2.55' WHERE bin_id='1446' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:48:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 28704: <4FGL_J2153.8-1137_daily_bin1446> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1446 328.461 -11.6306 614131201 614390401 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 :                                   575.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            794 sec.

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

