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


Performing analysis on: 4FGL_J0814.6+6430_daily_bin1748
RA = 123.665, Dec = 64.505
tmin = 692409601, tmax = 692668801
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='881610', job_status='RUN', time_executed='2022-12-14 00:25:32.680142', time_epoch_executed='1671006332.68' WHERE source_name='4FGL J0814.6+6430' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881610

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/881610/ft1_4FGL_J0814.6+6430_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/881610/ft2_4FGL_J0814.6+6430_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881610/ft1_4FGL_J0814.6+6430_daily_bin1748.fits outfile=/scratch/kocevski/881610/ft1_filteredMKT_4FGL_J0814.6+6430_daily_bin1748.fits ra=123.665 dec=64.505 rad=12.0 tmin=692409601.0 tmax=692668801.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.59
user 3.32
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/881610/ft2_4FGL_J0814.6+6430_daily_bin1748.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/881610/ft1_filteredMKT_4FGL_J0814.6+6430_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/881610/ft1_filtered_4FGL_J0814.6+6430_daily_bin1748.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.53
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 853

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/881610/ft1_filtered_4FGL_J0814.6+6430_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/881610/ft2_4FGL_J0814.6+6430_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/881610/ltcube_692409601_692668801_4FGL_J0814.6+6430_daily_bin1748.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/881610/ft2_4FGL_J0814.6+6430_daily_bin1748.fits
.....................!
real 12.51
user 12.14
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881610/ft1_filtered_4FGL_J0814.6+6430_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881610/ft2_4FGL_J0814.6+6430_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881610/ltcube_692409601_692668801_4FGL_J0814.6+6430_daily_bin1748.fits outfile=/scratch/kocevski/881610/expmap_692409601_692668801_4FGL_J0814.6+6430_daily_bin1748.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/881610/ltcube_692409601_692668801_4FGL_J0814.6+6430_daily_bin1748.fits
.....................!
real 190.89
user 186.15
sys 4.23

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/881610/ft1_filtered_4FGL_J0814.6+6430_daily_bin1748.fits scfile=/scratch/kocevski/881610/ft2_4FGL_J0814.6+6430_daily_bin1748.fits outfile=/scratch/kocevski/881610/cmap_692409601_692668801_4FGL_J0814.6+6430_daily_bin1748.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881610/ft1_filtered_4FGL_J0814.6+6430_daily_bin1748.fits scfile=/scratch/kocevski/881610/ft2_4FGL_J0814.6+6430_daily_bin1748.fits outfile=/scratch/kocevski/881610/cmap_HighResolution_692409601_692668801_4FGL_J0814.6+6430_daily_bin1748.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37895E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    26.630       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.186       1.0000          .0000       .10000E+07
     4 'Prefactor '    .89874E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.8438       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.610       1.0000          .0000       .10000E+07
     7 'norm      '    .14433E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10039E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .14865E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .30757E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .47762E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1986       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4934       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.9591       1.0000          .0000       .10000E+07
    15 'norm      '    2.7226       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.7415       1.0000          .0000       .10000E+07
    17 'Prefactor '    54.814       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.7458       1.0000          .0000       .10000E+07
    19 'Prefactor '    20.695       1.0000          .0000       .10000E+07
    20 'norm      '    2.7347       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.5926       1.0000          .0000       .10000E+07
    22 'Prefactor '    .71737E-06   1.0000          .0000       .10000E+07
    23 'norm      '    1.4899       1.0000          .0000       .10000E+07
    24 'Normalizat'    .97416       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0065       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=   9070.285     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2166 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94924E-08    14.545       -.65775E-06** at limit **
   2  Prefactor     26.558        2.4472        .26045E-06   -.33531E-01
   3  Prefactor     13.167        13.872       -.21135E-05   -.67122E-02
   4  Prefactor     .27200E-08    65.993       -.51308E-06** at limit **
   5  norm          1.8437        .67033       -.24950E-07    .61186E-02
   6  Prefactor     11.597        5.2325       -.78492E-06    .16462E-01
   7  norm           .0000        .57102        .61932E-07** at limit **
   8  Prefactor     .11657E-08    22.749        .99466E-06** at limit **
   9  norm           .0000        7.7909        .67577E-07** at limit **
  10  Prefactor      .0000        2.7856        .28072E-07** at limit **
  11  norm          .55511E-10    1.5595        .35135E-06** at limit **
  12  Prefactor     3.1979        1.8930        .37635E-07   -.25329E-02
  13  Prefactor     1.4772        8.9263       -.14374E-06    .10061E-02
  14  Prefactor     4.9603        4.0456       -.13190E-07   -.26122E-02
  15  norm          2.7227        2.1942       -.52385E-07   -.87942E-03
  16  Prefactor     3.7403        7.1917       -.82057E-06   -.27268E-02
  17  Prefactor     54.926        1.2454       -.62940E-07    .18956E-01
  18  Prefactor     4.7372        11.231        .17853E-05    .11662E-02
  19  Prefactor     20.678        1.3703       -.45542E-07    .52243E-02
  20  norm          2.7344        .91041        .19772E-07   -.66894E-03
  21  Prefactor     6.6033        6.8184        .34331E-06    .46236E-03
  22  Prefactor     .33307E-08    14.068        .10076E-05** at limit **
  23  norm          1.4897        .63136       -.23379E-07   -.89009E-02
  24  Normalizat    .97412        .20062       -.14107E-05    .48735E-04
  25  Prefactor     1.0065        .14088       -.41801E-06   -.52882E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.49241e-09
  Prefactor  = 26.5578
  Prefactor  = 13.1674
  Prefactor  = 2.72005e-09
  norm       = 1.84372
  Prefactor  = 11.5969
  norm       = 0
  Prefactor  = 1.16573e-09
  norm       = 0
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 3.19787
  Prefactor  = 1.47721
  Prefactor  = 4.96031
  norm       = 2.72271
  Prefactor  = 3.74028
  Prefactor  = 54.9261
  Prefactor  = 4.73718
  Prefactor  = 20.6782
  norm       = 2.73442
  Prefactor  = 6.60333
  Prefactor  = 3.33067e-09
  norm       = 1.48974
  Normalizat = 0.974119
  Prefactor  = 1.00654
 **********
 **   18 **HESSE 
 **********

 FCN=   9070.285     FROM HESSE     STATUS=OK           489 CALLS     2655 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94924E-08    14.958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.558        30.191        .19382E-03   -1.5605    
   3  Prefactor     13.167        14.170        .27559E-03   -1.5635    
   4  Prefactor     .27200E-08    66.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8437        .67453        .76778E-03   -1.5681    
   6  Prefactor     11.597        20.106        .29376E-03   -1.5640    
   7  norm           .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11657E-08    22.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.4956        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.7772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    1.5592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1979        1.9337        .56628E-03   -1.5672    
  13  Prefactor     1.4772        9.0531        .87662E-03   -1.5684    
  14  Prefactor     4.9603        4.0586        .45138E-03   -1.5663    
  15  norm          2.7227        2.4091        .61692E-03   -1.5675    
  16  Prefactor     3.7403        7.2131        .52175E-03   -1.5669    
  17  Prefactor     54.926        40.228        .13508E-03   -1.5560    
  18  Prefactor     4.7372        11.294        .46164E-03   -1.5664    
  19  Prefactor     20.678        20.596        .21989E-03   -1.5617    
  20  norm          2.7344        .91178        .61546E-03   -1.5675    
  21  Prefactor     6.6033        6.8286        .39060E-03   -1.5657    
  22  Prefactor     .33307E-08    14.005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.4897        .63554        .87802E-03   -1.5684    
  24  Normalizat    .97412        .17574        .67400E-01   -.93903    
  25  Prefactor     1.0065        .12155        .43903E-01   -.92512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.14997e-08
