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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin1412
RA = 152.825, Dec = -4.4577
tmin = 605318401, tmax = 605577601
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='714518', job_status='RUN', time_executed='2021-09-01 12:56:03.073108', time_epoch_executed='1630526163.07' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='1412'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714518

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714518/ft1_4FGL_J1011.3-0427_daily_bin1412.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714518/ft2_4FGL_J1011.3-0427_daily_bin1412.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714518/ft1_4FGL_J1011.3-0427_daily_bin1412.fits outfile=/scratch/kocevski/714518/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1412.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=605318401.0 tmax=605577601.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.93
user 5.26
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714518/ft2_4FGL_J1011.3-0427_daily_bin1412.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/714518/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1412.fits evtable="EVENTS" outfile="/scratch/kocevski/714518/ft1_filtered_4FGL_J1011.3-0427_daily_bin1412.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.98
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714518/ft1_filtered_4FGL_J1011.3-0427_daily_bin1412.fits" evtable="EVENTS" scfile=/scratch/kocevski/714518/ft2_4FGL_J1011.3-0427_daily_bin1412.fits sctable="SC_DATA" outfile=/scratch/kocevski/714518/ltcube_605318401_605577601_4FGL_J1011.3-0427_daily_bin1412.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/714518/ft2_4FGL_J1011.3-0427_daily_bin1412.fits
.....................!
real 13.98
user 12.92
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714518/ft1_filtered_4FGL_J1011.3-0427_daily_bin1412.fits evtable="EVENTS" scfile=/scratch/kocevski/714518/ft2_4FGL_J1011.3-0427_daily_bin1412.fits sctable="SC_DATA" expcube=/scratch/kocevski/714518/ltcube_605318401_605577601_4FGL_J1011.3-0427_daily_bin1412.fits outfile=/scratch/kocevski/714518/expmap_605318401_605577601_4FGL_J1011.3-0427_daily_bin1412.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/714518/ltcube_605318401_605577601_4FGL_J1011.3-0427_daily_bin1412.fits
.....................!
real 199.91
user 185.77
sys 4.85

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/714518/ft1_filtered_4FGL_J1011.3-0427_daily_bin1412.fits scfile=/scratch/kocevski/714518/ft2_4FGL_J1011.3-0427_daily_bin1412.fits outfile=/scratch/kocevski/714518/cmap_605318401_605577601_4FGL_J1011.3-0427_daily_bin1412.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.62
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714518/ft1_filtered_4FGL_J1011.3-0427_daily_bin1412.fits scfile=/scratch/kocevski/714518/ft2_4FGL_J1011.3-0427_daily_bin1412.fits outfile=/scratch/kocevski/714518/cmap_HighResolution_605318401_605577601_4FGL_J1011.3-0427_daily_bin1412.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.60
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714518/ft1_filtered_4FGL_J1011.3-0427_daily_bin1412.fits evtable="EVENTS" scfile=/scratch/kocevski/714518/ft2_4FGL_J1011.3-0427_daily_bin1412.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714518/Model_4FGL_J1011.3-0427_daily_bin1412.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/714518/ft1_filtered_4FGL_J1011.3-0427_daily_bin1412.fits.....................!
real 69.69
user 66.65
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.578       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11544E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.9863       1.0000         .10000E-03   10000.    
     6 'norm      '    .22324       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4908       1.0000         .10000E-03   10000.    
     8 'norm      '    .10356E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11846E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.913       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3979       1.0000         .10000E-03   10000.    
    12 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10181E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.836       1.0000         .10000E-03   10000.    
    17 'norm      '    4.3973       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10304E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .88801       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95166       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=   7145.860     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     1764 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.5425        .90712E-02** at limit **
   2  Prefactor     13.578        14.957        .27175E-02    .77801E-03
   3  Prefactor     .10000E-03    37.757        .90712E-02** at limit **
   4  norm          .10000E-03    3.1106        .90712E-02** at limit **
   5  norm          1.9858        1.9825        .73506E-02   -.83659E-04
   6  norm          .22320        .49782        .10083E-02    .80454E-03
   7  norm          1.4905        1.3769        .87775E-02    .45774E-03
   8  norm          .10000E-03    5.4040        .90712E-02** at limit **
   9  Prefactor     .10000E-03    40.969        .90712E-02** at limit **
  10  Prefactor     26.928        26.960        .19305E-02   -.62552E-03
  11  Prefactor     1.4071        85.725        .91785E-02    .30138E-03
  12  norm          .10000E-03    5.4914        .90712E-02** at limit **
  13  Prefactor     .10000E-03    4.8982        .90712E-02** at limit **
  14  Prefactor     .10000E-03    115.28        .90712E-02** at limit **
  15  Prefactor     .10000E-03    42.335        .90712E-02** at limit **
  16  Prefactor     11.843        13.096        .29110E-02   -.18067E-04
  17  norm          4.3980        1.4715        .48014E-02    .13011E-04
  18  Prefactor     .10000E-03    4.1274        .53808E-01** at limit **
  19  Normalizat    .88804        .16271        .44748E-01   -.17982E-04
  20  Prefactor     .95169        .11960        .45660E-01   -.66433E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.578
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.98583
  norm       = 0.223203
  norm       = 1.49051
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 26.9276
  Prefactor  = 1.40715
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 11.843
  norm       = 4.39801
  Prefactor  = 0.0001
  Normalizat = 0.888038
  Prefactor  = 0.951688
 **********
 **   18 **HESSE 
 **********

 FCN=   7145.860     FROM HESSE     STATUS=OK           291 CALLS     2055 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.5470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.578        14.967        .54350E-03   -1.4971    
   3  Prefactor     .10000E-03    38.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.1256        .14559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.9858        1.9873        .11550E-03   -1.5426    
   6  norm          .22320        .49666        .40333E-04   -1.5613    
   7  norm          1.4905        1.3600        .92122E-04   -1.5464    
   8  norm          .10000E-03    5.4595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    42.704        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.928        26.833        .77221E-04   -1.4670    
  11  Prefactor     1.4071        86.153        .36714E-03   -1.5471    
  12  norm          .10000E-03    5.4940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.9125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    115.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    42.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.843        13.087        .11644E-03   -1.5020    
  17  norm          4.3980        1.4648        .56761E-04   -1.5289    
  18  Prefactor     .10000E-03    14.983        .32556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .88804        .18862        .26305E-03   -.96882    
  20  Prefactor     .95169        .14004        .19367E-03   -.94358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20308e-09
