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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin789
RA = 152.825, Dec = -4.4577
tmin = 443836801, tmax = 444096001
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='711586', job_status='RUN', time_executed='2021-09-01 12:45:56.743877', time_epoch_executed='1630525556.74' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='789'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/711586

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/711586/ft1_4FGL_J1011.3-0427_daily_bin789.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/711586/ft2_4FGL_J1011.3-0427_daily_bin789.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/711586/ft1_4FGL_J1011.3-0427_daily_bin789.fits outfile=/scratch/kocevski/711586/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin789.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=443836801.0 tmax=444096001.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.48
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/711586/ft1_filtered_4FGL_J1011.3-0427_daily_bin789.fits" evtable="EVENTS" scfile=/scratch/kocevski/711586/ft2_4FGL_J1011.3-0427_daily_bin789.fits sctable="SC_DATA" outfile=/scratch/kocevski/711586/ltcube_443836801_444096001_4FGL_J1011.3-0427_daily_bin789.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/711586/ft2_4FGL_J1011.3-0427_daily_bin789.fits
.....................!
real 13.25
user 12.72
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/711586/ft1_filtered_4FGL_J1011.3-0427_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/711586/ft2_4FGL_J1011.3-0427_daily_bin789.fits sctable="SC_DATA" expcube=/scratch/kocevski/711586/ltcube_443836801_444096001_4FGL_J1011.3-0427_daily_bin789.fits outfile=/scratch/kocevski/711586/expmap_443836801_444096001_4FGL_J1011.3-0427_daily_bin789.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/711586/ltcube_443836801_444096001_4FGL_J1011.3-0427_daily_bin789.fits
.....................!
real 193.21
user 187.64
sys 4.45

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/711586/ft1_filtered_4FGL_J1011.3-0427_daily_bin789.fits scfile=/scratch/kocevski/711586/ft2_4FGL_J1011.3-0427_daily_bin789.fits outfile=/scratch/kocevski/711586/cmap_443836801_444096001_4FGL_J1011.3-0427_daily_bin789.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.52
user 0.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/711586/ft1_filtered_4FGL_J1011.3-0427_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/711586/ft2_4FGL_J1011.3-0427_daily_bin789.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/711586/Model_4FGL_J1011.3-0427_daily_bin789.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/711586/ft1_filtered_4FGL_J1011.3-0427_daily_bin789.fits.....................!
real 58.68
user 57.17
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.592       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    14.565       1.0000         .10000E-03   10000.    
     5 'norm      '    5.4775       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4041       1.0000         .10000E-03   10000.    
     7 'norm      '    .55745       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    50.762       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.570       1.0000         .10000E-03   10000.    
    12 'norm      '    20.377       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .51832E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10443E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    49.462       1.0000         .10000E-03   10000.    
    17 'norm      '    5.5898       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1395       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80825       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=   5414.784     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2023 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.566        .29923E-05** at limit **
   2  Prefactor     23.594        23.088        .62739E-06   -.59569E-05
   3  Prefactor     .10000E-03    71.644       -.37884E-04** at limit **
   4  norm          14.563        11.316        .23508E-07    .93565E-04
   5  norm          5.4768        4.6739        .27226E-06    .63925E-04
   6  norm          1.4041        .80416       -.61578E-07   -.53562E-03
   7  norm          .55767        1.6172       -.59211E-06   -.10811E-02
   8  norm          .10000E-03    4.1573        .11304E-07** at limit **
   9  Prefactor     .10000E-03    6.2364        .98757E-07** at limit **
  10  Prefactor     50.767        48.391        .40179E-05   -.44172E-05
  11  Prefactor     24.570        37.839       -.44759E-06    .13563E-05
  12  norm          20.372        17.177        .14086E-05   -.13705E-03
  13  Prefactor     .10019E-03    8.3930        .73793E-06** at limit **
  14  Prefactor     .10000E-03    35.549       -.12733E-04** at limit **
  15  Prefactor     .10000E-03    54.447        .44804E-04** at limit **
  16  Prefactor     49.445        25.950       -.55045E-05   -.38169E-03
  17  norm          5.5899        1.9940       -.99129E-08   -.25782E-03
  18  Prefactor     .10000E-03    2.1670       -.35145E-07** at limit **
  19  Normalizat    1.1394        .21520        .12831E-06    .26091E-05
  20  Prefactor     .80828        .14864        .19670E-06    .12623E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 23.5944
  Prefactor  = 0.0001
  norm       = 14.5629
  norm       = 5.47678
  norm       = 1.40411
  norm       = 0.557673
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.7665
  Prefactor  = 24.5702
  norm       = 20.3722
  Prefactor  = 0.000100191
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 49.4448
  norm       = 5.58989
  Prefactor  = 0.0001
  Normalizat = 1.13938
  Prefactor  = 0.808276
 **********
 **   18 **HESSE 
 **********

 FCN=   5414.784     FROM HESSE     STATUS=OK           293 CALLS     2316 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.594        23.094        .82469E-04   -1.4736    
   3  Prefactor     .10000E-03    71.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          14.563        11.318        .10495E-03   -1.4945    
   5  norm          5.4768        4.6534        .14068E-03   -1.5240    
   6  norm          1.4041        .79380        .46728E-04   -1.5471    
   7  norm          .55767        1.6439        .15242E-03   -1.5559    
   8  norm          .10000E-03    4.1638        .14653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.2426        .17944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     50.767        48.364        .56288E-04   -1.4282    
  11  Prefactor     24.570        37.884        .80814E-04   -1.4716    
  12  norm          20.372        16.911        .88728E-04   -1.4805    
  13  Prefactor     .10019E-03    41.314        .38335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    54.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     49.445        25.062        .57019E-04   -1.4300    
  17  norm          5.5899        1.9950        .59147E-04   -1.5235    
  18  Prefactor     .10000E-03    2.1714        .10577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1394        .25108        .27417E-03   -.88497    
  20  Prefactor     .80828        .17352        .22831E-03   -.99424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47135e-09
