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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1309
RA = 178.348, Dec = -11.075
tmin = 578620801, tmax = 578880001
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='145713', job_status='RUN', time_executed='2021-09-04 14:54:19.644131', time_epoch_executed='1630792459.64' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1309'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145713

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145713/ft1_4FGL_J1153.3-1104_daily_bin1309.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145713/ft2_4FGL_J1153.3-1104_daily_bin1309.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145713/ft1_4FGL_J1153.3-1104_daily_bin1309.fits outfile=/scratch/kocevski/145713/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1309.fits ra=178.348 dec=-11.075 rad=12.0 tmin=578620801.0 tmax=578880001.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.53
user 3.31
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145713/ft1_filtered_4FGL_J1153.3-1104_daily_bin1309.fits" evtable="EVENTS" scfile=/scratch/kocevski/145713/ft2_4FGL_J1153.3-1104_daily_bin1309.fits sctable="SC_DATA" outfile=/scratch/kocevski/145713/ltcube_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.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/145713/ft2_4FGL_J1153.3-1104_daily_bin1309.fits
.....................!
real 12.42
user 11.99
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145713/ft1_filtered_4FGL_J1153.3-1104_daily_bin1309.fits evtable="EVENTS" scfile=/scratch/kocevski/145713/ft2_4FGL_J1153.3-1104_daily_bin1309.fits sctable="SC_DATA" expcube=/scratch/kocevski/145713/ltcube_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.fits outfile=/scratch/kocevski/145713/expmap_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.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/145713/ltcube_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.fits
.....................!
real 191.22
user 185.07
sys 5.33

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/145713/ft1_filtered_4FGL_J1153.3-1104_daily_bin1309.fits scfile=/scratch/kocevski/145713/ft2_4FGL_J1153.3-1104_daily_bin1309.fits outfile=/scratch/kocevski/145713/cmap_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145713/ft1_filtered_4FGL_J1153.3-1104_daily_bin1309.fits scfile=/scratch/kocevski/145713/ft2_4FGL_J1153.3-1104_daily_bin1309.fits outfile=/scratch/kocevski/145713/cmap_HighResolution_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145713/ft1_filtered_4FGL_J1153.3-1104_daily_bin1309.fits evtable="EVENTS" scfile=/scratch/kocevski/145713/ft2_4FGL_J1153.3-1104_daily_bin1309.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145713/Model_4FGL_J1153.3-1104_daily_bin1309.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/145713/ft1_filtered_4FGL_J1153.3-1104_daily_bin1309.fits.....................!
real 59.42
user 57.90
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/145713/ft1_filtered_4FGL_J1153.3-1104_daily_bin1309.fits', '/scratch/kocevski/145713/ft2_4FGL_J1153.3-1104_daily_bin1309.fits', expMap='/scratch/kocevski/145713/expmap_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.fits', expCube='/scratch/kocevski/145713/ltcube_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/145713/Model_4FGL_J1153.3-1104_daily_bin1309.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/145713/ft1_filtered_4FGL_J1153.3-1104_daily_bin1309.fits
Spacecraft file(s): /scratch/kocevski/145713/ft2_4FGL_J1153.3-1104_daily_bin1309.fits
Exposure map: /scratch/kocevski/145713/expmap_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.fits
Exposure cube: /scratch/kocevski/145713/ltcube_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/145713/Model_4FGL_J1153.3-1104_daily_bin1309.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) = 6654.18695452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.406       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.1077       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3806       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .71190       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.0509       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.1339       1.0000         .10000E-03   10000.    
    14 'Prefactor '    47.208       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6803       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.003       1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.708       1.0000         .10000E-03   10000.    
    23 'norm      '    3.4763       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.0538       1.0000         .10000E-03   10000.    
    26 'Prefactor '    21.922       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2980       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .80456       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6654.186     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     3450 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.405        15.913         .0000        .54386E-04
   2  Prefactor     3.1073        6.6692         .0000        .56685E-02
   3  Prefactor     .10000E-03    1.7637         .0000    ** at limit **
   4  Prefactor     .10000E-03    19.229         .0000    ** at limit **
   5  norm          .10000E-03    3.4160         .0000    ** at limit **
   6  norm          .10000E-03    .21151         .0000    ** at limit **
   7  Prefactor     1.3802        3.8470         .0000        .26253E-01
   8  Prefactor     .70647        4.6063         .0000        .34854E-03
   9  norm          .10001E-03    7.0119         .0000    ** at limit **
  10  Prefactor     .10001E-03    7.0971         .0000    ** at limit **
  11  Prefactor     .10000E-03    42.428         .0000    ** at limit **
  12  norm          3.0510        3.5201         .0000        .14193E-02
  13  Prefactor     6.1338        4.1801         .0000        .85654E-03
  14  Prefactor     47.208        21.250         .0000        .32862E-03
  15  Prefactor     .10000E-03    9.7194         .0000    ** at limit **
  16  Prefactor     .10001E-03    19.137         .0000    ** at limit **
  17  norm          .10000E-03    1.6559         .0000    ** at limit **
  18  Prefactor     .10001E-03    18.783         .0000    ** at limit **
  19  Prefactor     .10000E-03    13.359         .0000    ** at limit **
  20  Prefactor     3.6791        97.617         .0000        .32715E-03
  21  Prefactor     10.003        18.818         .0000        .88528E-04
  22  Prefactor     29.707        54.119         .0000        .74302E-03
  23  norm          3.4763        2.5696         .0000        .36532E-04
  24  Prefactor     .10000E-03    3.3139         .0000    ** at limit **
  25  Prefactor     6.0540        2.3451         .0000       -.34749E-04
  26  Prefactor     21.923        13.919         .0000        .57942E-04
  27  Normalizat    1.2980        .22039         .0000        .33931E-05
  28  Prefactor     .80455        .13405         .0000        .11962E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.405
  Prefactor  = 3.10731
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.38021
  Prefactor  = 0.706475
  norm       = 0.000100008
  Prefactor  = 0.00010001
  Prefactor  = 0.000100001
  norm       = 3.05103
  Prefactor  = 6.13377
  Prefactor  = 47.2079
  Prefactor  = 0.000100001
  Prefactor  = 0.000100014
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 3.67909
  Prefactor  = 10.0031
  Prefactor  = 29.7068
  norm       = 3.47633
  Prefactor  = 0.0001
  Prefactor  = 6.05396
  Prefactor  = 21.9229
  Normalizat = 1.29802
  Prefactor  = 0.804552
 **********
 **   18 **HESSE 
 **********

 FCN=   6654.186     FROM HESSE     STATUS=OK           515 CALLS     3965 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.405        15.904        .82796E-04   -1.4740    
   2  Prefactor     3.1073        6.6382        .11501E-02   -1.5355    
   3  Prefactor     .10000E-03    1.7724        .10575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.4262        .14716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .21153        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.3802        3.8311        .12658E-02   -1.5473    
   8  Prefactor     .70647        24.681        .32648E-02   -1.5540    
   9  norm          .10001E-03    7.0135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    7.1010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    42.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.0510        3.5152        .15892E-03   -1.5359    
  13  Prefactor     6.1338        4.1767        .12658E-03   -1.5213    
  14  Prefactor     47.208        21.254        .58358E-04   -1.4333    
  15  Prefactor     .10000E-03    9.7252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    19.746        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.6684        .10247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    18.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.6791        97.510        .21054E-03   -1.5324    
  21  Prefactor     10.003        18.839        .12669E-03   -1.5075    
  22  Prefactor     29.707        54.129        .73508E-04   -1.4617    
  23  norm          3.4763        2.5671        .10923E-03   -1.5335    
  24  Prefactor     .10000E-03    3.3499        .14491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.0540        2.3455        .75235E-04   -1.5216    
  26  Prefactor     21.923        13.925        .85547E-04   -1.4771    
  27  Normalizat    1.2980        .26245        .28694E-03   -.83626    
  28  Prefactor     .80455        .15928        .22330E-03   -.99561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47388e-08
