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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin473
RA = 152.825, Dec = -4.4577
tmin = 361929601, tmax = 362188801
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='710144', job_status='RUN', time_executed='2021-09-01 12:43:16.765355', time_epoch_executed='1630525396.77' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710144

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710144/ft1_4FGL_J1011.3-0427_daily_bin473.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710144/ft2_4FGL_J1011.3-0427_daily_bin473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710144/ft1_4FGL_J1011.3-0427_daily_bin473.fits outfile=/scratch/kocevski/710144/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin473.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=361929601.0 tmax=362188801.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 5.47
user 5.21
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/710144/ft1_filtered_4FGL_J1011.3-0427_daily_bin473.fits" evtable="EVENTS" scfile=/scratch/kocevski/710144/ft2_4FGL_J1011.3-0427_daily_bin473.fits sctable="SC_DATA" outfile=/scratch/kocevski/710144/ltcube_361929601_362188801_4FGL_J1011.3-0427_daily_bin473.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/710144/ft2_4FGL_J1011.3-0427_daily_bin473.fits
.....................!
real 11.75
user 11.37
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710144/ft1_filtered_4FGL_J1011.3-0427_daily_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/710144/ft2_4FGL_J1011.3-0427_daily_bin473.fits sctable="SC_DATA" expcube=/scratch/kocevski/710144/ltcube_361929601_362188801_4FGL_J1011.3-0427_daily_bin473.fits outfile=/scratch/kocevski/710144/expmap_361929601_362188801_4FGL_J1011.3-0427_daily_bin473.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/710144/ltcube_361929601_362188801_4FGL_J1011.3-0427_daily_bin473.fits
.....................!
real 189.41
user 185.33
sys 3.73

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/710144/ft1_filtered_4FGL_J1011.3-0427_daily_bin473.fits scfile=/scratch/kocevski/710144/ft2_4FGL_J1011.3-0427_daily_bin473.fits outfile=/scratch/kocevski/710144/cmap_361929601_362188801_4FGL_J1011.3-0427_daily_bin473.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.54
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/710144/ft1_filtered_4FGL_J1011.3-0427_daily_bin473.fits scfile=/scratch/kocevski/710144/ft2_4FGL_J1011.3-0427_daily_bin473.fits outfile=/scratch/kocevski/710144/cmap_HighResolution_361929601_362188801_4FGL_J1011.3-0427_daily_bin473.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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/710144/ft1_filtered_4FGL_J1011.3-0427_daily_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/710144/ft2_4FGL_J1011.3-0427_daily_bin473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/710144/Model_4FGL_J1011.3-0427_daily_bin473.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/710144/ft1_filtered_4FGL_J1011.3-0427_daily_bin473.fits.....................!
real 59.77
user 58.44
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.164       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.553       1.0000         .10000E-03   10000.    
     4 'norm      '    3.8547       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10556E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.5914       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.169       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10961E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3243       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1713       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3762       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.135       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2194       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2519       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89105       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=   6269.730     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     1791 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.185        .12854E-06** at limit **
   2  Prefactor     15.132        23.432        .55933E-06   -.10009E-03
   3  Prefactor     11.554        19.916        .26277E-06   -.14271E-04
   4  norm          3.8547        5.3558        .21528E-06   -.82923E-04
   5  norm          .10000E-03    1.4294        .98943E-07** at limit **
   6  norm          .10000E-03    .35108        .47446E-07** at limit **
   7  norm          1.5914        1.6130        .93608E-07   -.13661E-03
   8  norm          .10000E-03    2.8953        .97044E-07** at limit **
   9  Prefactor     30.175        16.634       -.43778E-07   -.10716E-03
  10  Prefactor     .10000E-03    88.946       -.10873E-05** at limit **
  11  Prefactor     1.3299        146.67        .77441E-04   -.62214E-04
  12  norm          2.1644        13.554        .37675E-06   -.50110E-04
  13  Prefactor     .10000E-03    3.3697       -.43198E-06** at limit **
  14  Prefactor     4.2540        112.06       -.14637E-04   -.25725E-03
  15  Prefactor     .10000E-03    14.675       -.45189E-06** at limit **
  16  Prefactor     10.135        10.318       -.45489E-07   -.20692E-04
  17  norm          1.2196        1.1120       -.18445E-07   -.24909E-03
  18  Prefactor     .10000E-03    6.9463       -.10569E-06** at limit **
  19  Normalizat    1.2518        .19020       -.19860E-05   -.40279E-03
  20  Prefactor     .89117        .13556       -.10850E-05   -.47731E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.1317
  Prefactor  = 11.5537
  norm       = 3.85466
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.59135
  norm       = 0.0001
  Prefactor  = 30.1749
  Prefactor  = 0.0001
  Prefactor  = 1.32995
  norm       = 2.1644
  Prefactor  = 0.0001
  Prefactor  = 4.25398
  Prefactor  = 0.0001
  Prefactor  = 10.1353
  norm       = 1.21964
  Prefactor  = 0.0001
  Normalizat = 1.25176
  Prefactor  = 0.891172
 **********
 **   18 **HESSE 
 **********

 FCN=   6269.730     FROM HESSE     STATUS=OK           289 CALLS     2080 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.132        23.248        .10285E-03   -1.4930    
   3  Prefactor     11.554        19.912        .11786E-03   -1.5028    
   4  norm          3.8547        5.3482        .20554E-03   -1.5315    
   5  norm          .10000E-03    1.4450        .92439E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.4817        .87970E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5914        1.5955        .98155E-04   -1.5456    
   8  norm          .10000E-03    2.9036        .13158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.175        16.554        .72945E-04   -1.4609    
  10  Prefactor     .10000E-03    89.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.3299        146.88        .19104E-02   -1.5477    
  12  norm          2.1644        13.354        .27946E-03   -1.5414    
  13  Prefactor     .10000E-03    3.3734        .14192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.2540        115.10        .19253E-03   -1.5295    
  15  Prefactor     .10000E-03    14.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.135        10.320        .12586E-03   -1.5071    
  17  norm          1.2196        1.1126        .40859E-04   -1.5487    
  18  Prefactor     .10000E-03    7.0774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2518        .22120        .25650E-03   -.85018    
  20  Prefactor     .89117        .15880        .21927E-03   -.96450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32549e-09
