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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin1065
RA = 152.825, Dec = -4.4577
tmin = 515376001, tmax = 515635201
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='712950', job_status='RUN', time_executed='2021-09-01 12:50:43.825189', time_epoch_executed='1630525843.83' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='1065'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712950

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712950/ft1_4FGL_J1011.3-0427_daily_bin1065.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712950/ft2_4FGL_J1011.3-0427_daily_bin1065.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712950/ft1_4FGL_J1011.3-0427_daily_bin1065.fits outfile=/scratch/kocevski/712950/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1065.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=515376001.0 tmax=515635201.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.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712950/ft1_filtered_4FGL_J1011.3-0427_daily_bin1065.fits" evtable="EVENTS" scfile=/scratch/kocevski/712950/ft2_4FGL_J1011.3-0427_daily_bin1065.fits sctable="SC_DATA" outfile=/scratch/kocevski/712950/ltcube_515376001_515635201_4FGL_J1011.3-0427_daily_bin1065.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/712950/ft2_4FGL_J1011.3-0427_daily_bin1065.fits
.....................!
real 12.70
user 12.18
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712950/ft1_filtered_4FGL_J1011.3-0427_daily_bin1065.fits evtable="EVENTS" scfile=/scratch/kocevski/712950/ft2_4FGL_J1011.3-0427_daily_bin1065.fits sctable="SC_DATA" expcube=/scratch/kocevski/712950/ltcube_515376001_515635201_4FGL_J1011.3-0427_daily_bin1065.fits outfile=/scratch/kocevski/712950/expmap_515376001_515635201_4FGL_J1011.3-0427_daily_bin1065.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/712950/ltcube_515376001_515635201_4FGL_J1011.3-0427_daily_bin1065.fits
.....................!
real 190.16
user 185.20
sys 4.54

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/712950/ft1_filtered_4FGL_J1011.3-0427_daily_bin1065.fits scfile=/scratch/kocevski/712950/ft2_4FGL_J1011.3-0427_daily_bin1065.fits outfile=/scratch/kocevski/712950/cmap_515376001_515635201_4FGL_J1011.3-0427_daily_bin1065.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712950/ft1_filtered_4FGL_J1011.3-0427_daily_bin1065.fits scfile=/scratch/kocevski/712950/ft2_4FGL_J1011.3-0427_daily_bin1065.fits outfile=/scratch/kocevski/712950/cmap_HighResolution_515376001_515635201_4FGL_J1011.3-0427_daily_bin1065.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/712950/ft1_filtered_4FGL_J1011.3-0427_daily_bin1065.fits evtable="EVENTS" scfile=/scratch/kocevski/712950/ft2_4FGL_J1011.3-0427_daily_bin1065.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/712950/Model_4FGL_J1011.3-0427_daily_bin1065.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/712950/ft1_filtered_4FGL_J1011.3-0427_daily_bin1065.fits....................!
real 57.51
user 56.16
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4843       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7127       1.0000         .10000E-03   10000.    
     4 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.1883       1.0000         .10000E-03   10000.    
     6 'norm      '    .52357       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    39.404       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.528       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5868       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.9521       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3051       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .92985       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2355       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=   5595.999     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     1753 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.552       -.27096E-06** at limit **
   2  Prefactor     1.4559        76.223       -.53736E-06   -.27472E-05
   3  Prefactor     5.7118        20.292        .49793E-07   -.13597E-05
   4  norm          .10000E-03    19.033        .25153E-06** at limit **
   5  norm          9.1877        5.2609        .91527E-07    .15580E-04
   6  norm          .52295        .71663       -.14599E-06   -.11692E-03
   7  norm          .10000E-03    .81079        .80174E-07** at limit **
   8  norm          39.398        17.986       -.18970E-06    .53981E-06
   9  Prefactor     .10000E-03    6.4069       -.54776E-07** at limit **
  10  Prefactor     12.417        72.058       -.32614E-05    .54920E-05
  11  Prefactor     2.6464        240.73       -.18524E-04    .17342E-05
  12  norm          .10000E-03    6.2340       -.69679E-08** at limit **
  13  Prefactor     .10000E-03    10.770       -.16425E-06** at limit **
  14  Prefactor     .10000E-03    60.042        .27366E-05** at limit **
  15  Prefactor     .10000E-03    67.304       -.19092E-05** at limit **
  16  Prefactor     .10000E-03    28.310       -.32847E-06** at limit **
  17  norm          3.9518        2.2868       -.10478E-06    .68844E-04
  18  Prefactor     3.2982        10.498        .12290E-05    .40672E-04
  19  Normalizat    .93041        .26435        .45082E-05   -.23634E-04
  20  Prefactor     1.2352        .17987       -.15007E-05    .19994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.45587
  Prefactor  = 5.71175
  norm       = 0.0001
  norm       = 9.18767
  norm       = 0.522951
  norm       = 0.0001
  norm       = 39.3981
  Prefactor  = 0.0001
  Prefactor  = 12.4175
  Prefactor  = 2.64641
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.95183
  Prefactor  = 3.2982
  Normalizat = 0.930412
  Prefactor  = 1.2352
 **********
 **   18 **HESSE 
 **********

 FCN=   5595.999     FROM HESSE     STATUS=OK           291 CALLS     2044 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4559        75.930        .35214E-03   -1.5467    
   3  Prefactor     5.7118        20.282        .16805E-03   -1.5230    
   4  norm          .10000E-03    19.518        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.1877        5.2589        .12510E-03   -1.5102    
   6  norm          .52295        .68920        .68265E-04   -1.5563    
   7  norm          .10000E-03    .81852        .65740E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          39.398        17.986        .63853E-04   -1.4452    
   9  Prefactor     .10000E-03    6.4234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.417        72.339        .11317E-03   -1.5003    
  11  Prefactor     2.6464        241.37        .25372E-03   -1.5383    
  12  norm          .10000E-03    6.2384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    60.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    67.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.9518        2.2761        .79014E-04   -1.5310    
  18  Prefactor     3.2982        10.479        .22269E-03   -1.5345    
  19  Normalizat    .93041        .28702        .32104E-03   -.95400    
  20  Prefactor     1.2352        .20082        .21194E-03   -.85255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22422e-10
