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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1137
RA = 178.348, Dec = -11.075
tmin = 534038401, tmax = 534297601
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='145462', job_status='RUN', time_executed='2021-09-04 14:53:28.952787', time_epoch_executed='1630792408.95' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1137'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145462

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145462/ft1_4FGL_J1153.3-1104_daily_bin1137.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145462/ft2_4FGL_J1153.3-1104_daily_bin1137.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145462/ft1_4FGL_J1153.3-1104_daily_bin1137.fits outfile=/scratch/kocevski/145462/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1137.fits ra=178.348 dec=-11.075 rad=12.0 tmin=534038401.0 tmax=534297601.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.61
user 3.38
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145462/ft1_filtered_4FGL_J1153.3-1104_daily_bin1137.fits" evtable="EVENTS" scfile=/scratch/kocevski/145462/ft2_4FGL_J1153.3-1104_daily_bin1137.fits sctable="SC_DATA" outfile=/scratch/kocevski/145462/ltcube_534038401_534297601_4FGL_J1153.3-1104_daily_bin1137.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/145462/ft2_4FGL_J1153.3-1104_daily_bin1137.fits
.....................!
real 12.28
user 11.88
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145462/ft1_filtered_4FGL_J1153.3-1104_daily_bin1137.fits evtable="EVENTS" scfile=/scratch/kocevski/145462/ft2_4FGL_J1153.3-1104_daily_bin1137.fits sctable="SC_DATA" expcube=/scratch/kocevski/145462/ltcube_534038401_534297601_4FGL_J1153.3-1104_daily_bin1137.fits outfile=/scratch/kocevski/145462/expmap_534038401_534297601_4FGL_J1153.3-1104_daily_bin1137.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/145462/ltcube_534038401_534297601_4FGL_J1153.3-1104_daily_bin1137.fits
.....................!
real 190.07
user 185.28
sys 3.95

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/145462/ft1_filtered_4FGL_J1153.3-1104_daily_bin1137.fits scfile=/scratch/kocevski/145462/ft2_4FGL_J1153.3-1104_daily_bin1137.fits outfile=/scratch/kocevski/145462/cmap_534038401_534297601_4FGL_J1153.3-1104_daily_bin1137.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145462/ft1_filtered_4FGL_J1153.3-1104_daily_bin1137.fits scfile=/scratch/kocevski/145462/ft2_4FGL_J1153.3-1104_daily_bin1137.fits outfile=/scratch/kocevski/145462/cmap_HighResolution_534038401_534297601_4FGL_J1153.3-1104_daily_bin1137.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145462/ft1_filtered_4FGL_J1153.3-1104_daily_bin1137.fits evtable="EVENTS" scfile=/scratch/kocevski/145462/ft2_4FGL_J1153.3-1104_daily_bin1137.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145462/Model_4FGL_J1153.3-1104_daily_bin1137.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/145462/ft1_filtered_4FGL_J1153.3-1104_daily_bin1137.fits.....................!
real 56.28
user 54.93
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.4229       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4899       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.4757       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.4386       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11228E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.1799       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.0705       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.079       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.0629       1.0000         .10000E-03   10000.    
    23 'norm      '    .56873       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .41865       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.2220       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.2456       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0187       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1729       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=   6212.494     FROM MIGRAD    STATUS=CONVERGED    725 CALLS     3011 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.8431        .14850E-08** at limit **
   2  Prefactor     .10000E-03    7.4368       -.28194E-06** at limit **
   3  Prefactor     .10000E-03    3.1407       -.16703E-06** at limit **
   4  Prefactor     .10000E-03    24.856       -.18915E-06** at limit **
   5  norm          4.4207        8.5392        .11226E-06   -.16376E-04
   6  norm          2.4899        1.4532        .61101E-07    .76831E-04
   7  Prefactor     6.4651        7.0543        .30582E-06   -.60701E-04
   8  Prefactor     .10000E-03    2.6721       -.32885E-08** at limit **
   9  norm          6.4980        38.658       -.50694E-06   -.43055E-04
  10  Prefactor     .10000E-03    21.901       -.97462E-06** at limit **
  11  Prefactor     .10000E-03    9.2514       -.29532E-07** at limit **
  12  norm          .10000E-03    8.6203        .49178E-07** at limit **
  13  Prefactor     8.1784        4.6495        .54236E-07   -.37928E-04
  14  Prefactor     .10000E-03    23.954       -.36086E-06** at limit **
  15  Prefactor     .10000E-03    16.601        .12609E-06** at limit **
  16  Prefactor     .10000E-03    27.554       -.22321E-06** at limit **
  17  norm          5.0719        5.0975        .42051E-06    .41907E-03
  18  Prefactor     .10000E-03    31.988        .68309E-06** at limit **
  19  Prefactor     17.098        15.097        .43785E-06    .17341E-03
  20  Prefactor     .10000E-03    16.577        .28667E-06** at limit **
  21  Prefactor     .10000E-03    7.3590        .16886E-06** at limit **
  22  Prefactor     .70449        79.640       -.66129E-05    .20168E-03
  23  norm          .56825        1.4376        .12662E-05    .12123E-02
  24  Prefactor     .41921        4.8067       -.12910E-05    .33070E-03
  25  Prefactor     4.2216        2.2831       -.12943E-06    .64173E-04
  26  Prefactor     2.2455        21.283        .71905E-06    .52935E-04
  27  Normalizat    1.0183        .25371       -.28465E-05    .51364E-04
  28  Prefactor     1.1732        .15923        .10371E-05    .40799E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.42066
  norm       = 2.48992
  Prefactor  = 6.46513
  Prefactor  = 0.0001
  norm       = 6.49801
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.17842
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.07186
  Prefactor  = 0.0001
  Prefactor  = 17.0979
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.704488
  norm       = 0.568253
  Prefactor  = 0.419211
  Prefactor  = 4.22159
  Prefactor  = 2.24553
  Normalizat = 1.01827
  Prefactor  = 1.17321
 **********
 **   18 **HESSE 
 **********

 FCN=   6212.494     FROM HESSE     STATUS=OK           529 CALLS     3540 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.8975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.5376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.1783        .13617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    24.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.4207        8.4851        .19149E-03   -1.5287    
   6  norm          2.4899        1.4494        .69688E-04   -1.5392    
   7  Prefactor     6.4651        7.0014        .15771E-03   -1.5199    
   8  Prefactor     .10000E-03    2.6769        .12582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.4980        38.516        .15817E-03   -1.5198    
  10  Prefactor     .10000E-03    21.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.2541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    8.7909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.1784        4.6416        .12051E-03   -1.5136    
  14  Prefactor     .10000E-03    24.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.0719        5.0600        .16676E-03   -1.5258    
  18  Prefactor     .10000E-03    32.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.098        15.136        .96915E-04   -1.4881    
  20  Prefactor     .10000E-03    16.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.3726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .70449        62.690        .19748       -1.5540    
  23  norm          .56825        1.4748        .16981E-02   -1.5557    
  24  Prefactor     .41921        8.9007        .29649E-02   -1.5578    
  25  Prefactor     4.2216        2.2607        .82458E-04   -1.5297    
  26  Prefactor     2.2455        20.733        .27423E-03   -1.5408    
  27  Normalizat    1.0183        .28317        .33492E-03   -.92421    
  28  Prefactor     1.1732        .18051        .20706E-03   -.87160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74244e-09
