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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1087
RA = 178.348, Dec = -11.075
tmin = 521078401, tmax = 521337601
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='145390', job_status='RUN', time_executed='2021-09-04 14:53:03.695956', time_epoch_executed='1630792383.7' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1087'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145390

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145390/ft1_4FGL_J1153.3-1104_daily_bin1087.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145390/ft2_4FGL_J1153.3-1104_daily_bin1087.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145390/ft1_4FGL_J1153.3-1104_daily_bin1087.fits outfile=/scratch/kocevski/145390/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1087.fits ra=178.348 dec=-11.075 rad=12.0 tmin=521078401.0 tmax=521337601.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.60
user 4.39
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145390/ft1_filtered_4FGL_J1153.3-1104_daily_bin1087.fits" evtable="EVENTS" scfile=/scratch/kocevski/145390/ft2_4FGL_J1153.3-1104_daily_bin1087.fits sctable="SC_DATA" outfile=/scratch/kocevski/145390/ltcube_521078401_521337601_4FGL_J1153.3-1104_daily_bin1087.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/145390/ft2_4FGL_J1153.3-1104_daily_bin1087.fits
.....................!
real 12.55
user 12.19
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145390/ft1_filtered_4FGL_J1153.3-1104_daily_bin1087.fits evtable="EVENTS" scfile=/scratch/kocevski/145390/ft2_4FGL_J1153.3-1104_daily_bin1087.fits sctable="SC_DATA" expcube=/scratch/kocevski/145390/ltcube_521078401_521337601_4FGL_J1153.3-1104_daily_bin1087.fits outfile=/scratch/kocevski/145390/expmap_521078401_521337601_4FGL_J1153.3-1104_daily_bin1087.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/145390/ltcube_521078401_521337601_4FGL_J1153.3-1104_daily_bin1087.fits
.....................!
real 191.57
user 186.88
sys 4.14

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/145390/ft1_filtered_4FGL_J1153.3-1104_daily_bin1087.fits scfile=/scratch/kocevski/145390/ft2_4FGL_J1153.3-1104_daily_bin1087.fits outfile=/scratch/kocevski/145390/cmap_521078401_521337601_4FGL_J1153.3-1104_daily_bin1087.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145390/ft1_filtered_4FGL_J1153.3-1104_daily_bin1087.fits scfile=/scratch/kocevski/145390/ft2_4FGL_J1153.3-1104_daily_bin1087.fits outfile=/scratch/kocevski/145390/cmap_HighResolution_521078401_521337601_4FGL_J1153.3-1104_daily_bin1087.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145390/ft1_filtered_4FGL_J1153.3-1104_daily_bin1087.fits evtable="EVENTS" scfile=/scratch/kocevski/145390/ft2_4FGL_J1153.3-1104_daily_bin1087.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145390/Model_4FGL_J1153.3-1104_daily_bin1087.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/145390/ft1_filtered_4FGL_J1153.3-1104_daily_bin1087.fits.....................!
real 52.67
user 51.31
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.109       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .78581       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.249       1.0000         .10000E-03   10000.    
     9 'norm      '    18.598       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.451       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9217       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7879       1.0000         .10000E-03   10000.    
    17 'norm      '    .13032E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.5417       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.5513       1.0000         .10000E-03   10000.    
    20 'Prefactor '    56.992       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.8082       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10693E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.9599       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.5836       1.0000         .10000E-03   10000.    
    26 'Prefactor '    22.525       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.6312       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .84587       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=   5414.124     FROM MIGRAD    STATUS=CONVERGED    680 CALLS     3542 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.109        17.041       -.92834E-07    .12965E-04
   2  Prefactor     .10000E-03    4.8099        .21117E-07** at limit **
   3  Prefactor     .10000E-03    1.8222        .11695E-07** at limit **
   4  Prefactor     .10000E-03    28.267       -.30618E-07** at limit **
   5  norm          .10000E-03    3.3464        .15756E-07** at limit **
   6  norm          .78461        1.6392        .19179E-06   -.40342E-03
   7  Prefactor     .10000E-03    6.5468        .11298E-06** at limit **
   8  Prefactor     10.254        15.654       -.12597E-06   -.96647E-05
   9  norm          18.602        30.214       -.28863E-07    .60450E-05
  10  Prefactor     .10000E-03    30.083        .49861E-07** at limit **
  11  Prefactor     .10000E-03    26.662        .21605E-07** at limit **
  12  norm          .10000E-03    4.9131        .20152E-06** at limit **
  13  Prefactor     .10000E-03    2.8690        .23457E-06** at limit **
  14  Prefactor     43.450        29.472       -.68532E-07   -.29002E-05
  15  Prefactor     6.9231        32.568       -.67413E-07    .77538E-06
  16  Prefactor     2.7970        49.473        .82457E-05    .27646E-04
  17  norm          .10001E-03    7.4770       -.19502E-05** at limit **
  18  Prefactor     6.6170        135.10       -.28370E-05    .46731E-04
  19  Prefactor     8.5638        23.102        .71773E-06   -.11620E-03
  20  Prefactor     56.986        56.785        .25179E-06   -.35845E-04
  21  Prefactor     5.8076        13.707        .12539E-07   -.51386E-05
  22  Prefactor     .10000E-03    171.66       -.50052E-06** at limit **
  23  norm          3.9599        2.9651       -.91835E-07    .26621E-03
  24  Prefactor     .10000E-03    2.0370        .56131E-08** at limit **
  25  Prefactor     5.5837        2.4310       -.15409E-08    .44018E-04
  26  Prefactor     22.527        15.792       -.23210E-07    .10697E-04
  27  Normalizat    1.6310        .29405        .96254E-06   -.86429E-04
  28  Prefactor     .84601        .16969       -.72492E-06    .16727E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1089
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.784609
  Prefactor  = 0.0001
  Prefactor  = 10.2542
  norm       = 18.6023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.4496
  Prefactor  = 6.92309
  Prefactor  = 2.79699
  norm       = 0.000100013
  Prefactor  = 6.61696
  Prefactor  = 8.56384
  Prefactor  = 56.9855
  Prefactor  = 5.80762
  Prefactor  = 0.0001
  norm       = 3.95988
  Prefactor  = 0.0001
  Prefactor  = 5.5837
  Prefactor  = 22.5265
  Normalizat = 1.63101
  Prefactor  = 0.846008
 **********
 **   18 **HESSE 
 **********

 FCN=   5414.124     FROM HESSE     STATUS=OK           521 CALLS     4063 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.109        17.112        .11063E-03   -1.4984    
   2  Prefactor     .10000E-03    4.8119        .15756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.8274        .96990E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.3495        .13144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .78461        1.5732        .12715E-03   -1.5531    
   7  Prefactor     .10000E-03    6.6786        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.254        15.657        .12516E-03   -1.5067    
   9  norm          18.602        30.112        .92874E-04   -1.4845    
  10  Prefactor     .10000E-03    30.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    26.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.9498        .15902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.8732        .12116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     43.450        29.583        .60818E-04   -1.4389    
  15  Prefactor     6.9231        32.652        .15249E-03   -1.5182    
  16  Prefactor     2.7970        54.008        .24369E-03   -1.5373    
  17  norm          .10001E-03    30.639        .34907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.6170        129.53        .15691E-03   -1.5193    
  19  Prefactor     8.5638        23.009        .13708E-03   -1.5123    
  20  Prefactor     56.986        56.554        .53139E-04   -1.4197    
  21  Prefactor     5.8076        13.692        .16665E-03   -1.5226    
  22  Prefactor     .10000E-03    171.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9599        2.9609        .53184E-03   -1.5310    
  24  Prefactor     .10000E-03    2.0401        .10255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.5837        2.4331        .73451E-04   -1.5235    
  26  Prefactor     22.527        15.804        .84396E-04   -1.4758    
  27  Normalizat    1.6310        .34779        .30091E-03   -.74161    
  28  Prefactor     .84601        .19779        .24502E-03   -.98054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1368e-09