Minuit parameter uncertainties:
  1  15.9066
  2  6.63978
  3  2.36735e-07
  4  2.5563e-05
  5  3.84213e-07
  6  2.77305e-07
  7  3.83178
  8  8.35449
  9  0.000486878
  10  0.000529517
  11  0.000336375
  12  3.51545
  13  4.17688
  14  21.257
  15  0.000141263
  16  0.00106865
  17  7.53474e-07
  18  0.000879713
  19  0.00010283
  20  37.9496
  21  18.8498
  22  54.2189
  23  2.56718
  24  5.74037e-06
  25  2.3455
  26  13.9269
  27  0.262721
  28  0.159371
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  4.721e+01  2.126e+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:  8.046e-01  1.594e-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:  1.298e+00  2.627e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.93
Ra Dec: 178.348 -11.075
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 5.37e-08
Energy Flux (Fixed Index): 4.27e-05 +/- 1.92e-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) = 6653.89592607
delta logL = 0.290254840034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6653.89560272
delta logL = 0.290578189675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.458       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0357       1.0000          .0000       10.000    
     3 'Normalizat'    1.3313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79312       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=   6653.896     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      294 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.461        27.225        .53388E-04   -.13110E-02
   2  Index         2.0356        .39587        .58167E-02   -.64300E-03
   3  Normalizat    1.3314        .25322        .28408E-03    .25092E-03
   4  Prefactor     .79306        .15794        .22482E-03    .40445E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.4611
  Index      = 2.03559
  Normalizat = 1.33141
  Prefactor  = 0.793055
 **********
 **   18 **HESSE 
 **********

 FCN=   6653.896     FROM HESSE     STATUS=OK            23 CALLS      317 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.461        27.033        .10678E-04   -1.4204    
   2  Index         2.0356        .39274        .23267E-03   -.63463    
   3  Normalizat    1.3314        .25332        .56817E-04   -.82634    
   4  Prefactor     .79306        .15805        .44963E-04   -.99985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41416e-09