Minuit parameter uncertainties:
  1  1.98874e-05
  2  3.56344e-05
  3  2.70402e-06
  4  8.08363e-05
  5  8.4874
  6  1.44939
  7  7.00233
  8  1.70058e-06
  9  31.6708
  10  1.20778e-05
  11  6.54116e-06
  12  5.14481e-06
  13  4.64178
  14  7.83158e-05
  15  3.16152e-05
  16  5.81243e-05
  17  5.06045
  18  0.000113324
  19  15.1398
  20  2.09877e-06
  21  3.04127e-05
  22  13.3047
  23  1.47491
  24  3.8635
  25  2.26079
  26  13.6523
  27  0.283593
  28  0.180606
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  7.832e-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.173e+00  1.806e-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.018e+00  2.836e-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: 9.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/145462/likelihoodResults_534038401_534297601_4FGL_J1153.3-1104_daily_bin1137.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) = 6212.49379846
delta logL = -0.00019606830574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6212.49360163
delta logL = 7.64970536693e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5955       1.0000          .0000       10.000    
     3 'Normalizat'    1.0183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1732       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=   6212.494     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      255 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .15352        .90712E-01** at limit **
   2  Index         2.6453        6.9371        .50000       -.10670E-04
   3  Normalizat    1.0183        .88288E-03    .75681E-01   -.41143E-03
   4  Prefactor     1.1732        .58368E-03    .35297E-01   -.30094E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.64526
  Normalizat = 1.01826
  Prefactor  = 1.17321
 **********
 **   18 **HESSE 
 **********

 FCN=   6212.494     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      286 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.003        .39978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6453        6.5204        .50000       -.49037    
   3  Normalizat    1.0183        .64486E-02    .33492E-03   -.92421    
   4  Prefactor     1.1732        .42707E-02    .20706E-03   -.87160    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.44635e-08
Minuit parameter uncertainties:
  1  0.000216816
  2  95.443
  3  0.00644865
  4  0.00427071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145462': 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) = 6212.49360149
delta logL = 9.05077286006e-07

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  2.168e-04  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.645e+00  9.544e+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:  1.173e+00  4.271e-03  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.018e+00  6.449e-03  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/145462/cmap_HighResolution_534038401_534297601_4FGL_J1153.3-1104_daily_bin1137.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-03', job_status='DONE', photon_flux_upper_limit='9.65e-08', time_completed='2021-09-04 15:06:54.713971', job_id='145462', GAL2='1.17', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1630793214.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='9.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1137' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:06:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 145462: <4FGL_J1153.3-1104_daily_bin1137> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1137 178.348 -11.075 534038401 534297601 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 :                                   802.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             270.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            930 sec.

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

