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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1655
RA = 328.461, Dec = -11.6306
tmin = 668304001, tmax = 668563201
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='198518', job_status='RUN', time_executed='2022-03-10 00:36:35.257642', time_epoch_executed='1646901395.26' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1655'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198518

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198518/ft1_4FGL_J2153.8-1137_daily_bin1655.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198518/ft2_4FGL_J2153.8-1137_daily_bin1655.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198518/ft1_4FGL_J2153.8-1137_daily_bin1655.fits outfile=/scratch/kocevski/198518/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1655.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=668304001.0 tmax=668563201.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.45
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/198518/ft2_4FGL_J2153.8-1137_daily_bin1655.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/198518/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1655.fits evtable="EVENTS" outfile="/scratch/kocevski/198518/ft1_filtered_4FGL_J2153.8-1137_daily_bin1655.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.49
user 0.33
sys 0.15
Number of photons that survived the gtmktime cut: 654

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/198518/ft1_filtered_4FGL_J2153.8-1137_daily_bin1655.fits" evtable="EVENTS" scfile=/scratch/kocevski/198518/ft2_4FGL_J2153.8-1137_daily_bin1655.fits sctable="SC_DATA" outfile=/scratch/kocevski/198518/ltcube_668304001_668563201_4FGL_J2153.8-1137_daily_bin1655.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/198518/ft2_4FGL_J2153.8-1137_daily_bin1655.fits
.....................!
real 12.10
user 11.78
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198518/ft1_filtered_4FGL_J2153.8-1137_daily_bin1655.fits evtable="EVENTS" scfile=/scratch/kocevski/198518/ft2_4FGL_J2153.8-1137_daily_bin1655.fits sctable="SC_DATA" expcube=/scratch/kocevski/198518/ltcube_668304001_668563201_4FGL_J2153.8-1137_daily_bin1655.fits outfile=/scratch/kocevski/198518/expmap_668304001_668563201_4FGL_J2153.8-1137_daily_bin1655.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/198518/ltcube_668304001_668563201_4FGL_J2153.8-1137_daily_bin1655.fits
.....................!
real 193.97
user 189.29
sys 4.23

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/198518/ft1_filtered_4FGL_J2153.8-1137_daily_bin1655.fits scfile=/scratch/kocevski/198518/ft2_4FGL_J2153.8-1137_daily_bin1655.fits outfile=/scratch/kocevski/198518/cmap_668304001_668563201_4FGL_J2153.8-1137_daily_bin1655.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/198518/ft1_filtered_4FGL_J2153.8-1137_daily_bin1655.fits scfile=/scratch/kocevski/198518/ft2_4FGL_J2153.8-1137_daily_bin1655.fits outfile=/scratch/kocevski/198518/cmap_HighResolution_668304001_668563201_4FGL_J2153.8-1137_daily_bin1655.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/198518/ft1_filtered_4FGL_J2153.8-1137_daily_bin1655.fits evtable="EVENTS" scfile=/scratch/kocevski/198518/ft2_4FGL_J2153.8-1137_daily_bin1655.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/198518/Model_4FGL_J2153.8-1137_daily_bin1655.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/198518/ft1_filtered_4FGL_J2153.8-1137_daily_bin1655.fits.....................!
real 70.54
user 69.24
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3129       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .30908E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2417       1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.017       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.718       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0833       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .78170       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12150E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.685       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4590       1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.770       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.0103       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.7913       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .44119       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.5159       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=   7339.266     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2537 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9136        .90866E-07** at limit **
   2  Prefactor     .10000E-03    4.0251        .71141E-07** at limit **
   3  Prefactor     .10000E-03    15.663       -.39984E-06** at limit **
   4  Prefactor     1.3128        2.5500        .17200E-07    .24746E-04
   5  Prefactor     .10000E-03    1.1542       -.26556E-06** at limit **
   6  Prefactor     2.2436        11.532        .92340E-06    .49789E-04
   7  Prefactor     31.984        38.594        .46301E-05    .43381E-03
   8  Prefactor     13.716        17.556        .67157E-07    .20457E-03
   9  norm          .10000E-03    2.3838        .14167E-07** at limit **
  10  Prefactor     2.0819        5.8340        .60131E-05   -.45608E-03
  11  Prefactor     .76848        8.4776       -.90064E-06   -.12891E-04
  12  Prefactor     .10000E-03    36.488        .16020E-06** at limit **
  13  Prefactor     15.685        15.986        .11579E-06    .90755E-04
  14  Prefactor     4.4582        14.099        .44317E-07    .14111E-03
  15  Prefactor     26.765        15.817        .30087E-07    .12086E-03
  16  Prefactor     .10000E-03    32.843        .57421E-06** at limit **
  17  Prefactor     .10000E-03    2.6509        .66849E-07** at limit **
  18  Prefactor     .10000E-03    19.205       -.37313E-07** at limit **
  19  norm          5.0091        4.7184        .10082E-05   -.35328E-03
  20  Prefactor     .10000E-03    68.460        .61274E-07** at limit **
  21  norm          2.7915        1.1986        .77558E-08    .81014E-04
  22  Normalizat    .44114        .28952       -.68676E-05    .43224E-03
  23  Prefactor     1.5159        .16582        .21937E-05    .17998E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.31284
  Prefactor  = 0.0001
  Prefactor  = 2.24358
  Prefactor  = 31.9842
  Prefactor  = 13.7158
  norm       = 0.0001
  Prefactor  = 2.08193
  Prefactor  = 0.768478
  Prefactor  = 0.000100001
  Prefactor  = 15.685
  Prefactor  = 4.45821
  Prefactor  = 26.7647
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.00907
  Prefactor  = 0.0001
  norm       = 2.79146
  Normalizat = 0.44114
  Prefactor  = 1.51587
 **********
 **   18 **HESSE 
 **********

 FCN=   7339.266     FROM HESSE     STATUS=OK           374 CALLS     2911 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.9295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.0331        .16785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3128        2.4964        .18558E-03   -1.5479    
   5  Prefactor     .10000E-03    24.746        .17464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2436        11.347        .27450E-03   -1.5408    
   7  Prefactor     31.984        39.039        .70814E-04   -1.4576    
   8  Prefactor     13.716        17.449        .10815E-03   -1.4967    
   9  norm          .10000E-03    2.3860        .12917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0819        5.9096        .14304E-02   -1.5419    
  11  Prefactor     .76848        38.703        .47527E-02   -1.5533    
  12  Prefactor     .10000E-03    36.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.685        15.971        .10113E-03   -1.4916    
  14  Prefactor     4.4582        13.917        .19069E-03   -1.5286    
  15  Prefactor     26.765        15.707        .77427E-04   -1.4673    
  16  Prefactor     .10000E-03    32.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.6662        .13595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.0091        4.7202        .85318E-03   -1.5260    
  20  Prefactor     .10000E-03    68.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.7915        1.1945        .59372E-04   -1.5374    
  22  Normalizat    .44114        .27943        .49703E-03   -1.1523    
  23  Prefactor     1.5159        .16893        .17927E-03   -.77096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10364e-08