Minuit parameter uncertainties:
  1  2.98145e-05
  2  21.0555
  3  20.3062
  4  3.61467e-05
  5  5.25914
  6  0.689214
  7  7.04283e-07
  8  17.9886
  9  9.12325e-06
  10  60.0521
  11  50.7587
  12  3.36522e-06
  13  2.67389e-05
  14  1.41436e-05
  15  0.000136105
  16  6.05019e-05
  17  2.27613
  18  10.4851
  19  0.287492
  20  0.200941
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  2.646e+00  5.076e+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:  1.235e+00  2.009e-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.304e-01  2.875e-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: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712950/likelihoodResults_515376001_515635201_4FGL_J1011.3-0427_daily_bin1065.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): 102
logL (Free Index) = 5594.95292462
delta logL = 1.04596609651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5594.94675454
delta logL = 1.052136169

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9799       1.0000         .10000E-03   10000.    
     2 'Index     '    4.7019       1.0000          .0000       10.000    
     3 'Normalizat'    .78324       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3017       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=   5594.947     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      234 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9713        38.839        .58797E-02    .32169E-03
   2  Index         4.7035        3.0735        .12872        .10851E-03
   3  Normalizat    .78326        .69067E-01    .78312E-01    .77129E-06
   4  Prefactor     1.3017        .51609E-01    .46857E-01   -.30162E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.97126
  Index      = 4.70347
  Normalizat = 0.783262
  Prefactor  = 1.30167
 **********
 **   18 **HESSE 
 **********

 FCN=   5594.947     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      265 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9713        73.871        .88434E-04   -1.5363    
   2  Index         4.7035        7.1563        .47002E-02   -.59341E-01
   3  Normalizat    .78326        .25218        .34668E-03   -1.0069    
   4  Prefactor     1.3017        .18518        .20713E-03   -.83257    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.40155e-07
Minuit parameter uncertainties:
  1  29.6709
  2  5.55743
  3  0.252559
  4  0.185271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712950': 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): 102
logL (Free Index) = 5594.94675397
delta logL = 1.05213673771

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  2.971e+00  2.967e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  4.703e+00  5.557e+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:  1.302e+00  1.853e-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:  7.833e-01  2.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.38
Ra Dec: 152.825 -4.458
Photon Index (Free Index): 4.70 +/- 5.56
Photon Flux (Free Index): 1.27e-07 +/- 9.39e-08
Energy Flux (Free Index): 1.74e-05 +/- 1.65e-05

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/712950/cmap_HighResolution_515376001_515635201_4FGL_J1011.3-0427_daily_bin1065.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', energy_flux2='1.74e-05', dlogl='1.05e+00', photon_flux2='1.27e-07', job_status='DONE', time_completed='2021-09-01 12:59:52.748921', photon_index_error2='5.56', photon_index2='4.70', ts='0.00', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.65e-05', EG='0.93', time_epoch_completed='1630526392.75', return_code='0', job_id='712950', GAL2='1.30', EG2='0.78', return_code2='102', photon_flux_error2='9.39e-08', ts2='2.38', photon_index='2.56' WHERE bin_id='1065' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:59:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 712950: <4FGL_J1011.3-0427_daily_bin1065> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin1065> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 12:50:29 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:50:30 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:50:30 2021
Terminated at Wed Sep  1 12:59:53 2021
Results reported at Wed Sep  1 12:59:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin1065 152.825 -4.4577 515376001 515635201 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 :                                   534.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   563 sec.
    Turnaround time :                            564 sec.

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