Minuit parameter uncertainties:
  1  7.00511e-07
  2  23.2619
  3  19.923
  4  5.34887
  5  2.50831e-06
  6  2.01185e-05
  7  1.59551
  8  3.8141e-06
  9  16.556
  10  0.000211156
  11  28.0232
  12  10.7556
  13  6.07885e-06
  14  44.3492
  15  1.92769e-05
  16  10.3214
  17  1.11263
  18  4.61407e-05
  19  0.221366
  20  0.158879
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.330e+00  2.802e+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:  8.912e-01  1.589e-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.252e+00  2.214e-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.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/710144/likelihoodResults_361929601_362188801_4FGL_J1011.3-0427_daily_bin473.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) = 6268.96651572
delta logL = 0.763540454031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6268.59763632
delta logL = 1.1324198511

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11015E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.8583       1.0000          .0000       10.000    
     3 'Normalizat'    1.1540       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93972       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=   6268.598     FROM MIGRAD    STATUS=CONVERGED    311 CALLS      639 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10756E-03    .99051E-04    .20240E-03** at limit **
   2  Index         9.8696        .46243        .34371E-01   -.25911E-04
   3  Normalizat    1.1539        .18814        .60011E-01    .48731E-04
   4  Prefactor     .93973        .13709        .45509E-01    .16062E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000107563
  Index      = 9.86955
  Normalizat = 1.15392
  Prefactor  = 0.939731
 **********
 **   18 **HESSE 
 **********

 FCN=   6268.598     FROM HESSE     STATUS=OK            31 CALLS      670 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10756E-03    .86617E-03    .12707E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.8696        1.0757        .13748E-02    1.3419    
   3  Normalizat    1.1539        .22384        .26542E-03   -.88039    
   4  Prefactor     .93973        .16260        .21420E-03   -.94766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41589e-07
Minuit parameter uncertainties:
  1  0.000161872
  2  0.768809
  3  0.224029
  4  0.162682
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710144': 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) = 6268.59763218
delta logL = 1.13242399242

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.076e-04  1.619e-04  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  9.870e+00  7.688e-01  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:  9.397e-01  1.627e-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.154e+00  2.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.43
Ra Dec: 152.825 -4.458
Photon Index (Free Index): 9.87 +/- 0.77
Photon Flux (Free Index): 8.04e-08 +/- 2.25e-07
Energy Flux (Free Index): 9.01e-06 +/- 2.53e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/710144/cmap_HighResolution_361929601_362188801_4FGL_J1011.3-0427_daily_bin473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.50e-03', comment='SUCCESS', energy_flux2='9.01e-06', dlogl='1.13e+00', photon_flux2='8.04e-08', job_status='DONE', time_completed='2021-09-01 12:53:33.646931', photon_index_error2='0.77', photon_index2='9.87', ts='0.00', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='9.61e-08', energy_flux_error2='2.53e-05', EG='1.25', time_epoch_completed='1630526013.65', return_code='0', job_id='710144', GAL2='0.94', EG2='1.15', return_code2='0', photon_flux_error2='2.25e-07', ts2='2.43', photon_index='2.56' WHERE bin_id='473' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:53:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 710144: <4FGL_J1011.3-0427_daily_bin473> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin473 152.825 -4.4577 361929601 362188801 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 :                                   615.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            759 sec.

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