Minuit parameter uncertainties:
  1  1.10658e-06
  2  14.9715
  3  0.000258681
  4  1.2192e-05
  5  1.98735
  6  0.496666
  7  1.35998
  8  6.75345e-06
  9  0.000322819
  10  26.845
  11  22.0534
  12  6.03035e-06
  13  1.14158e-05
  14  0.000318672
  15  0.000638563
  16  13.09
  17  1.46483
  18  2.78797e-05
  19  0.188765
  20  0.140098
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.407e+00  2.205e+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.517e-01  1.401e-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:  8.880e-01  1.888e-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.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/714518/likelihoodResults_605318401_605577601_4FGL_J1011.3-0427_daily_bin1412.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) = 7145.86014936
delta logL = 1.38297582453e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7145.8601406
delta logL = 2.25924140977e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4071       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5451       1.0000          .0000       10.000    
     3 'Normalizat'    .88812       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95154       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=   7145.860     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      208 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4731        833.23        .91352E-02    .20138E-03
   2  Index         2.5124        6.2562        .50000        .12530E-04
   3  Normalizat    .88811        .13278E-01    .44750E-01    .22418E-03
   4  Prefactor     .95164        .10138E-01    .45659E-01   -.21423E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.47312
  Index      = 2.51242
  Normalizat = 0.888112
  Prefactor  = 0.951639
 **********
 **   18 **HESSE 
 **********

 FCN=   7145.860     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4731        109.54        .36541E-03   -1.5465    
   2  Index         2.5124        6.2506        .26555E-01   -.52073    
   3  Normalizat    .88811        .18313        .26304E-03   -.96879    
   4  Prefactor     .95164        .13935        .19367E-03   -.94359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.87133e-10
Minuit parameter uncertainties:
  1  25.4532
  2  4.84602
  3  0.183257
  4  0.139399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714518': 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) = 7145.86011201
delta logL = 5.11821890541e-05

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.473e+00  2.545e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.512e+00  4.846e+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.516e-01  1.394e-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:  8.881e-01  1.833e-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/714518/cmap_HighResolution_605318401_605577601_4FGL_J1011.3-0427_daily_bin1412.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', job_status='DONE', photon_flux_upper_limit='7.26e-08', time_completed='2021-09-01 13:06:31.816753', job_id='714518', GAL2='0.95', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1630526791.82', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='5.12e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1412' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:06:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 714518: <4FGL_J1011.3-0427_daily_bin1412> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin1412> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep  1 12:55:29 2021
Job was executed on host(s) <bullet0213>, 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:32 2021
Results reported at Wed Sep  1 13:06:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin1412 152.825 -4.4577 605318401 605577601 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 :                                   610.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            663 sec.

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

