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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin622
RA = 178.348, Dec = -11.075
tmin = 400550401, tmax = 400809601
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='142139', job_status='RUN', time_executed='2021-09-04 14:43:50.553215', time_epoch_executed='1630791830.55' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='622'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/142139

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/142139/ft1_4FGL_J1153.3-1104_daily_bin622.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/142139/ft2_4FGL_J1153.3-1104_daily_bin622.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/142139/ft1_4FGL_J1153.3-1104_daily_bin622.fits outfile=/scratch/kocevski/142139/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin622.fits ra=178.348 dec=-11.075 rad=12.0 tmin=400550401.0 tmax=400809601.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.42
user 4.16
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/142139/ft1_filtered_4FGL_J1153.3-1104_daily_bin622.fits" evtable="EVENTS" scfile=/scratch/kocevski/142139/ft2_4FGL_J1153.3-1104_daily_bin622.fits sctable="SC_DATA" outfile=/scratch/kocevski/142139/ltcube_400550401_400809601_4FGL_J1153.3-1104_daily_bin622.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/142139/ft2_4FGL_J1153.3-1104_daily_bin622.fits
.....................!
real 12.34
user 11.97
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/142139/ft1_filtered_4FGL_J1153.3-1104_daily_bin622.fits evtable="EVENTS" scfile=/scratch/kocevski/142139/ft2_4FGL_J1153.3-1104_daily_bin622.fits sctable="SC_DATA" expcube=/scratch/kocevski/142139/ltcube_400550401_400809601_4FGL_J1153.3-1104_daily_bin622.fits outfile=/scratch/kocevski/142139/expmap_400550401_400809601_4FGL_J1153.3-1104_daily_bin622.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/142139/ltcube_400550401_400809601_4FGL_J1153.3-1104_daily_bin622.fits
.....................!
real 190.70
user 186.22
sys 4.00

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/142139/ft1_filtered_4FGL_J1153.3-1104_daily_bin622.fits scfile=/scratch/kocevski/142139/ft2_4FGL_J1153.3-1104_daily_bin622.fits outfile=/scratch/kocevski/142139/cmap_400550401_400809601_4FGL_J1153.3-1104_daily_bin622.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.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3139       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.9898       1.0000         .10000E-03   10000.    
     6 'norm      '    3.1087       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0655       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3893       1.0000         .10000E-03   10000.    
     9 'norm      '    12.468       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.003       1.0000         .10000E-03   10000.    
    12 'norm      '    12.706       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.726       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.4445       1.0000         .10000E-03   10000.    
    17 'norm      '    .42472E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.673       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.888       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.2423       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.7396       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.9759       1.0000         .10000E-03   10000.    
    26 'Prefactor '    18.622       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3098       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91363       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=   6045.946     FROM MIGRAD    STATUS=CONVERGED    688 CALLS     3513 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.050        .10198E-05** at limit **
   2  Prefactor     .10000E-03    8.3510        .29214E-06** at limit **
   3  Prefactor     1.3190        11.130        .87083E-05   -.39839E-03
   4  Prefactor     .10000E-03    89.744       -.60393E-06** at limit **
   5  norm          7.9604        19.797       -.37695E-05    .17680E-03
   6  norm          3.1090        1.3803       -.19791E-07   -.23880E-03
   7  Prefactor     3.0726        8.2543       -.12130E-05   -.51234E-03
   8  Prefactor     2.3824        16.248        .59994E-07    .51217E-04
   9  norm          12.449        24.921        .16846E-05    .12438E-03
  10  Prefactor     .10000E-03    11.846        .55442E-06** at limit **
  11  Prefactor     24.003        37.542       -.39423E-07   -.19736E-04
  12  norm          12.703        10.342       -.55710E-08    .16829E-04
  13  Prefactor     .10000E-03    4.2626        .19237E-06** at limit **
  14  Prefactor     15.725        17.906       -.30036E-07    .33808E-05
  15  Prefactor     .10000E-03    9.1303       -.42407E-06** at limit **
  16  Prefactor     6.4130        15.830        .34439E-05    .18603E-03
  17  norm          .10000E-03    3.9216        .20514E-05** at limit **
  18  Prefactor     .10000E-03    16.118       -.86911E-06** at limit **
  19  Prefactor     16.677        20.417       -.63180E-06   -.11342E-03
  20  Prefactor     .10000E-03    18.714        .85586E-06** at limit **
  21  Prefactor     14.840        30.750        .20180E-05    .23870E-03
  22  Prefactor     .10000E-03    94.475        .41961E-06** at limit **
  23  norm          4.2437        3.1591       -.18650E-06   -.51756E-03
  24  Prefactor     1.7343        17.598       -.41270E-07   -.46527E-04
  25  Prefactor     6.9764        3.3651        .17940E-07   -.12797E-03
  26  Prefactor     18.630        21.082       -.11627E-06   -.19314E-04
  27  Normalizat    1.3093        .26764        .28575E-05    .33113E-03
  28  Prefactor     .91394        .15367       -.19927E-05   -.15115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 1.319
  Prefactor  = 0.0001
  norm       = 7.96045
  norm       = 3.10897
  Prefactor  = 3.07264
  Prefactor  = 2.38236
  norm       = 12.4495
  Prefactor  = 0.000100001
  Prefactor  = 24.0026
  norm       = 12.7028
  Prefactor  = 0.0001
  Prefactor  = 15.7248
  Prefactor  = 0.0001
  Prefactor  = 6.413
  norm       = 0.000100004
  Prefactor  = 0.000100001
  Prefactor  = 16.6769
  Prefactor  = 0.000100001
  Prefactor  = 14.84
  Prefactor  = 0.0001
  norm       = 4.24374
  Prefactor  = 1.73428
  Prefactor  = 6.97641
  Prefactor  = 18.6305
  Normalizat = 1.30935
  Prefactor  = 0.913938
 **********
 **   18 **HESSE 
 **********

 FCN=   6045.946     FROM HESSE     STATUS=OK           523 CALLS     4036 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.3789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3190        13.597        .19220E-02   -1.5478    
   4  Prefactor     .10000E-03    89.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.9604        20.473        .14185E-03   -1.5144    
   6  norm          3.1090        1.3794        .58520E-04   -1.5355    
   7  Prefactor     3.0726        8.2814        .23169E-03   -1.5357    
   8  Prefactor     2.3824        16.217        .26497E-03   -1.5399    
   9  norm          12.449        25.025        .11345E-03   -1.5002    
  10  Prefactor     .10000E-03    11.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.003        37.460        .81760E-04   -1.4728    
  12  norm          12.703        10.322        .11237E-03   -1.4995    
  13  Prefactor     .10000E-03    4.3331        .31211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.725        17.925        .10100E-03   -1.4915    
  15  Prefactor     .10000E-03    9.1538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.4130        16.227        .15810E-03   -1.5201    
  17  norm          .10000E-03    11.828        .23878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.677        20.593        .98088E-04   -1.4891    
  20  Prefactor     .10000E-03    18.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     14.840        30.889        .10380E-03   -1.4937    
  22  Prefactor     .10000E-03    94.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.2437        3.1649        .11417E-03   -1.5296    
  24  Prefactor     1.7343        16.349        .31811E-03   -1.5445    
  25  Prefactor     6.9764        3.3054        .83669E-04   -1.5180    
  26  Prefactor     18.630        20.805        .92813E-04   -1.4844    
  27  Normalizat    1.3093        .32774        .31163E-03   -.83288    
  28  Prefactor     .91394        .18453        .22816E-03   -.95656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.46846e-09
