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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin724
RA = 178.348, Dec = -11.075
tmin = 426988801, tmax = 427248001
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='142300', job_status='RUN', time_executed='2021-09-04 14:43:47.637073', time_epoch_executed='1630791827.64' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/142300

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/142300/ft1_4FGL_J1153.3-1104_daily_bin724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/142300/ft2_4FGL_J1153.3-1104_daily_bin724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/142300/ft1_4FGL_J1153.3-1104_daily_bin724.fits outfile=/scratch/kocevski/142300/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin724.fits ra=178.348 dec=-11.075 rad=12.0 tmin=426988801.0 tmax=427248001.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 5.80
user 5.52
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/142300/ft1_filtered_4FGL_J1153.3-1104_daily_bin724.fits" evtable="EVENTS" scfile=/scratch/kocevski/142300/ft2_4FGL_J1153.3-1104_daily_bin724.fits sctable="SC_DATA" outfile=/scratch/kocevski/142300/ltcube_426988801_427248001_4FGL_J1153.3-1104_daily_bin724.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/142300/ft2_4FGL_J1153.3-1104_daily_bin724.fits
.....................!
real 12.49
user 12.12
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/142300/ft1_filtered_4FGL_J1153.3-1104_daily_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/142300/ft2_4FGL_J1153.3-1104_daily_bin724.fits sctable="SC_DATA" expcube=/scratch/kocevski/142300/ltcube_426988801_427248001_4FGL_J1153.3-1104_daily_bin724.fits outfile=/scratch/kocevski/142300/expmap_426988801_427248001_4FGL_J1153.3-1104_daily_bin724.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/142300/ltcube_426988801_427248001_4FGL_J1153.3-1104_daily_bin724.fits
.....................!
real 191.02
user 185.44
sys 5.12

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/142300/ft1_filtered_4FGL_J1153.3-1104_daily_bin724.fits scfile=/scratch/kocevski/142300/ft2_4FGL_J1153.3-1104_daily_bin724.fits outfile=/scratch/kocevski/142300/cmap_426988801_427248001_4FGL_J1153.3-1104_daily_bin724.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/142300/ft1_filtered_4FGL_J1153.3-1104_daily_bin724.fits scfile=/scratch/kocevski/142300/ft2_4FGL_J1153.3-1104_daily_bin724.fits outfile=/scratch/kocevski/142300/cmap_HighResolution_426988801_427248001_4FGL_J1153.3-1104_daily_bin724.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/142300/ft1_filtered_4FGL_J1153.3-1104_daily_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/142300/ft2_4FGL_J1153.3-1104_daily_bin724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/142300/Model_4FGL_J1153.3-1104_daily_bin724.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/142300/ft1_filtered_4FGL_J1153.3-1104_daily_bin724.fits.....................!
real 52.86
user 51.49
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2265       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.2461       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.8798       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2274       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9142       1.0000         .10000E-03   10000.    
     9 'norm      '    16.676       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .51212E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.4671       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .29839       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.488       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.472       1.0000         .10000E-03   10000.    
    17 'norm      '    .11017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    27.227       1.0000         .10000E-03   10000.    
    21 'Prefactor '    31.402       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10407E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.9513       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .87311       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1065       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=   5756.951     FROM MIGRAD    STATUS=CONVERGED    741 CALLS     3597 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2385        11.025        .94300E-06    .37804E-04
   2  Prefactor     .10000E-03    4.2380        .20782E-08** at limit **
   3  Prefactor     5.2495        4.9568        .16786E-06    .20388E-03
   4  Prefactor     .10000E-03    13.274        .98024E-06** at limit **
   5  norm          .10000E-03    7.1079        .19435E-06** at limit **
   6  norm          1.8799        1.1246        .58099E-07   -.12220E-03
   7  Prefactor     1.2153        6.3270       -.76306E-06    .14411E-03
   8  Prefactor     1.9132        6.9630        .11922E-05    .16822E-03
   9  norm          16.666        18.683        .18754E-05    .15345E-03
  10  Prefactor     .10613E-03    112.07       -.35024E-04** at limit **
  11  Prefactor     .10000E-03    25.369       -.16941E-05** at limit **
  12  norm          1.4675        5.2919        .87602E-05    .55206E-03
  13  Prefactor     .29369        2.7542       -.19849E-05    .19162E-03
  14  Prefactor     .10000E-03    9.6924        .44275E-06** at limit **
  15  Prefactor     11.500        33.379        .17534E-05    .54736E-05
  16  Prefactor     10.440        14.850       -.11609E-05    .60572E-04
  17  norm          .10000E-03    7.6631       -.90747E-05** at limit **
  18  Prefactor     .10000E-03    21.804        .15257E-05** at limit **
  19  Prefactor     .10000E-03    16.300       -.33614E-06** at limit **
  20  Prefactor     27.231        34.082        .29918E-06    .26250E-04
  21  Prefactor     31.399        28.714        .14472E-06    .13496E-04
  22  Prefactor     .10000E-03    124.00       -.13448E-05** at limit **
  23  norm          .10000E-03    1.5722        .20240E-06** at limit **
  24  Prefactor     .10004E-03    4.8186        .51059E-05** at limit **
  25  Prefactor     5.9520        2.7177        .10420E-06   -.17183E-03
  26  Prefactor     .10000E-03    6.3784        .31069E-06** at limit **
  27  Normalizat    .87278        .23227       -.24558E-05    .44013E-04
  28  Prefactor     1.1067        .14708       -.60031E-06   -.16943E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.23849
  Prefactor  = 0.0001
  Prefactor  = 5.24951
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.87985
  Prefactor  = 1.21526
  Prefactor  = 1.91322
  norm       = 16.6656
  Prefactor  = 0.000106126
  Prefactor  = 0.000100001
  norm       = 1.46751
  Prefactor  = 0.293686
  Prefactor  = 0.0001
  Prefactor  = 11.5
  Prefactor  = 10.4405
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 27.2305
  Prefactor  = 31.3994
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100037
  Prefactor  = 5.95201
  Prefactor  = 0.0001
  Normalizat = 0.872778
  Prefactor  = 1.10668
 **********
 **   18 **HESSE 
 **********

 FCN=   5756.951     FROM HESSE     STATUS=OK           533 CALLS     4130 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2385        11.021        .22552E-03   -1.5348    
   2  Prefactor     .10000E-03    4.2446        .15244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.2495        4.8955        .15210E-03   -1.5250    
   4  Prefactor     .10000E-03    13.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    7.2044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.8799        1.1166        .59759E-04   -1.5434    
   7  Prefactor     1.2153        5.5962        .28570E-03   -1.5487    
   8  Prefactor     1.9132        6.9559        .30043E-03   -1.5431    
   9  norm          16.666        18.698        .49039E-03   -1.4891    
  10  Prefactor     .10613E-03    46.380        .10033       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    25.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4675        8.4317        .17747E-02   -1.5466    
  13  Prefactor     .29369        6.1059        .22133E-02   -1.5600    
  14  Prefactor     .10000E-03    9.7840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.500        33.400        .11820E-03   -1.5030    
  16  Prefactor     10.440        15.106        .12381E-03   -1.5062    
  17  norm          .10000E-03    21.985        .22489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     27.231        34.043        .76777E-04   -1.4664    
  21  Prefactor     31.399        28.748        .71502E-04   -1.4587    
  22  Prefactor     .10000E-03    124.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.6311        .18585E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10004E-03    11.441        .29571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.9520        2.6539        .79794E-04   -1.5220    
  26  Prefactor     .10000E-03    6.4157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .87278        .27064        .31606E-03   -.97423    
  28  Prefactor     1.1067        .17342        .19310E-03   -.89253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54126e-09
