aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 27 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1019.7+0511_weekly_bin752
RA = 154.942, Dec = 5.1905
tmin = 693792001, tmax = 694396801
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='436503', job_status='RUN', time_executed='2023-01-03 01:36:19.990384', time_epoch_executed='1672738579.99' WHERE source_name='4FGL J1019.7+0511' and cadence='weekly' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436503

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436503/ft1_4FGL_J1019.7+0511_weekly_bin752.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436503/ft1_4FGL_J1019.7+0511_weekly_bin752.fits outfile=/scratch/kocevski/436503/ft1_filteredMKT_4FGL_J1019.7+0511_weekly_bin752.fits ra=154.942 dec=5.1905 rad=12.0 tmin=693792001.0 tmax=694396801.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 8.76
user 8.33
sys 0.32

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.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/436503/ft1_filteredMKT_4FGL_J1019.7+0511_weekly_bin752.fits evtable="EVENTS" outfile="/scratch/kocevski/436503/ft1_filtered_4FGL_J1019.7+0511_weekly_bin752.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.64
user 0.39
sys 0.17

Number of photons that the gtmktime cut: 769

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436503/ft1_filtered_4FGL_J1019.7+0511_weekly_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/436503/ltcube_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.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/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.fits
.....................!
real 35.52
user 34.81
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436503/ft1_filtered_4FGL_J1019.7+0511_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/436503/ltcube_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.fits outfile=/scratch/kocevski/436503/expmap_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.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/436503/ltcube_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.fits
.....................!
real 193.00
user 187.96
sys 4.52

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1019.7+0511 @ 154.942 5.1905

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/436503/ft1_filtered_4FGL_J1019.7+0511_weekly_bin752.fits scfile=/scratch/kocevski/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.fits outfile=/scratch/kocevski/436503/cmap_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.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=154.942 yref=5.1905 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.60
user 0.44
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436503/ft1_filtered_4FGL_J1019.7+0511_weekly_bin752.fits scfile=/scratch/kocevski/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.fits outfile=/scratch/kocevski/436503/cmap_HighResolution_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.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=154.942 yref=5.1905 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.60
user 0.45
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436503/ft1_filtered_4FGL_J1019.7+0511_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436503/Model_4FGL_J1019.7+0511_weekly_bin752.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/436503/ft1_filtered_4FGL_J1019.7+0511_weekly_bin752.fits.....................!
real 80.73
user 79.29
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/436503/ft1_filtered_4FGL_J1019.7+0511_weekly_bin752.fits', '/scratch/kocevski/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.fits', expMap='/scratch/kocevski/436503/expmap_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.fits', expCube='/scratch/kocevski/436503/ltcube_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/436503/Model_4FGL_J1019.7+0511_weekly_bin752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1019.7+0511'

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.246e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
226        Index:  1.997e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  3.923e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/436503/ft1_filtered_4FGL_J1019.7+0511_weekly_bin752.fits
Spacecraft file(s): /scratch/kocevski/436503/ft2_4FGL_J1019.7+0511_weekly_bin752.fits
Exposure map: /scratch/kocevski/436503/expmap_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.fits
Exposure cube: /scratch/kocevski/436503/ltcube_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/436503/Model_4FGL_J1019.7+0511_weekly_bin752.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) = 8541.15362519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5328       1.0000          .0000       .10000E+07
     2 'norm      '    .39280E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.4407       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99387E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .64205       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74274E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8354       1.0000          .0000       .10000E+07
     8 'Prefactor '    20.120       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2455       1.0000          .0000       .10000E+07
    10 'norm      '    3.6644       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21731E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4033       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.1346       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.0050       1.0000          .0000       .10000E+07
    15 'norm      '    .46666       1.0000          .0000       .10000E+07
    16 'Prefactor '    18.580       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0955       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8541.059     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     1353 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5296        1.2678       -.74242E-08   -.12656E-03
   2  norm          .16653E-09    3.6566       -.24682E-06** at limit **
   3  Prefactor     6.4835        10.019        .53497E-06    .14978E-02
   4  Prefactor     .13323E-08    52.158        .14393E-05** at limit **
   5  Prefactor     .42744E-07    656.29        .98447E-05** at limit **
   6  Prefactor      .0000        3.6944       -.15228E-06** at limit **
   7  Prefactor     8.0579        82.149        .14883E-06    .36839E-03
   8  Prefactor     6.5173        441.10       -.21559E-05   -.10458E-02
   9  Prefactor     7.7787        45.769        .22037E-05   -.20507E-02
  10  norm          3.6646        1.4429        .97881E-08   -.17626E-02
  11  Prefactor      .0000        26.231        .89481E-07** at limit **
  12  Prefactor     2.4023        1.9383        .46507E-07    .11821E-02
  13  Prefactor     5.1316        4.5941        .42735E-07    .50644E-03
  14  Prefactor     7.9939        6.1116        .10491E-07    .14609E-02
  15  norm          .46600        .35059        .61602E-08    .20264E-02
  16  Prefactor     18.489        16.684       -.38291E-06   -.23569E-02
  17  Normalizat    1.0129        .20238        .50632E-05   -.57941E-04
  18  Prefactor     1.0944        .16301       -.65363E-05   -.74495E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.52961
  norm       = 1.66533e-10
  Prefactor  = 6.48352
  Prefactor  = 1.33227e-09
  Prefactor  = 4.27436e-08
  Prefactor  = 0
  Prefactor  = 8.05787
  Prefactor  = 6.5173
  Prefactor  = 7.77868
  norm       = 3.66464
  Prefactor  = 0
  Prefactor  = 2.40234
  Prefactor  = 5.13155
  Prefactor  = 7.99393
  norm       = 0.466
  Prefactor  = 18.4892
  Normalizat = 1.01293
  Prefactor  = 1.09439
 **********
 **   18 **HESSE 
 **********

 FCN=   8541.059     FROM HESSE     STATUS=OK           308 CALLS     1661 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5296        1.2723        .64151E-03   -1.5676    
   2  norm          .16653E-09    .21807        .28681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.4835        10.075        .39524E-03   -1.5657    
   4  Prefactor     .13323E-08    52.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .42744E-07    28.580        .11497E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.7278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.0579        91.547        .35798E-03   -1.5651    
   8  Prefactor     6.5173        768.63        .22301E-03   -1.5657    
   9  Prefactor     7.7787        73.838        .56197E-03   -1.5652    
  10  norm          3.6646        1.4541        .52742E-03   -1.5670    
  11  Prefactor      .0000        3.3801        .56783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4023        1.9522        .66020E-03   -1.5677    
  13  Prefactor     5.1316        4.5858        .44344E-03   -1.5663    
  14  Prefactor     7.9939        6.1467        .35414E-03   -1.5651    
  15  norm          .46600        .36102        .82137E-03   -1.5694    
  16  Prefactor     18.489        16.664        .23208E-03   -1.5622    
  17  Normalizat    1.0129        .17747        .46166E-01   -.92598    
  18  Prefactor     1.0944        .14126        .37762E-01   -.89646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22273e-07
