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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1484
RA = 178.348, Dec = -11.075
tmin = 623980801, tmax = 624240001
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='147655', job_status='RUN', time_executed='2021-09-04 14:57:55.765242', time_epoch_executed='1630792675.77' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147655

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147655/ft1_4FGL_J1153.3-1104_daily_bin1484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147655/ft2_4FGL_J1153.3-1104_daily_bin1484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147655/ft1_4FGL_J1153.3-1104_daily_bin1484.fits outfile=/scratch/kocevski/147655/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1484.fits ra=178.348 dec=-11.075 rad=12.0 tmin=623980801.0 tmax=624240001.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.00
user 3.79
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147655/ft1_filtered_4FGL_J1153.3-1104_daily_bin1484.fits" evtable="EVENTS" scfile=/scratch/kocevski/147655/ft2_4FGL_J1153.3-1104_daily_bin1484.fits sctable="SC_DATA" outfile=/scratch/kocevski/147655/ltcube_623980801_624240001_4FGL_J1153.3-1104_daily_bin1484.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/147655/ft2_4FGL_J1153.3-1104_daily_bin1484.fits
.....................!
real 12.57
user 12.07
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147655/ft1_filtered_4FGL_J1153.3-1104_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/147655/ft2_4FGL_J1153.3-1104_daily_bin1484.fits sctable="SC_DATA" expcube=/scratch/kocevski/147655/ltcube_623980801_624240001_4FGL_J1153.3-1104_daily_bin1484.fits outfile=/scratch/kocevski/147655/expmap_623980801_624240001_4FGL_J1153.3-1104_daily_bin1484.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/147655/ltcube_623980801_624240001_4FGL_J1153.3-1104_daily_bin1484.fits
.....................!
real 191.65
user 186.32
sys 4.94

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/147655/ft1_filtered_4FGL_J1153.3-1104_daily_bin1484.fits scfile=/scratch/kocevski/147655/ft2_4FGL_J1153.3-1104_daily_bin1484.fits outfile=/scratch/kocevski/147655/cmap_623980801_624240001_4FGL_J1153.3-1104_daily_bin1484.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/147655/ft1_filtered_4FGL_J1153.3-1104_daily_bin1484.fits scfile=/scratch/kocevski/147655/ft2_4FGL_J1153.3-1104_daily_bin1484.fits outfile=/scratch/kocevski/147655/cmap_HighResolution_623980801_624240001_4FGL_J1153.3-1104_daily_bin1484.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/147655/ft1_filtered_4FGL_J1153.3-1104_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/147655/ft2_4FGL_J1153.3-1104_daily_bin1484.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/147655/Model_4FGL_J1153.3-1104_daily_bin1484.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/147655/ft1_filtered_4FGL_J1153.3-1104_daily_bin1484.fits.....................!
real 63.28
user 61.81
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0893       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .24345E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.2376       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.915       1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .11908E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.1504       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4788       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.5629       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7233       1.0000         .10000E-03   10000.    
    17 'norm      '    12.957       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.620       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.1844       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.9636       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.2699       1.0000         .10000E-03   10000.    
    26 'Prefactor '    13.099       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2435       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .81334       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=   7268.084     FROM MIGRAD    STATUS=CONVERGED    689 CALLS     3004 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0924        13.354        .38571E-06   -.67843E-05
   2  Prefactor     .10000E-03    4.2437       -.28798E-07** at limit **
   3  Prefactor     .10000E-03    1.4801       -.56768E-07** at limit **
   4  Prefactor     .10000E-03    16.824       -.72125E-07** at limit **
   5  norm          .10000E-03    1.8917       -.57019E-07** at limit **
   6  norm          .10000E-03    .44250        .63754E-07** at limit **
   7  Prefactor     8.2305        4.5149       -.21554E-06   -.50702E-03
   8  Prefactor     21.913        10.318        .53220E-07    .89877E-06
   9  norm          .10000E-03    11.446       -.26916E-06** at limit **
  10  Prefactor     .10000E-03    77.309       -.42314E-05** at limit **
  11  Prefactor     .10000E-03    23.300       -.54169E-06** at limit **
  12  norm          .10001E-03    4.7140       -.52471E-06** at limit **
  13  Prefactor     8.1527        4.4137        .16609E-06    .41643E-04
  14  Prefactor     3.4791        11.722        .47063E-06   -.80361E-05
  15  Prefactor     8.5627        13.054        .10516E-05   -.44145E-04
  16  Prefactor     2.6803        32.190        .17546E-05    .11801E-04
  17  norm          12.958        6.6292       -.12312E-06    .32284E-05
  18  Prefactor     .10000E-03    62.396        .14221E-05** at limit **
  19  Prefactor     11.623        11.658        .97930E-06   -.39256E-04
  20  Prefactor     .10000E-03    41.291        .10968E-06** at limit **
  21  Prefactor     6.1845        17.479        .47214E-05   -.72164E-04
  22  Prefactor     .10000E-03    19.594        .50014E-06** at limit **
  23  norm          .10000E-03    .72536       -.40086E-07** at limit **
  24  Prefactor     5.9641        5.9010        .32078E-06    .31179E-03
  25  Prefactor     4.2701        2.2481       -.88621E-08   -.59757E-04
  26  Prefactor     13.099        12.343        .13079E-06    .42487E-04
  27  Normalizat    1.2436        .21411       -.15976E-06    .42254E-04
  28  Prefactor     .81323        .12784       -.50253E-06    .58049E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.09244
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 8.23047
  Prefactor  = 21.9133
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100001
  norm       = 0.000100006
  Prefactor  = 8.15269
  Prefactor  = 3.47913
  Prefactor  = 8.56271
  Prefactor  = 2.6803
  norm       = 12.9583
  Prefactor  = 0.000100005
  Prefactor  = 11.6232
  Prefactor  = 0.0001
  Prefactor  = 6.18451
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 5.96414
  Prefactor  = 4.27007
  Prefactor  = 13.0987
  Normalizat = 1.24363
  Prefactor  = 0.813227
 **********
 **   18 **HESSE 
 **********

 FCN=   7268.084     FROM HESSE     STATUS=OK           527 CALLS     3531 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0924        13.379        .16270E-03   -1.5214    
   2  Prefactor     .10000E-03    4.2496        .17134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.4899        .10125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.8928        .11449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.1776        .10842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.2305        4.5154        .12693E-03   -1.5134    
   8  Prefactor     21.913        10.354        .85562E-04   -1.4771    
   9  norm          .10000E-03    11.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    78.727        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10001E-03    21.598        .33340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.1527        4.1961        .11634E-03   -1.5137    
  14  Prefactor     3.4791        11.674        .21680E-03   -1.5335    
  15  Prefactor     8.5627        13.050        .68494E-03   -1.5123    
  16  Prefactor     2.6803        30.110        .24677E-03   -1.5381    
  17  norm          12.958        6.4016        .11128E-03   -1.4988    
  18  Prefactor     .10000E-03    63.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.623        11.685        .58761E-03   -1.5026    
  20  Prefactor     .10000E-03    41.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.1845        17.534        .80715E-03   -1.5211    
  22  Prefactor     .10000E-03    19.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .72920        .70921E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.9641        5.8995        .16443E-03   -1.5219    
  25  Prefactor     4.2701        2.2502        .86926E-04   -1.5295    
  26  Prefactor     13.099        12.345        .11067E-03   -1.4984    
  27  Normalizat    1.2436        .25532        .28702E-03   -.85265    
  28  Prefactor     .81323        .15165        .22076E-03   -.99243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.55076e-10
