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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin517
RA = 178.348, Dec = -11.075
tmin = 373334401, tmax = 373593601
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='140645', job_status='RUN', time_executed='2021-09-04 14:36:58.238972', time_epoch_executed='1630791418.24' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='517'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/140645

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/140645/ft1_4FGL_J1153.3-1104_daily_bin517.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/140645/ft2_4FGL_J1153.3-1104_daily_bin517.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/140645/ft1_4FGL_J1153.3-1104_daily_bin517.fits outfile=/scratch/kocevski/140645/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin517.fits ra=178.348 dec=-11.075 rad=12.0 tmin=373334401.0 tmax=373593601.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.45
user 4.21
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/140645/ft2_4FGL_J1153.3-1104_daily_bin517.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/140645/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin517.fits evtable="EVENTS" outfile="/scratch/kocevski/140645/ft1_filtered_4FGL_J1153.3-1104_daily_bin517.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/140645/ft1_filtered_4FGL_J1153.3-1104_daily_bin517.fits" evtable="EVENTS" scfile=/scratch/kocevski/140645/ft2_4FGL_J1153.3-1104_daily_bin517.fits sctable="SC_DATA" outfile=/scratch/kocevski/140645/ltcube_373334401_373593601_4FGL_J1153.3-1104_daily_bin517.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/140645/ft2_4FGL_J1153.3-1104_daily_bin517.fits
.....................!
real 12.06
user 11.67
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/140645/ft1_filtered_4FGL_J1153.3-1104_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/140645/ft2_4FGL_J1153.3-1104_daily_bin517.fits sctable="SC_DATA" expcube=/scratch/kocevski/140645/ltcube_373334401_373593601_4FGL_J1153.3-1104_daily_bin517.fits outfile=/scratch/kocevski/140645/expmap_373334401_373593601_4FGL_J1153.3-1104_daily_bin517.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/140645/ltcube_373334401_373593601_4FGL_J1153.3-1104_daily_bin517.fits
.....................!
real 191.42
user 186.20
sys 4.87

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/140645/ft1_filtered_4FGL_J1153.3-1104_daily_bin517.fits scfile=/scratch/kocevski/140645/ft2_4FGL_J1153.3-1104_daily_bin517.fits outfile=/scratch/kocevski/140645/cmap_373334401_373593601_4FGL_J1153.3-1104_daily_bin517.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/140645/ft1_filtered_4FGL_J1153.3-1104_daily_bin517.fits scfile=/scratch/kocevski/140645/ft2_4FGL_J1153.3-1104_daily_bin517.fits outfile=/scratch/kocevski/140645/cmap_HighResolution_373334401_373593601_4FGL_J1153.3-1104_daily_bin517.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=178.348 yref=-11.075 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/140645/ft1_filtered_4FGL_J1153.3-1104_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/140645/ft2_4FGL_J1153.3-1104_daily_bin517.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/140645/Model_4FGL_J1153.3-1104_daily_bin517.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/140645/ft1_filtered_4FGL_J1153.3-1104_daily_bin517.fits.....................!
real 58.78
user 57.50
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95592E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.806       1.0000         .10000E-03   10000.    
     5 'norm      '    28.788       1.0000         .10000E-03   10000.    
     6 'norm      '    8.3005       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.7516       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11066E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10215E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    46.631       1.0000         .10000E-03   10000.    
    12 'norm      '    5.8012       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6703       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10545E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8895       1.0000         .10000E-03   10000.    
    17 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.857       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.648       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.6584       1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.1144       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .39450       1.0000         .10000E-03   10000.    
    26 'Prefactor '    11.841       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.4069       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91315       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=   6569.559     FROM MIGRAD    STATUS=CONVERGED    673 CALLS     3459 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    66.613        .57098E-05** at limit **
   2  Prefactor     .10000E-03    12.901        .23447E-06** at limit **
   3  Prefactor     .10001E-03    5.8234        .32607E-05** at limit **
   4  Prefactor     36.843        67.128       -.62036E-05    .50853E-04
   5  norm          28.778        14.211       -.84784E-07   -.60866E-03
   6  norm          8.3004        1.9981        .27878E-07    .40273E-04
   7  Prefactor     4.7574        6.4923       -.41695E-06   -.40933E-03
   8  Prefactor     .10000E-03    15.383       -.49779E-07** at limit **
   9  norm          .10000E-03    12.561        .88985E-06** at limit **
  10  Prefactor     .10000E-03    26.858        .15175E-06** at limit **
  11  Prefactor     46.632        51.018       -.28688E-06    .18395E-05
  12  norm          5.8011        5.7968       -.66174E-07   -.18413E-04
  13  Prefactor     .10000E-03    2.4344        .15275E-06** at limit **
  14  Prefactor     1.6836        41.562        .17561E-04    .77515E-05
  15  Prefactor     .10000E-03    7.5351        .80268E-08** at limit **
  16  Prefactor     3.8919        7.9776        .13344E-06    .35251E-05
  17  norm          .10000E-03    1.7136       -.68041E-07** at limit **
  18  Prefactor     .10000E-03    17.394        .17817E-05** at limit **
  19  Prefactor     20.894        18.722       -.61499E-06    .85311E-04
  20  Prefactor     .10000E-03    13.878       -.67770E-06** at limit **
  21  Prefactor     18.649        17.985        .31624E-06   -.33366E-05
  22  Prefactor     .10000E-03    27.278       -.87014E-06** at limit **
  23  norm          1.6587        1.9491        .10333E-07    .95221E-05
  24  Prefactor     4.1147        4.6501       -.89566E-07    .45020E-04
  25  Prefactor     .39423        1.4844        .22636E-06   -.27622E-04
  26  Prefactor     11.872        15.699        .25853E-06    .24953E-04
  27  Normalizat    1.4062        .25532       -.33381E-05   -.32714E-03
  28  Prefactor     .91332        .14659        .20170E-05   -.19623E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 36.8429
  norm       = 28.778
  norm       = 8.3004
  Prefactor  = 4.75743
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.6324
  norm       = 5.80112
  Prefactor  = 0.0001
  Prefactor  = 1.68359
  Prefactor  = 0.0001
  Prefactor  = 3.89193
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.8941
  Prefactor  = 0.0001
  Prefactor  = 18.6488
  Prefactor  = 0.0001
  norm       = 1.65874
  Prefactor  = 4.11473
  Prefactor  = 0.394232
  Prefactor  = 11.8717
  Normalizat = 1.40625
  Prefactor  = 0.913315
 **********
 **   18 **HESSE 
 **********

 FCN=   6569.559     FROM HESSE     STATUS=OK           517 CALLS     3976 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    70.405        .41584E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    14.245        .33489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.843        67.159        .66061E-04   -1.4493    
   5  norm          28.778        13.859        .74671E-04   -1.4635    
   6  norm          8.3004        1.9991        .54088E-04   -1.5132    
   7  Prefactor     4.7574        6.4240        .18458E-03   -1.5272    
   8  Prefactor     .10000E-03    15.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    12.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     46.632        51.116        .58717E-04   -1.4341    
  12  norm          5.8011        5.7901        .16675E-03   -1.5226    
  13  Prefactor     .10000E-03    2.5054        .24660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6836        43.257        .16310E-02   -1.5448    
  15  Prefactor     .10000E-03    7.5368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.8919        7.9402        .20459E-03   -1.5313    
  17  norm          .10000E-03    1.7305        .10328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.894        18.798        .87702E-04   -1.4793    
  20  Prefactor     .10000E-03    13.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.649        17.990        .92749E-04   -1.4844    
  22  Prefactor     .10000E-03    27.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.6587        1.9419        .11938E-03   -1.5450    
  24  Prefactor     4.1147        4.6192        .17587E-03   -1.5302    
  25  Prefactor     .39423        1.4443        .18196E-03   -1.5582    
  26  Prefactor     11.872        15.710        .11642E-03   -1.5019    
  27  Normalizat    1.4062        .29444        .31157E-03   -.80448    
  28  Prefactor     .91332        .16987        .23566E-03   -.95677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1892e-09
