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


Performing analysis on: 4FGL_J0814.6+6430_daily_bin1771
RA = 123.665, Dec = 64.505
tmin = 698371201, tmax = 698630401
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='542057', job_status='RUN', time_executed='2023-02-21 00:33:28.017581', time_epoch_executed='1676968408.02' WHERE source_name='4FGL J0814.6+6430' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542057

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542057/ft1_4FGL_J0814.6+6430_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542057/ft2_4FGL_J0814.6+6430_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542057/ft1_4FGL_J0814.6+6430_daily_bin1771.fits outfile=/scratch/kocevski/542057/ft1_filteredMKT_4FGL_J0814.6+6430_daily_bin1771.fits ra=123.665 dec=64.505 rad=12.0 tmin=698371201.0 tmax=698630401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.06
user 2.86
sys 0.18

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

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

Number of photons that the gtmktime cut: 593

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542057/ft1_filtered_4FGL_J0814.6+6430_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/542057/ft2_4FGL_J0814.6+6430_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/542057/ltcube_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.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/542057/ft2_4FGL_J0814.6+6430_daily_bin1771.fits
.....................!
real 12.73
user 12.40
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542057/ft1_filtered_4FGL_J0814.6+6430_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/542057/ft2_4FGL_J0814.6+6430_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/542057/ltcube_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.fits outfile=/scratch/kocevski/542057/expmap_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.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/542057/ltcube_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.fits
.....................!
real 192.17
user 187.15
sys 4.69

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/542057/ft1_filtered_4FGL_J0814.6+6430_daily_bin1771.fits scfile=/scratch/kocevski/542057/ft2_4FGL_J0814.6+6430_daily_bin1771.fits outfile=/scratch/kocevski/542057/cmap_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542057/ft1_filtered_4FGL_J0814.6+6430_daily_bin1771.fits scfile=/scratch/kocevski/542057/ft2_4FGL_J0814.6+6430_daily_bin1771.fits outfile=/scratch/kocevski/542057/cmap_HighResolution_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/542057/ft1_filtered_4FGL_J0814.6+6430_daily_bin1771.fits', '/scratch/kocevski/542057/ft2_4FGL_J0814.6+6430_daily_bin1771.fits', expMap='/scratch/kocevski/542057/expmap_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.fits', expCube='/scratch/kocevski/542057/ltcube_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/542057/Model_4FGL_J0814.6+6430_daily_bin1771.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/542057/ft1_filtered_4FGL_J0814.6+6430_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/542057/ft2_4FGL_J0814.6+6430_daily_bin1771.fits
Exposure map: /scratch/kocevski/542057/expmap_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.fits
Exposure cube: /scratch/kocevski/542057/ltcube_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/542057/Model_4FGL_J0814.6+6430_daily_bin1771.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) = 6460.09612536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72730       1.0000          .0000       .10000E+07
     2 'Prefactor '    62.725       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28490E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25812E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .21649E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    39.056       1.0000          .0000       .10000E+07
     7 'norm      '    3.8423       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11747E-01   1.0000          .0000       .10000E+07
     9 'norm      '    7.3405       1.0000          .0000       .10000E+07
    10 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .32874E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19901E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    9.4853       1.0000          .0000       .10000E+07
    14 'Prefactor '    .94769E-06   1.0000          .0000       .10000E+07
    15 'norm      '    12.915       1.0000          .0000       .10000E+07
    16 'Prefactor '    30.134       1.0000          .0000       .10000E+07
    17 'Prefactor '    .31281E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .39479E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .29057E-02   1.0000          .0000       .10000E+07
    20 'norm      '    3.8956       1.0000          .0000       .10000E+07
    21 'Prefactor '    .83500E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    .55997E-01   1.0000          .0000       .10000E+07
    23 'norm      '    3.4018       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1992       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .90103       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=   6460.049     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     2167 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62806        1.1468        .91101E-08    .88335E-03
   2  Prefactor     63.258        3.6839       -.39690E-08    .14569E-01
   3  Prefactor     .67795E-04    66.134       -.32492E-07** at limit **
   4  Prefactor     .11102E-09    48.944       -.11205E-06** at limit **
   5  norm           .0000        .38510        .94685E-08** at limit **
   6  Prefactor     39.300        1.4372       -.15326E-08    .86511E-03
   7  norm          3.8411        1.5611        .12718E-07    .58966E-02
   8  Prefactor     .20421E-05    27.999        .27884E-06** at limit **
   9  norm          7.3391        4.9273        .14244E-07    .24410E-02
  10  Prefactor      .0000        1.2098       -.26210E-08** at limit **
  11  norm           .0000        2.6438        .21014E-07** at limit **
  12  Prefactor      .0000        1.8335        .34265E-07** at limit **
  13  Prefactor     9.4913        14.128       -.19788E-07    .84125E-02
  14  Prefactor     .33307E-09    8.5683        .48158E-07** at limit **
  15  norm          12.919        3.5875        .42686E-07    .11685E-01
  16  Prefactor     30.348        7.6590        .13727E-08    .24656E-01
  17  Prefactor     .56727E-06    23.858       -.12721E-06** at limit **
  18  Prefactor     .42281E-04    47.643        .69952E-07** at limit **
  19  Prefactor     .29395E-05    46.062        .13564E-06** at limit **
  20  norm          3.8976        1.9516       -.17075E-07   -.18844E-02
  21  Prefactor     .55511E-10    9.3685       -.15323E-06** at limit **
  22  Prefactor     .58360E-04    217.64       -.63750E-06** at limit **
  23  norm          3.4028        1.6033       -.72449E-08   -.76175E-03
  24  Normalizat    1.1990        .26548        .12901E-05    .28198E-03
  25  Prefactor     .90090        .16858        .17779E-06    .31729E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.628063
  Prefactor  = 63.2585
  Prefactor  = 6.77951e-05
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 39.3
  norm       = 3.84112
  Prefactor  = 2.04214e-06
  norm       = 7.33911
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 9.49127
  Prefactor  = 3.33067e-10
  norm       = 12.9194
  Prefactor  = 30.3482
  Prefactor  = 5.67268e-07
  Prefactor  = 4.22808e-05
  Prefactor  = 2.93948e-06
  norm       = 3.89763
  Prefactor  = 5.55112e-11
  Prefactor  = 5.83595e-05
  norm       = 3.40277
  Normalizat = 1.19901
  Prefactor  = 0.900903
 **********
 **   18 **HESSE 
 **********

 FCN=   6460.049     FROM HESSE     STATUS=OK           483 CALLS     2650 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62806        91.322        .58520E-03   -1.5692    
   2  Prefactor     63.258        38.090        .12627E-03   -1.5549    
   3  Prefactor     .67795E-04    107.82        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    47.567        .16681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .37450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     39.300        33.002        .16003E-03   -1.5583    
   7  norm          3.8411        1.5769        .51461E-03   -1.5669    
   8  Prefactor     .20421E-05    29.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.3391        4.9142        .36996E-03   -1.5654    
  10  Prefactor      .0000        1.2099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        2.6403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.8156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.4913        14.161        .32515E-03   -1.5646    
  14  Prefactor     .33307E-09    8.5492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.919        3.5763        .27847E-03   -1.5636    
  16  Prefactor     30.348        36.004        .18220E-03   -1.5598    
  17  Prefactor     .56727E-06    24.236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .42281E-04    79.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .29395E-05    48.435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.8976        1.9960        .51096E-03   -1.5668    
  21  Prefactor     .55511E-10    9.3821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .58360E-04    16.266        .11521E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.4028        1.6162        .54827E-03   -1.5671    
  24  Normalizat    1.1990        .22853        .68741E-01   -.86633    
  25  Prefactor     .90090        .14521        .45018E-01   -.96110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34896e-06
