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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1431
RA = 178.348, Dec = -11.075
tmin = 610243201, tmax = 610502401
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='147566', job_status='RUN', time_executed='2021-09-04 14:59:36.423589', time_epoch_executed='1630792776.42' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1431'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147566

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147566/ft1_4FGL_J1153.3-1104_daily_bin1431.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147566/ft2_4FGL_J1153.3-1104_daily_bin1431.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147566/ft1_4FGL_J1153.3-1104_daily_bin1431.fits outfile=/scratch/kocevski/147566/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1431.fits ra=178.348 dec=-11.075 rad=12.0 tmin=610243201.0 tmax=610502401.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.92
user 3.67
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147566/ft1_filtered_4FGL_J1153.3-1104_daily_bin1431.fits" evtable="EVENTS" scfile=/scratch/kocevski/147566/ft2_4FGL_J1153.3-1104_daily_bin1431.fits sctable="SC_DATA" outfile=/scratch/kocevski/147566/ltcube_610243201_610502401_4FGL_J1153.3-1104_daily_bin1431.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/147566/ft2_4FGL_J1153.3-1104_daily_bin1431.fits
.....................!
real 11.59
user 11.23
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147566/ft1_filtered_4FGL_J1153.3-1104_daily_bin1431.fits evtable="EVENTS" scfile=/scratch/kocevski/147566/ft2_4FGL_J1153.3-1104_daily_bin1431.fits sctable="SC_DATA" expcube=/scratch/kocevski/147566/ltcube_610243201_610502401_4FGL_J1153.3-1104_daily_bin1431.fits outfile=/scratch/kocevski/147566/expmap_610243201_610502401_4FGL_J1153.3-1104_daily_bin1431.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/147566/ltcube_610243201_610502401_4FGL_J1153.3-1104_daily_bin1431.fits
.....................!
real 192.24
user 187.37
sys 4.44

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/147566/ft1_filtered_4FGL_J1153.3-1104_daily_bin1431.fits scfile=/scratch/kocevski/147566/ft2_4FGL_J1153.3-1104_daily_bin1431.fits outfile=/scratch/kocevski/147566/cmap_610243201_610502401_4FGL_J1153.3-1104_daily_bin1431.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/147566/ft1_filtered_4FGL_J1153.3-1104_daily_bin1431.fits scfile=/scratch/kocevski/147566/ft2_4FGL_J1153.3-1104_daily_bin1431.fits outfile=/scratch/kocevski/147566/cmap_HighResolution_610243201_610502401_4FGL_J1153.3-1104_daily_bin1431.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/147566/ft1_filtered_4FGL_J1153.3-1104_daily_bin1431.fits evtable="EVENTS" scfile=/scratch/kocevski/147566/ft2_4FGL_J1153.3-1104_daily_bin1431.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/147566/Model_4FGL_J1153.3-1104_daily_bin1431.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/147566/ft1_filtered_4FGL_J1153.3-1104_daily_bin1431.fits.....................!
real 68.73
user 66.83
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16623E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11388E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0084       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.4497       1.0000         .10000E-03   10000.    
     5 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .60080       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .63983       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.346       1.0000         .10000E-03   10000.    
     9 'norm      '    .13491E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .42773E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15020E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    2.5739       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5872       1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.345       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18051E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.694       1.0000         .10000E-03   10000.    
    17 'norm      '    .92014       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.078       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.3569       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.416       1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.655       1.0000         .10000E-03   10000.    
    23 'norm      '    2.6360       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10369E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.5191       1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.6712       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1359       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91946       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=   8030.596     FROM MIGRAD    STATUS=CONVERGED    763 CALLS     2593 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10068E-03    9.4808       -.31569E-07** at limit **
   2  Prefactor     .10000E-03    3.4386        .41352E-08** at limit **
   3  Prefactor     6.0097        4.0755       -.10155E-06    .53833E-04
   4  Prefactor     5.7753        252.35       -.14721E-04    .57971E-04
   5  norm          .10000E-03    3.4925       -.57364E-07** at limit **
   6  norm          .60145        .86007        .75719E-07    .85528E-04
   7  Prefactor     .63760        2.3414        .11163E-05   -.19801E-03
   8  Prefactor     25.157        9.3017        .12689E-06   -.41133E-04
   9  norm          .10000E-03    6.9701       -.77240E-07** at limit **
  10  Prefactor     .10000E-03    7.9948       -.10398E-06** at limit **
  11  Prefactor     .10000E-03    99.651        .26177E-07** at limit **
  12  norm          2.5668        3.7113        .14786E-06   -.11389E-03
  13  Prefactor     2.5918        2.6968        .12755E-06   -.19500E-03
  14  Prefactor     26.370        14.078        .72732E-07   -.70119E-04
  15  Prefactor     .10000E-03    4.9152       -.79834E-09** at limit **
  16  Prefactor     37.727        15.068       -.96653E-06   -.26630E-03
  17  norm          .91744        2.2236        .22544E-05    .43299E-03
  18  Prefactor     .10000E-03    13.061        .43353E-06** at limit **
  19  Prefactor     22.285        15.441        .71414E-06   -.19472E-03
  20  Prefactor     .82026        313.22        .16161E-05    .33382E-05
  21  Prefactor     13.311        19.870        .20062E-06   -.65173E-06
  22  Prefactor     34.101        35.917        .22751E-06    .10866E-03
  23  norm          2.6362        2.5111        .80617E-07   -.83357E-04
  24  Prefactor     .10000E-03    6.5323       -.21176E-06** at limit **
  25  Prefactor     6.5201        2.2050        .98346E-08    .20150E-04
  26  Prefactor     7.5726        11.084        .29768E-06   -.29007E-04
  27  Normalizat    1.1359        .20761       -.89495E-06   -.58331E-04
  28  Prefactor     .91978        .12658       -.26065E-07   -.12163E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100685
  Prefactor  = 0.0001
  Prefactor  = 6.00975
  Prefactor  = 5.77526
  norm       = 0.0001
  norm       = 0.601448
  Prefactor  = 0.637596
  Prefactor  = 25.1573
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.56683
  Prefactor  = 2.59179
  Prefactor  = 26.3696
  Prefactor  = 0.0001
  Prefactor  = 37.727
  norm       = 0.917436
  Prefactor  = 0.0001
  Prefactor  = 22.2849
  Prefactor  = 0.82026
  Prefactor  = 13.3108
  Prefactor  = 34.1011
  norm       = 2.63617
  Prefactor  = 0.0001
  Prefactor  = 6.52011
  Prefactor  = 7.57259
  Normalizat = 1.13587
  Prefactor  = 0.919778
 **********
 **   18 **HESSE 
 **********

 FCN=   8030.596     FROM HESSE     STATUS=OK           531 CALLS     3124 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10068E-03    70.309        .48937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4471        .16224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0097        4.0623        .14343E-03   -1.5218    
   4  Prefactor     5.7753        215.15        .19089E-03   -1.5227    
   5  norm          .10000E-03    3.5111        .16347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .60145        .75522        .94382E-03   -1.5553    
   7  Prefactor     .63760        2.2565        .25071E-03   -1.5548    
   8  Prefactor     25.157        9.3110        .79568E-04   -1.4704    
   9  norm          .10000E-03    6.9735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.0099        .21233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    103.56        .40940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.5668        3.6897        .19937E-03   -1.5388    
  13  Prefactor     2.5918        2.6789        .14116E-03   -1.5386    
  14  Prefactor     26.370        14.068        .78049E-04   -1.4680    
  15  Prefactor     .10000E-03    4.9155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.727        14.961        .65281E-04   -1.4479    
  17  norm          .91744        2.1457        .21056E-02   -1.5516    
  18  Prefactor     .10000E-03    13.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.285        15.313        .85245E-04   -1.4763    
  20  Prefactor     .82026        303.89        .26696E-03   -1.5527    
  21  Prefactor     13.311        19.874        .10936E-03   -1.4978    
  22  Prefactor     34.101        35.831        .34537E-03   -1.4539    
  23  norm          2.6362        2.5059        .13396E-03   -1.5383    
  24  Prefactor     .10000E-03    6.6826        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.5201        2.2031        .74811E-04   -1.5197    
  26  Prefactor     7.5726        11.080        .14479E-03   -1.5158    
  27  Normalizat    1.1359        .24661        .30445E-03   -.88608    
  28  Prefactor     .91978        .15065        .21603E-03   -.95453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.92237e-09
