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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin463
RA = 178.348, Dec = -11.075
tmin = 359337601, tmax = 359596801
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='140537', job_status='RUN', time_executed='2021-09-04 14:39:38.492375', time_epoch_executed='1630791578.49' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/140537

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/140537/ft1_4FGL_J1153.3-1104_daily_bin463.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/140537/ft2_4FGL_J1153.3-1104_daily_bin463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/140537/ft1_4FGL_J1153.3-1104_daily_bin463.fits outfile=/scratch/kocevski/140537/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin463.fits ra=178.348 dec=-11.075 rad=12.0 tmin=359337601.0 tmax=359596801.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.38
user 3.13
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/140537/ft1_filtered_4FGL_J1153.3-1104_daily_bin463.fits" evtable="EVENTS" scfile=/scratch/kocevski/140537/ft2_4FGL_J1153.3-1104_daily_bin463.fits sctable="SC_DATA" outfile=/scratch/kocevski/140537/ltcube_359337601_359596801_4FGL_J1153.3-1104_daily_bin463.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/140537/ft2_4FGL_J1153.3-1104_daily_bin463.fits
.....................!
real 15.03
user 14.15
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/140537/ft1_filtered_4FGL_J1153.3-1104_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/140537/ft2_4FGL_J1153.3-1104_daily_bin463.fits sctable="SC_DATA" expcube=/scratch/kocevski/140537/ltcube_359337601_359596801_4FGL_J1153.3-1104_daily_bin463.fits outfile=/scratch/kocevski/140537/expmap_359337601_359596801_4FGL_J1153.3-1104_daily_bin463.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/140537/ltcube_359337601_359596801_4FGL_J1153.3-1104_daily_bin463.fits
.....................!
real 192.70
user 185.89
sys 5.71

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/140537/ft1_filtered_4FGL_J1153.3-1104_daily_bin463.fits scfile=/scratch/kocevski/140537/ft2_4FGL_J1153.3-1104_daily_bin463.fits outfile=/scratch/kocevski/140537/cmap_359337601_359596801_4FGL_J1153.3-1104_daily_bin463.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/140537/ft1_filtered_4FGL_J1153.3-1104_daily_bin463.fits scfile=/scratch/kocevski/140537/ft2_4FGL_J1153.3-1104_daily_bin463.fits outfile=/scratch/kocevski/140537/cmap_HighResolution_359337601_359596801_4FGL_J1153.3-1104_daily_bin463.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/140537/ft1_filtered_4FGL_J1153.3-1104_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/140537/ft2_4FGL_J1153.3-1104_daily_bin463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/140537/Model_4FGL_J1153.3-1104_daily_bin463.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/140537/ft1_filtered_4FGL_J1153.3-1104_daily_bin463.fits.....................!
real 48.42
user 46.76
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.010       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10520E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    45.202       1.0000         .10000E-03   10000.    
     5 'norm      '    3.0474       1.0000         .10000E-03   10000.    
     6 'norm      '    3.2803       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2429       1.0000         .10000E-03   10000.    
     9 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .76579E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2350       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.898       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10541E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10274E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.823       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.654       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .27045E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.6346       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.4655       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .73382E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .96576       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0154       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=   5269.483     FROM MIGRAD    STATUS=CONVERGED    686 CALLS     3466 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.046        21.480       -.15523E-06   -.38231E-04
   2  Prefactor     .10000E-03    8.2910       -.45466E-06** at limit **
   3  Prefactor     .10000E-03    6.9822       -.33166E-06** at limit **
   4  Prefactor     45.113        56.047       -.69433E-06   -.98478E-04
   5  norm          3.0664        9.8486        .10720E-05   -.92345E-05
   6  norm          3.2800        1.5175       -.40683E-07   -.70495E-04
   7  Prefactor     .10000E-03    3.9574       -.94931E-07** at limit **
   8  Prefactor     7.2435        9.3719        .27466E-05   -.52655E-04
   9  norm          .10000E-03    9.2692        .43586E-07** at limit **
  10  Prefactor     .10000E-03    95.587        .21615E-05** at limit **
  11  Prefactor     .10000E-03    13.362       -.23712E-08** at limit **
  12  norm          .10000E-03    5.1210       -.17608E-06** at limit **
  13  Prefactor     1.2433        4.8519        .21153E-05    .56069E-05
  14  Prefactor     15.889        19.946       -.10258E-05   -.67347E-04
  15  Prefactor     .10000E-03    9.3358        .65144E-07** at limit **
  16  Prefactor     .10000E-03    9.5081        .11629E-06** at limit **
  17  norm          .10000E-03    3.8335        .18087E-06** at limit **
  18  Prefactor     .10000E-03    45.524       -.59116E-06** at limit **
  19  Prefactor     .10000E-03    12.668       -.16981E-06** at limit **
  20  Prefactor     23.803        41.061       -.69354E-06   -.28729E-04
  21  Prefactor     11.616        26.156        .31998E-06    .15384E-05
  22  Prefactor     .10000E-03    69.714        .25788E-06** at limit **
  23  norm          1.6340        1.8825        .72905E-08   -.36991E-05
  24  Prefactor     .10000E-03    3.3024        .10893E-06** at limit **
  25  Prefactor     1.4654        1.3337       -.62171E-08   -.58579E-04
  26  Prefactor     .10001E-03    7.8241        .88906E-06** at limit **
  27  Normalizat    .96606        .23977       -.76609E-06   -.10409E-03
  28  Prefactor     1.0154        .14697       -.19000E-06   -.15868E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0456
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.1134
  norm       = 3.06641
  norm       = 3.27997
  Prefactor  = 0.0001
  Prefactor  = 7.24347
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.2433
  Prefactor  = 15.8893
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.8027
  Prefactor  = 11.6157
  Prefactor  = 0.0001
  norm       = 1.63405
  Prefactor  = 0.0001
  Prefactor  = 1.46541
  Prefactor  = 0.000100011
  Normalizat = 0.966062
  Prefactor  = 1.01544
 **********
 **   18 **HESSE 
 **********

 FCN=   5269.483     FROM HESSE     STATUS=OK           517 CALLS     3983 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.046        21.463        .85377E-04   -1.4769    
   2  Prefactor     .10000E-03    8.3037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.1985        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     45.113        56.287        .29817E-03   -1.4364    
   5  norm          3.0664        9.7899        .23241E-03   -1.5358    
   6  norm          3.2800        1.5155        .58524E-04   -1.5346    
   7  Prefactor     .10000E-03    4.0268        .14075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.2435        9.3308        .74521E-03   -1.5170    
   9  norm          .10000E-03    9.2740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    98.313        .41856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.1836        .16034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2433        4.7996        .27619E-03   -1.5485    
  14  Prefactor     15.889        19.750        .10045E-03   -1.4911    
  15  Prefactor     .10000E-03    9.3399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.5319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.8954        .13877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    45.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     23.803        41.041        .82069E-04   -1.4732    
  21  Prefactor     11.616        26.247        .11735E-03   -1.5026    
  22  Prefactor     .10000E-03    69.822        .21433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.6340        1.8782        .10388E-03   -1.5452    
  24  Prefactor     .10000E-03    3.3426        .12878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.4654        1.3399        .77863E-04   -1.5466    
  26  Prefactor     .10001E-03    29.271        .38863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .96606        .28093        .31563E-03   -.94176    
  28  Prefactor     1.0154        .17323        .19835E-03   -.92217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85518e-10
