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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1387
RA = 178.348, Dec = -11.075
tmin = 598838401, tmax = 599097601
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='147362', job_status='RUN', time_executed='2021-09-04 14:58:58.104298', time_epoch_executed='1630792738.1' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1387'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147362

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147362/ft1_4FGL_J1153.3-1104_daily_bin1387.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147362/ft1_4FGL_J1153.3-1104_daily_bin1387.fits outfile=/scratch/kocevski/147362/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1387.fits ra=178.348 dec=-11.075 rad=12.0 tmin=598838401.0 tmax=599097601.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 2.91
user 2.66
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.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/147362/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1387.fits evtable="EVENTS" outfile="/scratch/kocevski/147362/ft1_filtered_4FGL_J1153.3-1104_daily_bin1387.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147362/ft1_filtered_4FGL_J1153.3-1104_daily_bin1387.fits" evtable="EVENTS" scfile=/scratch/kocevski/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.fits sctable="SC_DATA" outfile=/scratch/kocevski/147362/ltcube_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.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/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.fits
.....................!
real 13.14
user 12.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147362/ft1_filtered_4FGL_J1153.3-1104_daily_bin1387.fits evtable="EVENTS" scfile=/scratch/kocevski/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.fits sctable="SC_DATA" expcube=/scratch/kocevski/147362/ltcube_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.fits outfile=/scratch/kocevski/147362/expmap_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.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/147362/ltcube_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.fits
.....................!
real 190.66
user 185.56
sys 4.69

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 197 point sources and 0 extended sources

Setting source of interest to:
4FGL J1153.3-1104 @ 178.348 -11.075

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/147362/ft1_filtered_4FGL_J1153.3-1104_daily_bin1387.fits scfile=/scratch/kocevski/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.fits outfile=/scratch/kocevski/147362/cmap_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.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=178.348 yref=-11.075 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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/147362/ft1_filtered_4FGL_J1153.3-1104_daily_bin1387.fits scfile=/scratch/kocevski/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.fits outfile=/scratch/kocevski/147362/cmap_HighResolution_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.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=178.348 yref=-11.075 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/147362/ft1_filtered_4FGL_J1153.3-1104_daily_bin1387.fits evtable="EVENTS" scfile=/scratch/kocevski/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/147362/Model_4FGL_J1153.3-1104_daily_bin1387.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/147362/ft1_filtered_4FGL_J1153.3-1104_daily_bin1387.fits.....................!
real 70.93
user 69.44
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/147362/ft1_filtered_4FGL_J1153.3-1104_daily_bin1387.fits', '/scratch/kocevski/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.fits', expMap='/scratch/kocevski/147362/expmap_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.fits', expCube='/scratch/kocevski/147362/ltcube_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/147362/Model_4FGL_J1153.3-1104_daily_bin1387.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1153.3-1104'

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  3.746e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.336e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/147362/ft1_filtered_4FGL_J1153.3-1104_daily_bin1387.fits
Spacecraft file(s): /scratch/kocevski/147362/ft2_4FGL_J1153.3-1104_daily_bin1387.fits
Exposure map: /scratch/kocevski/147362/expmap_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.fits
Exposure cube: /scratch/kocevski/147362/ltcube_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/147362/Model_4FGL_J1153.3-1104_daily_bin1387.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) = 8470.67185396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.127       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2291       1.0000         .10000E-03   10000.    
    14 'Prefactor '    63.416       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.645       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    37.605       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.228       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.9776       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.4064       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.8250       1.0000         .10000E-03   10000.    
    26 'Prefactor '    22.379       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .76352       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1626       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8470.602     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     2958 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4155        .90712E-02** at limit **
   2  Prefactor     .10000E-03    2.0621        .90712E-02** at limit **
   3  Prefactor     .10000E-03    1.1919        .90712E-02** at limit **
   4  Prefactor     .10000E-03    91.630        .90712E-02** at limit **
   5  norm          .10000E-03    3.3326        .90712E-02** at limit **
   6  norm          .10000E-03    .34757        .90712E-02** at limit **
   7  Prefactor     .10000E-03    1.9558        .90712E-02** at limit **
   8  Prefactor     14.127        9.8871        .26641E-02    .70667E-04
   9  norm          .10000E-03    6.5122        .90712E-02** at limit **
  10  Prefactor     .10000E-03    8.5853        .90712E-02** at limit **
  11  Prefactor     .10000E-03    18.481        .90712E-02** at limit **
  12  norm          .10000E-03    1.9635        .90712E-02** at limit **
  13  Prefactor     2.2286        3.4868        .68841E-02    .10843E-02
  14  Prefactor     63.419        21.132        .12598E-02    .86056E-04
  15  Prefactor     .10000E-03    18.559        .90712E-02** at limit **
  16  Prefactor     29.646        13.533        .18396E-02    .26918E-03
  17  norm          .10000E-03    1.2928        .90712E-02** at limit **
  18  Prefactor     .10000E-03    19.006        .90712E-02** at limit **
  19  Prefactor     37.606        16.505        .16339E-02    .25875E-03
  20  Prefactor     10.224        31.515        .31323E-02    .83164E-03
  21  Prefactor     8.9778        8.8201        .33442E-02   -.67935E-03
  22  Prefactor     .10000E-03    17.158        .90712E-02** at limit **
  23  norm          .10000E-03    .94738        .90712E-02** at limit **
  24  Prefactor     6.4066        6.0741        .39643E-02    .30636E-03
  25  Prefactor     5.8249        2.5218        .41601E-02    .62790E-04
  26  Prefactor     22.379        11.225        .21168E-02   -.70292E-04
  27  Normalizat    .76343        .21088        .81561E-01    .44693E-04
  28  Prefactor     1.1627        .13293        .35580E-01    .15984E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1275
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 2.22858
  Prefactor  = 63.4189
  Prefactor  = 0.0001
  Prefactor  = 29.6456
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 37.6061
  Prefactor  = 10.2237
  Prefactor  = 8.97777
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.40657
  Prefactor  = 5.82487
  Prefactor  = 22.3795
  Normalizat = 0.763432
  Prefactor  = 1.16268
 **********
 **   18 **HESSE 
 **********

 FCN=   8470.602     FROM HESSE     STATUS=OK           507 CALLS     3465 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.0633        .12907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.2007        .98114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    92.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.3761        .16405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .36315        .10587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.0200        .25115E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.127        9.9054        .10657E-03   -1.4956    
   9  norm          .10000E-03    6.5216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.6123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.9695        .12585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2286        3.4386        .19331E-03   -1.5409    
  14  Prefactor     63.419        21.028        .50391E-04   -1.4114    
  15  Prefactor     .10000E-03    18.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.646        13.514        .73585E-04   -1.4618    
  17  norm          .10000E-03    1.2967        .10203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     37.606        16.562        .32679E-03   -1.4481    
  20  Prefactor     10.224        31.478        .12529E-03   -1.5068    
  21  Prefactor     8.9778        8.8227        .66884E-03   -1.5109    
  22  Prefactor     .10000E-03    17.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .97553        .17493E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.4066        6.0616        .15857E-03   -1.5202    
  25  Prefactor     5.8249        2.5239        .88415E-04   -1.5225    
  26  Prefactor     22.379        11.218        .84671E-04   -1.4761    
  27  Normalizat    .76343        .24051        .36112E-03   -1.0144    
  28  Prefactor     1.1627        .15263        .19876E-03   -.87488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.86435e-09
