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


Performing analysis on: 4FGL_J1019.7+0511_daily_bin1708
RA = 154.942, Dec = 5.1905
tmin = 682041601, tmax = 682300801
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='91748', job_status='RUN', time_executed='2022-09-16 15:21:11.333392', time_epoch_executed='1663366871.33' WHERE source_name='4FGL J1019.7+0511' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91748

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91748/ft1_4FGL_J1019.7+0511_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91748/ft2_4FGL_J1019.7+0511_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91748/ft1_4FGL_J1019.7+0511_daily_bin1708.fits outfile=/scratch/kocevski/91748/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin1708.fits ra=154.942 dec=5.1905 rad=12.0 tmin=682041601.0 tmax=682300801.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 4.04
user 3.75
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/91748/ft2_4FGL_J1019.7+0511_daily_bin1708.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/91748/ft1_filteredMKT_4FGL_J1019.7+0511_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/91748/ft1_filtered_4FGL_J1019.7+0511_daily_bin1708.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.55
user 0.35
sys 0.19

Number of photons that the gtmktime cut: 572

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91748/ft1_filtered_4FGL_J1019.7+0511_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/91748/ft2_4FGL_J1019.7+0511_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/91748/ltcube_682041601_682300801_4FGL_J1019.7+0511_daily_bin1708.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/91748/ft2_4FGL_J1019.7+0511_daily_bin1708.fits
.....................!
real 14.50
user 14.10
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91748/ft1_filtered_4FGL_J1019.7+0511_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/91748/ft2_4FGL_J1019.7+0511_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/91748/ltcube_682041601_682300801_4FGL_J1019.7+0511_daily_bin1708.fits outfile=/scratch/kocevski/91748/expmap_682041601_682300801_4FGL_J1019.7+0511_daily_bin1708.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/91748/ltcube_682041601_682300801_4FGL_J1019.7+0511_daily_bin1708.fits
.....................!
real 192.91
user 186.97
sys 5.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 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/91748/ft1_filtered_4FGL_J1019.7+0511_daily_bin1708.fits scfile=/scratch/kocevski/91748/ft2_4FGL_J1019.7+0511_daily_bin1708.fits outfile=/scratch/kocevski/91748/cmap_682041601_682300801_4FGL_J1019.7+0511_daily_bin1708.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91748/ft1_filtered_4FGL_J1019.7+0511_daily_bin1708.fits scfile=/scratch/kocevski/91748/ft2_4FGL_J1019.7+0511_daily_bin1708.fits outfile=/scratch/kocevski/91748/cmap_HighResolution_682041601_682300801_4FGL_J1019.7+0511_daily_bin1708.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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/91748/ft1_filtered_4FGL_J1019.7+0511_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/91748/ft2_4FGL_J1019.7+0511_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/91748/Model_4FGL_J1019.7+0511_daily_bin1708.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/91748/ft1_filtered_4FGL_J1019.7+0511_daily_bin1708.fits.....................!
real 63.47
user 61.75
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9189       1.0000          .0000       .10000E+07
     2 'norm      '    .12146       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11834E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .94369E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10593E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .41259E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    28.816       1.0000          .0000       .10000E+07
     8 'Prefactor '    .40236E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .64045E-04   1.0000          .0000       .10000E+07
    10 'norm      '    1.9444       1.0000          .0000       .10000E+07
    11 'Prefactor '    .38238E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.6630       1.0000          .0000       .10000E+07
    13 'Prefactor '    34.282       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18319E-08   1.0000          .0000       .10000E+07
    15 'norm      '    1.9302       1.0000          .0000       .10000E+07
    16 'Prefactor '    .65424E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .98316       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2058       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=   6463.799     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1089 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9058        2.1002        .34186E-07    .64187E-03
   2  norm          .11554        .85047        .16960E-06** at limit **
   3  Prefactor      .0000        9.9229        .70179E-07** at limit **
   4  Prefactor     .55511E-10    11.883        .17529E-06** at limit **
   5  Prefactor      .0000        13.916       -.81338E-07** at limit **
   6  Prefactor      .0000        3.0368       -.46375E-07** at limit **
   7  Prefactor     18.538        62.591        .18793E-05   -.55782E-03
   8  Prefactor      .0000        16.707        .27663E-06** at limit **
   9  Prefactor      .0000        5.8296       -.50415E-07** at limit **
  10  norm          1.9415        1.4733       -.47519E-07    .76788E-03
  11  Prefactor     .55511E-10    8.5193        .12245E-06** at limit **
  12  Prefactor     8.7262        4.9707        .85874E-08   -.92035E-03
  13  Prefactor     34.182        1.8025        .15613E-07   -.49894E-03
  14  Prefactor      .0000        3.7167        .11730E-06** at limit **
  15  norm          1.9267        .64618       -.39310E-07    .81902E-02
  16  Prefactor      .0000        5.3559        .21015E-06** at limit **
  17  Normalizat    .99336        .25581        .79347E-06   -.70274E-04
  18  Prefactor     1.2019        .20118       -.12285E-05   -.71415E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.90578
  norm       = 0.115535
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.5383
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.94145
  Prefactor  = 5.55112e-11
  Prefactor  = 8.72617
  Prefactor  = 34.1821
  Prefactor  = 0
  norm       = 1.92669
  Prefactor  = 0
  Normalizat = 0.993362
  Prefactor  = 1.20191
 **********
 **   18 **HESSE 
 **********

 FCN=   6463.799     FROM HESSE     STATUS=OK           284 CALLS     1373 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9058        2.1033        .45326E-03   -1.5664    
   2  norm          .11554        .44337        .19011E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        10.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    11.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        13.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.1011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.538        62.056        .18632E-03   -1.5622    
   8  Prefactor      .0000        16.738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.8823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9415        1.4788        .74413E-03   -1.5680    
  11  Prefactor     .55511E-10    8.5621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.7262        4.9786        .34033E-03   -1.5649    
  13  Prefactor     34.182        14.473        .17081E-03   -1.5591    
  14  Prefactor      .0000        3.7132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.9267        .65110        .74733E-03   -1.5680    
  16  Prefactor      .0000        5.3864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99336        .21695        .68920E-01   -.93253    
  18  Prefactor     1.2019        .16862        .52979E-01   -.86273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32816e-08
