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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin673
RA = 152.825, Dec = -4.4577
tmin = 413769601, tmax = 414028801
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='711420', job_status='RUN', time_executed='2021-09-01 12:49:25.383780', time_epoch_executed='1630525765.38' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/711420

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/711420/ft1_4FGL_J1011.3-0427_daily_bin673.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/711420/ft2_4FGL_J1011.3-0427_daily_bin673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/711420/ft1_4FGL_J1011.3-0427_daily_bin673.fits outfile=/scratch/kocevski/711420/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin673.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=413769601.0 tmax=414028801.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 6.14
user 5.91
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/711420/ft1_filtered_4FGL_J1011.3-0427_daily_bin673.fits" evtable="EVENTS" scfile=/scratch/kocevski/711420/ft2_4FGL_J1011.3-0427_daily_bin673.fits sctable="SC_DATA" outfile=/scratch/kocevski/711420/ltcube_413769601_414028801_4FGL_J1011.3-0427_daily_bin673.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/711420/ft2_4FGL_J1011.3-0427_daily_bin673.fits
.....................!
real 13.43
user 13.02
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/711420/ft1_filtered_4FGL_J1011.3-0427_daily_bin673.fits evtable="EVENTS" scfile=/scratch/kocevski/711420/ft2_4FGL_J1011.3-0427_daily_bin673.fits sctable="SC_DATA" expcube=/scratch/kocevski/711420/ltcube_413769601_414028801_4FGL_J1011.3-0427_daily_bin673.fits outfile=/scratch/kocevski/711420/expmap_413769601_414028801_4FGL_J1011.3-0427_daily_bin673.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/711420/ltcube_413769601_414028801_4FGL_J1011.3-0427_daily_bin673.fits
.....................!
real 190.00
user 185.38
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 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/711420/ft1_filtered_4FGL_J1011.3-0427_daily_bin673.fits scfile=/scratch/kocevski/711420/ft2_4FGL_J1011.3-0427_daily_bin673.fits outfile=/scratch/kocevski/711420/cmap_413769601_414028801_4FGL_J1011.3-0427_daily_bin673.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/711420/ft1_filtered_4FGL_J1011.3-0427_daily_bin673.fits scfile=/scratch/kocevski/711420/ft2_4FGL_J1011.3-0427_daily_bin673.fits outfile=/scratch/kocevski/711420/cmap_HighResolution_413769601_414028801_4FGL_J1011.3-0427_daily_bin673.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/711420/ft1_filtered_4FGL_J1011.3-0427_daily_bin673.fits evtable="EVENTS" scfile=/scratch/kocevski/711420/ft2_4FGL_J1011.3-0427_daily_bin673.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/711420/Model_4FGL_J1011.3-0427_daily_bin673.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/711420/ft1_filtered_4FGL_J1011.3-0427_daily_bin673.fits.....................!
real 59.49
user 58.19
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11045E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.707       1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.194       1.0000         .10000E-03   10000.    
     4 'norm      '    18.707       1.0000         .10000E-03   10000.    
     5 'norm      '    1.6681       1.0000         .10000E-03   10000.    
     6 'norm      '    2.9832       1.0000         .10000E-03   10000.    
     7 'norm      '    .24806       1.0000         .10000E-03   10000.    
     8 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21788       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10548E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    19.456       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10386E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10574E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3745       1.0000         .10000E-03   10000.    
    17 'norm      '    3.0841       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .35315       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3977       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .77975       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=   5869.085     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2084 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.270       -.15545E-05** at limit **
   2  Prefactor     17.708        15.252        .11771E-06   -.58445E-05
   3  Prefactor     32.166        34.596        .77915E-06    .89913E-05
   4  norm          18.708        10.863        .36786E-06   -.29905E-04
   5  norm          1.6689        2.9797        .22208E-06   -.50599E-04
   6  norm          2.9833        .89226        .16458E-07   -.17506E-03
   7  norm          .24284        1.6904        .38242E-06   -.28337E-03
   8  norm          .10000E-03    4.3979       -.88287E-08** at limit **
   9  Prefactor     .14058        13.870        .40262E-06    .14157E-03
  10  Prefactor     .10000E-03    13.807        .16387E-07** at limit **
  11  Prefactor     .10000E-03    36.011        .11883E-05** at limit **
  12  norm          19.478        17.791       -.10362E-05    .59821E-04
  13  Prefactor     .10000E-03    4.1524       -.24265E-07** at limit **
  14  Prefactor     .10000E-03    23.987        .26682E-05** at limit **
  15  Prefactor     .10000E-03    32.096       -.26601E-05** at limit **
  16  Prefactor     5.3728        17.785       -.12076E-05   -.10546E-04
  17  norm          3.0840        1.7143        .76660E-08   -.25799E-03
  18  Prefactor     .35383        4.4424        .63838E-06   -.19286E-03
  19  Normalizat    1.3972        .21795       -.11384E-05   -.14870E-03
  20  Prefactor     .78002        .15276       -.19392E-06   -.17535E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 17.7077
  Prefactor  = 32.1656
  norm       = 18.708
  norm       = 1.66886
  norm       = 2.98335
  norm       = 0.242842
  norm       = 0.0001
  Prefactor  = 0.140578
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.4779
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.37282
  norm       = 3.08402
  Prefactor  = 0.353826
  Normalizat = 1.39721
  Prefactor  = 0.780023
 **********
 **   18 **HESSE 
 **********

 FCN=   5869.085     FROM HESSE     STATUS=OK           307 CALLS     2391 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.708        15.255        .95180E-04   -1.4866    
   3  Prefactor     32.166        34.634        .70620E-04   -1.4573    
   4  norm          18.708        10.860        .46301E-03   -1.4843    
   5  norm          1.6689        2.9401        .16944E-03   -1.5450    
   6  norm          2.9833        .89410        .37378E-04   -1.5363    
   7  norm          .24284        3.5325        .18545E-02   -1.5609    
   8  norm          .10000E-03    4.4328        .15689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .14058        23.312        .77613E-01   -1.5633    
  10  Prefactor     .10000E-03    13.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    36.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          19.478        19.807        .90804E-04   -1.4825    
  13  Prefactor     .10000E-03    4.1553        .15235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    31.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.3728        17.732        .17335E-03   -1.5244    
  17  norm          3.0840        1.7070        .70917E-04   -1.5357    
  18  Prefactor     .35383        29.833        .29327E-02   -1.5589    
  19  Normalizat    1.3972        .25848        .25919E-03   -.80709    
  20  Prefactor     .78002        .18053        .24307E-03   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97591e-08
