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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin1048
RA = 152.825, Dec = -4.4577
tmin = 510969601, tmax = 511228801
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='712926', job_status='RUN', time_executed='2021-09-01 12:54:12.212036', time_epoch_executed='1630526052.21' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='1048'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712926

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712926/ft1_4FGL_J1011.3-0427_daily_bin1048.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712926/ft1_4FGL_J1011.3-0427_daily_bin1048.fits outfile=/scratch/kocevski/712926/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1048.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=510969601.0 tmax=511228801.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.46
user 3.24
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.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/712926/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1048.fits evtable="EVENTS" outfile="/scratch/kocevski/712926/ft1_filtered_4FGL_J1011.3-0427_daily_bin1048.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712926/ft1_filtered_4FGL_J1011.3-0427_daily_bin1048.fits" evtable="EVENTS" scfile=/scratch/kocevski/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.fits sctable="SC_DATA" outfile=/scratch/kocevski/712926/ltcube_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.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/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.fits
.....................!
real 12.20
user 11.83
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712926/ft1_filtered_4FGL_J1011.3-0427_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.fits sctable="SC_DATA" expcube=/scratch/kocevski/712926/ltcube_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.fits outfile=/scratch/kocevski/712926/expmap_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.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/712926/ltcube_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.fits
.....................!
real 195.12
user 187.91
sys 6.50

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J1011.3-0427 @ 152.825 -4.4577

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/712926/ft1_filtered_4FGL_J1011.3-0427_daily_bin1048.fits scfile=/scratch/kocevski/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.fits outfile=/scratch/kocevski/712926/cmap_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.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=152.825 yref=-4.4577 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.74
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712926/ft1_filtered_4FGL_J1011.3-0427_daily_bin1048.fits scfile=/scratch/kocevski/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.fits outfile=/scratch/kocevski/712926/cmap_HighResolution_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.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=152.825 yref=-4.4577 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/712926/ft1_filtered_4FGL_J1011.3-0427_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/712926/Model_4FGL_J1011.3-0427_daily_bin1048.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/712926/ft1_filtered_4FGL_J1011.3-0427_daily_bin1048.fits.....................!
real 54.45
user 49.76
sys 2.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/712926/ft1_filtered_4FGL_J1011.3-0427_daily_bin1048.fits', '/scratch/kocevski/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.fits', expMap='/scratch/kocevski/712926/expmap_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.fits', expCube='/scratch/kocevski/712926/ltcube_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/712926/Model_4FGL_J1011.3-0427_daily_bin1048.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1011.3-0427'

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  3.183e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.558e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
232        Scale:  7.806e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/712926/ft1_filtered_4FGL_J1011.3-0427_daily_bin1048.fits
Spacecraft file(s): /scratch/kocevski/712926/ft2_4FGL_J1011.3-0427_daily_bin1048.fits
Exposure map: /scratch/kocevski/712926/expmap_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.fits
Exposure cube: /scratch/kocevski/712926/ltcube_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/712926/Model_4FGL_J1011.3-0427_daily_bin1048.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) = 4726.73718029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.029       1.0000         .10000E-03   10000.    
     3 'Prefactor '    68.025       1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .71434       1.0000         .10000E-03   10000.    
     7 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.2602       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10549E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.402       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.177       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.7215       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.3288       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .69803       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0467       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4726.731     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     2040 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    73.157        .14472E-05** at limit **
   2  Prefactor     18.025        18.540       -.15307E-07   -.53033E-04
   3  Prefactor     68.024        37.058        .45105E-07   -.28125E-04
   4  norm          .10000E-03    4.9808        .10421E-06** at limit **
   5  norm          .10000E-03    1.3402        .42368E-07** at limit **
   6  norm          .71390        .69724       -.93620E-09   -.60495E-03
   7  norm          .10000E-03    2.0435       -.69965E-07** at limit **
   8  norm          6.2626        11.921        .42198E-06   -.24519E-05
   9  Prefactor     .10000E-03    4.1622       -.29045E-07** at limit **
  10  Prefactor     .10002E-03    40.801       -.51779E-05** at limit **
  11  Prefactor     18.372        41.332        .23410E-05    .38033E-04
  12  norm          .10000E-03    5.4553       -.67469E-08** at limit **
  13  Prefactor     11.175        11.769       -.27335E-06   -.26686E-03
  14  Prefactor     .10000E-03    41.987       -.15362E-05** at limit **
  15  Prefactor     .10000E-03    38.713        .17898E-05** at limit **
  16  Prefactor     .10000E-03    10.573       -.29763E-06** at limit **
  17  norm          2.7214        1.5485       -.11990E-06   -.22353E-03
  18  Prefactor     1.3286        4.5544        .77464E-05   -.33331E-03
  19  Normalizat    .69825        .20975        .31337E-05    .12391E-03
  20  Prefactor     1.0465        .15076       -.31067E-05   -.39051E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 18.0252
  Prefactor  = 68.024
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.713902
  norm       = 0.0001
  norm       = 6.26256
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 18.372
  norm       = 0.0001
  Prefactor  = 11.1753
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.72141
  Prefactor  = 1.32858
  Normalizat = 0.698249
  Prefactor  = 1.04654
 **********
 **   18 **HESSE 
 **********

 FCN=   4726.731     FROM HESSE     STATUS=OK           291 CALLS     2331 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    73.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.025        18.516        .94327E-04   -1.4859    
   3  Prefactor     68.024        37.063        .48665E-04   -1.4057    
   4  norm          .10000E-03    4.9975        .14985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.3451        .77713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .71390        .66610        .52514E-03   -1.5539    
   7  norm          .10000E-03    4.3534        .18883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.2626        11.926        .16044E-03   -1.5207    
   9  Prefactor     .10000E-03    4.1645        .13698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    41.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.372        41.532        .93367E-04   -1.4850    
  12  norm          .10000E-03    5.4566        .15683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.175        11.779        .11983E-03   -1.5039    
  14  Prefactor     .10000E-03    41.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    38.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.7214        1.5460        .61937E-04   -1.5378    
  18  Prefactor     1.3286        4.6185        .13297E-02   -1.5477    
  19  Normalizat    .69825        .24340        .30221E-03   -1.0396    
  20  Prefactor     1.0465        .17488        .18859E-03   -.91194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87773e-09