Minuit parameter uncertainties:
  1  17.1188
  2  3.73176e-06
  3  1.73268e-06
  4  2.90471e-05
  5  2.67118e-06
  6  1.5733
  7  2.96776e-05
  8  15.663
  9  30.1368
  10  4.49278e-05
  11  1.80536e-05
  12  3.20732e-05
  13  2.89197e-05
  14  29.5934
  15  30.0967
  16  24.6065
  17  0.00124921
  18  58.6991
  19  23.033
  20  56.6075
  21  13.6998
  22  0.000243834
  23  2.961
  24  6.09652e-07
  25  2.43315
  26  15.8072
  27  0.348304
  28  0.197954
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  8.460e-01  1.980e-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.631e+00  3.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.22
Ra Dec: 178.348 -11.075
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 7.47e-08
Energy Flux (Fixed Index): 3.93e-05 +/- 2.68e-05

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

Saving results to:
/scratch/kocevski/145390/likelihoodResults_521078401_521337601_4FGL_J1153.3-1104_daily_bin1087.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) = 5411.97911652
delta logL = 2.14479806307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5411.95863516
delta logL = 2.16527942303

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3457       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6623       1.0000          .0000       10.000    
     3 'Normalizat'    1.4298       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92779       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=   5411.959     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      284 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3527        54.440        .34692E-02    .19366E-03
   2  Index         3.6619        2.2852        .68643E-01    .17062E-03
   3  Normalizat    1.4296        .12803        .71560E-01    .49133E-05
   4  Prefactor     .92790        .73712E-01    .45358E-01    .70233E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.35267
  Index      = 3.66193
  Normalizat = 1.4296
  Prefactor  = 0.927901
 **********
 **   18 **HESSE 
 **********

 FCN=   5411.959     FROM HESSE     STATUS=OK            33 CALLS      317 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3527        27.227        .85555E-04   -1.5130    
   2  Index         3.6619        1.6058        .28505E-02   -.27092    
   3  Normalizat    1.4296        .34550        .31663E-03   -.79776    
   4  Prefactor     .92790        .20690        .23484E-03   -.95173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.4582e-11
