/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 199 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 = 7427
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1011.3-0427_daily_bin125
RA = 152.825, Dec = -4.4577
tmin = 271728001, tmax = 271987201
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='708453', job_status='RUN', time_executed='2021-09-01 12:39:21.844394', time_epoch_executed='1630525161.84' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='125'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708453

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708453/ft1_4FGL_J1011.3-0427_daily_bin125.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708453/ft2_4FGL_J1011.3-0427_daily_bin125.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708453/ft1_4FGL_J1011.3-0427_daily_bin125.fits outfile=/scratch/kocevski/708453/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin125.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=271728001.0 tmax=271987201.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.12
user 2.92
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/708453/ft2_4FGL_J1011.3-0427_daily_bin125.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/708453/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin125.fits evtable="EVENTS" outfile="/scratch/kocevski/708453/ft1_filtered_4FGL_J1011.3-0427_daily_bin125.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/708453/ft1_filtered_4FGL_J1011.3-0427_daily_bin125.fits" evtable="EVENTS" scfile=/scratch/kocevski/708453/ft2_4FGL_J1011.3-0427_daily_bin125.fits sctable="SC_DATA" outfile=/scratch/kocevski/708453/ltcube_271728001_271987201_4FGL_J1011.3-0427_daily_bin125.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/708453/ft2_4FGL_J1011.3-0427_daily_bin125.fits
.....................!
real 11.95
user 11.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708453/ft1_filtered_4FGL_J1011.3-0427_daily_bin125.fits evtable="EVENTS" scfile=/scratch/kocevski/708453/ft2_4FGL_J1011.3-0427_daily_bin125.fits sctable="SC_DATA" expcube=/scratch/kocevski/708453/ltcube_271728001_271987201_4FGL_J1011.3-0427_daily_bin125.fits outfile=/scratch/kocevski/708453/expmap_271728001_271987201_4FGL_J1011.3-0427_daily_bin125.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/708453/ltcube_271728001_271987201_4FGL_J1011.3-0427_daily_bin125.fits
.....................!
real 189.46
user 184.92
sys 4.15

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/708453/ft1_filtered_4FGL_J1011.3-0427_daily_bin125.fits scfile=/scratch/kocevski/708453/ft2_4FGL_J1011.3-0427_daily_bin125.fits outfile=/scratch/kocevski/708453/cmap_271728001_271987201_4FGL_J1011.3-0427_daily_bin125.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708453/ft1_filtered_4FGL_J1011.3-0427_daily_bin125.fits scfile=/scratch/kocevski/708453/ft2_4FGL_J1011.3-0427_daily_bin125.fits outfile=/scratch/kocevski/708453/cmap_HighResolution_271728001_271987201_4FGL_J1011.3-0427_daily_bin125.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/708453/ft1_filtered_4FGL_J1011.3-0427_daily_bin125.fits evtable="EVENTS" scfile=/scratch/kocevski/708453/ft2_4FGL_J1011.3-0427_daily_bin125.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/708453/Model_4FGL_J1011.3-0427_daily_bin125.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/708453/ft1_filtered_4FGL_J1011.3-0427_daily_bin125.fits.....................!
real 74.72
user 73.30
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    43.218       1.0000         .10000E-03   10000.    
     3 'Prefactor '    94.416       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.3658       1.0000         .10000E-03   10000.    
     6 'norm      '    1.6518       1.0000         .10000E-03   10000.    
     7 'norm      '    2.1254       1.0000         .10000E-03   10000.    
     8 'norm      '    4.8425       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.457       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    42.981       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.118       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .33283E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.1933       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.5016       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .76480       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=   7500.895     FROM MIGRAD    STATUS=CONVERGED    398 CALLS     2040 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.917       -.25090E-07** at limit **
   2  Prefactor     43.210        21.050       -.61106E-06   -.20740E-03
   3  Prefactor     94.414        44.352       -.28121E-06   -.42643E-04
   4  norm          .10000E-03    2.9503       -.45676E-07** at limit **
   5  norm          2.3658        2.7033        .85735E-07   -.13478E-04
   6  norm          1.6517        .71853        .38873E-07    .37871E-04
   7  norm          2.1254        1.6547        .16891E-07   -.31293E-04
   8  norm          4.8427        7.9293        .42077E-05   -.15942E-03
   9  Prefactor     16.458        11.131        .22749E-07    .21971E-04
  10  Prefactor     .10000E-03    18.214        .76267E-06** at limit **
  11  Prefactor     .10000E-03    15.157       -.50908E-06** at limit **
  12  norm          .10000E-03    5.5821       -.17263E-08** at limit **
  13  Prefactor     42.988        14.209       -.95772E-06    .56902E-03
  14  Prefactor     43.113        72.839       -.21737E-05    .22444E-04
  15  Prefactor     .10007E-03    230.35       -.22540E-04** at limit **
  16  Prefactor     .10000E-03    6.6408        .15115E-06** at limit **
  17  norm          1.1933        1.4231        .19638E-06    .10162E-03
  18  Prefactor     .10000E-03    3.1811        .44473E-07** at limit **
  19  Normalizat    1.5015        .20435        .14517E-06   -.15480E-04
  20  Prefactor     .76482        .14426       -.79336E-06    .38092E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 43.2102
  Prefactor  = 94.4136
  norm       = 0.0001
  norm       = 2.36575
  norm       = 1.65174
  norm       = 2.12541
  norm       = 4.84274
  Prefactor  = 16.4579
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 42.9884
  Prefactor  = 43.1131
  Prefactor  = 0.000100072
  Prefactor  = 0.0001
  norm       = 1.19326
  Prefactor  = 0.0001
  Normalizat = 1.50154
  Prefactor  = 0.764823
 **********
 **   18 **HESSE 
 **********

 FCN=   7500.895     FROM HESSE     STATUS=OK           287 CALLS     2327 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     43.210        21.160        .60981E-04   -1.4392    
   3  Prefactor     94.414        44.401        .41362E-04   -1.3762    
   4  norm          .10000E-03    2.9622        .14528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.3658        2.6947        .14748E-03   -1.5400    
   6  norm          1.6517        .71290        .45496E-04   -1.5451    
   7  norm          2.1254        1.6557        .95135E-04   -1.5416    
   8  norm          4.8427        8.1278        .91402E-03   -1.5268    
   9  Prefactor     16.458        11.130        .98729E-04   -1.4896    
  10  Prefactor     .10000E-03    18.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.5844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     42.988        14.132        .30574E-03   -1.4396    
  14  Prefactor     43.113        72.807        .61052E-04   -1.4394    
  15  Prefactor     .10007E-03    249.30        .21345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.6465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1933        1.3987        .10716E-03   -1.5489    
  18  Prefactor     .10000E-03    3.2058        .15078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.5015        .24264        .26670E-03   -.77735    
  20  Prefactor     .76482        .17058        .25737E-03   -1.0104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45109e-10
