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


Performing analysis on: 4FGL_J1019.7+0511_weekly_bin757
RA = 154.942, Dec = 5.1905
tmin = 696816001, tmax = 697420801
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='259658', job_status='RUN', time_executed='2023-02-07 00:58:15.319817', time_epoch_executed='1675760295.32' WHERE source_name='4FGL J1019.7+0511' and cadence='weekly' and bin_id='757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259658

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259658/ft1_4FGL_J1019.7+0511_weekly_bin757.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259658/ft2_4FGL_J1019.7+0511_weekly_bin757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259658/ft1_4FGL_J1019.7+0511_weekly_bin757.fits outfile=/scratch/kocevski/259658/ft1_filteredMKT_4FGL_J1019.7+0511_weekly_bin757.fits ra=154.942 dec=5.1905 rad=12.0 tmin=696816001.0 tmax=697420801.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 7.73
user 7.36
sys 0.27

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

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

Number of photons that the gtmktime cut: 1270

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259658/ft1_filtered_4FGL_J1019.7+0511_weekly_bin757.fits" evtable="EVENTS" scfile=/scratch/kocevski/259658/ft2_4FGL_J1019.7+0511_weekly_bin757.fits sctable="SC_DATA" outfile=/scratch/kocevski/259658/ltcube_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.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/259658/ft2_4FGL_J1019.7+0511_weekly_bin757.fits
.....................!
real 31.80
user 31.00
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259658/ft1_filtered_4FGL_J1019.7+0511_weekly_bin757.fits evtable="EVENTS" scfile=/scratch/kocevski/259658/ft2_4FGL_J1019.7+0511_weekly_bin757.fits sctable="SC_DATA" expcube=/scratch/kocevski/259658/ltcube_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.fits outfile=/scratch/kocevski/259658/expmap_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.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/259658/ltcube_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.fits
.....................!
real 194.02
user 186.49
sys 6.11

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/259658/ft1_filtered_4FGL_J1019.7+0511_weekly_bin757.fits scfile=/scratch/kocevski/259658/ft2_4FGL_J1019.7+0511_weekly_bin757.fits outfile=/scratch/kocevski/259658/cmap_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259658/ft1_filtered_4FGL_J1019.7+0511_weekly_bin757.fits scfile=/scratch/kocevski/259658/ft2_4FGL_J1019.7+0511_weekly_bin757.fits outfile=/scratch/kocevski/259658/cmap_HighResolution_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.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.59
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/259658/ft1_filtered_4FGL_J1019.7+0511_weekly_bin757.fits evtable="EVENTS" scfile=/scratch/kocevski/259658/ft2_4FGL_J1019.7+0511_weekly_bin757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/259658/Model_4FGL_J1019.7+0511_weekly_bin757.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/259658/ft1_filtered_4FGL_J1019.7+0511_weekly_bin757.fits.....................!
real 120.89
user 118.69
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259658/ft1_filtered_4FGL_J1019.7+0511_weekly_bin757.fits', '/scratch/kocevski/259658/ft2_4FGL_J1019.7+0511_weekly_bin757.fits', expMap='/scratch/kocevski/259658/expmap_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.fits', expCube='/scratch/kocevski/259658/ltcube_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259658/Model_4FGL_J1019.7+0511_weekly_bin757.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/259658/ft1_filtered_4FGL_J1019.7+0511_weekly_bin757.fits
Spacecraft file(s): /scratch/kocevski/259658/ft2_4FGL_J1019.7+0511_weekly_bin757.fits
Exposure map: /scratch/kocevski/259658/expmap_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.fits
Exposure cube: /scratch/kocevski/259658/ltcube_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259658/Model_4FGL_J1019.7+0511_weekly_bin757.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) = 14405.4735606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1850       1.0000          .0000       .10000E+07
     2 'norm      '    .49743       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12680E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24615E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25420E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.9891       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10023E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46176E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .43529       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.4820       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37614E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    34.616       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2299       1.0000          .0000       .10000E+07
    15 'norm      '    .34266       1.0000          .0000       .10000E+07
    16 'Prefactor '    .71665E-07   1.0000          .0000       .10000E+07
    17 'Normalizat'    .68327       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1807       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=   14405.31     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1078 TOTAL
                     EDM=   .72E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1825        .94766        .20284E-08   -.84726E-04
   2  norm          .49671        .29554        .43002E-08   -.66574E-03
   3  Prefactor      .0000        4.6032       -.37036E-07** at limit **
   4  Prefactor     .22204E-08    3.8383       -.12532E-06** at limit **
   5  Prefactor     .42744E-08    2.1159       -.93284E-07** at limit **
   6  Prefactor      .0000        2.1376        .19471E-07** at limit **
   7  Prefactor     6.0641        46.971        .35197E-06   -.53445E-04
   8  Prefactor      .0000        18.027       -.45672E-06** at limit **
   9  Prefactor     .61062E-09    4.7369       -.29925E-07** at limit **
  10  norm          .43313        .97020        .36948E-07   -.76132E-05
  11  Prefactor     5.4709        3.7492        .58669E-08    .10104E-03
  12  Prefactor      .0000        1.8326       -.12678E-08** at limit **
  13  Prefactor     34.511        8.5843        .33991E-08    .60791E-03
  14  Prefactor     2.2798        4.5962        .13492E-06   -.23289E-03
  15  norm          .34131        .30679        .22148E-08    .58929E-04
  16  Prefactor      .0000        3.5301        .35786E-07** at limit **
  17  Normalizat    .68507        .14247       -.49137E-06   -.44081E-05
  18  Prefactor     1.1802        .11718       -.84123E-08   -.50638E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.18248
  norm       = 0.496709
  Prefactor  = 0
  Prefactor  = 2.22045e-09
  Prefactor  = 4.27436e-09
  Prefactor  = 0
  Prefactor  = 6.06408
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 0.433129
  Prefactor  = 5.47093
  Prefactor  = 0
  Prefactor  = 34.5107
  Prefactor  = 2.27985
  norm       = 0.341306
  Prefactor  = 0
  Normalizat = 0.685069
  Prefactor  = 1.18017
 **********
 **   18 **HESSE 
 **********

 FCN=   14405.31     FROM HESSE     STATUS=OK           284 CALLS     1362 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1825        .95794        .69608E-03   -1.5678    
   2  norm          .49671        .30570        .78969E-03   -1.5694    
   3  Prefactor      .0000        4.6342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-08    5.4558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .42744E-08    5.3717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.1650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.0641        46.902        .35449E-03   -1.5659    
   8  Prefactor      .0000        18.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .61062E-09    5.1954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .43313        .97739        .85506E-03   -1.5695    
  11  Prefactor     5.4709        3.7898        .42890E-03   -1.5661    
  12  Prefactor      .0000        1.7741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     34.511        8.5842        .16999E-03   -1.5590    
  14  Prefactor     2.2798        4.6722        .68818E-03   -1.5678    
  15  norm          .34131        .33071        .14022E-02   -1.5696    
  16  Prefactor      .0000        3.5323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .68507        .12411        .66705E-01   -1.0449    
  18  Prefactor     1.1802        .10103        .35105E-01   -.86944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43841e-07