Minuit parameter uncertainties:
  1  13.3851
  2  4.41797e-06
  3  1.79203e-06
  4  2.61932e-05
  5  9.5769e-07
  6  7.55769e-05
  7  4.51562
  8  10.3549
  9  2.28249e-06
  10  0.00122216
  11  0.00026292
  12  0.000710701
  13  4.19629
  14  11.6813
  15  13.0544
  16  17.9783
  17  6.40195
  18  0.00109516
  19  11.6871
  20  5.42774e-05
  21  17.549
  22  0.000213218
  23  1.80854e-06
  24  5.90005
  25  2.25021
  26  12.3474
  27  0.255581
  28  0.151724
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  3.479e+00  1.168e+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:  8.132e-01  1.517e-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.244e+00  2.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 178.348 -11.075
Photon Flux Upper Limit: 9.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/147655/likelihoodResults_623980801_624240001_4FGL_J1153.3-1104_daily_bin1484.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) = 7268.07366034
delta logL = 0.0107916700326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7268.07241651
delta logL = 0.0120355004647

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0143       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6089       1.0000          .0000       10.000    
     3 'Normalizat'    1.2396       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81452       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=   7268.072     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      250 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0137        10.972        .23377E-03   -.27803E-03
   2  Index         2.6086        1.7990        .56128E-02   -.65749E-04
   3  Normalizat    1.2396        .23553        .28741E-03   -.30602E-03
   4  Prefactor     .81452        .14942        .22059E-03   -.34658E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.01367
  Index      = 2.60862
  Normalizat = 1.23962
  Prefactor  = 0.81452
 **********
 **   18 **HESSE 
 **********

 FCN=   7268.072     FROM HESSE     STATUS=OK            23 CALLS      273 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0137        10.530        .93506E-05   -1.5361    
   2  Index         2.6086        1.7296        .22451E-03   -.49869    
   3  Normalizat    1.2396        .23566        .57483E-04   -.85387    
   4  Prefactor     .81452        .14950        .44119E-04   -.99195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52822e-10
Minuit parameter uncertainties:
  1  10.536
  2  1.77775
  3  0.235867
  4  0.149574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147655': 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) = 7268.0724165
delta logL = 0.0120355180597

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  3.014e+00  1.054e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.609e+00  1.778e+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:  8.145e-01  1.496e-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.240e+00  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 178.348 -11.075

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/147655/cmap_HighResolution_623980801_624240001_4FGL_J1153.3-1104_daily_bin1484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.13e-08', time_completed='2021-09-04 15:13:04.252406', job_id='147655', GAL2='0.81', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1630793584.25', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.20e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1484' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:13:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 147655: <4FGL_J1153.3-1104_daily_bin1484> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1484> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 14:56:52 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:56:54 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:54 2021
Terminated at Sat Sep  4 15:13:05 2021
Results reported at Sat Sep  4 15:13:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1484 178.348 -11.075 623980801 624240001 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 :                                   900.02 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             322.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            973 sec.

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

