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 113 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0814.6+6430_monthly_bin169
RA = 123.665, Dec = 64.505
tmin = 675043201, tmax = 677635201
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='162863', job_status='RUN', time_executed='2022-06-23 02:03:14.645738', time_epoch_executed='1655974994.65' WHERE source_name='4FGL J0814.6+6430' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/162863

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/162863/ft1_4FGL_J0814.6+6430_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/162863/ft2_4FGL_J0814.6+6430_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/162863/ft1_4FGL_J0814.6+6430_monthly_bin169.fits outfile=/scratch/kocevski/162863/ft1_filteredMKT_4FGL_J0814.6+6430_monthly_bin169.fits ra=123.665 dec=64.505 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.95
user 27.19
sys 0.67

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/162863/ft2_4FGL_J0814.6+6430_monthly_bin169.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/162863/ft1_filteredMKT_4FGL_J0814.6+6430_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/162863/ft1_filtered_4FGL_J0814.6+6430_monthly_bin169.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.85
user 0.66
sys 0.17

Number of photons that the gtmktime cut: 8534

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/162863/ft1_filtered_4FGL_J0814.6+6430_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/162863/ft2_4FGL_J0814.6+6430_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/162863/ltcube_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.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/162863/ft2_4FGL_J0814.6+6430_monthly_bin169.fits
.....................!
real 143.13
user 142.41
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/162863/ft1_filtered_4FGL_J0814.6+6430_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/162863/ft2_4FGL_J0814.6+6430_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/162863/ltcube_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.fits outfile=/scratch/kocevski/162863/expmap_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.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/162863/ltcube_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.fits
.....................!
real 192.43
user 187.40
sys 4.58

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/162863/ft1_filtered_4FGL_J0814.6+6430_monthly_bin169.fits scfile=/scratch/kocevski/162863/ft2_4FGL_J0814.6+6430_monthly_bin169.fits outfile=/scratch/kocevski/162863/cmap_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.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.79
user 0.63
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/162863/ft1_filtered_4FGL_J0814.6+6430_monthly_bin169.fits scfile=/scratch/kocevski/162863/ft2_4FGL_J0814.6+6430_monthly_bin169.fits outfile=/scratch/kocevski/162863/cmap_HighResolution_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.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.80
user 0.63
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/162863/ft1_filtered_4FGL_J0814.6+6430_monthly_bin169.fits', '/scratch/kocevski/162863/ft2_4FGL_J0814.6+6430_monthly_bin169.fits', expMap='/scratch/kocevski/162863/expmap_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.fits', expCube='/scratch/kocevski/162863/ltcube_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/162863/Model_4FGL_J0814.6+6430_monthly_bin169.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  1.000e-04  1.000e+04 ( 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/162863/ft1_filtered_4FGL_J0814.6+6430_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/162863/ft2_4FGL_J0814.6+6430_monthly_bin169.fits
Exposure map: /scratch/kocevski/162863/expmap_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.fits
Exposure cube: /scratch/kocevski/162863/ltcube_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/162863/Model_4FGL_J0814.6+6430_monthly_bin169.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) = 90046.6383536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.390       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.3462       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5571       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2010       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .52893E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.641       1.0000         .10000E-03   10000.    
     9 'norm      '    .21496       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.4710       1.0000         .10000E-03   10000.    
    11 'norm      '    .11482E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.0827       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.4763       1.0000         .10000E-03   10000.    
    14 'norm      '    1.4110       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19682       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4985       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2104       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.6349       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12341E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.3503       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .41000E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    .73349       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.5796       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .78516E-01   1.0000         .10000E-03   10000.    
    28 'norm      '    6.3476       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0240       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .99259       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90046.50     FROM MIGRAD    STATUS=CONVERGED    802 CALLS     3551 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.391        5.9793       -.29135E-06   -.14789E-03
   2  Prefactor     9.3465        7.3288       -.10145E-06   -.37564E-04
   3  Prefactor     .10000E-03    1.2445        .14998E-07** at limit **
   4  Prefactor     4.5563        4.7652       -.37607E-06   -.30617E-03
   5  norm          1.2011        .16972        .70917E-08    .40404E-04
   6  Prefactor     .10034E-03    1.6366        .76072E-06** at limit **
   7  Prefactor     .10000E-03    8.7361        .37820E-05** at limit **
   8  Prefactor     14.640        8.1260       -.21608E-08   -.19372E-04
   9  norm          .21495        .17832       -.31784E-08   -.26766E-02
  10  Prefactor     4.4718        4.9301        .78632E-06    .15052E-03
  11  norm          .10000E-03    .11041       -.97054E-09** at limit **
  12  Prefactor     4.0827        .99044        .37080E-08    .14906E-04
  13  Prefactor     7.4768        6.4327       -.32046E-06   -.26767E-04
  14  norm          1.4110        .78541       -.22227E-09   -.17681E-03
  15  Prefactor     .10000E-03    .60080E-01   -.17566E-07** at limit **
  16  Prefactor     .19598        .66269       -.29692E-06    .70392E-03
  17  Prefactor     4.4984        1.8411       -.18159E-07   -.97031E-04
  18  norm          1.2103        .46262       -.39989E-08   -.12010E-02
  19  Prefactor     7.6349        2.8022        .12377E-06    .14660E-03
  20  Prefactor     .10000E-03    9.0074       -.44156E-05** at limit **
  21  Prefactor     4.3502        1.3484        .12232E-06   -.23811E-02
  22  Prefactor     .10000E-03    2.4080        .56767E-07** at limit **
  23  Prefactor     .14327E-01    .39631       -.20463E-07   -.18037E-03
  24  norm          .73348        .22962        .55518E-08   -.59863E-03
  25  Prefactor     6.5795        2.3745       -.67739E-07   -.12604E-03
  26  Prefactor     .10000E-03    .95124       -.40047E-07** at limit **
  27  Prefactor     .69848E-01    .42416       -.45105E-07   -.96040E-04
  28  norm          6.3477        .31832        .10836E-08    .48907E-03
  29  Normalizat    1.0240        .54601E-01   -.18659E-07    .74896E-04
  30  Prefactor     .99255        .37665E-01    .37830E-08    .58732E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.3907
  Prefactor  = 9.34648
  Prefactor  = 0.0001
  Prefactor  = 4.55633
  norm       = 1.20105
  Prefactor  = 0.000100342
  Prefactor  = 0.0001
  Prefactor  = 14.6395
  norm       = 0.214947
  Prefactor  = 4.47177
  norm       = 0.0001
  Prefactor  = 4.08269
  Prefactor  = 7.47678
  norm       = 1.41103
  Prefactor  = 0.0001
  Prefactor  = 0.195982
  Prefactor  = 4.4984
  norm       = 1.21032
  Prefactor  = 7.6349
  Prefactor  = 0.0001
  Prefactor  = 4.3502
  Prefactor  = 0.0001
  Prefactor  = 0.0143267
  norm       = 0.733483
  Prefactor  = 6.57953
  Prefactor  = 0.0001
  Prefactor  = 0.0698481
  norm       = 6.34769
  Normalizat = 1.02401
  Prefactor  = 0.992549
 **********
 **   18 **HESSE 
 **********

 FCN=   90046.50     FROM HESSE     STATUS=OK           636 CALLS     4187 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.391        5.9878        .11380E-03   -1.5004    
   2  Prefactor     9.3465        7.3328        .13109E-03   -1.5096    
   3  Prefactor     .10000E-03    1.2529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.5563        4.7706        .18857E-03   -1.5281    
   5  norm          1.2011        .16840        .43728E-04   -1.5489    
   6  Prefactor     .10034E-03    1.6173        .11877       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.8165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.640        8.1784        .10468E-03   -1.4943    
   9  norm          .21495        .15760        .11296E-02   -1.5615    
  10  Prefactor     4.4718        4.8852        .19043E-03   -1.5285    
  11  norm          .10000E-03    1.7182        .18715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.0827        .99037        .19953E-04   -1.5304    
  13  Prefactor     7.4768        6.3751        .14668E-03   -1.5161    
  14  norm          1.4110        .78376        .19259E-03   -1.5470    
  15  Prefactor     .10000E-03    .11691        .14037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .19598        4.7835        .41285E-02   -1.5619    
  17  Prefactor     4.4984        1.8207        .18983E-03   -1.5284    
  18  norm          1.2103        .46292        .12077E-03   -1.5488    
  19  Prefactor     7.6349        2.8085        .14513E-03   -1.5155    
  20  Prefactor     .10000E-03    9.1467        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.3502        2.6982        .96560E-03   -1.5291    
  22  Prefactor     .10000E-03    2.4547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .14327E-01    .43039        .65272E-01   -1.5684    
  24  norm          .73348        .21924        .74216E-03   -1.5537    
  25  Prefactor     6.5795        2.3751        .15645E-03   -1.5195    
  26  Prefactor     .10000E-03    .96804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .69848E-01    .53383        .57826E-01   -1.5655    
  28  norm          6.3477        .31838        .36372E-04   -1.5204    
  29  Normalizat    1.0240        .63784E-01    .28756E-03   -.92230    
  30  Prefactor     .99255        .44160E-01    .21606E-03   -.92978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04409e-08
