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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1384
RA = 178.348, Dec = -11.075
tmin = 598060801, tmax = 598320001
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='147357', job_status='RUN', time_executed='2021-09-04 14:58:49.081058', time_epoch_executed='1630792729.08' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1384'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147357

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147357/ft1_4FGL_J1153.3-1104_daily_bin1384.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147357/ft2_4FGL_J1153.3-1104_daily_bin1384.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147357/ft1_4FGL_J1153.3-1104_daily_bin1384.fits outfile=/scratch/kocevski/147357/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1384.fits ra=178.348 dec=-11.075 rad=12.0 tmin=598060801.0 tmax=598320001.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.98
user 4.68
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147357/ft1_filtered_4FGL_J1153.3-1104_daily_bin1384.fits" evtable="EVENTS" scfile=/scratch/kocevski/147357/ft2_4FGL_J1153.3-1104_daily_bin1384.fits sctable="SC_DATA" outfile=/scratch/kocevski/147357/ltcube_598060801_598320001_4FGL_J1153.3-1104_daily_bin1384.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/147357/ft2_4FGL_J1153.3-1104_daily_bin1384.fits
.....................!
real 12.48
user 12.03
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147357/ft1_filtered_4FGL_J1153.3-1104_daily_bin1384.fits evtable="EVENTS" scfile=/scratch/kocevski/147357/ft2_4FGL_J1153.3-1104_daily_bin1384.fits sctable="SC_DATA" expcube=/scratch/kocevski/147357/ltcube_598060801_598320001_4FGL_J1153.3-1104_daily_bin1384.fits outfile=/scratch/kocevski/147357/expmap_598060801_598320001_4FGL_J1153.3-1104_daily_bin1384.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/147357/ltcube_598060801_598320001_4FGL_J1153.3-1104_daily_bin1384.fits
.....................!
real 189.58
user 185.24
sys 3.92

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/147357/ft1_filtered_4FGL_J1153.3-1104_daily_bin1384.fits scfile=/scratch/kocevski/147357/ft2_4FGL_J1153.3-1104_daily_bin1384.fits outfile=/scratch/kocevski/147357/cmap_598060801_598320001_4FGL_J1153.3-1104_daily_bin1384.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/147357/ft1_filtered_4FGL_J1153.3-1104_daily_bin1384.fits scfile=/scratch/kocevski/147357/ft2_4FGL_J1153.3-1104_daily_bin1384.fits outfile=/scratch/kocevski/147357/cmap_HighResolution_598060801_598320001_4FGL_J1153.3-1104_daily_bin1384.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/147357/ft1_filtered_4FGL_J1153.3-1104_daily_bin1384.fits evtable="EVENTS" scfile=/scratch/kocevski/147357/ft2_4FGL_J1153.3-1104_daily_bin1384.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/147357/Model_4FGL_J1153.3-1104_daily_bin1384.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/147357/ft1_filtered_4FGL_J1153.3-1104_daily_bin1384.fits.....................!
real 57.88
user 56.44
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4314       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10464E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .41306       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    49.043       1.0000         .10000E-03   10000.    
     9 'norm      '    22.641       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .11066E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .70093       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10283E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.8150       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.9037       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.594       1.0000         .10000E-03   10000.    
    26 'Prefactor '    16.675       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.6897       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .73564       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=   6191.804     FROM MIGRAD    STATUS=CONVERGED    669 CALLS     2947 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.900        .83811E-05** at limit **
   2  Prefactor     .10000E-03    7.3391        .27819E-05** at limit **
   3  Prefactor     1.4307        3.4170       -.37367E-06   -.40587E-03
   4  Prefactor     .10000E-03    36.359        .18524E-04** at limit **
   5  norm          .10000E-03    18.274       -.13671E-04** at limit **
   6  norm          .41290        1.1249       -.51578E-06   -.17966E-02
   7  Prefactor     .10000E-03    2.1731        .57510E-07** at limit **
   8  Prefactor     49.046        15.122       -.64377E-07    .48817E-04
   9  norm          22.640        19.081        .16875E-06    .86789E-04
  10  Prefactor     .10000E-03    6.6349       -.17794E-05** at limit **
  11  Prefactor     .10000E-03    14.565        .71988E-05** at limit **
  12  norm          .10000E-03    2.8063       -.54603E-06** at limit **
  13  Prefactor     .70339        2.6923       -.15683E-05   -.11818E-02
  14  Prefactor     .10000E-03    27.991       -.93309E-05** at limit **
  15  Prefactor     .10000E-03    11.595        .22113E-05** at limit **
  16  Prefactor     .10000E-03    33.241        .10646E-04** at limit **
  17  norm          7.8210        7.1016       -.43159E-06   -.43392E-03
  18  Prefactor     .10000E-03    10.575       -.59844E-05** at limit **
  19  Prefactor     .10000E-03    5.4851        .26360E-06** at limit **
  20  Prefactor     .10000E-03    10.838       -.37868E-05** at limit **
  21  Prefactor     .10000E-03    6.9498        .25264E-05** at limit **
  22  Prefactor     .10000E-03    56.217       -.19639E-04** at limit **
  23  norm          2.9037        2.0312       -.25488E-07    .93301E-04
  24  Prefactor     .10000E-03    2.8088       -.15505E-06** at limit **
  25  Prefactor     10.594        3.3395       -.19386E-07    .42710E-04
  26  Prefactor     16.672        16.539       -.29241E-06   -.11203E-04
  27  Normalizat    1.6894        .24425        .69435E-06    .20850E-03
  28  Prefactor     .73589        .15220        .44686E-06    .21237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.43073
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.412901
  Prefactor  = 0.0001
  Prefactor  = 49.0461
  norm       = 22.6401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100005
  Prefactor  = 0.703385
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.82101
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.90372
  Prefactor  = 0.0001
  Prefactor  = 10.594
  Prefactor  = 16.672
  Normalizat = 1.6894
  Prefactor  = 0.735886
 **********
 **   18 **HESSE 
 **********

 FCN=   6191.804     FROM HESSE     STATUS=OK           511 CALLS     3458 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.4030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.4307        3.3728        .21742E-03   -1.5469    
   4  Prefactor     .10000E-03    36.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    18.516        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .41290        1.1085        .13306E-03   -1.5579    
   7  Prefactor     .10000E-03    2.1976        .11316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     49.046        15.162        .57261E-04   -1.4306    
   9  norm          22.640        19.070        .84181E-04   -1.4756    
  10  Prefactor     .10000E-03    6.6362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    6.5913        .25250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .70339        2.6943        .24260E-03   -1.5540    
  14  Prefactor     .10000E-03    28.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    33.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.8210        7.0893        .14344E-03   -1.5149    
  18  Prefactor     .10000E-03    10.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.5118        .17996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.9495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    55.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.9037        2.0334        .91473E-04   -1.5367    
  24  Prefactor     .10000E-03    2.8203        .12872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     10.594        3.3398        .77835E-04   -1.5057    
  26  Prefactor     16.672        16.566        .98082E-04   -1.4891    
  27  Normalizat    1.6894        .28855        .27811E-03   -.72587    
  28  Prefactor     .73589        .17934        .25240E-03   -1.0214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91542e-09