Minuit parameter uncertainties:
  1  0.00075297
  2  30.191
  3  14.1701
  4  0.000843771
  5  0.674526
  6  20.1059
  7  5.90567e-06
  8  0.000324114
  9  8.3645e-06
  10  1.19948e-05
  11  1.44338e-05
  12  1.93374
  13  7.31395
  14  4.05863
  15  2.40906
  16  7.21309
  17  40.2282
  18  11.2945
  19  20.5959
  20  0.91178
  21  6.82858
  22  0.0004313
  23  0.635538
  24  0.175846
  25  0.121582
Done.

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

Extracting fit parameters...

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  3.198e+00  1.934e+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

GAL_V02
   Spectrum: PowerLaw
724    Prefactor:  1.007e+00  1.216e-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:  9.741e-01  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.04
Ra Dec: 123.665 64.505
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 6.31e-08 +/- 3.81e-08
Energy Flux (Fixed Index): 2.64e-05 +/- 1.60e-05

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) = 9069.30510937
delta logL = 0.980388487153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9069.24874067
delta logL = 1.03675718345

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4145       1.0000          .0000       .10000E+07
     2 'Index     '    3.0195       1.0000          .0000       10.000    
     3 'Normalizat'    .89804       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0412       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=   9069.249     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      220 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4146        7.1824        .91004E-03   -.24212E-01
   2  Index         3.0195        2.0027        .10858        .19599E-04
   3  Normalizat    .89804        .54523E-01    .69843E-01    .11234E-04
   4  Prefactor     1.0412        .37348E-01    .40453E-01    .16076E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.41459
  Index      = 3.01952
  Normalizat = 0.898037
  Prefactor  = 1.04123
 **********
 **   18 **HESSE 
 **********

 FCN=   9069.249     FROM HESSE     STATUS=OK            31 CALLS      251 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4146        2.0624        .48571E-05   -1.5684    
   2  Index         3.0195        .81198        .40823E-02   -.40726    
   3  Normalizat    .89804        .20358        .30901E-03   -.96529    
   4  Prefactor     1.0412        .14398        .21059E-03   -.91367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.61017e-10
