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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1406
RA = 328.461, Dec = -11.6306
tmin = 603763201, tmax = 604022401
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='28647', job_status='RUN', time_executed='2021-09-27 20:37:37.334757', time_epoch_executed='1632800257.33' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1406'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28647/ft1_4FGL_J2153.8-1137_daily_bin1406.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28647/ft2_4FGL_J2153.8-1137_daily_bin1406.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28647/ft1_4FGL_J2153.8-1137_daily_bin1406.fits outfile=/scratch/kocevski/28647/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1406.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=603763201.0 tmax=604022401.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.27
user 4.00
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28647/ft1_filtered_4FGL_J2153.8-1137_daily_bin1406.fits" evtable="EVENTS" scfile=/scratch/kocevski/28647/ft2_4FGL_J2153.8-1137_daily_bin1406.fits sctable="SC_DATA" outfile=/scratch/kocevski/28647/ltcube_603763201_604022401_4FGL_J2153.8-1137_daily_bin1406.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/28647/ft2_4FGL_J2153.8-1137_daily_bin1406.fits
.....................!
real 15.10
user 14.69
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28647/ft1_filtered_4FGL_J2153.8-1137_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/28647/ft2_4FGL_J2153.8-1137_daily_bin1406.fits sctable="SC_DATA" expcube=/scratch/kocevski/28647/ltcube_603763201_604022401_4FGL_J2153.8-1137_daily_bin1406.fits outfile=/scratch/kocevski/28647/expmap_603763201_604022401_4FGL_J2153.8-1137_daily_bin1406.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/28647/ltcube_603763201_604022401_4FGL_J2153.8-1137_daily_bin1406.fits
.....................!
real 191.64
user 186.06
sys 5.00

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/28647/ft1_filtered_4FGL_J2153.8-1137_daily_bin1406.fits scfile=/scratch/kocevski/28647/ft2_4FGL_J2153.8-1137_daily_bin1406.fits outfile=/scratch/kocevski/28647/cmap_603763201_604022401_4FGL_J2153.8-1137_daily_bin1406.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28647/ft1_filtered_4FGL_J2153.8-1137_daily_bin1406.fits scfile=/scratch/kocevski/28647/ft2_4FGL_J2153.8-1137_daily_bin1406.fits outfile=/scratch/kocevski/28647/cmap_HighResolution_603763201_604022401_4FGL_J2153.8-1137_daily_bin1406.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.53
user 0.36
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4306       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.754       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5527       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2376       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0954       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.612       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0062       1.0000         .10000E-03   10000.    
    14 'Prefactor '    110.01       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .47584E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.9644       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.4320       1.0000         .10000E-03   10000.    
    20 'Prefactor '    79.552       1.0000         .10000E-03   10000.    
    21 'norm      '    1.5360       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96940       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2558       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=   5445.001     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2499 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4320        13.372        .73165E-06   -.10820E-04
   2  Prefactor     10.756        15.773        .79414E-08   -.98662E-05
   3  Prefactor     .10000E-03    15.951        .13810E-06** at limit **
   4  Prefactor     1.5518        5.2072        .14694E-05    .59804E-06
   5  Prefactor     .10000E-03    .71373        .58518E-07** at limit **
   6  Prefactor     2.2373        7.1644        .10431E-05   -.33386E-05
   7  Prefactor     .10000E-03    31.436        .15700E-06** at limit **
   8  Prefactor     4.0973        14.261        .49506E-06   -.13686E-05
   9  norm          .10000E-03    2.8179        .39755E-08** at limit **
  10  Prefactor     .10000E-03    5.6197       -.29032E-06** at limit **
  11  Prefactor     .10000E-03    8.3101        .13010E-06** at limit **
  12  Prefactor     27.616        21.691        .55684E-07    .29222E-05
  13  Prefactor     7.0079        16.910        .32405E-05   -.93616E-05
  14  Prefactor     109.97        32.708       -.19716E-06   -.67386E-04
  15  Prefactor     .10000E-03    15.215        .42275E-06** at limit **
  16  Prefactor     .10000E-03    356.35       -.37599E-05** at limit **
  17  Prefactor     7.9663        6.9941        .22877E-07   -.13273E-05
  18  Prefactor     .10000E-03    48.463       -.31555E-08** at limit **
  19  norm          9.4153        7.8522       -.17952E-06   -.14399E-04
  20  Prefactor     79.431        138.20       -.16899E-07   -.21323E-04
  21  norm          1.5346        1.4519       -.13360E-08    .81239E-05
  22  Normalizat    .96928        .31042        .13279E-05   -.50591E-04
  23  Prefactor     1.2558        .18282       -.15496E-05    .34882E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.43199
  Prefactor  = 10.7562
  Prefactor  = 0.0001
  Prefactor  = 1.55181
  Prefactor  = 0.0001
  Prefactor  = 2.23729
  Prefactor  = 0.0001
  Prefactor  = 4.09733
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.6162
  Prefactor  = 7.00793
  Prefactor  = 109.966
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 7.96627
  Prefactor  = 0.0001
  norm       = 9.41526
  Prefactor  = 79.4312
  norm       = 1.53461
  Normalizat = 0.969282
  Prefactor  = 1.25583
 **********
 **   18 **HESSE 
 **********

 FCN=   5445.001     FROM HESSE     STATUS=OK           372 CALLS     2871 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4320        13.358        .65250E-03   -1.5094    
   2  Prefactor     10.756        15.764        .12217E-03   -1.5052    
   3  Prefactor     .10000E-03    15.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.5518        5.1908        .29912E-03   -1.5459    
   5  Prefactor     .10000E-03    .71602        .60885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2373        7.1554        .27478E-03   -1.5409    
   7  Prefactor     .10000E-03    31.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.0973        14.256        .19921E-03   -1.5303    
   9  norm          .10000E-03    2.8181        .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.6528        .17068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.3435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.616        21.686        .76241E-04   -1.4656    
  13  Prefactor     7.0079        16.935        .75780E-03   -1.5178    
  14  Prefactor     109.97        32.787        .19174E-03   -1.3607    
  15  Prefactor     .10000E-03    15.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    356.60        .21182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.9663        6.9785        .14208E-03   -1.5143    
  18  Prefactor     .10000E-03    48.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.4153        7.8325        .13049E-03   -1.5094    
  20  Prefactor     79.431        138.28        .22514E-03   -1.3923    
  21  norm          1.5346        1.4368        .83119E-04   -1.5460    
  22  Normalizat    .96928        .35059        .38510E-03   -.94067    
  23  Prefactor     1.2558        .20477        .20830E-03   -.84630    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.46703e-11