Minuit parameter uncertainties:
  1  0.000724357
  2  7.84574e-05
  3  8.47213
  4  0.000191927
  5  20.4915
  6  1.37938
  7  8.28446
  8  12.436
  9  25.0465
  10  0.000178498
  11  37.4967
  12  10.3235
  13  4.75954e-05
  14  17.9316
  15  0.000122452
  16  16.2378
  17  0.000453943
  18  0.000229624
  19  20.6013
  20  0.000262807
  21  30.9226
  22  0.000432579
  23  3.16501
  24  10.6531
  25  3.30548
  26  20.8133
  27  0.328263
  28  0.184651
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.572e+01  1.793e+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.139e-01  1.847e-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.309e+00  3.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.16
Ra Dec: 178.348 -11.075
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 3.97e-08 +/- 4.53e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.62e-05

TS (Fixed Index): 1.16
Ra Dec: 178.348 -11.075
Photon Flux Upper Limit: 1.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/142139/likelihoodResults_400550401_400809601_4FGL_J1153.3-1104_daily_bin622.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) = 6044.31547826
delta logL = 1.63011665529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6044.03528714
delta logL = 1.9103077774

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34600E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    6.9544       1.0000          .0000       10.000    
     3 'Normalizat'    1.1039       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0119       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=   6044.035     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      328 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34538E-02    .27949E-01    .57512E-03    .14218E-01
   2  Index         6.9556        2.0901        .83802E-01    .19461E-03
   3  Normalizat    1.1040        .75533E-01    .75621E-01    .33352E-04
   4  Prefactor     1.0119        .47281E-01    .43058E-01    .26147E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00345382
  Index      = 6.95559
  Normalizat = 1.10399
  Prefactor  = 1.01192
 **********
 **   18 **HESSE 
 **********

 FCN=   6044.035     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      361 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34538E-02    .52100E-01    .24418E-05   -1.5696    
   2  Index         6.9556        2.9951        .34417E-02    .40185    
   3  Normalizat    1.1040        .26187        .33469E-03   -.89624    
   4  Prefactor     1.0119        .16079        .21821E-03   -.92333    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.76237e-10
Minuit parameter uncertainties:
  1  0.0264375
  2  3.26141
  3  0.262174
  4  0.160862
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/142139': 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) = 6044.03528465
delta logL = 1.91031026707

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  3.454e-03  2.644e-02  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  6.956e+00  3.261e+00  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  1.012e+00  1.609e-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.104e+00  2.622e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.48
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 6.96 +/- 3.26
Photon Flux (Free Index): 1.98e-07 +/- 1.07e-07
Energy Flux (Free Index): 2.37e-05 +/- 1.34e-05

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/142139/cmap_HighResolution_400550401_400809601_4FGL_J1153.3-1104_daily_bin622.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', photon_flux='3.97e-08', energy_flux2='2.37e-05', photon_flux_error='4.53e-08', dlogl='1.91e+00', energy_flux='1.42e-05', photon_flux2='1.98e-07', job_status='DONE', time_completed='2021-09-04 14:57:40.147021', photon_index_error2='3.26', photon_index2='6.96', ts='1.16', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.48e-07', energy_flux_error2='1.34e-05', EG='1.31', time_epoch_completed='1630792660.15', return_code='0', job_id='142139', GAL2='1.01', EG2='1.10', return_code2='102', energy_flux_error='1.62e-05', photon_flux_error2='1.07e-07', ts2='5.48', photon_index='2.34' WHERE bin_id='622' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 14:57:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 142139: <4FGL_J1153.3-1104_daily_bin622> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin622> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 14:41:07 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:41:09 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:41:09 2021
Terminated at Sat Sep  4 14:57:40 2021
Results reported at Sat Sep  4 14:57:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin622 178.348 -11.075 400550401 400809601 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 :                                   829.11 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             288.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            993 sec.

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

