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


Performing analysis on: 4FGL_J0814.6+6430_daily_bin1745
RA = 123.665, Dec = 64.505
tmin = 691632001, tmax = 691891201
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='641562', job_status='RUN', time_executed='2022-12-05 00:21:46.799017', time_epoch_executed='1670228506.8' WHERE source_name='4FGL J0814.6+6430' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641562

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641562/ft1_4FGL_J0814.6+6430_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641562/ft1_4FGL_J0814.6+6430_daily_bin1745.fits outfile=/scratch/kocevski/641562/ft1_filteredMKT_4FGL_J0814.6+6430_daily_bin1745.fits ra=123.665 dec=64.505 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.36
user 2.14
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.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/641562/ft1_filteredMKT_4FGL_J0814.6+6430_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/641562/ft1_filtered_4FGL_J0814.6+6430_daily_bin1745.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.49
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 484

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641562/ft1_filtered_4FGL_J0814.6+6430_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/641562/ltcube_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.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/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.fits
.....................!
real 12.58
user 12.22
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641562/ft1_filtered_4FGL_J0814.6+6430_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/641562/ltcube_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.fits outfile=/scratch/kocevski/641562/expmap_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.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/641562/ltcube_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.fits
.....................!
real 189.89
user 184.81
sys 4.77

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

Setting source of interest to:
4FGL J0814.6+6430 @ 123.665 64.505

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/641562/ft1_filtered_4FGL_J0814.6+6430_daily_bin1745.fits scfile=/scratch/kocevski/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.fits outfile=/scratch/kocevski/641562/cmap_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.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=123.665 yref=64.505 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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641562/ft1_filtered_4FGL_J0814.6+6430_daily_bin1745.fits scfile=/scratch/kocevski/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.fits outfile=/scratch/kocevski/641562/cmap_HighResolution_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.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=123.665 yref=64.505 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/641562/ft1_filtered_4FGL_J0814.6+6430_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/641562/Model_4FGL_J0814.6+6430_daily_bin1745.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/641562/ft1_filtered_4FGL_J0814.6+6430_daily_bin1745.fits.....................!
real 67.05
user 65.66
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/641562/ft1_filtered_4FGL_J0814.6+6430_daily_bin1745.fits', '/scratch/kocevski/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.fits', expMap='/scratch/kocevski/641562/expmap_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.fits', expCube='/scratch/kocevski/641562/ltcube_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/641562/Model_4FGL_J0814.6+6430_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0814.6+6430'

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  1.472e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        Index:  2.239e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  1.165e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/641562/ft1_filtered_4FGL_J0814.6+6430_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/641562/ft2_4FGL_J0814.6+6430_daily_bin1745.fits
Exposure map: /scratch/kocevski/641562/expmap_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.fits
Exposure cube: /scratch/kocevski/641562/ltcube_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/641562/Model_4FGL_J0814.6+6430_daily_bin1745.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) = 5293.36506035

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.800       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10916       1.0000          .0000       .10000E+07
     3 'Prefactor '    .97046E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .19977E-02   1.0000          .0000       .10000E+07
     5 'norm      '    1.2660       1.0000          .0000       .10000E+07
     6 'Prefactor '    36.934       1.0000          .0000       .10000E+07
     7 'norm      '    .30531E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12015       1.0000          .0000       .10000E+07
     9 'norm      '    .10761E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2822       1.0000          .0000       .10000E+07
    11 'norm      '    .13964E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .46749E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52375E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .47375E-04   1.0000          .0000       .10000E+07
    15 'norm      '    7.5435       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.307       1.0000          .0000       .10000E+07
    17 'Prefactor '    .22304E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .39326E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .42921E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .21029       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13332E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .19051E-04   1.0000          .0000       .10000E+07
    23 'norm      '    6.3461       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.6146       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .56791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5293.358     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2178 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.040        59.262       -.13134E-05   -.10467E-01
   2  Prefactor     .29865E-07    1.9388       -.24339E-07** at limit **
   3  Prefactor     .28866E-07    11.418       -.38943E-06** at limit **
   4  Prefactor     .59563E-07    19.787       -.19877E-05** at limit **
   5  norm          1.2621        .87556       -.67092E-07   -.53502E-03
   6  Prefactor     36.902        11.021       -.36293E-06    .63688E-01
   7  norm          .14233E-06    11.797        .33214E-06** at limit **
   8  Prefactor     .20850E-06    55.481       -.27984E-05** at limit **
   9  norm          .16098E-08    6.7227       -.24376E-06** at limit **
  10  Prefactor     4.2790        3.8158        .47700E-07    .25956E-03
  11  norm          .13339E-06    9.7102        .44848E-06** at limit **
  12  Prefactor     .50682E-06    8.2780       -.26662E-07** at limit **
  13  Prefactor     .14433E-08    31.954       -.93993E-06** at limit **
  14  Prefactor      .0000        2.3746       -.17373E-06** at limit **
  15  norm          7.5464        3.3582        .91316E-07    .71041E-03
  16  Prefactor     20.332        1.2474       -.21423E-07    .85814E-03
  17  Prefactor     .16526E-06    15.997        .43608E-06** at limit **
  18  Prefactor     .16653E-08    5.7075       -.80303E-07** at limit **
  19  Prefactor      .0000        40.285       -.78863E-06** at limit **
  20  norm          .21051        .48491        .66737E-07** at limit **
  21  Prefactor     .16653E-09    3.9893       -.73649E-06** at limit **
  22  Prefactor      .0000        1.9975        .22275E-06** at limit **
  23  norm          6.3467        1.2487        .55746E-07   -.59046E-03
  24  Normalizat    1.6145        .26325       -.24501E-05    .90282E-05
  25  Prefactor     .56769        .17325       -.28993E-05   -.26352E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0396
  Prefactor  = 2.9865e-08
  Prefactor  = 2.88658e-08
  Prefactor  = 5.95635e-08
  norm       = 1.26211
  Prefactor  = 36.9016
  norm       = 1.42331e-07
  Prefactor  = 2.085e-07
  norm       = 1.60982e-09
  Prefactor  = 4.27898
  norm       = 1.33393e-07
  Prefactor  = 5.06817e-07
  Prefactor  = 1.44329e-09
  Prefactor  = 0
  norm       = 7.54635
  Prefactor  = 20.3322
  Prefactor  = 1.65257e-07
  Prefactor  = 1.66533e-09
  Prefactor  = 0
  norm       = 0.210511
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 6.34673
  Normalizat = 1.61446
  Prefactor  = 0.56769
 **********
 **   18 **HESSE 
 **********

 FCN=   5293.358     FROM HESSE     STATUS=OK           487 CALLS     2665 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.040        60.599        .19692E-03   -1.5604    
   2  Prefactor     .29865E-07    207.32        .13690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28866E-07    11.672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .59563E-07    21.959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2621        .88641        .98958E-03   -1.5685    
   6  Prefactor     36.902        45.301        .16456E-03   -1.5586    
   7  norm          .14233E-06    1.3646        .28732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .20850E-06    56.160        .13417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .16098E-08    6.5674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.2790        3.8095        .48662E-03   -1.5667    
  11  norm          .13339E-06    10.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .50682E-06    1.1658        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14433E-08    31.988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.3762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.5464        3.3578        .36490E-03   -1.5653    
  16  Prefactor     20.332        18.209        .22198E-03   -1.5618    
  17  Prefactor     .16526E-06    19.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16653E-08    5.7304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        39.611        .15835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .21051        .56633        .19107E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16653E-09    3.9987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        1.9962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.3467        1.2480        .39821E-03   -1.5658    
  24  Normalizat    1.6145        .23079        .57849E-01   -.74611    
  25  Prefactor     .56769        .15104        .62508E-01   -1.0896    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65364e-07