Minuit parameter uncertainties:
  1  27.2671
  2  1.63716
  3  0.34607
  4  0.207073
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145390': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5411.95863474
delta logL = 2.16527984264

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  8.353e+00  2.727e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  3.662e+00  1.637e+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:  9.279e-01  2.071e-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.430e+00  3.461e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.03
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 3.66 +/- 1.64
Photon Flux (Free Index): 2.89e-07 +/- 1.44e-07
Energy Flux (Free Index): 4.62e-05 +/- 2.14e-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/145390/cmap_HighResolution_521078401_521337601_4FGL_J1153.3-1104_daily_bin1087.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.97e-02', comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='4.62e-05', photon_flux_error='7.47e-08', dlogl='2.17e+00', energy_flux='3.93e-05', photon_flux2='2.89e-07', job_status='DONE', time_completed='2021-09-04 15:06:13.723453', photon_index_error2='1.64', photon_index2='3.66', ts='3.22', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='2.57e-07', energy_flux_error2='2.14e-05', EG='1.63', time_epoch_completed='1630793173.72', return_code='0', job_id='145390', GAL2='0.93', EG2='1.43', return_code2='0', energy_flux_error='2.68e-05', photon_flux_error2='1.44e-07', ts2='8.03', photon_index='2.34' WHERE bin_id='1087' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:06:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 145390: <4FGL_J1153.3-1104_daily_bin1087> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1087 178.348 -11.075 521078401 521337601 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 :                                   786.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            894 sec.

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

