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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin797
RA = 178.348, Dec = -11.075
tmin = 445910401, tmax = 446169601
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='143838', job_status='RUN', time_executed='2021-09-04 14:46:32.324781', time_epoch_executed='1630791992.32' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='797'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/143838

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/143838/ft1_4FGL_J1153.3-1104_daily_bin797.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/143838/ft2_4FGL_J1153.3-1104_daily_bin797.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/143838/ft1_4FGL_J1153.3-1104_daily_bin797.fits outfile=/scratch/kocevski/143838/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin797.fits ra=178.348 dec=-11.075 rad=12.0 tmin=445910401.0 tmax=446169601.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.96
user 3.72
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/143838/ft1_filtered_4FGL_J1153.3-1104_daily_bin797.fits" evtable="EVENTS" scfile=/scratch/kocevski/143838/ft2_4FGL_J1153.3-1104_daily_bin797.fits sctable="SC_DATA" outfile=/scratch/kocevski/143838/ltcube_445910401_446169601_4FGL_J1153.3-1104_daily_bin797.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/143838/ft2_4FGL_J1153.3-1104_daily_bin797.fits
.....................!
real 12.32
user 11.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/143838/ft1_filtered_4FGL_J1153.3-1104_daily_bin797.fits evtable="EVENTS" scfile=/scratch/kocevski/143838/ft2_4FGL_J1153.3-1104_daily_bin797.fits sctable="SC_DATA" expcube=/scratch/kocevski/143838/ltcube_445910401_446169601_4FGL_J1153.3-1104_daily_bin797.fits outfile=/scratch/kocevski/143838/expmap_445910401_446169601_4FGL_J1153.3-1104_daily_bin797.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/143838/ltcube_445910401_446169601_4FGL_J1153.3-1104_daily_bin797.fits
.....................!
real 190.21
user 185.03
sys 4.80

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/143838/ft1_filtered_4FGL_J1153.3-1104_daily_bin797.fits scfile=/scratch/kocevski/143838/ft2_4FGL_J1153.3-1104_daily_bin797.fits outfile=/scratch/kocevski/143838/cmap_445910401_446169601_4FGL_J1153.3-1104_daily_bin797.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/143838/ft1_filtered_4FGL_J1153.3-1104_daily_bin797.fits scfile=/scratch/kocevski/143838/ft2_4FGL_J1153.3-1104_daily_bin797.fits outfile=/scratch/kocevski/143838/cmap_HighResolution_445910401_446169601_4FGL_J1153.3-1104_daily_bin797.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/143838/ft1_filtered_4FGL_J1153.3-1104_daily_bin797.fits evtable="EVENTS" scfile=/scratch/kocevski/143838/ft2_4FGL_J1153.3-1104_daily_bin797.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/143838/Model_4FGL_J1153.3-1104_daily_bin797.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/143838/ft1_filtered_4FGL_J1153.3-1104_daily_bin797.fits....................!
real 61.35
user 60.11
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    58.897       1.0000         .10000E-03   10000.    
     5 'norm      '    5.2726       1.0000         .10000E-03   10000.    
     6 'norm      '    2.7946       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .82536       1.0000         .10000E-03   10000.    
     9 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.383       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.7697       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.244       1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.145       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    25.434       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13184E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.7126       1.0000         .10000E-03   10000.    
    26 'Prefactor '    11.724       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2064       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .85732       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=   7195.547     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     3461 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.8624        .61728E-06** at limit **
   2  Prefactor     .10000E-03    5.3812        .86066E-06** at limit **
   3  Prefactor     .10000E-03    5.3002       -.12924E-05** at limit **
   4  Prefactor     58.899        69.148        .14341E-05    .32147E-04
   5  norm          5.2731        5.7799        .11685E-05   -.13823E-02
   6  norm          2.7945        1.1374       -.12582E-07   -.79829E-04
   7  Prefactor     .10000E-03    2.2589       -.22670E-06** at limit **
   8  Prefactor     .84891        4.2560       -.86959E-07   -.61176E-04
   9  norm          .10000E-03    16.214       -.25794E-05** at limit **
  10  Prefactor     13.383        17.898        .16009E-06    .38445E-04
  11  Prefactor     .10000E-03    20.771        .55563E-05** at limit **
  12  norm          5.7697        5.1027        .29125E-06   -.10193E-02
  13  Prefactor     .10000E-03    .88933        .22281E-06** at limit **
  14  Prefactor     29.245        15.778        .20326E-06    .23123E-04
  15  Prefactor     22.145        17.858        .12376E-06    .16532E-04
  16  Prefactor     .10000E-03    4.7335       -.14708E-06** at limit **
  17  norm          .10000E-03    .99016        .84632E-07** at limit **
  18  Prefactor     .10000E-03    8.5334       -.79982E-06** at limit **
  19  Prefactor     .10000E-03    24.576        .33090E-05** at limit **
  20  Prefactor     .10000E-03    10.312        .11134E-05** at limit **
  21  Prefactor     25.437        20.159        .14038E-05    .14261E-03
  22  Prefactor     .10000E-03    27.793       -.56708E-05** at limit **
  23  norm          .10000E-03    1.7969        .34231E-08** at limit **
  24  Prefactor     .10001E-03    3.3256       -.38094E-06** at limit **
  25  Prefactor     5.7131        2.0079       -.22236E-07    .18827E-03
  26  Prefactor     11.726        9.4878        .20074E-06   -.25650E-03
  27  Normalizat    1.2062        .20299       -.23243E-06    .51664E-04
  28  Prefactor     .85740        .12444       -.19068E-06    .77947E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.8993
  norm       = 5.27312
  norm       = 2.79452
  Prefactor  = 0.0001
  Prefactor  = 0.848909
  norm       = 0.000100001
  Prefactor  = 13.3829
  Prefactor  = 0.000100003
  norm       = 5.76967
  Prefactor  = 0.0001
  Prefactor  = 29.2454
  Prefactor  = 22.1451
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.4369
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 5.71313
  Prefactor  = 11.7258
  Normalizat = 1.20622
  Prefactor  = 0.857404
 **********
 **   18 **HESSE 
 **********

 FCN=   7195.547     FROM HESSE     STATUS=OK           517 CALLS     3978 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.4266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.5122        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     58.899        69.252        .52277E-04   -1.4172    
   5  norm          5.2731        7.8991        .87522E-03   -1.5249    
   6  norm          2.7945        1.1364        .55563E-04   -1.5374    
   7  Prefactor     .10000E-03    2.2941        .12438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .84891        18.046        .32460E-02   -1.5524    
   9  norm          .10000E-03    16.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.383        17.933        .10949E-03   -1.4976    
  11  Prefactor     .10000E-03    21.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.7697        5.3692        .83605E-03   -1.5228    
  13  Prefactor     .10000E-03    .89210        .78088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.245        15.800        .74087E-04   -1.4626    
  15  Prefactor     22.145        17.861        .85118E-04   -1.4766    
  16  Prefactor     .10000E-03    4.7492        .18024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .99326        .82431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.5455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.163        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     25.437        20.204        .79431E-04   -1.4699    
  22  Prefactor     .10000E-03    28.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.8752        .22197E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10001E-03    16.567        .29389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.7131        1.9860        .68475E-04   -1.5230    
  26  Prefactor     11.726        9.5533        .58498E-03   -1.5023    
  27  Normalizat    1.2062        .24070        .28662E-03   -.86411    
  28  Prefactor     .85740        .14681        .21269E-03   -.97646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1132e-08