Minuit parameter uncertainties:
  1  3.65876e-05
  2  5.86589e-06
  3  3.37322
  4  2.87719e-05
  5  0.000180037
  6  1.1086
  7  5.49091e-06
  8  15.1633
  9  19.075
  10  8.75117e-07
  11  1.23403e-06
  12  0.000362624
  13  2.69474
  14  0.000131741
  15  5.9485e-06
  16  1.5759e-05
  17  7.09009
  18  5.53122e-06
  19  1.44771e-07
  20  1.31871e-06
  21  2.9732e-06
  22  3.65502e-06
  23  2.03342
  24  1.12261e-06
  25  3.33986
  26  16.5703
  27  0.288837
  28  0.179485
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  7.359e-01  1.795e-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.689e+00  2.888e-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: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/147357/likelihoodResults_598060801_598320001_4FGL_J1153.3-1104_daily_bin1384.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) = 6191.80387054
delta logL = -0.00016942698403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6191.60669538
delta logL = 0.197005731615

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89439       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8676       1.0000          .0000       10.000    
     3 'Normalizat'    1.6338       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75427       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=   6191.607     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      274 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89483        27.907        .12787E-01    .18727E-02
   2  Index         3.8682        3.1740        .14159        .98038E-04
   3  Normalizat    1.6340        .45268E-01    .63738E-01    .11647E-04
   4  Prefactor     .75427        .28717E-01    .43119E-01    .21533E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.894835
  Index      = 3.86823
  Normalizat = 1.634
  Prefactor  = 0.754265
 **********
 **   18 **HESSE 
 **********

 FCN=   6191.607     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      307 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89483        111.51        .11514E-03   -1.5519    
   2  Index         3.8682        6.2480        .77312E-02   -.22833    
   3  Normalizat    1.6340        .23662        .28190E-03   -.74079    
   4  Prefactor     .75427        .14898        .24960E-03   -1.0144    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.28277e-07
Minuit parameter uncertainties:
  1  20.0149
  2  10.2345
  3  0.236787
  4  0.149064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147357': 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) = 6191.60669277
delta logL = 0.197008338859

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  8.948e-01  2.001e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  3.868e+00  1.023e+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.543e-01  1.491e-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.634e+00  2.368e-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/147357/cmap_HighResolution_598060801_598320001_4FGL_J1153.3-1104_daily_bin1384.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.38e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-04 15:12:24.310200', job_id='147357', GAL2='0.75', fit_tolerance='1e-08', EG2='1.63', EG='1.69', time_epoch_completed='1630793544.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.97e-01', ts2='0.42', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1384' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:12:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 147357: <4FGL_J1153.3-1104_daily_bin1384> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1384 178.348 -11.075 598060801 598320001 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 :                                   809.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            946 sec.

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