Minuit parameter uncertainties:
  1  13.3621
  2  15.7704
  3  1.66465e-05
  4  5.19229
  5  2.46024e-07
  6  7.1581
  7  1.39318e-05
  8  14.2682
  9  1.16477e-07
  10  4.48408e-06
  11  3.32329e-06
  12  21.6922
  13  16.9466
  14  32.7924
  15  5.68103e-06
  16  0.000967964
  17  6.97921
  18  6.05599e-05
  19  7.83331
  20  138.848
  21  1.4368
  22  0.351429
  23  0.204904
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  4.484e-06  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.256e+00  2.049e-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.693e-01  3.514e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/28647/likelihoodResults_603763201_604022401_4FGL_J2153.8-1137_daily_bin1406.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) = 5445.00230459
delta logL = -0.000842059348543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5445.00146261
delta logL = -7.36763468012e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5549       1.0000          .0000       10.000    
     3 'Normalizat'    .96925       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2559       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5444.885     FROM MIGRAD    STATUS=FAILED       147 CALLS      284 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .19203E-01    .38731E-03** at limit **
   2  Index         9.0292        7.3875        .20000        .77341E-04
   3  Normalizat    .94130        .71212E-01    .38509E-03    .53701E-04
   4  Prefactor     1.2676        .43367E-01    .20830E-03    .35869E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5444.885     FROM SIMPLEX   STATUS=UNCHANGED    159 CALLS      443 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .19203E-01    .11296E-04** at limit **
   2  Index         9.0292        7.3875        .36361E-03    .77341E-04
   3  Normalizat    .94130        .71212E-01    .10226E-04    .53701E-04
   4  Prefactor     1.2676        .43367E-01    .29036E-05    .35869E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5444.885     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      488 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .33729E-01    .36120E-03** at limit **
   2  Index         9.0292        5.0336        .31102E-02   -.11551E-05
   3  Normalizat    .94130        .10046        .15403E-04    .46793E-04
   4  Prefactor     1.2676        .61321E-01    .41660E-04    .29636E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 9.02917
  Normalizat = 0.941299
  Prefactor  = 1.26763
 **********
 **   18 **HESSE 
 **********

 FCN=   5444.885     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      521 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .33124E-01    .36596E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.0292        5.0412        .12441E-03    .93708    
   3  Normalizat    .94130        .10028        .30807E-05   -.95024    
   4  Prefactor     1.2676        .61216E-01    .83320E-05   -.84275    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.96063e-11
Minuit parameter uncertainties:
  1  1.26415e-07
  2  14.7693
  3  0.100301
  4  0.0612195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28647': 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) = 5444.88522392
delta logL = 0.116238612051

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.264e-07  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  9.029e+00  1.477e+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:  1.268e+00  6.122e-02  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.413e-01  1.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 328.461 -11.631

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/28647/cmap_HighResolution_603763201_604022401_4FGL_J2153.8-1137_daily_bin1406.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-27 20:47:59.806020', job_id='28647', GAL2='1.27', fit_tolerance='1e-08', EG2='0.94', EG='0.97', time_epoch_completed='1632800879.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='1.16e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1406' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 20:47:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 28647: <4FGL_J2153.8-1137_daily_bin1406> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1406 328.461 -11.6306 603763201 604022401 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 :                                   605.22 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             273.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            751 sec.

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

