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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin469
RA = 152.825, Dec = -4.4577
tmin = 360892801, tmax = 361152001
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='710140', job_status='RUN', time_executed='2021-09-01 12:41:14.715635', time_epoch_executed='1630525274.72' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710140

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710140/ft1_4FGL_J1011.3-0427_daily_bin469.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710140/ft2_4FGL_J1011.3-0427_daily_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710140/ft1_4FGL_J1011.3-0427_daily_bin469.fits outfile=/scratch/kocevski/710140/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin469.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=360892801.0 tmax=361152001.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.49
user 3.27
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/710140/ft1_filtered_4FGL_J1011.3-0427_daily_bin469.fits" evtable="EVENTS" scfile=/scratch/kocevski/710140/ft2_4FGL_J1011.3-0427_daily_bin469.fits sctable="SC_DATA" outfile=/scratch/kocevski/710140/ltcube_360892801_361152001_4FGL_J1011.3-0427_daily_bin469.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/710140/ft2_4FGL_J1011.3-0427_daily_bin469.fits
.....................!
real 12.20
user 11.85
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710140/ft1_filtered_4FGL_J1011.3-0427_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/710140/ft2_4FGL_J1011.3-0427_daily_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/710140/ltcube_360892801_361152001_4FGL_J1011.3-0427_daily_bin469.fits outfile=/scratch/kocevski/710140/expmap_360892801_361152001_4FGL_J1011.3-0427_daily_bin469.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/710140/ltcube_360892801_361152001_4FGL_J1011.3-0427_daily_bin469.fits
.....................!
real 189.64
user 184.86
sys 4.25

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/710140/ft1_filtered_4FGL_J1011.3-0427_daily_bin469.fits scfile=/scratch/kocevski/710140/ft2_4FGL_J1011.3-0427_daily_bin469.fits outfile=/scratch/kocevski/710140/cmap_360892801_361152001_4FGL_J1011.3-0427_daily_bin469.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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/710140/ft1_filtered_4FGL_J1011.3-0427_daily_bin469.fits scfile=/scratch/kocevski/710140/ft2_4FGL_J1011.3-0427_daily_bin469.fits outfile=/scratch/kocevski/710140/cmap_HighResolution_360892801_361152001_4FGL_J1011.3-0427_daily_bin469.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/710140/ft1_filtered_4FGL_J1011.3-0427_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/710140/ft2_4FGL_J1011.3-0427_daily_bin469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/710140/Model_4FGL_J1011.3-0427_daily_bin469.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/710140/ft1_filtered_4FGL_J1011.3-0427_daily_bin469.fits.....................!
real 54.55
user 53.20
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0188       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.9987       1.0000         .10000E-03   10000.    
     5 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.1345       1.0000         .10000E-03   10000.    
     7 'norm      '    .10663E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .78067E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.388       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.2092       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.446       1.0000         .10000E-03   10000.    
    15 'Prefactor '    54.761       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10476E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10541E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.627       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .88476       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93631       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=   5073.799     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2071 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.859       -.51167E-06** at limit **
   2  Prefactor     3.0186        24.253       -.95254E-07   -.56587E-04
   3  Prefactor     .10000E-03    23.016       -.39981E-05** at limit **
   4  norm          3.9994        8.0407        .37827E-05   -.12040E-02
   5  norm          .10000E-03    3.9975       -.28097E-08** at limit **
   6  norm          6.1345        1.1258       -.93095E-09    .11383E-03
   7  norm          .10000E-03    1.3723        .18451E-07** at limit **
   8  norm          .10000E-03    3.5264       -.41973E-07** at limit **
   9  Prefactor     .10013E-03    10.705       -.13590E-05** at limit **
  10  Prefactor     47.401        47.052        .64874E-05    .39958E-03
  11  Prefactor     .10001E-03    25.509        .55795E-05** at limit **
  12  norm          7.1746        14.817       -.35633E-06    .13258E-03
  13  Prefactor     .10000E-03    6.3176        .95780E-08** at limit **
  14  Prefactor     24.446        60.159        .79102E-06    .70646E-04
  15  Prefactor     54.764        46.483        .24534E-05    .25410E-03
  16  Prefactor     .10000E-03    13.402        .21425E-06** at limit **
  17  norm          .10000E-03    .68368       -.74514E-07** at limit **
  18  Prefactor     10.621        8.5093        .68828E-07    .42393E-04
  19  Normalizat    .88453        .21919       -.17743E-05    .14839E-03
  20  Prefactor     .93642        .15122        .46873E-07    .67373E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.0186
  Prefactor  = 0.000100004
  norm       = 3.99939
  norm       = 0.0001
  norm       = 6.13453
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100135
  Prefactor  = 47.4006
  Prefactor  = 0.000100006
  norm       = 7.17457
  Prefactor  = 0.0001
  Prefactor  = 24.4457
  Prefactor  = 54.7642
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.6208
  Normalizat = 0.884529
  Prefactor  = 0.936424
 **********
 **   18 **HESSE 
 **********

 FCN=   5073.799     FROM HESSE     STATUS=OK           293 CALLS     2364 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.0186        24.423        .23358E-03   -1.5360    
   3  Prefactor     .10000E-03    23.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.9994        10.024        .10084E-02   -1.5308    
   5  norm          .10000E-03    4.1808        .27795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.1345        1.1277        .30471E-04   -1.5213    
   7  norm          .10000E-03    2.5979        .16161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.5306        .13064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10013E-03    55.836        .41601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.401        48.652        .58248E-04   -1.4330    
  11  Prefactor     .10001E-03    26.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.1746        14.113        .14939E-03   -1.5172    
  13  Prefactor     .10000E-03    6.3298        .17455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.446        60.021        .81017E-04   -1.4719    
  15  Prefactor     54.764        46.639        .54205E-04   -1.4227    
  16  Prefactor     .10000E-03    13.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    24.825        .11216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.621        8.4964        .12290E-03   -1.5056    
  19  Normalizat    .88453        .25507        .29600E-03   -.97006    
  20  Prefactor     .93642        .17702        .21073E-03   -.94880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.39733e-09
