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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin300
RA = 152.825, Dec = -4.4577
tmin = 317088001, tmax = 317347201
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='709903', job_status='RUN', time_executed='2021-09-01 12:43:03.738501', time_epoch_executed='1630525383.74' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/709903

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/709903/ft1_4FGL_J1011.3-0427_daily_bin300.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/709903/ft2_4FGL_J1011.3-0427_daily_bin300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/709903/ft1_4FGL_J1011.3-0427_daily_bin300.fits outfile=/scratch/kocevski/709903/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin300.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=317088001.0 tmax=317347201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.86
user 3.61
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/709903/ft1_filtered_4FGL_J1011.3-0427_daily_bin300.fits" evtable="EVENTS" scfile=/scratch/kocevski/709903/ft2_4FGL_J1011.3-0427_daily_bin300.fits sctable="SC_DATA" outfile=/scratch/kocevski/709903/ltcube_317088001_317347201_4FGL_J1011.3-0427_daily_bin300.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/709903/ft2_4FGL_J1011.3-0427_daily_bin300.fits
.....................!
real 12.07
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/709903/ft1_filtered_4FGL_J1011.3-0427_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/709903/ft2_4FGL_J1011.3-0427_daily_bin300.fits sctable="SC_DATA" expcube=/scratch/kocevski/709903/ltcube_317088001_317347201_4FGL_J1011.3-0427_daily_bin300.fits outfile=/scratch/kocevski/709903/expmap_317088001_317347201_4FGL_J1011.3-0427_daily_bin300.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/709903/ltcube_317088001_317347201_4FGL_J1011.3-0427_daily_bin300.fits
.....................!
real 190.20
user 185.54
sys 4.33

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/709903/ft1_filtered_4FGL_J1011.3-0427_daily_bin300.fits scfile=/scratch/kocevski/709903/ft2_4FGL_J1011.3-0427_daily_bin300.fits outfile=/scratch/kocevski/709903/cmap_317088001_317347201_4FGL_J1011.3-0427_daily_bin300.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/709903/ft1_filtered_4FGL_J1011.3-0427_daily_bin300.fits scfile=/scratch/kocevski/709903/ft2_4FGL_J1011.3-0427_daily_bin300.fits outfile=/scratch/kocevski/709903/cmap_HighResolution_317088001_317347201_4FGL_J1011.3-0427_daily_bin300.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/709903/ft1_filtered_4FGL_J1011.3-0427_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/709903/ft2_4FGL_J1011.3-0427_daily_bin300.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/709903/Model_4FGL_J1011.3-0427_daily_bin300.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/709903/ft1_filtered_4FGL_J1011.3-0427_daily_bin300.fits.....................!
real 63.92
user 62.39
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6536       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    17.921       1.0000         .10000E-03   10000.    
     5 'norm      '    4.1798       1.0000         .10000E-03   10000.    
     6 'norm      '    1.5387       1.0000         .10000E-03   10000.    
     7 'norm      '    2.5091       1.0000         .10000E-03   10000.    
     8 'norm      '    4.9179       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.2369       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0804       1.0000         .10000E-03   10000.    
    12 'norm      '    .10889E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5654       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94309       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95698       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=   6277.705     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     1748 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1826        .88470E-06** at limit **
   2  Prefactor     1.6527        30.505        .14248E-04   -.96103E-04
   3  Prefactor     .10000E-03    32.165       -.39806E-06** at limit **
   4  norm          17.919        9.6373        .35989E-07    .35786E-06
   5  norm          4.1799        3.3860        .72444E-07    .24858E-05
   6  norm          1.5386        .73858       -.29106E-07   -.52861E-04
   7  norm          2.5090        1.7451        .37778E-07    .26314E-04
   8  norm          4.9184        9.6905        .20636E-05   -.73798E-04
   9  Prefactor     5.2305        11.746       -.41506E-06   -.22385E-04
  10  Prefactor     .10000E-03    28.569        .35001E-06** at limit **
  11  Prefactor     4.0945        52.453       -.18403E-05    .45890E-04
  12  norm          .10000E-03    10.640       -.76617E-06** at limit **
  13  Prefactor     .10000E-03    6.6479       -.29540E-05** at limit **
  14  Prefactor     .10000E-03    35.523       -.10184E-05** at limit **
  15  Prefactor     1.5256        221.31        .16216E-04   -.48418E-04
  16  Prefactor     .10001E-03    13.810       -.38570E-05** at limit **
  17  norm          .10000E-03    .32283       -.31488E-07** at limit **
  18  Prefactor     .10000E-03    7.3229       -.29291E-06** at limit **
  19  Normalizat    .94294        .18528       -.12926E-05    .72135E-05
  20  Prefactor     .95707        .13325       -.18381E-07   -.15900E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.65268
  Prefactor  = 0.0001
  norm       = 17.9187
  norm       = 4.17986
  norm       = 1.53859
  norm       = 2.50905
  norm       = 4.9184
  Prefactor  = 5.23055
  Prefactor  = 0.0001
  Prefactor  = 4.09454
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  Prefactor  = 1.52555
  Prefactor  = 0.000100008
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.942942
  Prefactor  = 0.957074
 **********
 **   18 **HESSE 
 **********

 FCN=   6277.705     FROM HESSE     STATUS=OK           293 CALLS     2041 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6527        30.828        .16412E-02   -1.5451    
   3  Prefactor     .10000E-03    32.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.919        9.6350        .94610E-04   -1.4861    
   5  norm          4.1799        3.3804        .12665E-03   -1.5299    
   6  norm          1.5386        .73081        .43990E-04   -1.5460    
   7  norm          2.5090        1.7454        .84342E-04   -1.5391    
   8  norm          4.9184        9.7058        .90684E-03   -1.5264    
   9  Prefactor     5.2305        11.678        .17565E-03   -1.5251    
  10  Prefactor     .10000E-03    28.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0945        52.566        .19959E-03   -1.5303    
  12  norm          .10000E-03    10.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.9309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.5256        228.05        .33994E-03   -1.5461    
  16  Prefactor     .10001E-03    14.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .32845        .43947E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.5650        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .94294        .21515        .26839E-03   -.94967    
  20  Prefactor     .95707        .15578        .20067E-03   -.94174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49412e-09