Minuit parameter uncertainties:
  1  2.10335
  2  0.443372
  3  4.24113e-06
  4  4.61217e-05
  5  2.02769e-05
  6  1.2945e-05
  7  62.0585
  8  3.42713e-05
  9  1.22262e-05
  10  1.47876
  11  3.39962e-05
  12  4.97864
  13  14.4728
  14  6.49205e-06
  15  0.6511
  16  2.17991e-05
  17  0.217144
  18  0.168691
Done.

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

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  0.000e+00  1.223e-05  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.202e+00  1.687e-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.934e-01  2.171e-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: 4.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/91748/likelihoodResults_682041601_682300801_4FGL_J1019.7+0511_daily_bin1708.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) = 6463.8802825
delta logL = -0.0811744041439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6463.79911111
delta logL = -3.01531235891e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12399E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.3005       1.0000          .0000       10.000    
     3 'Normalizat'    .99382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2014       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6463.799     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      253 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.2303        .42118E-03** at limit **
   2  Index         1.9519        1.2694        .24533E-03     .0000    
   3  Normalizat    .99336        1.3236       -.20056E-06   -.58401E-03
   4  Prefactor     1.2019        1.1027       -.23848E-06   -.35027E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.95188
  Normalizat = 0.993356
  Prefactor  = 1.20191
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6463.799     FROM HESSE     STATUS=FAILED         9 CALLS      262 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.2303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .40490        1.7075        .24533E-03   -.65559    
   3  Normalizat    .99336        1.3236       -.20056E-06   -.93253    
   4  Prefactor     1.2019        1.1027       -.23848E-06   -.86272    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.27932e-10
Minuit parameter uncertainties:
  1  4.5064e-06
  2  1.29215
  3  1.37163
  4  1.12505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91748': 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): 101
logL (Free Index) = 6463.7991081
delta logL = -4.38376446255e-10

Extracting fit parameters...

4FGL J1019.7+0511
   Spectrum: PowerLaw
225    Prefactor:  0.000e+00  4.506e-06  0.000e+00  1.000e+06 ( 1.000e-14)
226        Index:  1.952e+00  1.292e+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.202e+00  1.125e+00  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.934e-01  1.372e+00  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/91748/cmap_HighResolution_682041601_682300801_4FGL_J1019.7+0511_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.78e-08', time_completed='2022-09-16 15:29:35.753545', job_id='91748', GAL2='1.20', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1663367375.75', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='-4.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1708' AND source_name='4FGL J1019.7+0511' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:29:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 91748: <4FGL_J1019.7+0511_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1019.7+0511_daily_bin1708> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 15:15:17 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:17:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:17:20 2022
Terminated at Fri Sep 16 15:29:36 2022
Results reported at Fri Sep 16 15:29:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1019.7+0511_daily_bin1708 154.942 5.1905 682041601 682300801 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 :                                   506.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             259.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            859 sec.

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

