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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1098
RA = 178.348, Dec = -11.075
tmin = 523929601, tmax = 524188801
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='145405', job_status='RUN', time_executed='2021-09-04 14:51:40.669282', time_epoch_executed='1630792300.67' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145405

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145405/ft1_4FGL_J1153.3-1104_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145405/ft2_4FGL_J1153.3-1104_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145405/ft1_4FGL_J1153.3-1104_daily_bin1098.fits outfile=/scratch/kocevski/145405/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1098.fits ra=178.348 dec=-11.075 rad=12.0 tmin=523929601.0 tmax=524188801.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.51
user 3.28
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145405/ft1_filtered_4FGL_J1153.3-1104_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/145405/ft2_4FGL_J1153.3-1104_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/145405/ltcube_523929601_524188801_4FGL_J1153.3-1104_daily_bin1098.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/145405/ft2_4FGL_J1153.3-1104_daily_bin1098.fits
.....................!
real 11.79
user 11.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145405/ft1_filtered_4FGL_J1153.3-1104_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/145405/ft2_4FGL_J1153.3-1104_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/145405/ltcube_523929601_524188801_4FGL_J1153.3-1104_daily_bin1098.fits outfile=/scratch/kocevski/145405/expmap_523929601_524188801_4FGL_J1153.3-1104_daily_bin1098.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/145405/ltcube_523929601_524188801_4FGL_J1153.3-1104_daily_bin1098.fits
.....................!
real 190.54
user 185.41
sys 4.78

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/145405/ft1_filtered_4FGL_J1153.3-1104_daily_bin1098.fits scfile=/scratch/kocevski/145405/ft2_4FGL_J1153.3-1104_daily_bin1098.fits outfile=/scratch/kocevski/145405/cmap_523929601_524188801_4FGL_J1153.3-1104_daily_bin1098.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145405/ft1_filtered_4FGL_J1153.3-1104_daily_bin1098.fits scfile=/scratch/kocevski/145405/ft2_4FGL_J1153.3-1104_daily_bin1098.fits outfile=/scratch/kocevski/145405/cmap_HighResolution_523929601_524188801_4FGL_J1153.3-1104_daily_bin1098.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145405/ft1_filtered_4FGL_J1153.3-1104_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/145405/ft2_4FGL_J1153.3-1104_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145405/Model_4FGL_J1153.3-1104_daily_bin1098.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/145405/ft1_filtered_4FGL_J1153.3-1104_daily_bin1098.fits.....................!
real 55.71
user 54.31
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7122       1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.826       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1060       1.0000         .10000E-03   10000.    
     4 'Prefactor '    54.839       1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20715E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.0424       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .32353       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4576       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .23331E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4296       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.940       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.270       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.4900       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.4431       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.5717       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1856       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91306       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=   6232.021     FROM MIGRAD    STATUS=CONVERGED    696 CALLS     3533 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7111        13.086       -.18900E-05   -.46592E-03
   2  Prefactor     34.829        15.732       -.16064E-06   -.17377E-03
   3  Prefactor     2.1075        4.9514       -.52152E-06   -.38260E-03
   4  Prefactor     54.855        61.998        .14992E-04    .18403E-05
   5  norm          .10000E-03    2.6038       -.14730E-06** at limit **
   6  norm          .10000E-03    .36180        .99351E-08** at limit **
   7  Prefactor     .10006E-03    2.3514        .12663E-05** at limit **
   8  Prefactor     .10000E-03    3.5112        .36820E-07** at limit **
   9  norm          .10000E-03    12.838        .38006E-05** at limit **
  10  Prefactor     .10000E-03    18.404        .53460E-05** at limit **
  11  Prefactor     .10000E-03    7.2385        .53831E-07** at limit **
  12  norm          2.0444        4.5489        .13528E-05   -.12759E-02
  13  Prefactor     .32259        2.8920       -.22815E-06   -.31824E-03
  14  Prefactor     4.4570        17.509        .84360E-06   -.18756E-04
  15  Prefactor     .10000E-03    45.935        .10940E-04** at limit **
  16  Prefactor     .10030E-03    19.137       -.19240E-05** at limit **
  17  norm          1.4295        5.0808       -.23228E-06    .48250E-03
  18  Prefactor     .10000E-03    41.129        .21567E-05** at limit **
  19  Prefactor     14.939        19.390        .41030E-06   -.21434E-04
  20  Prefactor     .10000E-03    20.141       -.82793E-05** at limit **
  21  Prefactor     .10000E-03    10.273       -.84118E-05** at limit **
  22  Prefactor     11.273        43.255        .44540E-05    .29653E-04
  23  norm          .10000E-03    1.0451        .13764E-06** at limit **
  24  Prefactor     3.4896        7.0296        .11034E-06   -.42135E-04
  25  Prefactor     4.4431        2.3409        .46153E-07   -.93629E-05
  26  Prefactor     2.5713        10.624        .17913E-06   -.21343E-04
  27  Normalizat    1.1856        .22508       -.30380E-06   -.15152E-03
  28  Prefactor     .91310        .13553       -.71846E-06   -.93853E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.71114
  Prefactor  = 34.8286
  Prefactor  = 2.10754
  Prefactor  = 54.8548
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100059
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.0444
  Prefactor  = 0.322589
  Prefactor  = 4.45701
  Prefactor  = 0.0001
  Prefactor  = 0.000100296
  norm       = 1.42946
  Prefactor  = 0.0001
  Prefactor  = 14.9385
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2728
  norm       = 0.0001
  Prefactor  = 3.48959
  Prefactor  = 4.44307
  Prefactor  = 2.57135
  Normalizat = 1.1856
  Prefactor  = 0.913096
 **********
 **   18 **HESSE 
 **********

 FCN=   6232.021     FROM HESSE     STATUS=OK           525 CALLS     4058 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7111        14.459        .12366E-02   -1.5379    
   2  Prefactor     34.829        15.692        .67906E-04   -1.4527    
   3  Prefactor     2.1075        4.8737        .25119E-03   -1.5418    
   4  Prefactor     54.855        62.197        .54166E-04   -1.4225    
   5  norm          .10000E-03    2.6058        .12436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .59255        .92206E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10006E-03    9.5412        .22549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.5262        .14443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    12.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.2396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.0444        13.132        .14467E-02   -1.5422    
  13  Prefactor     .32259        24.675        .22031E-02   -1.5594    
  14  Prefactor     4.4570        17.513        .19072E-03   -1.5286    
  15  Prefactor     .10000E-03    46.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10030E-03    61.431        .50572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4295        3.8987        .24453E-03   -1.5469    
  18  Prefactor     .10000E-03    41.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.939        19.478        .10362E-03   -1.4935    
  20  Prefactor     .10000E-03    20.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.273        43.168        .11933E-03   -1.5036    
  23  norm          .10000E-03    1.0612        .78808E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.4896        6.9923        .21644E-03   -1.5334    
  25  Prefactor     4.4431        2.3351        .81448E-04   -1.5286    
  26  Prefactor     2.5713        10.571        .25453E-03   -1.5387    
  27  Normalizat    1.1856        .26563        .29255E-03   -.87049    
  28  Prefactor     .91310        .16137        .20864E-03   -.95685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80708e-08
