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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1048
RA = 178.348, Dec = -11.075
tmin = 510969601, tmax = 511228801
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='145321', job_status='RUN', time_executed='2021-09-04 14:52:46.469685', time_epoch_executed='1630792366.47' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1048'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145321

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145321/ft1_4FGL_J1153.3-1104_daily_bin1048.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145321/ft2_4FGL_J1153.3-1104_daily_bin1048.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145321/ft1_4FGL_J1153.3-1104_daily_bin1048.fits outfile=/scratch/kocevski/145321/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1048.fits ra=178.348 dec=-11.075 rad=12.0 tmin=510969601.0 tmax=511228801.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.45
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145321/ft1_filtered_4FGL_J1153.3-1104_daily_bin1048.fits" evtable="EVENTS" scfile=/scratch/kocevski/145321/ft2_4FGL_J1153.3-1104_daily_bin1048.fits sctable="SC_DATA" outfile=/scratch/kocevski/145321/ltcube_510969601_511228801_4FGL_J1153.3-1104_daily_bin1048.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/145321/ft2_4FGL_J1153.3-1104_daily_bin1048.fits
.....................!
real 12.43
user 12.09
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145321/ft1_filtered_4FGL_J1153.3-1104_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/145321/ft2_4FGL_J1153.3-1104_daily_bin1048.fits sctable="SC_DATA" expcube=/scratch/kocevski/145321/ltcube_510969601_511228801_4FGL_J1153.3-1104_daily_bin1048.fits outfile=/scratch/kocevski/145321/expmap_510969601_511228801_4FGL_J1153.3-1104_daily_bin1048.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/145321/ltcube_510969601_511228801_4FGL_J1153.3-1104_daily_bin1048.fits
.....................!
real 191.11
user 185.20
sys 5.51

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/145321/ft1_filtered_4FGL_J1153.3-1104_daily_bin1048.fits scfile=/scratch/kocevski/145321/ft2_4FGL_J1153.3-1104_daily_bin1048.fits outfile=/scratch/kocevski/145321/cmap_510969601_511228801_4FGL_J1153.3-1104_daily_bin1048.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145321/ft1_filtered_4FGL_J1153.3-1104_daily_bin1048.fits scfile=/scratch/kocevski/145321/ft2_4FGL_J1153.3-1104_daily_bin1048.fits outfile=/scratch/kocevski/145321/cmap_HighResolution_510969601_511228801_4FGL_J1153.3-1104_daily_bin1048.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/145321/ft1_filtered_4FGL_J1153.3-1104_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/145321/ft2_4FGL_J1153.3-1104_daily_bin1048.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145321/Model_4FGL_J1153.3-1104_daily_bin1048.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/145321/ft1_filtered_4FGL_J1153.3-1104_daily_bin1048.fits.....................!
real 52.50
user 51.14
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11787E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.1998       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .24586E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    9.4343       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1526       1.0000         .10000E-03   10000.    
    12 'norm      '    14.970       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .84781       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3328       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.8939       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.690       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    8.4679       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.4580       1.0000         .10000E-03   10000.    
    26 'Prefactor '    14.326       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3930       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0128       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=   5631.723     FROM MIGRAD    STATUS=CONVERGED   1238 CALLS     3556 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10106E-03    121.17        .54564E-02** at limit **
   2  Prefactor     .10000E-03    7.8620        .18142E-02** at limit **
   3  Prefactor     .10000E-03    1.7004        .95392E-03** at limit **
   4  Prefactor     .10000E-03    71.139        .18142E-02** at limit **
   5  norm          .10000E-03    2.7584        .12165E-02** at limit **
   6  norm          1.1997        1.7341        .11237E-03    .94527E-03
   7  Prefactor     .10000E-03    1.8946        .10043E-02** at limit **
   8  Prefactor     .10047E-03    19.991        .63049E-01** at limit **
   9  norm          9.4337        14.552        .13047E-03    .27970E-04
  10  Prefactor     .10000E-03    10.685        .18142E-02** at limit **
  11  Prefactor     5.1487        56.777        .17711E-03    .52251E-04
  12  norm          14.964        10.034        .10352E-03   -.48246E-03
  13  Prefactor     .84934        7.4775        .26116E-02   -.59506E-03
  14  Prefactor     .10000E-03    6.4778        .18142E-02** at limit **
  15  Prefactor     2.3190        113.15        .26849E-03   -.69866E-05
  16  Prefactor     .10000E-03    19.019        .18142E-02** at limit **
  17  norm          8.8912        6.0708        .13440E-03    .11284E-03
  18  Prefactor     .10000E-03    40.543        .18142E-02** at limit **
  19  Prefactor     13.687        16.855        .10825E-03   -.10523E-03
  20  Prefactor     .10000E-03    22.395        .18142E-02** at limit **
  21  Prefactor     .10000E-03    32.203        .18142E-02** at limit **
  22  Prefactor     .10000E-03    32.819        .18142E-02** at limit **
  23  norm          8.4678        3.9810        .99595E-04    .10730E-04
  24  Prefactor     .10000E-03    3.3771        .13400E-02** at limit **
  25  Prefactor     3.4584        2.2161        .86552E-04    .26139E-04
  26  Prefactor     14.326        16.172        .10582E-03    .45121E-05
  27  Normalizat    1.3930        .32146        .31069E-03    .24363E-03
  28  Prefactor     1.0128        .19204        .22617E-03    .37945E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 1.19969
  Prefactor  = 0.0001
  Prefactor  = 0.000100467
  norm       = 9.43365
  Prefactor  = 0.0001
  Prefactor  = 5.1487
  norm       = 14.9639
  Prefactor  = 0.849338
  Prefactor  = 0.0001
  Prefactor  = 2.31896
  Prefactor  = 0.0001
  norm       = 8.89124
  Prefactor  = 0.000100002
  Prefactor  = 13.6867
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.46781
  Prefactor  = 0.0001
  Prefactor  = 3.45838
  Prefactor  = 14.3264
  Normalizat = 1.39298
  Prefactor  = 1.01277
 **********
 **   18 **HESSE 
 **********

 FCN=   5631.723     FROM HESSE     STATUS=OK           503 CALLS     4059 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10106E-03    126.38        .21826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.8636        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.7005        .19078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    71.143        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.7584        .24330E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.1997        1.7338        .44947E-05   -1.5489    
   7  Prefactor     .10000E-03    1.8947        .20085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10047E-03    14.962        .75308E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.4337        14.552        .52190E-05   -1.5094    
  10  Prefactor     .10000E-03    10.685        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.1487        56.760        .70843E-05   -1.5254    
  12  norm          14.964        9.9191        .41407E-05   -1.4934    
  13  Prefactor     .84934        7.2665        .10447E-03   -1.5524    
  14  Prefactor     .10000E-03    6.4779        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.3190        113.06        .10740E-04   -1.5403    
  16  Prefactor     .10000E-03    19.021        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.8912        6.0701        .53760E-05   -1.5112    
  18  Prefactor     .10000E-03    40.548        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.687        16.851        .43302E-05   -1.4968    
  20  Prefactor     .10000E-03    22.396        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    32.211        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    32.819        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          8.4678        3.9809        .39838E-05   -1.5126    
  24  Prefactor     .10000E-03    3.3777        .26801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.4584        2.2161        .34621E-05   -1.5336    
  26  Prefactor     14.326        16.170        .42329E-05   -1.4951    
  27  Normalizat    1.3930        .32138        .62138E-04   -.80832    
  28  Prefactor     1.0128        .19220        .45235E-04   -.92305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01892e-08
