/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 8 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 = 7428
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1011.3-0427_daily_bin429
RA = 152.825, Dec = -4.4577
tmin = 350524801, tmax = 350784001
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='710085', job_status='RUN', time_executed='2021-09-01 12:41:21.498750', time_epoch_executed='1630525281.5' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='429'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710085

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710085/ft1_4FGL_J1011.3-0427_daily_bin429.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710085/ft2_4FGL_J1011.3-0427_daily_bin429.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710085/ft1_4FGL_J1011.3-0427_daily_bin429.fits outfile=/scratch/kocevski/710085/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin429.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=350524801.0 tmax=350784001.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.49
user 3.15
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/710085/ft2_4FGL_J1011.3-0427_daily_bin429.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/710085/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin429.fits evtable="EVENTS" outfile="/scratch/kocevski/710085/ft1_filtered_4FGL_J1011.3-0427_daily_bin429.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/710085/ft1_filtered_4FGL_J1011.3-0427_daily_bin429.fits" evtable="EVENTS" scfile=/scratch/kocevski/710085/ft2_4FGL_J1011.3-0427_daily_bin429.fits sctable="SC_DATA" outfile=/scratch/kocevski/710085/ltcube_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.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/710085/ft2_4FGL_J1011.3-0427_daily_bin429.fits
.....................!
real 13.77
user 13.36
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710085/ft1_filtered_4FGL_J1011.3-0427_daily_bin429.fits evtable="EVENTS" scfile=/scratch/kocevski/710085/ft2_4FGL_J1011.3-0427_daily_bin429.fits sctable="SC_DATA" expcube=/scratch/kocevski/710085/ltcube_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.fits outfile=/scratch/kocevski/710085/expmap_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.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/710085/ltcube_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.fits
.....................!
real 192.74
user 186.78
sys 5.36

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/710085/ft1_filtered_4FGL_J1011.3-0427_daily_bin429.fits scfile=/scratch/kocevski/710085/ft2_4FGL_J1011.3-0427_daily_bin429.fits outfile=/scratch/kocevski/710085/cmap_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.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.56
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/710085/ft1_filtered_4FGL_J1011.3-0427_daily_bin429.fits scfile=/scratch/kocevski/710085/ft2_4FGL_J1011.3-0427_daily_bin429.fits outfile=/scratch/kocevski/710085/cmap_HighResolution_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/710085/ft1_filtered_4FGL_J1011.3-0427_daily_bin429.fits evtable="EVENTS" scfile=/scratch/kocevski/710085/ft2_4FGL_J1011.3-0427_daily_bin429.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/710085/Model_4FGL_J1011.3-0427_daily_bin429.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/710085/ft1_filtered_4FGL_J1011.3-0427_daily_bin429.fits.....................!
real 51.57
user 50.17
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/710085/ft1_filtered_4FGL_J1011.3-0427_daily_bin429.fits', '/scratch/kocevski/710085/ft2_4FGL_J1011.3-0427_daily_bin429.fits', expMap='/scratch/kocevski/710085/expmap_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.fits', expCube='/scratch/kocevski/710085/ltcube_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/710085/Model_4FGL_J1011.3-0427_daily_bin429.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/710085/ft1_filtered_4FGL_J1011.3-0427_daily_bin429.fits
Spacecraft file(s): /scratch/kocevski/710085/ft2_4FGL_J1011.3-0427_daily_bin429.fits
Exposure map: /scratch/kocevski/710085/expmap_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.fits
Exposure cube: /scratch/kocevski/710085/ltcube_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/710085/Model_4FGL_J1011.3-0427_daily_bin429.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) = 4978.21395641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.1995       1.0000         .10000E-03   10000.    
     6 'norm      '    .69926       1.0000         .10000E-03   10000.    
     7 'norm      '    .11581E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    20.330       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7797       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5481       1.0000         .10000E-03   10000.    
    12 'norm      '    .10931E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0197       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.8059       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .81981       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1317       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=   4978.136     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     1791 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    105.45        .13535E-05** at limit **
   2  Prefactor     .10000E-03    31.681        .83535E-06** at limit **
   3  Prefactor     .10000E-03    16.277        .91536E-07** at limit **
   4  norm          .10000E-03    2.6978        .22280E-07** at limit **
   5  norm          4.1985        4.5561        .17762E-06    .15884E-04
   6  norm          .69923        .68338        .68159E-07    .67671E-04
   7  norm          .15773E-01    1.1259       -.21826E-06    .58040E-03
   8  norm          20.330        15.243        .13481E-06    .71276E-06
   9  Prefactor     4.7773        11.427        .40243E-06   -.18232E-05
  10  Prefactor     .10000E-03    27.941       -.16554E-05** at limit **
  11  Prefactor     6.4805        63.247       -.28412E-05   -.50136E-04
  12  norm          .10000E-03    13.678       -.87667E-07** at limit **
  13  Prefactor     .10000E-03    4.0793        .80747E-07** at limit **
  14  Prefactor     .10000E-03    22.575        .13396E-06** at limit **
  15  Prefactor     .10000E-03    15.648        .76543E-08** at limit **
  16  Prefactor     .10000E-03    5.4705        .48334E-07** at limit **
  17  norm          1.0198        1.2692       -.92392E-07   -.32583E-03
  18  Prefactor     8.8061        8.2884        .21951E-05   -.27749E-04
  19  Normalizat    .81988        .22598        .98068E-07   -.47560E-05
  20  Prefactor     1.1317        .16692       -.82948E-06    .48457E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.19854
  norm       = 0.699228
  norm       = 0.0157734
  norm       = 20.3298
  Prefactor  = 4.77727
  Prefactor  = 0.0001
  Prefactor  = 6.48047
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.01984
  Prefactor  = 8.80607
  Normalizat = 0.819877
  Prefactor  = 1.13166
 **********
 **   18 **HESSE 
 **********

 FCN=   4978.136     FROM HESSE     STATUS=OK           301 CALLS     2092 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    106.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    32.824        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.6992        .11318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.1985        4.5457        .15030E-03   -1.5298    
   6  norm          .69923        .65548        .54374E-03   -1.5541    
   7  norm          .15773E-01    1.9162        .27499E-01   -1.5683    
   8  norm          20.330        15.246        .88832E-04   -1.4806    
   9  Prefactor     4.7773        11.385        .18403E-03   -1.5271    
  10  Prefactor     .10000E-03    27.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.4805        64.957        .15683E-03   -1.5199    
  12  norm          .10000E-03    13.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.0897        .13915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.4726        .16118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0198        1.1621        .85254E-03   -1.5506    
  18  Prefactor     8.8061        8.3673        .67537E-03   -1.5114    
  19  Normalizat    .81988        .26383        .30433E-03   -.99336    
  20  Prefactor     1.1317        .19587        .19854E-03   -.88461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.67188e-10