Minuit parameter uncertainties:
  1  1.25527e-05
  2  8.8239e-06
  3  0.000130735
  4  2.49663
  5  1.86645e-05
  6  10.0942
  7  39.07
  8  17.4559
  9  3.10296e-07
  10  5.91122
  11  10.9141
  12  0.000334685
  13  15.9754
  14  13.9266
  15  15.7092
  16  6.10183e-05
  17  6.52432e-06
  18  1.65782e-05
  19  4.72057
  20  4.93381e-05
  21  1.19456
  22  0.280322
  23  0.16899
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  2.082e+00  5.911e+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.516e+00  1.690e-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.411e-01  2.803e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/198518/likelihoodResults_668304001_668563201_4FGL_J2153.8-1137_daily_bin1655.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) = 7339.07252768
delta logL = 0.193940288292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7339.03384003
delta logL = 0.232627942667

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6491       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8321       1.0000          .0000       10.000    
     3 'Normalizat'    .45329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5078       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7339.034     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      225 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6621        7.0387         .0000        .70983E-02
   2  Index         1.8326        .70135         .0000       -.58798E-04
   3  Normalizat    .45376        .26061         .0000        .59176E-04
   4  Prefactor     1.5075        .16642         .0000       -.14345E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.66205
  Index      = 1.83264
  Normalizat = 0.453764
  Prefactor  = 1.50747
 **********
 **   18 **HESSE 
 **********

 FCN=   7339.034     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6621        6.1098        .10574E-02   -1.5325    
   2  Index         1.8326        .81621        .12341E-01   -.68603    
   3  Normalizat    .45376        .26177        .49024E-03   -1.1461    
   4  Prefactor     1.5075        .16756        .17962E-03   -.77331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26469e-09
Minuit parameter uncertainties:
  1  6.11082
  2  0.822391
  3  0.262478
  4  0.167624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198518': 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) = 7339.03383581
delta logL = 0.232632159114

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.662e+00  6.111e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.833e+00  8.224e-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.507e+00  1.676e-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.538e-01  2.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/198518/cmap_HighResolution_668304001_668563201_4FGL_J2153.8-1137_daily_bin1655.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.28e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2022-03-10 00:47:51.696336', job_id='198518', GAL2='1.51', fit_tolerance='1e-08', EG2='0.45', EG='0.44', time_epoch_completed='1646902071.7', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.52', dlogl='2.33e-01', ts2='0.61', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1655' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar 10 00:47:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 198518: <4FGL_J2153.8-1137_daily_bin1655> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1655> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Mar 10 00:35:39 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar 10 00:35:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar 10 00:35:53 2022
Terminated at Thu Mar 10 00:47:52 2022
Results reported at Thu Mar 10 00:47:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1655 328.461 -11.6306 668304001 668563201 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 :                                   678.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             351.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            733 sec.

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