Minuit parameter uncertainties:
  1  5.98806
  2  7.33348
  3  4.47045e-07
  4  4.77104
  5  0.168399
  6  0.00148691
  7  0.000130753
  8  8.17899
  9  0.157602
  10  4.88564
  11  7.82447e-06
  12  0.990373
  13  6.37567
  14  0.783761
  15  8.58032e-07
  16  1.93616
  17  1.82072
  18  0.462917
  19  2.80853
  20  0.000116258
  21  2.69825
  22  1.71297e-06
  23  0.156501
  24  0.219236
  25  2.37508
  26  4.95085e-08
  27  0.385926
  28  0.318382
  29  0.0637891
  30  0.044162
Done.

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

Extracting fit parameters...

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  8.580e-07  1.000e-04  1.000e+04 ( 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.925e-01  4.416e-02  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.024e+00  6.379e-02  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.81e-09 ph cm-2 s-1
Energy Flux Upper Limit: 6.73e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/162863/likelihoodResults_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.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) = 90046.4998849
delta logL = -1.56824826263e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 90046.4998673
delta logL = 1.90541322809e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2537       1.0000          .0000       10.000    
     3 'Normalizat'    1.0240       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99255       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90044.86     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      302 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .13616E-03     .0000    ** at limit **
   2  Index         6.6797        .63603         .0000       -.17514E-02
   3  Normalizat    .99063        .58097E-01     .0000       -.30134E-03
   4  Prefactor     1.0080        .38676E-01     .0000       -.27744E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 6.67965
  Normalizat = 0.990633
  Prefactor  = 1.00802
 **********
 **   18 **HESSE 
 **********

 FCN=   90044.86     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      343 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .30377E-02    .27011E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.6797        2.7807        .98784E-02    2.7990    
   3  Normalizat    .99063        .22483E-01    .29197E-03   -.93345    
   4  Prefactor     1.0080        .16677E-01    .21463E-03   -.92463    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9467e-05