Minuit parameter uncertainties:
  1  2.16568e-07
  2  2.91566e-08
  3  1.64254e-08
  4  0.000201425
  5  7.47764e-08
  6  2.94203e-08
  7  5.6799e-07
  8  9.90657
  9  3.6347e-07
  10  2.47768e-06
  11  0.000426238
  12  7.2451e-08
  13  3.4389
  14  21.0303
  15  2.2571e-05
  16  13.5155
  17  4.07647e-08
  18  0.000319077
  19  16.5643
  20  31.5292
  21  8.82401
  22  0.000120154
  23  2.03691e-07
  24  6.06221
  25  2.52396
  26  11.2194
  27  0.240845
  28  0.152683
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  6.342e+01  2.103e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.336e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  1.163e+00  1.527e-01  0.000e+00  1.000e+01 ( 1.000e+00)
629        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
630        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  7.634e-01  2.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.67
Ra Dec: 178.348 -11.075
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 1.60e-07 +/- 5.31e-08
Energy Flux (Fixed Index): 5.74e-05 +/- 1.90e-05

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) = 8470.60188046
delta logL = 1.72706040757e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8470.60186162
delta logL = 3.61079946742e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.262       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3391       1.0000          .0000       10.000    
     3 'Normalizat'    .76298       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1628       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8470.602     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      266 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.252        29.352        .50452E-04    .45067E-04
   2  Index         2.3389        .33597        .40895E-02    .74156E-03
   3  Normalizat    .76299        .23073        .36122E-03    .64583E-04
   4  Prefactor     1.1629        .15079        .19874E-03   -.17321E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.2521
  Index      = 2.3389
  Normalizat = 0.762989
  Prefactor  = 1.16286
 **********
 **   18 **HESSE 
 **********

 FCN=   8470.602     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.252        28.314        .20181E-05   -1.4116    
   2  Index         2.3389        .32378        .81791E-03   -.56122    
   3  Normalizat    .76299        .23051        .14449E-04   -1.0146    
   4  Prefactor     1.1629        .15077        .39748E-04   -.87482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.97035e-11
Minuit parameter uncertainties:
  1  28.3195
  2  0.324097
  3  0.2308
  4  0.150823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147362': 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) = 8470.60186065
delta logL = 3.70730813302e-05

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  6.325e+01  2.832e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.339e+00  3.241e-01  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  1.163e+00  1.508e-01  0.000e+00  1.000e+01 ( 1.000e+00)
629        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
630        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  7.630e-01  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.63
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 2.34 +/- 0.32
Photon Flux (Free Index): 1.61e-07 +/- 6.57e-08
Energy Flux (Free Index): 5.73e-05 +/- 2.24e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/147362/cmap_HighResolution_598838401_599097601_4FGL_J1153.3-1104_daily_bin1387.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.60e-07', energy_flux2='5.73e-05', photon_flux_error='5.31e-08', dlogl='3.71e-05', energy_flux='5.74e-05', photon_flux2='1.61e-07', job_status='DONE', time_completed='2021-09-04 15:12:54.021949', photon_index_error2='0.32', photon_index2='2.34', ts='25.67', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='2.24e-05', EG='0.76', time_epoch_completed='1630793574.02', return_code='0', job_id='147362', GAL2='1.16', EG2='0.76', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='6.57e-08', ts2='25.63', photon_index='2.34' WHERE bin_id='1387' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:12:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 147362: <4FGL_J1153.3-1104_daily_bin1387> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1387> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 14:56:40 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:56:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 14:56:41 2021
Terminated at Sat Sep  4 15:12:54 2021
Results reported at Sat Sep  4 15:12:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1387 178.348 -11.075 598838401 599097601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.3-1104 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   832.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            974 sec.

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