Minuit parameter uncertainties:
  1  6.88835e-06
  2  23.1031
  3  0.000108828
  4  11.32
  5  4.65371
  6  0.793802
  7  1.64408
  8  1.32303e-07
  9  2.49141e-06
  10  48.4011
  11  37.9214
  12  16.915
  13  0.00562136
  14  5.5686e-05
  15  0.000396739
  16  25.0674
  17  1.99503
  18  1.72808e-06
  19  0.251348
  20  0.173632
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  2.457e+01  3.792e+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.083e-01  1.736e-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.139e+00  2.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 152.825 -4.458
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/711586/likelihoodResults_443836801_444096001_4FGL_J1011.3-0427_daily_bin789.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) = 5414.73099435
delta logL = 0.0525524104287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5414.71441352
delta logL = 0.069133231973

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.208       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9740       1.0000          .0000       10.000    
     3 'Normalizat'    1.1273       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81371       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=   5414.714     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      216 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.156        743.28        .23466E-02    .24064E-03
   2  Index         2.9747        6.4793        .22168        .55344E-04
   3  Normalizat    1.1273        .66800E-01    .62271E-01   -.15561E-04
   4  Prefactor     .81371        .44459E-01    .43895E-01    .47151E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1565
  Index      = 2.97473
  Normalizat = 1.12727
  Prefactor  = 0.813714
 **********
 **   18 **HESSE 
 **********

 FCN=   5414.714     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.156        38.508        .46931E-03   -1.4855    
   2  Index         2.9747        1.3156        .88853E-02   -.41704    
   3  Normalizat    1.1273        .24507        .27543E-03   -.88881    
   4  Prefactor     .81371        .17315        .22761E-03   -.99225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89509e-09
Minuit parameter uncertainties:
  1  38.561
  2  1.33448
  3  0.24532
  4  0.173268
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/711586': 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) = 5414.7144122
delta logL = 0.069134551678

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.816e+01  3.856e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.975e+00  1.334e+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.137e-01  1.733e-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.127e+00  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
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/711586/cmap_HighResolution_443836801_444096001_4FGL_J1011.3-0427_daily_bin789.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.39e-07', time_completed='2021-09-01 12:55:04.581911', job_id='711586', GAL2='0.81', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1630526104.58', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='6.91e-02', ts2='0.72', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='789' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:55:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 711586: <4FGL_J1011.3-0427_daily_bin789> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin789> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  1 12:45:37 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:45:38 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:45:38 2021
Terminated at Wed Sep  1 12:55:05 2021
Results reported at Wed Sep  1 12:55:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin789 152.825 -4.4577 443836801 444096001 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 :                                   546.14 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             367.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   566 sec.
    Turnaround time :                            568 sec.

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