Minuit parameter uncertainties:
  1  1.94303e-08
  2  2.97457
  3  0.0224835
  4  0.0166767
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/162863': 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) = 90044.8580819
delta logL = 1.64178731633

Extracting fit parameters...

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  1.943e-08  1.000e-04  1.000e+04 ( 1.000e-12)
328        Index:  6.680e+00  2.975e+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:  1.008e+00  1.668e-02  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:  9.906e-01  2.248e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.54
Ra Dec: 123.665 64.505
Photon Index (Free Index): 6.68 +/- 2.97
Photon Flux (Free Index): 2.37e-08 +/- 1.58e-07
Energy Flux (Free Index): 2.86e-06 +/- 1.89e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/162863/cmap_HighResolution_675043201_677635201_4FGL_J0814.6+6430_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-04', comment='SUCCESS', energy_flux2='2.86e-06', dlogl='1.64e+00', photon_flux2='2.37e-08', job_status='DONE', time_completed='2022-06-23 05:05:17.518533', photon_index_error2='2.97', photon_index2='6.68', ts='-0.00', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='8.81e-09', energy_flux_error2='1.89e-05', EG='1.02', time_epoch_completed='1655985917.52', return_code='0', job_id='162863', GAL2='1.01', EG2='0.99', return_code2='102', photon_flux_error2='1.58e-07', ts2='3.54', photon_index='2.24' WHERE bin_id='169' AND source_name='4FGL J0814.6+6430' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 05:05:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 162863: <4FGL_J0814.6+6430_monthly_bin169> in cluster <slac> Done

Job <4FGL_J0814.6+6430_monthly_bin169> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Jun 23 01:25:50 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:01:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:01:12 2022
Terminated at Thu Jun 23 05:05:18 2022
Results reported at Thu Jun 23 05:05:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0814.6+6430_monthly_bin169 123.665 64.505 675043201 677635201 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 :                                   10887.00 sec.
    Max Memory :                                 632 MB
    Average Memory :                             452.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11046 sec.
    Turnaround time :                            13168 sec.

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

