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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1347
RA = 178.348, Dec = -11.075
tmin = 588470401, tmax = 588729601
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='147299', job_status='RUN', time_executed='2021-09-04 14:57:16.231124', time_epoch_executed='1630792636.23' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1347'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147299

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147299/ft1_4FGL_J1153.3-1104_daily_bin1347.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147299/ft2_4FGL_J1153.3-1104_daily_bin1347.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147299/ft1_4FGL_J1153.3-1104_daily_bin1347.fits outfile=/scratch/kocevski/147299/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1347.fits ra=178.348 dec=-11.075 rad=12.0 tmin=588470401.0 tmax=588729601.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.87
user 4.64
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/147299/ft2_4FGL_J1153.3-1104_daily_bin1347.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/147299/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1347.fits evtable="EVENTS" outfile="/scratch/kocevski/147299/ft1_filtered_4FGL_J1153.3-1104_daily_bin1347.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.52
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147299/ft1_filtered_4FGL_J1153.3-1104_daily_bin1347.fits" evtable="EVENTS" scfile=/scratch/kocevski/147299/ft2_4FGL_J1153.3-1104_daily_bin1347.fits sctable="SC_DATA" outfile=/scratch/kocevski/147299/ltcube_588470401_588729601_4FGL_J1153.3-1104_daily_bin1347.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/147299/ft2_4FGL_J1153.3-1104_daily_bin1347.fits
.....................!
real 12.03
user 11.62
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147299/ft1_filtered_4FGL_J1153.3-1104_daily_bin1347.fits evtable="EVENTS" scfile=/scratch/kocevski/147299/ft2_4FGL_J1153.3-1104_daily_bin1347.fits sctable="SC_DATA" expcube=/scratch/kocevski/147299/ltcube_588470401_588729601_4FGL_J1153.3-1104_daily_bin1347.fits outfile=/scratch/kocevski/147299/expmap_588470401_588729601_4FGL_J1153.3-1104_daily_bin1347.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/147299/ltcube_588470401_588729601_4FGL_J1153.3-1104_daily_bin1347.fits
.....................!
real 190.97
user 185.45
sys 5.13

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/147299/ft1_filtered_4FGL_J1153.3-1104_daily_bin1347.fits scfile=/scratch/kocevski/147299/ft2_4FGL_J1153.3-1104_daily_bin1347.fits outfile=/scratch/kocevski/147299/cmap_588470401_588729601_4FGL_J1153.3-1104_daily_bin1347.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.74
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/147299/ft1_filtered_4FGL_J1153.3-1104_daily_bin1347.fits scfile=/scratch/kocevski/147299/ft2_4FGL_J1153.3-1104_daily_bin1347.fits outfile=/scratch/kocevski/147299/cmap_HighResolution_588470401_588729601_4FGL_J1153.3-1104_daily_bin1347.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.66
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.755       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .50826       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    133.38       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .19073E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.326       1.0000         .10000E-03   10000.    
     9 'norm      '    11.216       1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.427       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .19976E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18258E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.9668       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.513       1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.458       1.0000         .10000E-03   10000.    
    17 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    53.754       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .52797       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.3181       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.5889       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .89794       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.

 FCN=   5283.967     FROM MIGRAD    STATUS=CONVERGED    723 CALLS     3606 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.866        41.236       -.17799E-05   -.13567E-03
   2  Prefactor     .38023        23.017        .31526E-05    .21505E-04
   3  Prefactor     .10000E-03    6.3766        .38502E-06** at limit **
   4  Prefactor     133.30        139.32       -.83522E-05   -.13058E-03
   5  norm          .10000E-03    5.2708        .12667E-06** at limit **
   6  norm          .10000E-03    .88275        .25447E-07** at limit **
   7  Prefactor     .10013E-03    7.9099       -.96310E-06** at limit **
   8  Prefactor     29.342        20.028        .92127E-06   -.23434E-03
   9  norm          11.239        26.930        .34389E-06    .24136E-04
  10  Prefactor     40.469        44.198        .18152E-05    .10030E-04
  11  Prefactor     .10414E-03    41.245        .43088E-05** at limit **
  12  norm          .10000E-03    4.0506        .79970E-08** at limit **
  13  Prefactor     .10000E-03    3.9875        .48545E-06** at limit **
  14  Prefactor     8.9454        24.308        .22948E-05   -.31897E-04
  15  Prefactor     15.513        26.443        .64591E-06    .19423E-05
  16  Prefactor     24.461        21.990        .56329E-06    .37684E-05
  17  norm          .10000E-03    3.5425        .45552E-07** at limit **
  18  Prefactor     .10000E-03    40.366        .22618E-05** at limit **
  19  Prefactor     53.760        26.805        .54044E-06   -.79665E-04
  20  Prefactor     .10000E-03    31.476       -.13632E-05** at limit **
  21  Prefactor     .10000E-03    25.303        .40593E-06** at limit **
  22  Prefactor     .10000E-03    78.474       -.41829E-05** at limit **
  23  norm          .52710        4.0161        .19883E-05   -.64598E-04
  24  Prefactor     .10000E-03    3.5421        .88961E-08** at limit **
  25  Prefactor     9.3176        3.4682        .36277E-07   -.12380E-04
  26  Prefactor     .10000E-03    20.413       -.67997E-07** at limit **
  27  Normalizat    1.5879        .34104       -.47784E-05   -.17482E-03
  28  Prefactor     .89859        .18609        .15598E-05   -.44937E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.8658
  Prefactor  = 0.380231
  Prefactor  = 0.0001
  Prefactor  = 133.3
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100128
  Prefactor  = 29.342
  norm       = 11.2391
  Prefactor  = 40.4692
  Prefactor  = 0.000104136
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.94545
  Prefactor  = 15.5135
  Prefactor  = 24.4611
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.7598
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.527105
  Prefactor  = 0.0001
  Prefactor  = 9.3176
  Prefactor  = 0.0001
  Normalizat = 1.58793
  Prefactor  = 0.898589
 **********
 **   18 **HESSE 
 **********

 FCN=   5283.967     FROM HESSE     STATUS=OK           527 CALLS     4133 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.866        50.390        .62037E-04   -1.4413    
   2  Prefactor     .38023        452.86        .55408E-02   -1.5585    
   3  Prefactor     .10000E-03    6.4597        .17908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     133.30        142.60        .17434E-03   -1.3394    
   5  norm          .10000E-03    5.2779        .16291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .90485        .13322E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10013E-03    42.971        .33076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.342        20.187        .73984E-04   -1.4624    
   9  norm          11.239        24.951        .11963E-03   -1.5037    
  10  Prefactor     40.469        42.991        .63043E-04   -1.4435    
  11  Prefactor     .10414E-03    41.034        .14263       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.0612        .14283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.2685        .27248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.9454        23.868        .13385E-03   -1.5110    
  15  Prefactor     15.513        26.448        .10169E-03   -1.4920    
  16  Prefactor     24.461        21.993        .80999E-04   -1.4718    
  17  norm          .10000E-03    3.5571        .13345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    40.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     53.760        26.956        .54707E-04   -1.4240    
  20  Prefactor     .10000E-03    31.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    25.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    78.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .52710        4.0677        .27993E-03   -1.5563    
  24  Prefactor     .10000E-03    3.5540        .13356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     9.3176        3.4708        .79960E-04   -1.5097    
  26  Prefactor     .10000E-03    20.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.5879        .40850        .32526E-03   -.75337    
  28  Prefactor     .89859        .22477        .25145E-03   -.96190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02861e-09