Minuit parameter uncertainties:
  1  0.957943
  2  0.305704
  3  1.68918e-05
  4  0.000221345
  5  0.000302311
  6  4.40738e-07
  7  33.7296
  8  4.13615e-05
  9  0.000114093
  10  0.977395
  11  3.78979
  12  3.82464e-07
  13  8.58421
  14  4.67225
  15  0.330711
  16  1.04393e-06
  17  0.124163
  18  0.101047
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  6.106e-10  1.141e-04  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.180e+00  1.010e-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:  6.851e-01  1.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/259658/likelihoodResults_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.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) = 14405.4017327
delta logL = -0.0953572359722

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14405.3063791
delta logL = -3.59037949238e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89095E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .31921       1.0000          .0000       10.000    
     3 'Normalizat'    .68542       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1799       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=   14405.31     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      202 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17764E-08    5.6426       -.11682E-04** at limit **
   2  Index         1.6371        2.5881        .77496E-05   -.38257E-10
   3  Normalizat    .68507        .13365       -.66676E-04   -.18457E-02
   4  Prefactor     1.1802        .11626        .32298E-04   -.24785E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.77636e-09
  Index      = 1.63708
  Normalizat = 0.685067
  Prefactor  = 1.18017
 **********
 **   18 **HESSE 
 **********

 FCN=   14405.31     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      237 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17764E-08    .24846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6371        5.0381        .37073       -.73769    
   3  Normalizat    .68507        .59192E-03    .66705E-01   -1.0449    
   4  Prefactor     1.1802        .51436E-03    .35125E-01   -.86944    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43425e-11
Minuit parameter uncertainties:
  1  4.18094e-05
  2  6509.64
  3  0.000591925
  4  0.000514361
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259658': 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) = 14405.3063755
delta logL = -1.1787051335e-09

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  1.776e-09  4.181e-05  0.000e+00  1.000e+06 ( 1.000e-14)
226        Index:  1.637e+00  6.510e+03  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.180e+00  5.144e-04  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:  6.851e-01  5.919e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.942 5.191

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/259658/cmap_HighResolution_696816001_697420801_4FGL_J1019.7+0511_weekly_bin757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.68e-08', time_completed='2023-02-07 01:11:07.013145', job_id='259658', GAL2='1.18', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1675761067.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-1.18e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='757' AND source_name='4FGL J1019.7+0511' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb  7 01:11:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 259658: <4FGL_J1019.7+0511_weekly_bin757> in cluster <slac> Done

Job <4FGL_J1019.7+0511_weekly_bin757> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb  7 00:55:21 2023
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  7 00:56:01 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  7 00:56:01 2023
Terminated at Tue Feb  7 01:11:07 2023
Results reported at Tue Feb  7 01:11:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_weekly_bin757 154.942 5.1905 696816001 697420801 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 :                                   768.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             319.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            946 sec.

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