Minuit parameter uncertainties:
  1  2.07921e-05
  2  3.27378e-05
  3  4.60602e-05
  4  69.3471
  5  7.90065
  6  1.13637
  7  5.89809e-06
  8  7.83025
  9  0.000187858
  10  17.9405
  11  0.000466698
  12  5.36964
  13  3.30678e-06
  14  15.8022
  15  17.8653
  16  5.14185e-06
  17  1.74378e-06
  18  4.39786e-05
  19  0.000220851
  20  6.38544e-05
  21  20.2092
  22  0.000549288
  23  3.91404e-06
  24  0.000757164
  25  1.98607
  26  9.55452
  27  0.240918
  28  0.146879
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  2.925e+01  1.580e+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.574e-01  1.469e-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.206e+00  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.58
Ra Dec: 178.348 -11.075
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 7.39e-08 +/- 3.99e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 1.43e-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) = 7195.48442514
delta logL = 0.0629933549717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7195.48034316
delta logL = 0.0670753427294

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.027       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5205       1.0000          .0000       10.000    
     3 'Normalizat'    1.1905       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86281       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=   7195.480     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      281 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.024        19.105        .80073E-04    .53668E-03
   2  Index         2.5203        .53496        .51687E-02    .16755E-03
   3  Normalizat    1.1905        .23386        .28822E-03   -.46754E-03
   4  Prefactor     .86287        .14673        .21206E-03   -.74340E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.0241
  Index      = 2.52026
  Normalizat = 1.19051
  Prefactor  = 0.862869
 **********
 **   18 **HESSE 
 **********

 FCN=   7195.480     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.024        18.087        .16015E-04   -1.4707    
   2  Index         2.5203        .50589        .20675E-03   -.51893    
   3  Normalizat    1.1905        .23364        .57645E-04   -.86897    
   4  Prefactor     .86287        .14673        .42412E-04   -.97451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.84311e-10
Minuit parameter uncertainties:
  1  18.0913
  2  0.507043
  3  0.23384
  4  0.146797
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/143838': 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) = 7195.48034247
delta logL = 0.067076025106

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  2.502e+01  1.809e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.520e+00  5.070e-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:  8.629e-01  1.468e-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.191e+00  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.71
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 2.52 +/- 0.51
Photon Flux (Free Index): 8.80e-08 +/- 5.88e-08
Energy Flux (Free Index): 2.50e-05 +/- 1.32e-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/143838/cmap_HighResolution_445910401_446169601_4FGL_J1153.3-1104_daily_bin797.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.39e-08', energy_flux2='2.50e-05', photon_flux_error='3.99e-08', dlogl='6.71e-02', energy_flux='2.65e-05', photon_flux2='8.80e-08', job_status='DONE', time_completed='2021-09-04 14:59:51.527060', photon_index_error2='0.51', photon_index2='2.52', ts='8.58', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='1.21', time_epoch_completed='1630792791.53', return_code='0', job_id='143838', GAL2='0.86', EG2='1.19', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='5.88e-08', ts2='8.71', photon_index='2.34' WHERE bin_id='797' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 14:59:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 143838: <4FGL_J1153.3-1104_daily_bin797> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin797> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 14:46:18 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:46:20 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:46:20 2021
Terminated at Sat Sep  4 14:59:52 2021
Results reported at Sat Sep  4 14:59:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin797 178.348 -11.075 445910401 446169601 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 :                                   797.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            814 sec.

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