Minuit parameter uncertainties:
  1  2.0624
  2  0.816271
  3  0.203758
  4  0.144033
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881610': 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) = 9069.24874066
delta logL = 1.03675719842

Extracting fit parameters...

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  1.415e+00  2.062e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        Index:  3.020e+00  8.163e-01  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.041e+00  1.440e-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:  8.980e-01  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.32
Ra Dec: 123.665 64.505
Photon Index (Free Index): 3.02 +/- 0.82
Photon Flux (Free Index): 1.16e-07 +/- 5.91e-08
Energy Flux (Free Index): 2.30e-05 +/- 1.13e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/881610/cmap_HighResolution_692409601_692668801_4FGL_J0814.6+6430_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.31e-08', energy_flux2='2.30e-05', photon_flux_error='3.81e-08', dlogl='1.04e+00', energy_flux='2.64e-05', photon_flux2='1.16e-07', job_status='DONE', time_completed='2022-12-14 00:39:48.171577', photon_index_error2='0.82', photon_index2='3.02', ts='5.04', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.13e-05', EG='0.97', time_epoch_completed='1671007188.17', return_code='0', job_id='881610', GAL2='1.04', EG2='0.90', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='5.91e-08', ts2='7.32', photon_index='2.24' WHERE bin_id='1748' AND source_name='4FGL J0814.6+6430' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:39:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 881610: <4FGL_J0814.6+6430_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0814.6+6430_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:17 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:25:19 2022
Terminated at Wed Dec 14 00:39:48 2022
Results reported at Wed Dec 14 00:39:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0814.6+6430_daily_bin1748 123.665 64.505 692409601 692668801 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 :                                   854.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             358.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            871 sec.

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