Minuit parameter uncertainties:
  1  0.0232351
  2  7.62183e-06
  3  8.69643e-07
  4  0.000457015
  5  3.58933e-07
  6  1.73386
  7  4.92823e-06
  8  0.00528593
  9  14.5576
  10  1.04697e-05
  11  34.2311
  12  9.92021
  13  4.96912
  14  1.82731e-05
  15  32.4482
  16  7.8654e-05
  17  6.07049
  18  0.00057334
  19  16.857
  20  4.90732e-05
  21  8.49592e-05
  22  0.000103093
  23  3.98099
  24  5.32703e-06
  25  2.21617
  26  16.1745
  27  0.321848
  28  0.192331
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  1.827e-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.013e+00  1.923e-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.393e+00  3.218e-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: 8.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/145321/likelihoodResults_510969601_511228801_4FGL_J1153.3-1104_daily_bin1048.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) = 5631.72420963
delta logL = -0.000733210883482

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5631.72347639
delta logL = 2.93730408885e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3205       1.0000          .0000       10.000    
     3 'Normalizat'    1.3930       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0128       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=   5631.723     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      239 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10220E-03    111.60        .18142E-02** at limit **
   2  Index         2.2272        5.5801        .50000        .16200E-04
   3  Normalizat    1.3930        .26733E-01    .31069E-03    .60961E-04
   4  Prefactor     1.0128        .17031E-01    .22617E-03    .90025E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102196
  Index      = 2.22715
  Normalizat = 1.39298
  Prefactor  = 1.01277
 **********
 **   18 **HESSE 
 **********

 FCN=   5631.723     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10220E-03    445.65        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2272        8.5514        .50000       -.58785    
   3  Normalizat    1.3930        .57157E-01    .12428E-04   -.80832    
   4  Prefactor     1.0128        .36412E-01    .90470E-05   -.92305    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.78591e-08
Minuit parameter uncertainties:
  1  0.0630349
  2  1169.6
  3  0.0571598
  4  0.0364125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145321': 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) = 5631.72347611
delta logL = 3.18637830787e-07

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.022e-04  6.303e-02  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.227e+00  1.170e+03  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.013e+00  3.641e-02  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.393e+00  5.716e-02  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/145321/cmap_HighResolution_510969601_511228801_4FGL_J1153.3-1104_daily_bin1048.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-03', job_status='DONE', photon_flux_upper_limit='8.28e-08', time_completed='2021-09-04 15:06:06.425196', job_id='145321', GAL2='1.01', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1630793166.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1048' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:06:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 145321: <4FGL_J1153.3-1104_daily_bin1048> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1048 178.348 -11.075 510969601 511228801 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 :                                   795.12 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             312.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            891 sec.

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