Minuit parameter uncertainties:
  1  21.4704
  2  1.04288e-05
  3  8.93775e-06
  4  56.353
  5  9.79502
  6  1.51547
  7  7.21472e-06
  8  9.33266
  9  2.8303e-06
  10  0.000307678
  11  2.32662e-07
  12  2.37995e-05
  13  4.80103
  14  19.7581
  15  4.52503e-06
  16  3.9456e-06
  17  2.96205e-06
  18  0.000116669
  19  2.55604e-05
  20  41.0895
  21  26.2731
  22  5.35869e-05
  23  1.87824
  24  1.11808e-06
  25  1.33988
  26  0.00115451
  27  0.281363
  28  0.173326
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.589e+01  1.976e+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:  1.015e+00  1.733e-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:  9.661e-01  2.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/140537/likelihoodResults_359337601_359596801_4FGL_J1153.3-1104_daily_bin463.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): 0
logL (Free Index) = 5268.41538453
delta logL = 1.06756787886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5268.35351358
delta logL = 1.12943882053

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83741       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4302       1.0000          .0000       10.000    
     3 'Normalizat'    .82874       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0741       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=   5268.354     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      271 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82630        7.5785        .87615E-02    .82972E-03
   2  Index         4.4363        2.3186        .89414E-01    .16940E-03
   3  Normalizat    .82877        .67263E-01    .76345E-01    .21160E-04
   4  Prefactor     1.0740        .43016E-01    .38668E-01    .16597E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.826301
  Index      = 4.43627
  Normalizat = 0.828769
  Prefactor  = 1.07398
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82630        14.966        .39503E-04   -1.5526    
   2  Index         4.4363        3.5581        .34810E-02   -.11299    
   3  Normalizat    .82877        .24885        .33792E-03   -.99010    
   4  Prefactor     1.0740        .15769        .19344E-03   -.90302    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.22252e-10
Minuit parameter uncertainties:
  1  7.03475
  2  3.96618
  3  0.249193
  4  0.157761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/140537': 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) = 5268.35350954
delta logL = 1.1294428645

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  8.263e-01  7.035e+00  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  4.436e+00  3.966e+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:  1.074e+00  1.578e-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.288e-01  2.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.56
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 4.44 +/- 3.97
Photon Flux (Free Index): 1.53e-07 +/- 1.01e-07
Energy Flux (Free Index): 2.15e-05 +/- 1.43e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/140537/cmap_HighResolution_359337601_359596801_4FGL_J1153.3-1104_daily_bin463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', energy_flux2='2.15e-05', dlogl='1.13e+00', photon_flux2='1.53e-07', job_status='DONE', time_completed='2021-09-04 14:52:07.330612', photon_index_error2='3.97', photon_index2='4.44', ts='1.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='1.43e-05', EG='0.97', time_epoch_completed='1630792327.33', return_code='0', job_id='140537', GAL2='1.07', EG2='0.83', return_code2='102', photon_flux_error2='1.01e-07', ts2='3.56', photon_index='2.34' WHERE bin_id='463' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 14:52:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 140537: <4FGL_J1153.3-1104_daily_bin463> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin463> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 14:36:35 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:36:37 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:37 2021
Terminated at Sat Sep  4 14:52:08 2021
Results reported at Sat Sep  4 14:52:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin463 178.348 -11.075 359337601 359596801 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 :                                   745.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            933 sec.

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