Minuit parameter uncertainties:
  1  50.4409
  2  26.4438
  3  2.25955e-05
  4  142.973
  5  6.48637e-06
  6  2.82447e-06
  7  0.00469778
  8  20.1916
  9  24.974
  10  43.0235
  11  0.0260726
  12  1.00758e-06
  13  0.000212202
  14  23.8935
  15  26.4678
  16  22
  17  2.53663e-06
  18  0.000196117
  19  26.962
  20  0.00011346
  21  3.85142e-05
  22  0.000517029
  23  2.92854
  24  4.92262e-06
  25  3.47088
  26  5.60152e-05
  27  0.409359
  28  0.224998
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  8.945e+00  2.389e+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.986e-01  2.250e-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.588e+00  4.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 178.348 -11.075
Photon Flux Upper Limit: 1.72e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.32e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/147299/likelihoodResults_588470401_588729601_4FGL_J1153.3-1104_daily_bin1347.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): 102
logL (Free Index) = 5283.81178905
delta logL = 0.154941651929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5283.15825469
delta logL = 0.808476008653

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 'Index     '    8.2229       1.0000          .0000       10.000    
     3 'Normalizat'    1.4778       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95359       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=   5283.158     FROM MIGRAD    STATUS=CONVERGED    213 CALLS      521 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .43499E-02    .31377E-03** at limit **
   2  Index         8.2228        2.7233        .15783        .10079E-03
   3  Normalizat    1.4777        .76488E-01    .75613E-01   -.11769E-05
   4  Prefactor     .95372        .45920E-01    .45684E-01    .90990E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.22283
  Normalizat = 1.47769
  Prefactor  = 0.95372
 **********
 **   18 **HESSE 
 **********

 FCN=   5283.158     FROM HESSE     STATUS=OK            35 CALLS      556 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .13293E-02    .10288E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.2228        .39726        .61821E-02    .70045    
   3  Normalizat    1.4777        .36469        .33462E-03   -.78407    
   4  Prefactor     .95372        .21916        .24494E-03   -.94288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91028e-09
Minuit parameter uncertainties:
  1  1.50509e-09
  2  0.397974
  3  0.365336
  4  0.219362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147299': 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) = 5283.15825374
delta logL = 0.808476961343

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  1.505e-09  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  8.223e+00  3.980e-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:  9.537e-01  2.194e-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.478e+00  3.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.88
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 8.22 +/- 0.40
Photon Flux (Free Index): 1.12e-07 +/- 1.03e-07
Energy Flux (Free Index): 1.29e-05 +/- 1.18e-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/147299/cmap_HighResolution_588470401_588729601_4FGL_J1153.3-1104_daily_bin1347.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', energy_flux2='1.29e-05', dlogl='8.08e-01', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-09-04 15:10:38.189400', photon_index_error2='0.40', photon_index2='8.22', ts='0.17', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.72e-07', energy_flux_error2='1.18e-05', EG='1.59', time_epoch_completed='1630793438.19', return_code='0', job_id='147299', GAL2='0.95', EG2='1.48', return_code2='0', photon_flux_error2='1.03e-07', ts2='1.88', photon_index='2.34' WHERE bin_id='1347' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:10:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 147299: <4FGL_J1153.3-1104_daily_bin1347> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1347> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 14:56:35 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:56:36 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:36 2021
Terminated at Sat Sep  4 15:10:38 2021
Results reported at Sat Sep  4 15:10:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1347 178.348 -11.075 588470401 588729601 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 :                                   796.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            843 sec.

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