Minuit parameter uncertainties:
  1  5.61757e-05
  2  14.2838
  3  6.55389e-05
  4  9.63585
  5  3.38059
  6  0.730818
  7  1.74545
  8  9.70891
  9  11.6828
  10  0.000148339
  11  29.3731
  12  3.95883e-05
  13  0.000316753
  14  0.000310965
  15  37.4494
  16  0.000666417
  17  2.7587e-07
  18  0.00010202
  19  0.215343
  20  0.155853
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  4.095e+00  2.937e+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.571e-01  1.559e-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.429e-01  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 152.825 -4.458
Photon Flux Upper Limit: 9.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/709903/likelihoodResults_317088001_317347201_4FGL_J1011.3-0427_daily_bin300.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) = 6277.52493891
delta logL = 0.179948683473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6277.51102159
delta logL = 0.193865997423

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0269       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5411       1.0000          .0000       10.000    
     3 'Normalizat'    .91497       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96781       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6277.511     FROM MIGRAD    STATUS=FAILED       100 CALLS      261 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0391        32.322        .89675E-03    .20519E-03
   2  Index         3.5393        2.5795        .89671E-02    .32230E-03
   3  Normalizat    .91503        .20941        .27203E-03    .45972E-06
   4  Prefactor     .96778        .15500        .19966E-03    .85412E-06
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6277.511     FROM SIMPLEX   STATUS=UNCHANGED     81 CALLS      342 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0391        32.322        .23412E-03   -1.5259    
   2  Index         3.5393        2.5795        .15946E-02   -.29646    
   3  Normalizat    .91503        .20941        .29773E-03   -.95934    
   4  Prefactor     .96778        .15500        .21187E-03   -.93811    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6277.511     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      371 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0391        15.235        .17935E-03   -.29792E-05
   2  Index         3.5393        1.5945        .17934E-02    .12307E-04
   3  Normalizat    .91503        .20971        .10881E-04    .41793E-06
   4  Prefactor     .96778        .15516        .79862E-05    .85412E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.03905
  Index      = 3.53933
  Normalizat = 0.915028
  Prefactor  = 0.967782
 **********
 **   18 **HESSE 
 **********

 FCN=   6277.511     FROM HESSE     STATUS=OK            25 CALLS      396 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0391        14.394        .71740E-05   -1.5259    
   2  Index         3.5393        1.5092        .35868E-03   -.29646    
   3  Normalizat    .91503        .20968        .21762E-05   -.95934    
   4  Prefactor     .96778        .15510        .15972E-05   -.93811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88395e-14
Minuit parameter uncertainties:
  1  14.4042
  2  1.53548
  3  0.20987
  4  0.155169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/709903': 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) = 6277.51102091
delta logL = 0.193866684658

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  5.039e+00  1.440e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  3.539e+00  1.535e+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.678e-01  1.552e-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.150e-01  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/709903/cmap_HighResolution_317088001_317347201_4FGL_J1011.3-0427_daily_bin300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.22e-03', job_status='DONE', photon_flux_upper_limit='9.25e-08', time_completed='2021-09-01 12:52:31.940630', job_id='709903', GAL2='0.97', fit_tolerance='1e-08', EG2='0.92', EG='0.94', time_epoch_completed='1630525951.94', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.94e-01', ts2='0.43', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='300' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:52:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 709903: <4FGL_J1011.3-0427_daily_bin300> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin300> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 12:40:38 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:40:39 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:39 2021
Terminated at Wed Sep  1 12:52:32 2021
Results reported at Wed Sep  1 12:52:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin300 152.825 -4.4577 317088001 317347201 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 :                                   568.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            714 sec.

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