Minuit parameter uncertainties:
  1  0.000248669
  2  3.82678e-05
  3  1.4242e-05
  4  9.61344e-07
  5  4.54606
  6  0.655489
  7  0.346617
  8  15.2486
  9  11.3897
  10  6.63139e-05
  11  41.0917
  12  8.14798e-06
  13  2.40598e-07
  14  3.645e-05
  15  1.98334e-05
  16  1.09693e-07
  17  1.16211
  18  8.36837
  19  0.264242
  20  0.195997
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  6.480e+00  4.109e+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.132e+00  1.960e-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:  8.199e-01  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/710085/likelihoodResults_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.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) = 4978.12346461
delta logL = 0.0129999897135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4978.12274641
delta logL = 0.0137181940154

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4750       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0233       1.0000          .0000       10.000    
     3 'Normalizat'    .81276       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1348       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=   4978.123     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      302 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5249        351.23        .42930E-02   -.55217E-04
   2  Index         3.0226        1.5372        .50000       -.23809E-04
   3  Normalizat    .81287        .20812E-01    .69052E-01   -.11646E-03
   4  Prefactor     1.1348        .15785E-01    .36393E-01    .17130E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.52493
  Index      = 3.02256
  Normalizat = 0.812872
  Prefactor  = 1.13479
 **********
 **   18 **HESSE 
 **********

 FCN=   4978.123     FROM HESSE     STATUS=OK            31 CALLS      333 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5249        59.108        .17172E-03   -1.5238    
   2  Index         3.0226        3.0500        .61745E-02   -.40660    
   3  Normalizat    .81287        .26114        .30553E-03   -.99593    
   4  Prefactor     1.1348        .19454        .19830E-03   -.88362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06019e-10
Minuit parameter uncertainties:
  1  36.1877
  2  3.33563
  3  0.261545
  4  0.19466
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710085': 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) = 4978.12274365
delta logL = 0.0137209492286

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  5.525e+00  3.619e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  3.023e+00  3.336e+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.135e+00  1.947e-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:  8.129e-01  2.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 152.825 -4.458

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/710085/cmap_HighResolution_350524801_350784001_4FGL_J1011.3-0427_daily_bin429.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-09-01 12:49:55.402714', job_id='710085', GAL2='1.13', fit_tolerance='1e-08', EG2='0.81', EG='0.82', time_epoch_completed='1630525795.4', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.37e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='429' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:49:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 710085: <4FGL_J1011.3-0427_daily_bin429> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin429> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 12:40:50 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:40:52 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:40:52 2021
Terminated at Wed Sep  1 12:49:56 2021
Results reported at Wed Sep  1 12:49:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin429 152.825 -4.4577 350524801 350784001 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 :                                   512.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   543 sec.
    Turnaround time :                            546 sec.

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