Minuit parameter uncertainties:
  1  0.000388297
  2  18.5218
  3  37.0755
  4  2.4072e-05
  5  3.52077e-06
  6  0.666105
  7  9.23973e-06
  8  11.9309
  9  4.51626e-08
  10  0.00168816
  11  41.5976
  12  6.36981e-06
  13  11.7817
  14  2.10864e-05
  15  0.00023513
  16  6.11066e-05
  17  1.54605
  18  4.61978
  19  0.24378
  20  0.174978
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.837e+01  4.160e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.558e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
232        Scale:  7.806e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.047e+00  1.750e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  6.982e-01  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 152.825 -4.458
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712926/likelihoodResults_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.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) = 4725.54698386
delta logL = 1.18413113953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4725.53343034
delta logL = 1.19768466484

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4902       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4099       1.0000          .0000       10.000    
     3 'Normalizat'    .59146       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0950       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4725.533     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      267 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4833        63.935        .47502E-02    .25756E-03
   2  Index         4.4113        3.3811        .11638        .11303E-03
   3  Normalizat    .59136        .72181E-01    .73704E-01    .24741E-04
   4  Prefactor     1.0950        .53127E-01    .37779E-01   -.60487E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.48334
  Index      = 4.41127
  Normalizat = 0.591361
  Prefactor  = 1.09497
 **********
 **   18 **HESSE 
 **********

 FCN=   4725.533     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      300 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4833        104.02        .96119E-04   -1.5284    
   2  Index         4.4113        7.0500        .44893E-02   -.11802    
   3  Normalizat    .59136        .23146        .32629E-03   -1.0835    
   4  Prefactor     1.0950        .17161        .18472E-03   -.89628    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.47166e-10
Minuit parameter uncertainties:
  1  43.276
  2  5.45238
  3  0.231839
  4  0.171692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712926': 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) = 4725.53342844
delta logL = 1.19768656854

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  4.483e+00  4.328e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  4.411e+00  5.452e+00  0.000e+00  1.000e+01 (-1.000e+00)
232        Scale:  7.806e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.095e+00  1.717e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  5.914e-01  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.89
Ra Dec: 152.825 -4.458
Photon Index (Free Index): 4.41 +/- 5.45
Photon Flux (Free Index): 1.14e-07 +/- 8.18e-08
Energy Flux (Free Index): 1.61e-05 +/- 1.59e-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/712926/cmap_HighResolution_510969601_511228801_4FGL_J1011.3-0427_daily_bin1048.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', energy_flux2='1.61e-05', dlogl='1.20e+00', photon_flux2='1.14e-07', job_status='DONE', time_completed='2021-09-01 13:03:00.750337', photon_index_error2='5.45', photon_index2='4.41', ts='0.23', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='1.59e-05', EG='0.70', time_epoch_completed='1630526580.75', return_code='0', job_id='712926', GAL2='1.09', EG2='0.59', return_code2='102', photon_flux_error2='8.18e-08', ts2='2.89', photon_index='2.56' WHERE bin_id='1048' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:03:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 712926: <4FGL_J1011.3-0427_daily_bin1048> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin1048> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 12:50:27 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:50:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 12:50:28 2021
Terminated at Wed Sep  1 13:03:01 2021
Results reported at Wed Sep  1 13:03:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin1048 152.825 -4.4577 510969601 511228801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1011.3-0427 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   523.43 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             263.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            754 sec.

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