Minuit parameter uncertainties:
  1  0.0138941
  2  7.9439e-06
  3  4.06251
  4  70.7746
  5  5.93587e-06
  6  0.75523
  7  2.25684
  8  9.31156
  9  2.39502e-06
  10  4.65347e-06
  11  0.000324688
  12  3.69006
  13  2.67902
  14  14.0695
  15  2.78866e-07
  16  14.9629
  17  2.14584
  18  5.33559e-05
  19  15.3153
  20  31.7381
  21  19.8836
  22  35.8535
  23  2.506
  24  2.34541e-05
  25  2.20316
  26  11.0828
  27  0.246857
  28  0.15072
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  2.637e+01  1.407e+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.198e-01  1.507e-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.136e+00  2.469e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.21
Ra Dec: 178.348 -11.075
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 6.66e-08 +/- 3.55e-08
Energy Flux (Fixed Index): 2.39e-05 +/- 1.27e-05

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) = 8029.35666091
delta logL = 1.23959113114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8029.26445584
delta logL = 1.33179619365

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.842       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6269       1.0000          .0000       10.000    
     3 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90763       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=   8029.264     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      211 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.842        22.872        .17480E-02    .11284E-02
   2  Index         1.6269        .39363        .20827       -.12256E-03
   3  Normalizat    1.1752        .19446        .67822E-01    .46215E-04
   4  Prefactor     .90764        .12558        .45102E-01    .75132E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.8423
  Index      = 1.62691
  Normalizat = 1.1752
  Prefactor  = 0.907644
 **********
 **   18 **HESSE 
 **********

 FCN=   8029.264     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.842        20.976        .69921E-04   -1.4561    
   2  Index         1.6269        .41790        .78995E-02   -.74045    
   3  Normalizat    1.1752        .22930        .30007E-03   -.87373    
   4  Prefactor     .90764        .14874        .21739E-03   -.95875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50739e-09
