/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 17 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 = 7382
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1066
RA = 178.348, Dec = -11.075
tmin = 515635201, tmax = 515894401
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='145356', job_status='RUN', time_executed='2021-09-04 14:51:50.786615', time_epoch_executed='1630792310.79' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1066'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145356

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145356/ft1_4FGL_J1153.3-1104_daily_bin1066.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145356/ft2_4FGL_J1153.3-1104_daily_bin1066.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145356/ft1_4FGL_J1153.3-1104_daily_bin1066.fits outfile=/scratch/kocevski/145356/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1066.fits ra=178.348 dec=-11.075 rad=12.0 tmin=515635201.0 tmax=515894401.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.42
user 3.22
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145356/ft1_filtered_4FGL_J1153.3-1104_daily_bin1066.fits" evtable="EVENTS" scfile=/scratch/kocevski/145356/ft2_4FGL_J1153.3-1104_daily_bin1066.fits sctable="SC_DATA" outfile=/scratch/kocevski/145356/ltcube_515635201_515894401_4FGL_J1153.3-1104_daily_bin1066.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/145356/ft2_4FGL_J1153.3-1104_daily_bin1066.fits
.....................!
real 12.32
user 11.95
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145356/ft1_filtered_4FGL_J1153.3-1104_daily_bin1066.fits evtable="EVENTS" scfile=/scratch/kocevski/145356/ft2_4FGL_J1153.3-1104_daily_bin1066.fits sctable="SC_DATA" expcube=/scratch/kocevski/145356/ltcube_515635201_515894401_4FGL_J1153.3-1104_daily_bin1066.fits outfile=/scratch/kocevski/145356/expmap_515635201_515894401_4FGL_J1153.3-1104_daily_bin1066.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/145356/ltcube_515635201_515894401_4FGL_J1153.3-1104_daily_bin1066.fits
.....................!
real 189.72
user 184.86
sys 4.50

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/145356/ft1_filtered_4FGL_J1153.3-1104_daily_bin1066.fits scfile=/scratch/kocevski/145356/ft2_4FGL_J1153.3-1104_daily_bin1066.fits outfile=/scratch/kocevski/145356/cmap_515635201_515894401_4FGL_J1153.3-1104_daily_bin1066.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=178.348 yref=-11.075 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145356/ft1_filtered_4FGL_J1153.3-1104_daily_bin1066.fits scfile=/scratch/kocevski/145356/ft2_4FGL_J1153.3-1104_daily_bin1066.fits outfile=/scratch/kocevski/145356/cmap_HighResolution_515635201_515894401_4FGL_J1153.3-1104_daily_bin1066.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/145356/ft1_filtered_4FGL_J1153.3-1104_daily_bin1066.fits evtable="EVENTS" scfile=/scratch/kocevski/145356/ft2_4FGL_J1153.3-1104_daily_bin1066.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145356/Model_4FGL_J1153.3-1104_daily_bin1066.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/145356/ft1_filtered_4FGL_J1153.3-1104_daily_bin1066.fits.....................!
real 51.66
user 50.35
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8005       1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.057       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.2538       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.039       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.377       1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.9471       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.676       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.3156       1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.009       1.0000         .10000E-03   10000.    
    23 'norm      '    .34199       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    12.151       1.0000         .10000E-03   10000.    
    26 'Prefactor '    13.298       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1366       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0206       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=   5648.150     FROM MIGRAD    STATUS=CONVERGED    665 CALLS     3445 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1751       -.83495E-06** at limit **
   2  Prefactor     .10000E-03    5.9556       -.23159E-05** at limit **
   3  Prefactor     2.8002        3.9237       -.46445E-07   -.24282E-03
   4  Prefactor     38.997        108.82       -.91011E-04    .82556E-05
   5  norm          .10000E-03    8.6180        .14639E-05** at limit **
   6  norm          1.2538        1.3456       -.19042E-06   -.44506E-03
   7  Prefactor     25.038        7.7904        .39649E-06   -.22153E-03
   8  Prefactor     24.374        14.653        .86686E-06    .52420E-04
   9  norm          .10000E-03    30.210        .85130E-05** at limit **
  10  Prefactor     .10000E-03    15.238        .41091E-05** at limit **
  11  Prefactor     .10000E-03    15.240        .42575E-05** at limit **
  12  norm          2.9471        4.1249       -.28631E-06   -.19849E-03
  13  Prefactor     .10000E-03    .97297        .56698E-08** at limit **
  14  Prefactor     .10000E-03    42.278       -.54412E-05** at limit **
  15  Prefactor     .10000E-03    6.4060        .35693E-05** at limit **
  16  Prefactor     .10000E-03    5.2395       -.10659E-07** at limit **
  17  norm          .10000E-03    1.7111       -.38093E-06** at limit **
  18  Prefactor     .10000E-03    17.671       -.12128E-04** at limit **
  19  Prefactor     18.674        15.338       -.34184E-06    .63764E-04
  20  Prefactor     .10000E-03    27.644        .74756E-06** at limit **
  21  Prefactor     9.3098        25.166       -.78758E-05   -.51161E-05
  22  Prefactor     17.063        86.718        .11793E-03    .36439E-05
  23  norm          .34724        2.2738       -.52500E-07   -.13111E-03
  24  Prefactor     .10000E-03    7.7212       -.16124E-05** at limit **
  25  Prefactor     12.151        3.4583        .73751E-08    .18269E-03
  26  Prefactor     13.298        14.291       -.74524E-06    .25248E-05
  27  Normalizat    1.1369        .27199        .81809E-05   -.15716E-03
  28  Prefactor     1.0204        .16298       -.35044E-05    .41978E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.8002
  Prefactor  = 38.9972
  norm       = 0.0001
  norm       = 1.25383
  Prefactor  = 25.0382
  Prefactor  = 24.3744
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.94714
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.6738
  Prefactor  = 0.0001
  Prefactor  = 9.30985
  Prefactor  = 17.0635
  norm       = 0.347235
  Prefactor  = 0.0001
  Prefactor  = 12.1515
  Prefactor  = 13.2981
  Normalizat = 1.13688
  Prefactor  = 1.02041
 **********
 **   18 **HESSE 
 **********

 FCN=   5648.150     FROM HESSE     STATUS=OK           517 CALLS     3962 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.9747        .17904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8002        3.9086        .17029E-03   -1.5373    
   4  Prefactor     38.997        108.97        .64135E-04   -1.4458    
   5  norm          .10000E-03    8.7061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.2538        1.3275        .86257E-04   -1.5484    
   7  Prefactor     25.038        7.8099        .80054E-04   -1.4707    
   8  Prefactor     24.374        14.700        .81132E-04   -1.4720    
   9  norm          .10000E-03    30.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.9471        4.1125        .17540E-03   -1.5365    
  13  Prefactor     .10000E-03    .97477        .72381E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    43.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.4073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.2422        .16801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.7171        .96009E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.674        15.409        .92679E-04   -1.4843    
  20  Prefactor     .10000E-03    27.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.3098        25.061        .13131E-03   -1.5098    
  22  Prefactor     17.063        86.679        .97112E-04   -1.4882    
  23  norm          .34724        10.018        .20838E-02   -1.5590    
  24  Prefactor     .10000E-03    7.8461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     12.151        3.4575        .72105E-04   -1.5011    
  26  Prefactor     13.298        14.312        .10984E-03   -1.4978    
  27  Normalizat    1.1369        .32240        .33236E-03   -.88576    
  28  Prefactor     1.0204        .19276        .22103E-03   -.92052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63079e-08