Minuit parameter uncertainties:
  1  12.5266
  2  15.6937
  3  4.87458
  4  62.2703
  5  2.84522e-06
  6  2.8366e-06
  7  0.00149475
  8  2.08409e-06
  9  1.60185e-05
  10  2.98961e-05
  11  1.76263e-07
  12  10.3659
  13  5.64417
  14  17.5329
  15  4.52949e-05
  16  0.00853673
  17  3.8994
  18  1.00844e-05
  19  19.4865
  20  4.21818e-05
  21  2.329e-05
  22  43.2878
  23  8.97559e-07
  24  6.99396
  25  2.33512
  26  10.4302
  27  0.265931
  28  0.161457
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  4.457e+00  1.753e+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:  9.131e-01  1.615e-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.186e+00  2.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/145405/likelihoodResults_523929601_524188801_4FGL_J1153.3-1104_daily_bin1098.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) = 6231.9385778
delta logL = 0.0826671290806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6231.91474013
delta logL = 0.106504798985

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1476       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3403       1.0000          .0000       10.000    
     3 'Normalizat'    1.1542       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92434       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=   6231.915     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      232 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1392        116.07        .70297E-02    .73806E-03
   2  Index         3.3432        3.9042        .16061        .89703E-04
   3  Normalizat    1.1542        .49242E-01    .66917E-01   -.26672E-04
   4  Prefactor     .92432        .30732E-01    .45314E-01   -.13802E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.13922
  Index      = 3.34323
  Normalizat = 1.15419
  Prefactor  = 0.924319
 **********
 **   18 **HESSE 
 **********

 FCN=   6231.915     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1392        339.67        .20537E-03   -1.5415    
   2  Index         3.3432        5.6066        .92650E-02   -.33774    
   3  Normalizat    1.1542        .24644        .29605E-03   -.88030    
   4  Prefactor     .92432        .15411        .20751E-03   -.95296    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23936e-06
Minuit parameter uncertainties:
  1  54.2266
  2  12.8081
  3  0.246689
  4  0.154185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145405': 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) = 6231.91473898
delta logL = 0.106505948858

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  2.139e+00  5.423e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  3.343e+00  1.281e+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:  9.243e-01  1.542e-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.154e+00  2.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/145405/cmap_HighResolution_523929601_524188801_4FGL_J1153.3-1104_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.13e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-04 15:05:37.631137', job_id='145405', GAL2='0.92', fit_tolerance='1e-08', EG2='1.15', EG='1.19', time_epoch_completed='1630793137.63', return_code2='102', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.07e-01', ts2='0.31', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1098' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:05:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 145405: <4FGL_J1153.3-1104_daily_bin1098> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1098> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 14:51:21 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:51:22 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:22 2021
Terminated at Sat Sep  4 15:05:38 2021
Results reported at Sat Sep  4 15:05:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1098 178.348 -11.075 523929601 524188801 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 :                                   833.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            857 sec.

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

