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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin674
RA = 178.348, Dec = -11.075
tmin = 414028801, tmax = 414288001
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='142221', job_status='RUN', time_executed='2021-09-04 14:45:03.111438', time_epoch_executed='1630791903.11' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/142221

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/142221/ft1_4FGL_J1153.3-1104_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/142221/ft2_4FGL_J1153.3-1104_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/142221/ft1_4FGL_J1153.3-1104_daily_bin674.fits outfile=/scratch/kocevski/142221/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin674.fits ra=178.348 dec=-11.075 rad=12.0 tmin=414028801.0 tmax=414288001.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.17
user 4.96
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/142221/ft1_filtered_4FGL_J1153.3-1104_daily_bin674.fits" evtable="EVENTS" scfile=/scratch/kocevski/142221/ft2_4FGL_J1153.3-1104_daily_bin674.fits sctable="SC_DATA" outfile=/scratch/kocevski/142221/ltcube_414028801_414288001_4FGL_J1153.3-1104_daily_bin674.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/142221/ft2_4FGL_J1153.3-1104_daily_bin674.fits
.....................!
real 12.25
user 11.87
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/142221/ft1_filtered_4FGL_J1153.3-1104_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/142221/ft2_4FGL_J1153.3-1104_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/142221/ltcube_414028801_414288001_4FGL_J1153.3-1104_daily_bin674.fits outfile=/scratch/kocevski/142221/expmap_414028801_414288001_4FGL_J1153.3-1104_daily_bin674.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/142221/ltcube_414028801_414288001_4FGL_J1153.3-1104_daily_bin674.fits
.....................!
real 189.84
user 185.01
sys 4.40

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/142221/ft1_filtered_4FGL_J1153.3-1104_daily_bin674.fits scfile=/scratch/kocevski/142221/ft2_4FGL_J1153.3-1104_daily_bin674.fits outfile=/scratch/kocevski/142221/cmap_414028801_414288001_4FGL_J1153.3-1104_daily_bin674.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/142221/ft1_filtered_4FGL_J1153.3-1104_daily_bin674.fits scfile=/scratch/kocevski/142221/ft2_4FGL_J1153.3-1104_daily_bin674.fits outfile=/scratch/kocevski/142221/cmap_HighResolution_414028801_414288001_4FGL_J1153.3-1104_daily_bin674.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/142221/ft1_filtered_4FGL_J1153.3-1104_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/142221/ft2_4FGL_J1153.3-1104_daily_bin674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/142221/Model_4FGL_J1153.3-1104_daily_bin674.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/142221/ft1_filtered_4FGL_J1153.3-1104_daily_bin674.fits.....................!
real 48.72
user 47.13
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.697       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8958       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.2643       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5910       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4713       1.0000         .10000E-03   10000.    
     9 'norm      '    .43491E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    49.576       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .27305E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.226       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    9.2504       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.939       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.4283       1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.7799       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.6243       1.0000         .10000E-03   10000.    
    26 'Prefactor '    27.019       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1126       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .79320       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=   4901.884     FROM MIGRAD    STATUS=CONVERGED    713 CALLS     3539 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.709        19.945       -.11451E-06   -.53104E-05
   2  Prefactor     .10000E-03    4.7503       -.69767E-07** at limit **
   3  Prefactor     7.8985        6.8952        .22890E-05    .42729E-03
   4  Prefactor     .10000E-03    33.873        .52907E-06** at limit **
   5  norm          7.2610        11.130       -.99368E-06    .81015E-05
   6  norm          .10000E-03    .47115        .15608E-07** at limit **
   7  Prefactor     5.5833        5.7376        .56015E-06    .16497E-03
   8  Prefactor     7.4756        13.150       -.35529E-08   -.69237E-05
   9  norm          .10000E-03    136.50        .33037E-05** at limit **
  10  Prefactor     49.557        33.743        .33846E-06    .20223E-03
  11  Prefactor     .10000E-03    74.098       -.14265E-05** at limit **
  12  norm          .55479E-02    8.5562       -.18538E-05    .63283E-03
  13  Prefactor     .10000E-03    2.0134       -.20923E-07** at limit **
  14  Prefactor     .10000E-03    12.352       -.15631E-07** at limit **
  15  Prefactor     14.230        20.105        .59128E-07   -.21429E-05
  16  Prefactor     .10000E-03    17.931        .37137E-09** at limit **
  17  norm          9.2537        5.6561        .20944E-06    .28334E-04
  18  Prefactor     .10000E-03    17.714       -.80274E-08** at limit **
  19  Prefactor     26.962        20.577       -.17512E-06    .19489E-04
  20  Prefactor     .10000E-03    31.327       -.75472E-06** at limit **
  21  Prefactor     .10000E-03    17.039       -.18756E-06** at limit **
  22  Prefactor     .10000E-03    84.443        .11536E-05** at limit **
  23  norm          3.4289        3.8275        .14965E-06    .32702E-04
  24  Prefactor     8.7807        8.4035        .13596E-06    .28628E-04
  25  Prefactor     5.6236        2.7591       -.58211E-08    .23644E-06
  26  Prefactor     27.027        18.548        .13468E-06    .99633E-05
  27  Normalizat    1.1117        .26947       -.12696E-05    .12606E-03
  28  Prefactor     .79377        .15408        .21122E-06    .89613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.7088
  Prefactor  = 0.0001
  Prefactor  = 7.89849
  Prefactor  = 0.000100001
  norm       = 7.26105
  norm       = 0.0001
  Prefactor  = 5.58329
  Prefactor  = 7.47564
  norm       = 0.0001
  Prefactor  = 49.5573
  Prefactor  = 0.000100003
  norm       = 0.00554787
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.2304
  Prefactor  = 0.0001
  norm       = 9.25371
  Prefactor  = 0.0001
  Prefactor  = 26.962
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 3.42889
  Prefactor  = 8.78069
  Prefactor  = 5.62359
  Prefactor  = 27.0268
  Normalizat = 1.11167
  Prefactor  = 0.793773
 **********
 **   18 **HESSE 
 **********

 FCN=   4901.884     FROM HESSE     STATUS=OK           531 CALLS     4070 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.709        19.999        .70076E-04   -1.4564    
   2  Prefactor     .10000E-03    4.7536        .14901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.8985        6.9313        .71348E-03   -1.5146    
   4  Prefactor     .10000E-03    33.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.2610        11.112        .14882E-03   -1.5169    
   6  norm          .10000E-03    .76551        .93327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.5833        5.6659        .15335E-03   -1.5235    
   8  Prefactor     7.4756        13.206        .14673E-03   -1.5161    
   9  norm          .10000E-03    137.30        .42450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     49.557        33.791        .56954E-04   -1.4299    
  11  Prefactor     .10000E-03    74.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55479E-02    8.5813        .52605E-01   -1.5693    
  13  Prefactor     .10000E-03    2.0297        .96901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.230        20.119        .10619E-03   -1.4953    
  16  Prefactor     .10000E-03    17.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.2537        5.6553        .12484E-03   -1.5099    
  18  Prefactor     .10000E-03    17.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     26.962        20.775        .77184E-04   -1.4669    
  20  Prefactor     .10000E-03    31.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    84.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.4289        3.8186        .13997E-03   -1.5338    
  24  Prefactor     8.7807        8.4013        .13527E-03   -1.5115    
  25  Prefactor     5.6236        2.7633        .75787E-04   -1.5234    
  26  Prefactor     27.027        18.567        .77070E-04   -1.4668    
  27  Normalizat    1.1117        .32141        .30626E-03   -.89378    
  28  Prefactor     .79377        .18288        .21995E-03   -.99958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89394e-09