Minuit parameter uncertainties:
  1  0.00017254
  2  6.85907e-05
  3  3.909
  4  109.536
  5  5.45379e-05
  6  1.32752
  7  7.8102
  8  14.702
  9  5.1314e-05
  10  2.41366e-05
  11  5.96494e-06
  12  4.11291
  13  4.75078e-07
  14  7.80726e-05
  15  7.51481e-07
  16  6.89647e-05
  17  5.1364e-05
  18  6.77494e-07
  19  15.412
  20  4.89509e-06
  21  25.0896
  22  77.0944
  23  3.73044
  24  1.79688e-05
  25  3.45759
  26  14.3157
  27  0.322959
  28  0.192894
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  7.807e-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:  1.020e+00  1.929e-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.137e+00  3.230e-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.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/145356/likelihoodResults_515635201_515894401_4FGL_J1153.3-1104_daily_bin1066.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) = 5648.15018551
delta logL = -0.000110160473923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5648.15007577
delta logL = -4.16878719989e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2725       1.0000          .0000       10.000    
     3 'Normalizat'    1.1369       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0204       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5648.150     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      292 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    8623.9        .36285E-03** at limit **
   2  Index         2.3695        5.9864        .50000       -.30534E-04
   3  Normalizat    1.1369        .13767        .33235E-03    .82541E-04
   4  Prefactor     1.0204        .87869E-01    .22103E-03    .52670E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100044
  Index      = 2.36954
  Normalizat = 1.1369
  Prefactor  = 1.0204
 **********
 **   18 **HESSE 
 **********

 FCN=   5648.150     FROM HESSE     STATUS=OK            29 CALLS      321 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    59.878        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3695        6.1820        .50000       -.55400    
   3  Normalizat    1.1369        .29193        .13294E-04   -.88576    
   4  Prefactor     1.0204        .18646        .88412E-05   -.92053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31365e-09
Minuit parameter uncertainties:
  1  0.00324265
  2  4.52197
  3  0.292344
  4  0.186581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145356': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5648.15007512
delta logL = 2.31860212807e-07

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  3.243e-03  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.370e+00  4.522e+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.020e+00  1.866e-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.137e+00  2.923e-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/145356/cmap_HighResolution_515635201_515894401_4FGL_J1153.3-1104_daily_bin1066.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.74e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-09-04 15:04:51.626579', job_id='145356', GAL2='1.02', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630793091.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.32e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1066' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:04:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 145356: <4FGL_J1153.3-1104_daily_bin1066> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1066> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 14:51:18 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:51:19 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:51:19 2021
Terminated at Sat Sep  4 15:04:52 2021
Results reported at Sat Sep  4 15:04:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1066 178.348 -11.075 515635201 515894401 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 :                                   777.40 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             331.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            814 sec.

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

