/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 8 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7401
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1011.3-0427_daily_bin1440
RA = 152.825, Dec = -4.4577
tmin = 612576001, tmax = 612835201
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='714560', job_status='RUN', time_executed='2021-09-01 12:56:03.791755', time_epoch_executed='1630526163.79' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='1440'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714560

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714560/ft1_4FGL_J1011.3-0427_daily_bin1440.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714560/ft2_4FGL_J1011.3-0427_daily_bin1440.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714560/ft1_4FGL_J1011.3-0427_daily_bin1440.fits outfile=/scratch/kocevski/714560/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1440.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=612576001.0 tmax=612835201.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 2.89
user 2.62
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714560/ft1_filtered_4FGL_J1011.3-0427_daily_bin1440.fits" evtable="EVENTS" scfile=/scratch/kocevski/714560/ft2_4FGL_J1011.3-0427_daily_bin1440.fits sctable="SC_DATA" outfile=/scratch/kocevski/714560/ltcube_612576001_612835201_4FGL_J1011.3-0427_daily_bin1440.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/714560/ft2_4FGL_J1011.3-0427_daily_bin1440.fits
.....................!
real 15.29
user 14.82
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714560/ft1_filtered_4FGL_J1011.3-0427_daily_bin1440.fits evtable="EVENTS" scfile=/scratch/kocevski/714560/ft2_4FGL_J1011.3-0427_daily_bin1440.fits sctable="SC_DATA" expcube=/scratch/kocevski/714560/ltcube_612576001_612835201_4FGL_J1011.3-0427_daily_bin1440.fits outfile=/scratch/kocevski/714560/expmap_612576001_612835201_4FGL_J1011.3-0427_daily_bin1440.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/714560/ltcube_612576001_612835201_4FGL_J1011.3-0427_daily_bin1440.fits
.....................!
real 192.68
user 186.55
sys 4.18

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/714560/ft1_filtered_4FGL_J1011.3-0427_daily_bin1440.fits scfile=/scratch/kocevski/714560/ft2_4FGL_J1011.3-0427_daily_bin1440.fits outfile=/scratch/kocevski/714560/cmap_612576001_612835201_4FGL_J1011.3-0427_daily_bin1440.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714560/ft1_filtered_4FGL_J1011.3-0427_daily_bin1440.fits scfile=/scratch/kocevski/714560/ft2_4FGL_J1011.3-0427_daily_bin1440.fits outfile=/scratch/kocevski/714560/cmap_HighResolution_612576001_612835201_4FGL_J1011.3-0427_daily_bin1440.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.59
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714560/ft1_filtered_4FGL_J1011.3-0427_daily_bin1440.fits evtable="EVENTS" scfile=/scratch/kocevski/714560/ft2_4FGL_J1011.3-0427_daily_bin1440.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714560/Model_4FGL_J1011.3-0427_daily_bin1440.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/714560/ft1_filtered_4FGL_J1011.3-0427_daily_bin1440.fits.....................!
real 67.37
user 65.40
sys 1.07

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.8115       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .75418       1.0000         .10000E-03   10000.    
     7 'norm      '    3.2072       1.0000         .10000E-03   10000.    
     8 'norm      '    13.983       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11660E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.762       1.0000         .10000E-03   10000.    
    12 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16895E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    89.763       1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.056       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13065E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0925       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.9806       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .96261       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93586       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=   6920.231     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     2024 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.577        .57300E-07** at limit **
   2  Prefactor     9.8102        15.740        .91980E-07   -.50591E-05
   3  Prefactor     .10000E-03    24.840        .67473E-07** at limit **
   4  norm          .10000E-03    6.2529        .31388E-07** at limit **
   5  norm          .10000E-03    .75339        .44994E-08** at limit **
   6  norm          .75400        .55460        .54998E-07    .10280E-03
   7  norm          3.2069        2.1910        .54904E-07   -.33864E-06
   8  norm          13.979        13.403        .73512E-07    .19205E-05
   9  Prefactor     .10000E-03    8.6961        .45835E-06** at limit **
  10  Prefactor     .10000E-03    22.745        .28816E-06** at limit **
  11  Prefactor     23.697        30.228        .13411E-07    .17857E-04
  12  norm          .10000E-03    7.4453        .44436E-06** at limit **
  13  Prefactor     .10000E-03    6.4735       -.31431E-05** at limit **
  14  Prefactor     89.827        88.594        .23629E-07    .58117E-04
  15  Prefactor     31.946        56.491        .49620E-06    .43011E-04
  16  Prefactor     .10000E-03    10.751       -.24277E-05** at limit **
  17  norm          3.0925        1.5144       -.21742E-08    .75738E-04
  18  Prefactor     8.9786        7.0802        .11902E-06    .29005E-05
  19  Normalizat    .96283        .18841       -.45050E-06    .58717E-04
  20  Prefactor     .93574        .13377        .21724E-06    .20072E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.81025
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.753998
  norm       = 3.20691
  norm       = 13.9792
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.6974
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 89.8271
  Prefactor  = 31.9461
  Prefactor  = 0.0001
  norm       = 3.09247
  Prefactor  = 8.97855
  Normalizat = 0.962826
  Prefactor  = 0.935744
 **********
 **   18 **HESSE 
 **********

 FCN=   6920.231     FROM HESSE     STATUS=OK           291 CALLS     2315 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.8102        15.713        .12793E-03   -1.5081    
   3  Prefactor     .10000E-03    24.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    6.2952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .75434        .70512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .75400        .53627        .49742E-03   -1.5534    
   7  norm          3.2069        2.1878        .97804E-04   -1.5350    
   8  norm          13.979        13.407        .10711E-03   -1.4960    
   9  Prefactor     .10000E-03    8.8514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.697        30.270        .82173E-04   -1.4734    
  12  norm          .10000E-03    7.4536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.4849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     89.827        88.642        .42411E-04   -1.3810    
  15  Prefactor     31.946        56.607        .70771E-04   -1.4577    
  16  Prefactor     .10000E-03    10.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0925        1.5108        .67165E-04   -1.5356    
  18  Prefactor     8.9786        7.0774        .13375E-03   -1.5109    
  19  Normalizat    .96283        .21816        .27578E-03   -.94286    
  20  Prefactor     .93574        .15539        .21070E-03   -.94903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18742e-11
