/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 44 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 = 7356
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1011.3-0427_daily_bin1590
RA = 152.825, Dec = -4.4577
tmin = 651456001, tmax = 651715201
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='714795', job_status='RUN', time_executed='2021-09-01 12:57:38.419990', time_epoch_executed='1630526258.42' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='1590'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714795

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714795/ft1_4FGL_J1011.3-0427_daily_bin1590.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714795/ft2_4FGL_J1011.3-0427_daily_bin1590.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714795/ft1_4FGL_J1011.3-0427_daily_bin1590.fits outfile=/scratch/kocevski/714795/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1590.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=651456001.0 tmax=651715201.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.66
user 3.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714795/ft2_4FGL_J1011.3-0427_daily_bin1590.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/714795/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1590.fits evtable="EVENTS" outfile="/scratch/kocevski/714795/ft1_filtered_4FGL_J1011.3-0427_daily_bin1590.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.63
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714795/ft1_filtered_4FGL_J1011.3-0427_daily_bin1590.fits" evtable="EVENTS" scfile=/scratch/kocevski/714795/ft2_4FGL_J1011.3-0427_daily_bin1590.fits sctable="SC_DATA" outfile=/scratch/kocevski/714795/ltcube_651456001_651715201_4FGL_J1011.3-0427_daily_bin1590.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/714795/ft2_4FGL_J1011.3-0427_daily_bin1590.fits
.....................!
real 17.10
user 16.55
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714795/ft1_filtered_4FGL_J1011.3-0427_daily_bin1590.fits evtable="EVENTS" scfile=/scratch/kocevski/714795/ft2_4FGL_J1011.3-0427_daily_bin1590.fits sctable="SC_DATA" expcube=/scratch/kocevski/714795/ltcube_651456001_651715201_4FGL_J1011.3-0427_daily_bin1590.fits outfile=/scratch/kocevski/714795/expmap_651456001_651715201_4FGL_J1011.3-0427_daily_bin1590.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/714795/ltcube_651456001_651715201_4FGL_J1011.3-0427_daily_bin1590.fits
.....................!
real 192.07
user 186.05
sys 4.29

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/714795/ft1_filtered_4FGL_J1011.3-0427_daily_bin1590.fits scfile=/scratch/kocevski/714795/ft2_4FGL_J1011.3-0427_daily_bin1590.fits outfile=/scratch/kocevski/714795/cmap_651456001_651715201_4FGL_J1011.3-0427_daily_bin1590.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714795/ft1_filtered_4FGL_J1011.3-0427_daily_bin1590.fits scfile=/scratch/kocevski/714795/ft2_4FGL_J1011.3-0427_daily_bin1590.fits outfile=/scratch/kocevski/714795/cmap_HighResolution_651456001_651715201_4FGL_J1011.3-0427_daily_bin1590.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714795/ft1_filtered_4FGL_J1011.3-0427_daily_bin1590.fits evtable="EVENTS" scfile=/scratch/kocevski/714795/ft2_4FGL_J1011.3-0427_daily_bin1590.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714795/Model_4FGL_J1011.3-0427_daily_bin1590.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/714795/ft1_filtered_4FGL_J1011.3-0427_daily_bin1590.fits.....................!
real 70.63
user 69.20
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.926       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.048       1.0000         .10000E-03   10000.    
     4 'norm      '    7.4111       1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .85769E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .14091       1.0000         .10000E-03   10000.    
     8 'norm      '    4.0288       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.155       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34058       1.0000         .10000E-03   10000.    
    12 'norm      '    17.208       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    122.95       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12841E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5417       1.0000         .10000E-03   10000.    
    17 'norm      '    2.2817       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4691       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .75618       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=   7242.609     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2474 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    95.151       -.77977E-06** at limit **
   2  Prefactor     18.927        14.223        .13855E-06   -.17533E-03
   3  Prefactor     27.051        25.577        .37419E-06   -.21079E-04
   4  norm          7.4114        5.2925        .50443E-07   -.31020E-04
   5  norm          .10000E-03    1.4744       -.52168E-07** at limit **
   6  norm          .85748E-01    .49543        .62890E-06   -.11060E-02
   7  norm          .13931        .85191        .34737E-06   -.30634E-03
   8  norm          4.0298        7.7060        .57485E-06    .28193E-05
   9  Prefactor     19.165        20.736        .68954E-06   -.22282E-03
  10  Prefactor     .10000E-03    30.692       -.23746E-07** at limit **
  11  Prefactor     .53514        30.314       -.10814E-05    .21843E-03
  12  norm          17.213        17.604       -.75367E-06   -.18501E-03
  13  Prefactor     .10000E-03    11.492        .15745E-05** at limit **
  14  Prefactor     123.22        121.63       -.99734E-05   -.75330E-04
  15  Prefactor     .10001E-03    173.78        .67825E-05** at limit **
  16  Prefactor     1.4991        83.533        .29570E-04    .45891E-04
  17  norm          2.2816        1.6005        .72557E-07   -.33769E-03
  18  Prefactor     .10000E-03    5.3903       -.47806E-07** at limit **
  19  Normalizat    1.4689        .20525       -.53536E-05   -.30685E-03
  20  Prefactor     .75623        .14071        .32701E-05   -.69010E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.9273
  Prefactor  = 27.0507
  norm       = 7.41141
  norm       = 0.0001
  norm       = 0.0857481
  norm       = 0.139313
  norm       = 4.02979
  Prefactor  = 19.1649
  Prefactor  = 0.0001
  Prefactor  = 0.535141
  norm       = 17.213
  Prefactor  = 0.0001
  Prefactor  = 123.223
  Prefactor  = 0.000100011
  Prefactor  = 1.49905
  norm       = 2.28156
  Prefactor  = 0.0001
  Normalizat = 1.46894
  Prefactor  = 0.756235
 **********
 **   18 **HESSE 
 **********

 FCN=   7242.609     FROM HESSE     STATUS=OK           305 CALLS     2779 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    96.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.927        14.187        .92066E-04   -1.4838    
   3  Prefactor     27.051        25.585        .77030E-04   -1.4667    
   4  norm          7.4114        5.2938        .14733E-03   -1.5163    
   5  norm          .10000E-03    1.5028        .10087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .85748E-01    1.1029        .10647E-02   -1.5649    
   7  norm          .13931        1.6648        .15151E-02   -1.5633    
   8  norm          4.0298        7.6987        .20090E-03   -1.5306    
   9  Prefactor     19.165        20.711        .91512E-04   -1.4832    
  10  Prefactor     .10000E-03    30.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53514        35.363        .11984       -1.5562    
  12  norm          17.213        17.590        .96549E-04   -1.4878    
  13  Prefactor     .10000E-03    11.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     123.22        122.60        .18149E-03   -1.3483    
  15  Prefactor     .10001E-03    170.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.4991        85.568        .34335E-03   -1.5463    
  17  norm          2.2816        1.5950        .85555E-04   -1.5406    
  18  Prefactor     .10000E-03    5.4948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4689        .23299        .24673E-03   -.78655    
  20  Prefactor     .75623        .15924        .23964E-03   -1.0136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27941e-08