Minuit parameter uncertainties:
  1  20.9812
  2  0.418795
  3  0.229498
  4  0.148803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147566': 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) = 8029.26445584
delta logL = 1.33179619695

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  3.284e+01  2.098e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  1.627e+00  4.188e-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.076e-01  1.488e-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.175e+00  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.86
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 1.63 +/- 0.42
Photon Flux (Free Index): 2.98e-08 +/- 2.61e-08
Energy Flux (Free Index): 6.17e-05 +/- 5.84e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/147566/cmap_HighResolution_610243201_610502401_4FGL_J1153.3-1104_daily_bin1431.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.66e-08', energy_flux2='6.17e-05', photon_flux_error='3.55e-08', dlogl='1.33e+00', energy_flux='2.39e-05', photon_flux2='2.98e-08', job_status='DONE', time_completed='2021-09-04 15:12:23.984743', photon_index_error2='0.42', photon_index2='1.63', ts='9.21', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='5.84e-05', EG='1.14', time_epoch_completed='1630793543.98', return_code='0', job_id='147566', GAL2='0.91', EG2='1.18', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='2.61e-08', ts2='11.86', photon_index='2.34' WHERE bin_id='1431' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:12:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 147566: <4FGL_J1153.3-1104_daily_bin1431> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1431> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 14:56:46 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:56:48 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:56:48 2021
Terminated at Sat Sep  4 15:12:24 2021
Results reported at Sat Sep  4 15:12:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1431 178.348 -11.075 610243201 610502401 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 :                                   761.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            938 sec.

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

