aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 99 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 = 7709
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1692
RA = 328.461, Dec = -11.6306
tmin = 677894401, tmax = 678153601
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='484228', job_status='RUN', time_executed='2022-06-29 04:56:11.189838', time_epoch_executed='1656503771.19' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484228

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484228/ft1_4FGL_J2153.8-1137_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484228/ft2_4FGL_J2153.8-1137_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484228/ft1_4FGL_J2153.8-1137_daily_bin1692.fits outfile=/scratch/kocevski/484228/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1692.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=677894401.0 tmax=678153601.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.67
user 3.43
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/484228/ft2_4FGL_J2153.8-1137_daily_bin1692.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/484228/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/484228/ft1_filtered_4FGL_J2153.8-1137_daily_bin1692.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.44
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 498

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484228/ft1_filtered_4FGL_J2153.8-1137_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/484228/ft2_4FGL_J2153.8-1137_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/484228/ltcube_677894401_678153601_4FGL_J2153.8-1137_daily_bin1692.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/484228/ft2_4FGL_J2153.8-1137_daily_bin1692.fits
.....................!
real 12.06
user 11.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484228/ft1_filtered_4FGL_J2153.8-1137_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/484228/ft2_4FGL_J2153.8-1137_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/484228/ltcube_677894401_678153601_4FGL_J2153.8-1137_daily_bin1692.fits outfile=/scratch/kocevski/484228/expmap_677894401_678153601_4FGL_J2153.8-1137_daily_bin1692.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/484228/ltcube_677894401_678153601_4FGL_J2153.8-1137_daily_bin1692.fits
.....................!
real 157.03
user 151.78
sys 4.97

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/484228/ft1_filtered_4FGL_J2153.8-1137_daily_bin1692.fits scfile=/scratch/kocevski/484228/ft2_4FGL_J2153.8-1137_daily_bin1692.fits outfile=/scratch/kocevski/484228/cmap_677894401_678153601_4FGL_J2153.8-1137_daily_bin1692.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.30
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484228/ft1_filtered_4FGL_J2153.8-1137_daily_bin1692.fits scfile=/scratch/kocevski/484228/ft2_4FGL_J2153.8-1137_daily_bin1692.fits outfile=/scratch/kocevski/484228/cmap_HighResolution_677894401_678153601_4FGL_J2153.8-1137_daily_bin1692.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.57
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/484228/ft1_filtered_4FGL_J2153.8-1137_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/484228/ft2_4FGL_J2153.8-1137_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484228/Model_4FGL_J2153.8-1137_daily_bin1692.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/484228/ft1_filtered_4FGL_J2153.8-1137_daily_bin1692.fits.....................!
real 45.56
user 44.23
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.785       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.078       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4681       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .72608       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.3166       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.635       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.279       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5268       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.199       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.355       1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.313       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.8108       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.2929       1.0000         .10000E-03   10000.    
    19 'norm      '    3.8973       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0764       1.0000         .10000E-03   10000.    
    21 'norm      '    2.5465       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .50071       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1358       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=   5597.743     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2536 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.784        17.554       -.41534E-07    .53316E-05
   2  Prefactor     .10000E-03    17.043        .62597E-06** at limit **
   3  Prefactor     46.107        53.099       -.20542E-05    .23039E-04
   4  Prefactor     1.4682        9.2803        .12098E-04   -.92674E-06
   5  Prefactor     .72372        1.8259       -.74942E-06   -.14633E-02
   6  Prefactor     7.3162        7.9067        .15748E-07   -.20943E-04
   7  Prefactor     .10000E-03    12.511       -.15871E-06** at limit **
   8  Prefactor     40.622        25.411        .14926E-05    .11442E-03
   9  norm          .10000E-03    2.8775       -.15515E-07** at limit **
  10  Prefactor     11.280        9.2492       -.14291E-06   -.18273E-04
  11  Prefactor     5.5274        11.617        .60665E-06    .18893E-04
  12  Prefactor     10.200        12.271       -.20181E-06   -.16954E-04
  13  Prefactor     .10000E-03    5.6366       -.73053E-07** at limit **
  14  Prefactor     20.355        12.754        .84355E-07   -.26613E-04
  15  Prefactor     27.309        14.177        .33083E-06   -.12932E-03
  16  Prefactor     .10000E-03    24.124       -.13983E-05** at limit **
  17  Prefactor     4.8118        5.2445       -.13109E-05   -.63514E-03
  18  Prefactor     7.3184        58.032       -.10751E-04   -.71111E-04
  19  norm          3.8977        3.1677       -.87109E-06   -.77013E-03
  20  Prefactor     1.8531        982.07        .11543E-03   -.29081E-04
  21  norm          2.5464        1.2232        .88707E-07   -.79049E-04
  22  Normalizat    .50072        .27713        .88780E-06   -.56526E-04
  23  Prefactor     1.1358        .15549       -.15064E-05   -.39182E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7835
  Prefactor  = 0.0001
  Prefactor  = 46.1071
  Prefactor  = 1.46824
  Prefactor  = 0.723719
  Prefactor  = 7.31624
  Prefactor  = 0.0001
  Prefactor  = 40.6225
  norm       = 0.0001
  Prefactor  = 11.2803
  Prefactor  = 5.52738
  Prefactor  = 10.1998
  Prefactor  = 0.0001
  Prefactor  = 20.3549
  Prefactor  = 27.3095
  Prefactor  = 0.0001
  Prefactor  = 4.81183
  Prefactor  = 7.31838
  norm       = 3.89771
  Prefactor  = 1.8531
  norm       = 2.54638
  Normalizat = 0.500717
  Prefactor  = 1.13583
 **********
 **   18 **HESSE 
 **********

 FCN=   5597.743     FROM HESSE     STATUS=OK           384 CALLS     2920 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.784        17.530        .61000E-03   -1.5051    
   2  Prefactor     .10000E-03    17.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     46.107        50.359        .59066E-04   -1.4349    
   4  Prefactor     1.4682        9.3420        .17739E-02   -1.5466    
   5  Prefactor     .72372        1.5335        .14690E-02   -1.5538    
   6  Prefactor     7.3162        7.9027        .14828E-03   -1.5167    
   7  Prefactor     .10000E-03    12.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     40.622        25.362        .62882E-04   -1.4432    
   9  norm          .10000E-03    2.8836        .12395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.280        9.2140        .11929E-03   -1.5036    
  11  Prefactor     5.5274        11.597        .17090E-03   -1.5238    
  12  Prefactor     10.200        12.263        .12547E-03   -1.5069    
  13  Prefactor     .10000E-03    5.6430        .17348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.355        12.743        .88776E-04   -1.4805    
  15  Prefactor     27.309        14.137        .76656E-04   -1.4662    
  16  Prefactor     .10000E-03    24.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.8118        5.2271        .15942E-03   -1.5269    
  18  Prefactor     7.3184        58.231        .14852E-03   -1.5167    
  19  norm          3.8977        3.1698        .11350E-03   -1.5313    
  20  Prefactor     1.8531        981.15        .28662E-02   -1.5436    
  21  norm          2.5464        1.2191        .54862E-04   -1.5389    
  22  Normalizat    .50072        .29322        .42394E-03   -1.1238    
  23  Prefactor     1.1358        .16938        .17798E-03   -.88330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81352e-09