Minuit parameter uncertainties:
  1  0.000201707
  2  14.1894
  3  25.5957
  4  5.29409
  5  2.08668e-06
  6  0.614708
  7  0.962854
  8  7.70057
  9  20.7183
  10  6.45065e-05
  11  8.70491
  12  17.5957
  13  0.000146138
  14  122.854
  15  0.00280647
  16  22.6848
  17  1.59507
  18  3.56163e-05
  19  0.233159
  20  0.159335
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  5.351e-01  8.705e+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

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  7.562e-01  1.593e-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.469e+00  2.332e-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.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/714795/likelihoodResults_651456001_651715201_4FGL_J1011.3-0427_daily_bin1590.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) = 7242.60856708
delta logL = 0.000225197128202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7242.59139898
delta logL = 0.0173933015703

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7087       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2176       1.0000          .0000       10.000    
     3 'Normalizat'    1.4591       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75962       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7242.591     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      310 TOTAL
                     EDM=   .53E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7219        56.139        .12374E-02   -.20708E-04
   2  Index         3.2171        3.6585        .74166E-02   -.39425E-05
   3  Normalizat    1.4591        .22126        .24744E-03   -.61107E-05
   4  Prefactor     .75961        .15703        .23916E-03    .15877E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72189
  Index      = 3.2171
  Normalizat = 1.45912
  Prefactor  = 0.759612
 **********
 **   18 **HESSE 
 **********

 FCN=   7242.591     FROM HESSE     STATUS=OK            27 CALLS      337 TOTAL
                     EDM=   .79E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7219        35.047        .49497E-04   -1.5378    
   2  Index         3.2171        3.0486        .29666E-03   -.36460    
   3  Normalizat    1.4591        .22158        .98977E-05   -.78934    
   4  Prefactor     .75961        .15724        .95664E-05   -1.0123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.92177e-12
Minuit parameter uncertainties:
  1  19.5476
  2  3.32153
  3  0.221731
  4  0.157335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714795': 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) = 7242.59139856
delta logL = 0.0173937192258

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  2.722e+00  1.955e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  3.217e+00  3.322e+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.596e-01  1.573e-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.459e+00  2.217e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/714795/cmap_HighResolution_651456001_651715201_4FGL_J1011.3-0427_daily_bin1590.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.39e-03', job_status='DONE', photon_flux_upper_limit='9.46e-08', time_completed='2021-09-01 13:08:53.261878', job_id='714795', GAL2='0.76', fit_tolerance='1e-08', EG2='1.46', EG='1.47', time_epoch_completed='1630526933.26', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.74e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1590' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:08:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 714795: <4FGL_J1011.3-0427_daily_bin1590> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin1590> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep  1 12:55:51 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:55:59 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:55:59 2021
Terminated at Wed Sep  1 13:08:54 2021
Results reported at Wed Sep  1 13:08:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin1590 152.825 -4.4577 651456001 651715201 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 :                                   670.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            783 sec.

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