Minuit parameter uncertainties:
  1  6.32157e-05
  2  15.2579
  3  34.6553
  4  10.8608
  5  2.94037
  6  0.894104
  7  1.85213
  8  2.44997e-06
  9  3.62073
  10  4.56735e-06
  11  9.71974e-05
  12  19.8138
  13  9.57113e-06
  14  0.000144248
  15  8.38855e-05
  16  17.7492
  17  1.70706
  18  6.50037
  19  0.25872
  20  0.180663
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.000e-04  9.720e-05  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:  7.800e-01  1.807e-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:  1.397e+00  2.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 152.825 -4.458
Photon Flux Upper Limit: 9.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/711420/likelihoodResults_413769601_414028801_4FGL_J1011.3-0427_daily_bin673.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): 102
logL (Free Index) = 5869.0853292
delta logL = -0.00013125535952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5869.08519807
delta logL = -1.28274223243e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4865       1.0000          .0000       10.000    
     3 'Normalizat'    1.3972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78003       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=   5869.085     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      236 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6811.0        .90712E-02** at limit **
   2  Index         2.5136        8.2561        .50000       -.74838E-05
   3  Normalizat    1.3972        .71256E-01    .58610E-01    .27894E-04
   4  Prefactor     .78002        .51751E-01    .43457E-01    .30694E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.51364
  Normalizat = 1.39721
  Prefactor  = 0.780023
 **********
 **   18 **HESSE 
 **********

 FCN=   5869.085     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    75.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5136        6.0115        .50000       -.52045    
   3  Normalizat    1.3972        .24276        .25919E-03   -.80709    
   4  Prefactor     .78002        .17679        .24307E-03   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0361e-11
Minuit parameter uncertainties:
  1  0.000703237
  2  6.49433
  3  0.242965
  4  0.176917
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/711420': 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) = 5869.08519802
delta logL = -7.74134605308e-08

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.000e-04  7.032e-04  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.514e+00  6.494e+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:  7.800e-01  1.769e-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:  1.397e+00  2.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/711420/cmap_HighResolution_413769601_414028801_4FGL_J1011.3-0427_daily_bin673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.30e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2021-09-01 12:59:11.974950', job_id='711420', GAL2='0.78', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1630526351.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='-7.74e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='673' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:59:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 711420: <4FGL_J1011.3-0427_daily_bin673> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin673> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  1 12:45:25 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:45: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:45:28 2021
Terminated at Wed Sep  1 12:59:12 2021
Results reported at Wed Sep  1 12:59:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin673 152.825 -4.4577 413769601 414028801 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 :                                   585.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            827 sec.

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