Minuit parameter uncertainties:
  1  15.1469
  2  38.0906
  3  0.170996
  4  0.000155286
  5  1.16614e-06
  6  33.0019
  7  1.57694
  8  0.0154949
  9  4.91418
  10  8.81249e-08
  11  8.05711e-06
  12  9.98467e-06
  13  14.1608
  14  0.000109476
  15  3.57631
  16  36.0046
  17  0.0074157
  18  0.11593
  19  0.0238643
  20  1.99601
  21  4.8413e-05
  22  0.06162
  23  1.61625
  24  0.228722
  25  0.145276
Done.

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

Extracting fit parameters...

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  0.000e+00  9.985e-06  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:  9.009e-01  1.453e-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.199e+00  2.287e-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: 8.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542057/likelihoodResults_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.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) = 6460.05208045
delta logL = -0.00329204713216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6460.04878896
delta logL = -5.53231075173e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15871E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.7627       1.0000          .0000       10.000    
     3 'Normalizat'    1.1991       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90076       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=   6460.049     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      265 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .37490E-02    .42118E-03** at limit **
   2  Index         2.4152        6.1476        .50000        .22737E-10
   3  Normalizat    1.1990        .25419E-03    .68741E-01   -.74120E-03
   4  Prefactor     .90090        .17065E-03    .45015E-01   -.10930E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.41523
  Normalizat = 1.19901
  Prefactor  = 0.9009
 **********
 **   18 **HESSE 
 **********

 FCN=   6460.049     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      294 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .50566E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4152        5.5912        .50000       -.54329    
   3  Normalizat    1.1990        .92179E-03    .30414E-03   -.86633    
   4  Prefactor     .90090        .61936E-03    .23070E-03   -.96110    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.25141e-12
Minuit parameter uncertainties:
  1  5.58417e-06
  2  6165.84
  3  0.000921793
  4  0.000619362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542057': 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) = 6460.0487884
delta logL = -5.12045517098e-10

Extracting fit parameters...

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  1.665e-10  5.584e-06  0.000e+00  1.000e+06 ( 1.000e-12)
328        Index:  2.415e+00  6.166e+03  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:  9.009e-01  6.194e-04  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.199e+00  9.218e-04  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/542057/cmap_HighResolution_698371201_698630401_4FGL_J0814.6+6430_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.66e-03', job_status='DONE', photon_flux_upper_limit='8.71e-08', time_completed='2023-02-21 00:46:01.527221', job_id='542057', GAL2='0.90', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1676969161.53', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-5.12e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1771' AND source_name='4FGL J0814.6+6430' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:46:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 542057: <4FGL_J0814.6+6430_daily_bin1771> in cluster <slac> Done

Job <4FGL_J0814.6+6430_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 00:30:20 2023
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:30:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:30:21 2023
Terminated at Tue Feb 21 00:46:02 2023
Results reported at Tue Feb 21 00:46:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0814.6+6430_daily_bin1771 123.665 64.505 698371201 698630401 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 :                                   755.11 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             300.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            942 sec.

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