Minuit parameter uncertainties:
  1  6.8687e-05
  2  17.1818
  3  0.0005994
  4  10.0278
  5  5.83527e-06
  6  1.12766
  7  7.41353e-06
  8  9.34314e-07
  9  0.00549302
  10  48.6925
  11  0.000797455
  12  14.1199
  13  3.69566e-05
  14  60.1695
  15  46.6704
  16  6.1091e-05
  17  0.00014882
  18  8.49732
  19  0.25542
  20  0.177129
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.000e-04  7.975e-04  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.364e-01  1.771e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.845e-01  2.554e-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: 9.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/710140/likelihoodResults_360892801_361152001_4FGL_J1011.3-0427_daily_bin469.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) = 5073.7987613
delta logL = -0.000182703898645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5073.79857863
delta logL = -3.54284566129e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4742       1.0000          .0000       10.000    
     3 'Normalizat'    .88453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93643       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=   5073.799     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      233 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6543.8        .90712E-02** at limit **
   2  Index         2.4785        7.1085        .50000       -.15302E-05
   3  Normalizat    .88453        .77348E-01    .66910E-01    .14600E-04
   4  Prefactor     .93643        .56761E-01    .45468E-01    .40030E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.47853
  Normalizat = 0.884527
  Prefactor  = 0.936426
 **********
 **   18 **HESSE 
 **********

 FCN=   5073.799     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4785        6.1572        .50000       -.52857    
   3  Normalizat    .88453        .23691        .29600E-03   -.97006    
   4  Prefactor     .93643        .17442        .21073E-03   -.94880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0759e-12
Minuit parameter uncertainties:
  1  2.44645e-06
  2  5.60962
  3  0.237189
  4  0.17452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710140': 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) = 5073.79857863
delta logL = -2.98578015645e-08

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.000e-04  2.446e-06  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.479e+00  5.610e+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.364e-01  1.745e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.845e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/710140/cmap_HighResolution_360892801_361152001_4FGL_J1011.3-0427_daily_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.80e-03', job_status='DONE', photon_flux_upper_limit='9.99e-08', time_completed='2021-09-01 12:50:03.518626', job_id='710140', GAL2='0.94', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1630525803.52', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-2.99e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='469' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:50:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 710140: <4FGL_J1011.3-0427_daily_bin469> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin469 152.825 -4.4577 360892801 361152001 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 :                                   527.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   548 sec.
    Turnaround time :                            550 sec.

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