Minuit parameter uncertainties:
  1  0.00140015
  2  5.60437e-05
  3  0.000621569
  4  67.2969
  5  13.8609
  6  1.9991
  7  6.42492
  8  2.27735e-05
  9  2.7746e-05
  10  0.000196589
  11  51.1645
  12  5.79069
  13  3.60655e-06
  14  17.0811
  15  4.5954e-06
  16  7.94236
  17  4.5234e-06
  18  0.000119263
  19  18.8032
  20  6.12722e-05
  21  17.9948
  22  6.28327e-05
  23  1.94195
  24  4.61955
  25  1.44444
  26  15.7156
  27  0.294794
  28  0.169967
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.684e+00  1.708e+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:  9.133e-01  1.700e-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.406e+00  2.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 178.348 -11.075
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/140645/likelihoodResults_373334401_373593601_4FGL_J1153.3-1104_daily_bin517.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) = 6569.21230028
delta logL = 0.346887578527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6569.20609639
delta logL = 0.353091461894

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8240       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6758       1.0000          .0000       10.000    
     3 'Normalizat'    1.3443       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93139       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=   6569.206     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      242 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8197        41.802        .77283E-02    .82004E-03
   2  Index         3.6767        2.7087        .17014        .10416E-03
   3  Normalizat    1.3443        .53415E-01    .71771E-01    .26376E-05
   4  Prefactor     .93135        .33100E-01    .45404E-01   -.14261E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.81971
  Index      = 3.67674
  Normalizat = 1.34433
  Prefactor  = 0.931347
 **********
 **   18 **HESSE 
 **********

 FCN=   6569.206     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      275 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8197        131.10        .12849E-03   -1.5438    
   2  Index         3.6767        6.6323        .59194E-02   -.26784    
   3  Normalizat    1.3443        .27459        .31758E-03   -.82253    
   4  Prefactor     .93135        .17027        .23357E-03   -.95054    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.21525e-07
Minuit parameter uncertainties:
  1  30.9613
  2  8.25367
  3  0.274888
  4  0.170364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/140645': 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) = 6569.20609598
delta logL = 0.353091871703

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.820e+00  3.096e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  3.677e+00  8.254e+00  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.313e-01  1.704e-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.344e+00  2.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/140645/cmap_HighResolution_373334401_373593601_4FGL_J1153.3-1104_daily_bin517.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.68e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-04 14:51:23.978292', job_id='140645', GAL2='0.93', fit_tolerance='1e-08', EG2='1.34', EG='1.41', time_epoch_completed='1630792283.98', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.53e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='517' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 14:51:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 140645: <4FGL_J1153.3-1104_daily_bin517> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin517> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 14:36:43 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:36: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:36:44 2021
Terminated at Sat Sep  4 14:51:26 2021
Results reported at Sat Sep  4 14:51:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin517 178.348 -11.075 373334401 373593601 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 :                                   864.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            883 sec.

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