Minuit parameter uncertainties:
  1  20.0035
  2  5.07384e-06
  3  6.93199
  4  0.000322703
  5  11.1155
  6  2.46609e-06
  7  5.66644
  8  13.2112
  9  0.000451249
  10  33.8041
  11  0.000982334
  12  0.432496
  13  6.48169e-06
  14  1.51307e-05
  15  20.1282
  16  1.50404e-05
  17  5.65565
  18  3.75132e-05
  19  20.7803
  20  0.000271696
  21  4.70322e-05
  22  0.001037
  23  3.81887
  24  8.40242
  25  2.76332
  26  18.5709
  27  0.321977
  28  0.183015
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  1.513e-05  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:  7.938e-01  1.830e-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.112e+00  3.220e-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: 9.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/142221/likelihoodResults_414028801_414288001_4FGL_J1153.3-1104_daily_bin674.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) = 4901.88422169
delta logL = -0.000383966709705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4901.88383797
delta logL = -2.46272065851e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3385       1.0000          .0000       10.000    
     3 'Normalizat'    1.1115       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79387       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=   4901.884     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6154.2        .90712E-02** at limit **
   2  Index         2.3407        5.5583        .50000       -.16488E-05
   3  Normalizat    1.1117        .14214        .69218E-01    .11288E-04
   4  Prefactor     .79377        .87589E-01    .43637E-01    .99221E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.34073
  Normalizat = 1.11166
  Prefactor  = 0.793774
 **********
 **   18 **HESSE 
 **********

 FCN=   4901.884     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6354.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3407        7.3544        .50000       -.56079    
   3  Normalizat    1.1117        .23596        .30626E-03   -.89378    
   4  Prefactor     .79377        .14655        .21995E-03   -.99958    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.32331e-10
Minuit parameter uncertainties:
  1  0.000185449
  2  65.9242
  3  0.236181
  4  0.146622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/142221': 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) = 4901.88383772
delta logL = 1.76169123733e-09

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  1.854e-04  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.341e+00  6.592e+01  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  7.938e-01  1.466e-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.112e+00  2.362e-01  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/142221/cmap_HighResolution_414028801_414288001_4FGL_J1153.3-1104_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.44e-03', job_status='DONE', photon_flux_upper_limit='9.67e-08', time_completed='2021-09-04 14:57:14.609162', job_id='142221', GAL2='0.79', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630792634.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.76e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='674' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 14:57:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 142221: <4FGL_J1153.3-1104_daily_bin674> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin674 178.348 -11.075 414028801 414288001 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 :                                   730.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            961 sec.

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