Minuit parameter uncertainties:
  1  8.35382e-06
  2  21.1635
  3  44.4171
  4  3.35321e-06
  5  2.69482
  6  0.712903
  7  1.65575
  8  8.12964
  9  11.1317
  10  9.62435e-05
  11  6.2998e-05
  12  6.449e-06
  13  14.1332
  14  72.9576
  15  0.00851193
  16  2.49195e-05
  17  1.39875
  18  1.48978e-06
  19  0.242829
  20  0.170696
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.000e-04  6.300e-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.648e-01  1.707e-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.502e+00  2.428e-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: 7.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/708453/likelihoodResults_271728001_271987201_4FGL_J1011.3-0427_daily_bin125.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) = 7500.89506648
delta logL = -0.000313628011099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7500.83275602
delta logL = 0.0619968312976

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7500.895     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      313 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.128       -.34890E-04** at limit **
   2  Index         2.2768        .95033        .27848E-04   -.16271E-05
   3  Normalizat    1.5015        .23422       -.11494E-04    .25393E-03
   4  Prefactor     .76483        .16887       -.28224E-04    .54641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2768
  Normalizat = 1.50154
  Prefactor  = 0.764826
 **********
 **   18 **HESSE 
 **********

 FCN=   7500.895     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      348 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    742.27        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2768        7.8899        .44232       -.57596    
   3  Normalizat    1.5015        .37624E-01    .60307E-01   -.77735    
   4  Prefactor     .76483        .27102E-01    .43427E-01   -1.0104    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14166e-06
Minuit parameter uncertainties:
  1  5.32736e-05
  2  2727.32
  3  0.0376242
  4  0.0271026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708453': 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) = 7500.89475286
delta logL = -2.82943801722e-09

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.000e-04  5.327e-05  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.277e+00  2.727e+03  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.648e-01  2.710e-02  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.502e+00  3.762e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/708453/cmap_HighResolution_271728001_271987201_4FGL_J1011.3-0427_daily_bin125.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.81e-03', job_status='DONE', photon_flux_upper_limit='7.44e-08', time_completed='2021-09-01 12:49:57.654189', job_id='708453', GAL2='0.76', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1630525797.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='-2.83e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='125' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:49:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 708453: <4FGL_J1011.3-0427_daily_bin125> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin125> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 12:35:47 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:35:48 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:35:48 2021
Terminated at Wed Sep  1 12:49:58 2021
Results reported at Wed Sep  1 12:49:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin125 152.825 -4.4577 271728001 271987201 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 :                                   634.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