Minuit parameter uncertainties:
  1  1.57321e-05
  2  15.7194
  3  1.46331e-05
  4  7.21939e-07
  5  3.69034e-08
  6  0.53627
  7  2.18789
  8  13.41
  9  4.03722e-06
  10  1.63328e-05
  11  30.2894
  12  1.9754e-06
  13  1.2999e-05
  14  88.7731
  15  56.7027
  16  7.65975e-06
  17  1.51087
  18  7.07809
  19  0.218363
  20  0.155459
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  2.370e+01  3.029e+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:  9.357e-01  1.555e-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:  9.628e-01  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.82
Ra Dec: 152.825 -4.458
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/714560/likelihoodResults_612576001_612835201_4FGL_J1011.3-0427_daily_bin1440.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6920.19283801
delta logL = 0.0382838754622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6920.17466548
delta logL = 0.0564563984435

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.512       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9611       1.0000          .0000       10.000    
     3 'Normalizat'    .94864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94287       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6920.175     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      246 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.495        39.615        .95710E-04   -.92651E-05
   2  Index         2.9614        1.5632        .84028E-02    .30072E-03
   3  Normalizat    .94863        .21044        .27760E-03    .72815E-04
   4  Prefactor     .94291        .15613        .21000E-03   -.10633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.4951
  Index      = 2.9614
  Normalizat = 0.948626
  Prefactor  = 0.942907
 **********
 **   18 **HESSE 
 **********

 FCN=   6920.175     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.495        33.470        .38284E-05   -1.4871    
   2  Index         2.9614        1.3263        .16806E-02   -.41996    
   3  Normalizat    .94863        .20976        .11104E-04   -.94772    
   4  Prefactor     .94291        .15566        .83999E-05   -.94658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1353e-10
Minuit parameter uncertainties:
  1  33.5061
  2  1.34569
  3  0.209944
  4  0.155734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714560': 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) = 6920.17466527
delta logL = 0.0564566140456

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.750e+01  3.351e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.961e+00  1.346e+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:  9.429e-01  1.557e-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:  9.486e-01  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/714560/cmap_HighResolution_612576001_612835201_4FGL_J1011.3-0427_daily_bin1440.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.81e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-01 13:06:14.236564', job_id='714560', GAL2='0.94', fit_tolerance='1e-08', EG2='0.95', EG='0.96', time_epoch_completed='1630526774.24', return_code2='0', ts='0.82', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.65e-02', ts2='0.94', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1440' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:06:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 714560: <4FGL_J1011.3-0427_daily_bin1440> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin1440 152.825 -4.4577 612576001 612835201 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 :                                   606.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             339.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            643 sec.

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