Minuit parameter uncertainties:
  1  27.0392
  2  0.393369
  3  0.253552
  4  0.158136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145713': 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) = 6653.89560262
delta logL = 0.290578292111

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  5.646e+01  2.704e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.036e+00  3.934e-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:  7.931e-01  1.581e-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:  1.331e+00  2.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.54
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 2.04 +/- 0.39
Photon Flux (Free Index): 8.70e-08 +/- 5.94e-08
Energy Flux (Free Index): 5.52e-05 +/- 3.49e-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/145713/cmap_HighResolution_578620801_578880001_4FGL_J1153.3-1104_daily_bin1309.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='5.52e-05', photon_flux_error='5.37e-08', dlogl='2.91e-01', energy_flux='4.27e-05', photon_flux2='8.70e-08', job_status='DONE', time_completed='2021-09-04 15:07:05.339115', photon_index_error2='0.39', photon_index2='2.04', ts='13.93', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='3.49e-05', EG='1.30', time_epoch_completed='1630793225.34', return_code='0', job_id='145713', GAL2='0.79', EG2='1.33', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='5.94e-08', ts2='14.54', photon_index='2.34' WHERE bin_id='1309' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:07:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 145713: <4FGL_J1153.3-1104_daily_bin1309> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1309> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 14:51:42 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:51:44 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:51:44 2021
Terminated at Sat Sep  4 15:07:06 2021
Results reported at Sat Sep  4 15:07:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1309 178.348 -11.075 578620801 578880001 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 :                                   760.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            924 sec.

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