Minuit parameter uncertainties:
  1  60.5999
  2  0.00497813
  3  0.00116109
  4  0.00228785
  5  0.886412
  6  45.301
  7  0.000881487
  8  0.00684406
  9  0.000206278
  10  3.80946
  11  0.00241434
  12  0.00153733
  13  0.000431946
  14  2.39008e-06
  15  3.3578
  16  18.2094
  17  0.00356109
  18  0.000194719
  19  1.07584e-05
  20  0.566328
  21  5.03346e-05
  22  6.12419e-06
  23  1.24799
  24  0.230946
  25  0.15115
Done.

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

Extracting fit parameters...

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  5.068e-07  1.537e-03  0.000e+00  1.000e+06 ( 1.000e-12)
328        Index:  2.239e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  1.165e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
724    Prefactor:  5.677e-01  1.511e-01  0.000e+00  1.000e+01 ( 1.000e+00)
725        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
726        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
723   Normalization:  1.614e+00  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 123.665 64.505
Photon Flux Upper Limit: 9.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641562/likelihoodResults_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.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) = 5293.26988202
delta logL = 0.0877214240572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5293.23987849
delta logL = 0.117724950112

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5293.240     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      219 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53354        1.7379        .28625E-02    .10565E-01
   2  Index         1.1904        .75200        .34787       -.46289E-04
   3  Normalizat    1.6123        .21976        .57876E-01   -.20670E-03
   4  Prefactor     .56543        .15010        .62612E-01    .13210E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.533538
  Index      = 1.19035
  Normalizat = 1.61227
  Prefactor  = 0.565432
 **********
 **   18 **HESSE 
 **********

 FCN=   5293.240     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53354        1.7491        .14094E-03   -1.5693    
   2  Index         1.1904        1.1619        .13934E-01   -.86629    
   3  Normalizat    1.6123        .25222        .25591E-03   -.74671    
   4  Prefactor     .56543        .17197        .27704E-03   -1.0906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95077e-09
Minuit parameter uncertainties:
  1  1.74907
  2  1.18843
  3  0.252417
  4  0.172133
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641562': 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) = 5293.23986969
delta logL = 0.117733759438

Extracting fit parameters...

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  5.335e-01  1.749e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        Index:  1.190e+00  1.188e+00  0.000e+00  1.000e+01 (-1.000e+00)
329        Scale:  1.165e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
724    Prefactor:  5.654e-01  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
725        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
726        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
723   Normalization:  1.612e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 123.665 64.505

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/641562/cmap_HighResolution_691632001_691891201_4FGL_J0814.6+6430_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.29e-03', job_status='DONE', photon_flux_upper_limit='9.54e-08', time_completed='2022-12-05 00:33:03.226387', job_id='641562', GAL2='0.57', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1670229183.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='1.18e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1745' AND source_name='4FGL J0814.6+6430' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:33:03 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 641562: <4FGL_J0814.6+6430_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0814.6+6430_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:20:16 2022
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:20:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:20:17 2022
Terminated at Mon Dec  5 00:33:04 2022
Results reported at Mon Dec  5 00:33:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0814.6+6430_daily_bin1745 123.665 64.505 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0814.6+6430 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   678.50 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            768 sec.

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