Minuit parameter uncertainties:
  1  1.27231
  2  1.20305e-05
  3  10.075
  4  0.000529288
  5  0.00220996
  6  1.66721e-05
  7  54.3214
  8  141.572
  9  47.9325
  10  1.45405
  11  8.05956e-06
  12  1.95221
  13  4.58582
  14  6.14671
  15  0.361018
  16  16.6642
  17  0.177571
  18  0.141306
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  7.779e+00  4.793e+01  0.000e+00  1.000e+06 ( 1.000e-14)
226        Index:  1.997e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  3.923e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.094e+00  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.013e+00  1.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.38
Ra Dec: 154.942 5.191
Photon Flux Upper Limit: 6.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/436503/likelihoodResults_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.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) = 8540.58537766
delta logL = 0.4736018321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8540.5696786
delta logL = 0.489300889607

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7052       1.0000          .0000       .10000E+07
     2 'Index     '    2.7591       1.0000          .0000       10.000    
     3 'Normalizat'    .98468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8540.570     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      241 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7052        65.865        .61906E-03    .82058E-02
   2  Index         2.7593        2.5507        .87321E-01    .27235E-03
   3  Normalizat    .98479        .53679E-01    .45975E-01    .17530E-04
   4  Prefactor     1.1059        .42736E-01    .37362E-01    .20898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.70521
  Index      = 2.75928
  Normalizat = 0.984792
  Prefactor  = 1.10594
 **********
 **   18 **HESSE 
 **********

 FCN=   8540.570     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7052        25.738        .14162E-04   -1.5675    
   2  Index         2.7593        2.0482        .52884E-02   -.46469    
   3  Normalizat    .98479        .19553        .27866E-03   -.93542    
   4  Prefactor     1.1059        .16411        .22517E-03   -.89277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67569e-07
Minuit parameter uncertainties:
  1  16.6886
  2  2.12766
  3  0.195675
  4  0.164183
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436503': 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) = 8540.56967816
delta logL = 0.489301330523

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  2.705e+00  1.669e+01  0.000e+00  1.000e+06 ( 1.000e-14)
226        Index:  2.759e+00  2.128e+00  0.000e+00  1.000e+01 (-1.000e+00)
227        Scale:  3.923e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.106e+00  1.642e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  9.848e-01  1.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.38
Ra Dec: 154.942 5.191
Photon Index (Free Index): 2.76 +/- 2.13
Photon Flux (Free Index): 3.84e-08 +/- 4.24e-08
Energy Flux (Free Index): 8.85e-06 +/- 1.24e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/436503/cmap_HighResolution_693792001_694396801_4FGL_J1019.7+0511_weekly_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.85e-03', comment='SUCCESS', energy_flux2='8.85e-06', dlogl='4.89e-01', photon_flux2='3.84e-08', job_status='DONE', time_completed='2023-01-03 01:47:10.202006', photon_index_error2='2.13', photon_index2='2.76', ts='0.38', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='6.47e-08', energy_flux_error2='1.24e-05', EG='1.01', time_epoch_completed='1672739230.2', return_code='0', job_id='436503', GAL2='1.11', EG2='0.98', return_code2='0', photon_flux_error2='4.24e-08', ts2='1.38', photon_index='2.00' WHERE bin_id='752' AND source_name='4FGL J1019.7+0511' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan  3 01:47:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 436503: <4FGL_J1019.7+0511_weekly_bin752> in cluster <slac> Done

Job <4FGL_J1019.7+0511_weekly_bin752> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan  3 01:35:29 2023
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan  3 01:35:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan  3 01:35:42 2023
Terminated at Tue Jan  3 01:47:10 2023
Results reported at Tue Jan  3 01:47:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_weekly_bin752 154.942 5.1905 693792001 694396801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1019.7+0511 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   650.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            701 sec.

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

