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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin214
RA = 152.825, Dec = -4.4577
tmin = 294796801, tmax = 295056001
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='709785', job_status='RUN', time_executed='2021-09-01 12:40:49.662702', time_epoch_executed='1630525249.66' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/709785

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/709785/ft1_4FGL_J1011.3-0427_daily_bin214.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/709785/ft2_4FGL_J1011.3-0427_daily_bin214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/709785/ft1_4FGL_J1011.3-0427_daily_bin214.fits outfile=/scratch/kocevski/709785/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin214.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=294796801.0 tmax=295056001.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.10
user 2.15
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/709785/ft1_filtered_4FGL_J1011.3-0427_daily_bin214.fits" evtable="EVENTS" scfile=/scratch/kocevski/709785/ft2_4FGL_J1011.3-0427_daily_bin214.fits sctable="SC_DATA" outfile=/scratch/kocevski/709785/ltcube_294796801_295056001_4FGL_J1011.3-0427_daily_bin214.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/709785/ft2_4FGL_J1011.3-0427_daily_bin214.fits
.....................!
real 13.04
user 12.67
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/709785/ft1_filtered_4FGL_J1011.3-0427_daily_bin214.fits evtable="EVENTS" scfile=/scratch/kocevski/709785/ft2_4FGL_J1011.3-0427_daily_bin214.fits sctable="SC_DATA" expcube=/scratch/kocevski/709785/ltcube_294796801_295056001_4FGL_J1011.3-0427_daily_bin214.fits outfile=/scratch/kocevski/709785/expmap_294796801_295056001_4FGL_J1011.3-0427_daily_bin214.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/709785/ltcube_294796801_295056001_4FGL_J1011.3-0427_daily_bin214.fits
.....................!
real 190.42
user 185.29
sys 4.69

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/709785/ft1_filtered_4FGL_J1011.3-0427_daily_bin214.fits scfile=/scratch/kocevski/709785/ft2_4FGL_J1011.3-0427_daily_bin214.fits outfile=/scratch/kocevski/709785/cmap_294796801_295056001_4FGL_J1011.3-0427_daily_bin214.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/709785/ft1_filtered_4FGL_J1011.3-0427_daily_bin214.fits scfile=/scratch/kocevski/709785/ft2_4FGL_J1011.3-0427_daily_bin214.fits outfile=/scratch/kocevski/709785/cmap_HighResolution_294796801_295056001_4FGL_J1011.3-0427_daily_bin214.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/709785/ft1_filtered_4FGL_J1011.3-0427_daily_bin214.fits evtable="EVENTS" scfile=/scratch/kocevski/709785/ft2_4FGL_J1011.3-0427_daily_bin214.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/709785/Model_4FGL_J1011.3-0427_daily_bin214.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/709785/ft1_filtered_4FGL_J1011.3-0427_daily_bin214.fits.....................!
real 69.76
user 68.30
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.720       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.3483       1.0000         .10000E-03   10000.    
     4 'norm      '    1.4582       1.0000         .10000E-03   10000.    
     5 'norm      '    4.5858       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.269       1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.744       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.6651       1.0000         .10000E-03   10000.    
    12 'norm      '    41.979       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1825       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10142E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.560       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2178       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87336       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=   7023.801     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2035 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.274       -.70251E-05** at limit **
   2  Prefactor     11.721        15.281       -.69665E-06    .51567E-04
   3  Prefactor     4.3479        97.153       -.31230E-05    .18119E-05
   4  norm          1.4573        8.2474       -.41229E-05   -.68335E-03
   5  norm          4.5859        3.0153       -.34747E-07    .18103E-03
   6  norm          .10000E-03    .19166       -.91473E-07** at limit **
   7  norm          .10000E-03    .43499       -.22660E-06** at limit **
   8  norm          .10000E-03    3.3248        .79081E-07** at limit **
   9  Prefactor     16.271        12.290        .73008E-06    .25448E-03
  10  Prefactor     25.757        34.105        .21375E-04    .12141E-03
  11  Prefactor     9.6329        30.115       -.74685E-04   -.15089E-05
  12  norm          41.985        20.353        .67271E-05    .42860E-03
  13  Prefactor     .10000E-03    4.9657        .34596E-06** at limit **
  14  Prefactor     3.1261        176.92       -.27529E-03    .27912E-04
  15  Prefactor     .10000E-03    21.684        .10975E-04** at limit **
  16  Prefactor     .10000E-03    6.6937        .68283E-06** at limit **
  17  norm          .10000E-03    .69534       -.83125E-07** at limit **
  18  Prefactor     34.562        9.3511        .26994E-06    .30504E-03
  19  Normalizat    1.2176        .19246        .67186E-05    .25641E-03
  20  Prefactor     .87356        .13465        .66566E-06    .71412E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.7213
  Prefactor  = 4.34793
  norm       = 1.4573
  norm       = 4.58589
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 16.2708
  Prefactor  = 25.7566
  Prefactor  = 9.63285
  norm       = 41.9846
  Prefactor  = 0.000100001
  Prefactor  = 3.12613
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 34.5619
  Normalizat = 1.21762
  Prefactor  = 0.873556
 **********
 **   18 **HESSE 
 **********

 FCN=   7023.801     FROM HESSE     STATUS=OK           287 CALLS     2322 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.721        15.343        .11702E-03   -1.5023    
   3  Prefactor     4.3479        96.603        .19317E-03   -1.5291    
   4  norm          1.4573        8.2138        .35643E-03   -1.5467    
   5  norm          4.5859        3.0151        .11438E-03   -1.5280    
   6  norm          .10000E-03    .25136        .70676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .43661        .53973E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.3367        .14923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.271        12.300        .99298E-04   -1.4901    
  10  Prefactor     25.757        34.122        .78952E-04   -1.4693    
  11  Prefactor     9.6329        30.180        .12890E-03   -1.5087    
  12  norm          41.985        20.339        .61871E-04   -1.4411    
  13  Prefactor     .10000E-03    4.9952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.1261        179.24        .22716E-03   -1.5354    
  15  Prefactor     .10000E-03    21.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.7061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.1732        .13469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.562        9.3441        .68167E-04   -1.4531    
  19  Normalizat    1.2176        .22747        .26712E-03   -.86060    
  20  Prefactor     .87356        .15941        .22594E-03   -.97071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34911e-09