Minuit parameter uncertainties:
  1  11.0275
  2  2.8349e-06
  3  4.89583
  4  1.67673e-05
  5  7.08859e-05
  6  1.11657
  7  5.21625
  8  6.95879
  9  18.7044
  10  0.0337369
  11  0.000339622
  12  7.03649
  13  2.67807
  14  0.000108993
  15  33.4539
  16  15.1115
  17  0.000489683
  18  7.06466e-05
  19  0.000414902
  20  34.0669
  21  28.7611
  22  0.000288711
  23  2.42475e-05
  24  0.00129748
  25  2.65399
  26  6.96579e-05
  27  0.271062
  28  0.173506
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  1.090e-04  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.107e+00  1.735e-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:  8.728e-01  2.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 178.348 -11.075
Photon Flux Upper Limit: 7.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/142300/likelihoodResults_426988801_427248001_4FGL_J1153.3-1104_daily_bin724.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) = 5756.95178077
delta logL = -0.000487008922391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5756.95129562
delta logL = -1.8596638256e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14470E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2958       1.0000          .0000       10.000    
     3 'Normalizat'    .87287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1066       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=   5756.951     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      244 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10220E-03    5.4899        .18142E-01** at limit **
   2  Index         2.2247        7.1948        .50000        .26788E-04
   3  Normalizat    .87277        .37169E-02    .31606E-03   -.31255E-03
   4  Prefactor     1.1067        .25430E-02    .19310E-03   -.11499E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102199
  Index      = 2.22469
  Normalizat = 0.87277
  Prefactor  = 1.10669
 **********
 **   18 **HESSE 
 **********

 FCN=   5756.951     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10220E-03    209.31        .49898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2247        5.3030        .50000       -.58844    
   3  Normalizat    .87277        .23047E-01    .12642E-04   -.97424    
   4  Prefactor     1.1067        .15769E-01    .38620E-04   -.89253    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.16113e-08
Minuit parameter uncertainties:
  1  0.0430562
  2  294.982
  3  0.0230476
  4  0.0157691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/142300': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5756.951293
delta logL = 7.54144821258e-07

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.022e-04  4.306e-02  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.225e+00  2.950e+02  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.107e+00  1.577e-02  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:  8.728e-01  2.305e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 178.348 -11.075

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/142300/cmap_HighResolution_426988801_427248001_4FGL_J1153.3-1104_daily_bin724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.52e-03', job_status='DONE', photon_flux_upper_limit='7.18e-08', time_completed='2021-09-04 14:57:30.637759', job_id='142300', GAL2='1.11', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1630792650.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='7.54e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='724' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 14:57:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 142300: <4FGL_J1153.3-1104_daily_bin724> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin724> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 14:41:20 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:41:21 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:41:21 2021
Terminated at Sat Sep  4 14:57:31 2021
Results reported at Sat Sep  4 14:57:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin724 178.348 -11.075 426988801 427248001 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 :                                   822.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             288.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            971 sec.

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