Minuit parameter uncertainties:
  1  17.5386
  2  2.42802e-05
  3  50.4057
  4  7.40853
  5  1.5336
  6  7.90382
  7  1.50924e-06
  8  25.3683
  9  2.02558e-06
  10  9.2152
  11  11.6015
  12  12.2663
  13  3.95162e-06
  14  12.745
  15  14.1383
  16  9.39763e-05
  17  5.2276
  18  41.3421
  19  3.16995
  20  86.7465
  21  1.21909
  22  0.29413
  23  0.169459
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.128e+01  9.215e+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:  1.136e+00  1.695e-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:  5.007e-01  2.941e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.10
Ra Dec: 328.461 -11.631
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 8.30e-08 +/- 6.78e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.86e-05

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

Saving results to:
/scratch/kocevski/484228/likelihoodResults_677894401_678153601_4FGL_J2153.8-1137_daily_bin1692.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) = 5597.18723529
delta logL = 0.556053974478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5597.16568517
delta logL = 0.577604098254

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2072       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6529       1.0000          .0000       10.000    
     3 'Normalizat'    .41603       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1760       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=   5597.166     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      249 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2043        45.945        .49117E-02    .31780E-03
   2  Index         3.6545        3.4802        .14457        .10515E-03
   3  Normalizat    .41610        .79650E-01    .10451        .50320E-04
   4  Prefactor     1.1759        .47026E-01    .35225E-01    .29301E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20432
  Index      = 3.65455
  Normalizat = 0.416096
  Prefactor  = 1.17589
 **********
 **   18 **HESSE 
 **********

 FCN=   5597.166     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2043        14.562        .90284E-04   -1.5298    
   2  Index         3.6545        2.3539        .53631E-02   -.27245    
   3  Normalizat    .41610        .29252        .46305E-03   -1.1648    
   4  Prefactor     1.1759        .17676        .17522E-03   -.87076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87648e-08
Minuit parameter uncertainties:
  1  14.574
  2  2.45943
  3  0.293598
  4  0.17685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484228': 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) = 5597.16568114
delta logL = 0.577608125133

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  4.204e+00  1.457e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.655e+00  2.459e+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:  1.176e+00  1.769e-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:  4.161e-01  2.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.52
Ra Dec: 328.461 -11.631
Photon Index (Free Index): 3.65 +/- 2.46
Photon Flux (Free Index): 1.40e-07 +/- 9.65e-08
Energy Flux (Free Index): 2.25e-05 +/- 1.63e-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/484228/cmap_HighResolution_677894401_678153601_4FGL_J2153.8-1137_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.68e-02', comment='SUCCESS', photon_flux='8.30e-08', energy_flux2='2.25e-05', photon_flux_error='6.78e-08', dlogl='5.78e-01', energy_flux='2.28e-05', photon_flux2='1.40e-07', job_status='DONE', time_completed='2022-06-29 05:04:32.294462', photon_index_error2='2.46', photon_index2='3.65', ts='2.10', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='2.15e-07', energy_flux_error2='1.63e-05', EG='0.50', time_epoch_completed='1656504272.29', return_code='0', job_id='484228', GAL2='1.18', EG2='0.42', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='9.65e-08', ts2='3.52', photon_index='2.55' WHERE bin_id='1692' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 05:04:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 484228: <4FGL_J2153.8-1137_daily_bin1692> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1692> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jun 29 04:50:21 2022
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:54:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:54:20 2022
Terminated at Wed Jun 29 05:04:33 2022
Results reported at Wed Jun 29 05:04:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1692 328.461 -11.6306 677894401 678153601 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 :                                   503.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            852 sec.

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