Minuit parameter uncertainties:
  1  5.42865e-05
  2  15.3478
  3  41.0638
  4  6.92075
  5  3.01521
  6  8.77965e-06
  7  1.07643e-06
  8  1.13218e-05
  9  12.3019
  10  34.1475
  11  30.2281
  12  20.3425
  13  0.000100589
  14  47.4923
  15  0.000325806
  16  0.000106023
  17  2.94088e-05
  18  9.34449
  19  0.227654
  20  0.159492
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  9.633e+00  3.023e+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.736e-01  1.595e-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.218e+00  2.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/709785/likelihoodResults_294796801_295056001_4FGL_J1011.3-0427_daily_bin214.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) = 7023.75230525
delta logL = 0.0491015932221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7023.7470621
delta logL = 0.0543447486216

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4848       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1300       1.0000          .0000       10.000    
     3 'Normalizat'    1.2064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87832       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=   7023.747     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      252 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4786        29.356        .14659E-03   -.32479E-03
   2  Index         3.1314        2.1571        .13625E-01   -.57480E-04
   3  Normalizat    1.2061        .22095        .26817E-03   -.25506E-03
   4  Prefactor     .87850        .15932        .22535E-03    .30773E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.47859
  Index      = 3.13136
  Normalizat = 1.20612
  Prefactor  = 0.878499
 **********
 **   18 **HESSE 
 **********

 FCN=   7023.747     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4786        23.117        .58637E-05   -1.5161    
   2  Index         3.1314        1.7217        .54498E-03   -.38302    
   3  Normalizat    1.2061        .22122        .53634E-04   -.86414    
   4  Prefactor     .87850        .15933        .90142E-05   -.96896    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88774e-10
Minuit parameter uncertainties:
  1  23.1451
  2  1.76394
  3  0.22139
  4  0.159418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/709785': 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) = 7023.7470611
delta logL = 0.0543457412286

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  7.479e+00  2.315e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  3.131e+00  1.764e+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:  8.785e-01  1.594e-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.206e+00  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/709785/cmap_HighResolution_294796801_295056001_4FGL_J1011.3-0427_daily_bin214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-01 12:51:03.880182', job_id='709785', GAL2='0.88', fit_tolerance='1e-08', EG2='1.21', EG='1.22', time_epoch_completed='1630525863.88', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='5.43e-02', ts2='0.23', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='214' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:51:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 709785: <4FGL_J1011.3-0427_daily_bin214> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin214> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 12:40:30 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:40:31 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:31 2021
Terminated at Wed Sep  1 12:51:04 2021
Results reported at Wed Sep  1 12:51:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin214 152.825 -4.4577 294796801 295056001 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 :                                   608.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             334.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            634 sec.

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

