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 94 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_J0805.4+6147_daily_bin1772
RA = 121.356, Dec = 61.7937
tmin = 698630401, tmax = 698889601
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='620839', job_status='RUN', time_executed='2023-02-24 00:56:59.663897', time_epoch_executed='1677229019.66' WHERE source_name='4FGL J0805.4+6147' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/620839

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/620839/ft1_4FGL_J0805.4+6147_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/620839/ft1_4FGL_J0805.4+6147_daily_bin1772.fits outfile=/scratch/kocevski/620839/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1772.fits ra=121.356 dec=61.7937 rad=12.0 tmin=698630401.0 tmax=698889601.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.02
user 2.82
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.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/620839/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/620839/ft1_filtered_4FGL_J0805.4+6147_daily_bin1772.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.34
sys 0.14

Number of photons that the gtmktime cut: 808

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/620839/ft1_filtered_4FGL_J0805.4+6147_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/620839/ltcube_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.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/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.fits
.....................!
real 12.95
user 12.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/620839/ft1_filtered_4FGL_J0805.4+6147_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/620839/ltcube_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.fits outfile=/scratch/kocevski/620839/expmap_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.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/620839/ltcube_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.fits
.....................!
real 191.62
user 186.76
sys 4.54

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 225 point sources and 0 extended sources

Setting source of interest to:
4FGL J0805.4+6147 @ 121.356 61.7937

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/620839/ft1_filtered_4FGL_J0805.4+6147_daily_bin1772.fits scfile=/scratch/kocevski/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.fits outfile=/scratch/kocevski/620839/cmap_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.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=121.356 yref=61.7937 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/620839/ft1_filtered_4FGL_J0805.4+6147_daily_bin1772.fits scfile=/scratch/kocevski/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.fits outfile=/scratch/kocevski/620839/cmap_HighResolution_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.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=121.356 yref=61.7937 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/620839/ft1_filtered_4FGL_J0805.4+6147_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/620839/Model_4FGL_J0805.4+6147_daily_bin1772.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/620839/ft1_filtered_4FGL_J0805.4+6147_daily_bin1772.fits.....................!
real 99.30
user 98.00
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/620839/ft1_filtered_4FGL_J0805.4+6147_daily_bin1772.fits', '/scratch/kocevski/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.fits', expMap='/scratch/kocevski/620839/expmap_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.fits', expCube='/scratch/kocevski/620839/ltcube_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/620839/Model_4FGL_J0805.4+6147_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0805.4+6147'

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  2.635e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  1.845e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/620839/ft1_filtered_4FGL_J0805.4+6147_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/620839/ft2_4FGL_J0805.4+6147_daily_bin1772.fits
Exposure map: /scratch/kocevski/620839/expmap_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.fits
Exposure cube: /scratch/kocevski/620839/ltcube_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/620839/Model_4FGL_J0805.4+6147_daily_bin1772.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) = 8503.33270184

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.200       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16009E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.179       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51974E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .78953       1.0000          .0000       .10000E+07
     6 'Prefactor '    29.311       1.0000          .0000       .10000E+07
     7 'norm      '    7.3021       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.163       1.0000          .0000       .10000E+07
     9 'norm      '    4.8741       1.0000          .0000       .10000E+07
    10 'norm      '    .15427E-02   1.0000          .0000       .10000E+07
    11 'norm      '    6.1840       1.0000          .0000       .10000E+07
    12 'Prefactor '    .80269E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .65587E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26556E-04   1.0000          .0000       .10000E+07
    15 'norm      '    35.482       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.6983       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.1165       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34994E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .12177E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .68591       1.0000          .0000       .10000E+07
    21 'Prefactor '    .45426E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    47.507       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3410       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82908       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8503.128     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2010 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.462        38.953       -.59035E-06   -.51072E-01
   2  Prefactor      .0000        13.116        .33869E-06** at limit **
   3  Prefactor     13.147        12.804       -.53868E-07   -.20075E-01
   4  Prefactor     .27743E-05    27.561        .77926E-06** at limit **
   5  norm          .79029        .39346       -.33230E-07    .21430E-02
   6  Prefactor     30.474        15.646       -.29318E-06    .11072    
   7  norm          7.2945        1.6626        .21230E-07   -.12116E-02
   8  Prefactor     21.421        22.832        .15252E-06    .81869E-01
   9  norm          4.8809        3.2381        .70564E-07   -.71853E-03
  10  norm          .55511E-10    3.0541        .36026E-06** at limit **
  11  norm          6.1881        3.3436        .61240E-07   -.53986E-03
  12  Prefactor      .0000        1.6111       -.14100E-07** at limit **
  13  Prefactor     .55511E-10    4.1214        .33654E-06** at limit **
  14  Prefactor     .56423E-05    29.930        .17057E-06** at limit **
  15  norm          35.511        4.3088       -.21458E-07    .64798E-03
  16  Prefactor     3.6975        8.4398        .69939E-07   -.33153E-03
  17  Prefactor     .39097        6.4478        .36806E-06   -.57132E-02
  18  Prefactor     .55511E-10    6.7004        .76129E-07** at limit **
  19  Prefactor     .12212E-08    8.2857       -.12955E-06** at limit **
  20  norm          .67905        1.0396        .65161E-09    .45838E-03
  21  Prefactor      .0000        2.6838       -.32304E-06** at limit **
  22  Prefactor     48.654        10.521        .12858E-07   -.88693E-01
  23  Normalizat    1.3363        .24967        .98638E-06   -.45395E-05
  24  Prefactor     .83009        .15328       -.76738E-06   -.48638E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4616
  Prefactor  = 0
  Prefactor  = 13.1472
  Prefactor  = 2.77434e-06
  norm       = 0.790285
  Prefactor  = 30.4739
  norm       = 7.29447
  Prefactor  = 21.4211
  norm       = 4.88092
  norm       = 5.55112e-11
  norm       = 6.18813
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 5.64226e-06
  norm       = 35.5109
  Prefactor  = 3.69749
  Prefactor  = 0.390973
  Prefactor  = 5.55112e-11
  Prefactor  = 1.22125e-09
  norm       = 0.679049
  Prefactor  = 0
  Prefactor  = 48.654
  Normalizat = 1.33634
  Prefactor  = 0.830091
 **********
 **   18 **HESSE 
 **********

 FCN=   8503.128     FROM HESSE     STATUS=OK           459 CALLS     2469 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.462        43.059        .19925E-03   -1.5603    
   2  Prefactor      .0000        13.052        .17315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.147        12.857        .27566E-03   -1.5635    
   4  Prefactor     .27743E-05    51.088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .79029        .39345        .53719E-03   -1.5690    
   6  Prefactor     30.474        34.201        .18474E-03   -1.5598    
   7  norm          7.2945        1.6872        .37094E-03   -1.5654    
   8  Prefactor     21.421        25.398        .21744E-03   -1.5615    
   9  norm          4.8809        3.2483        .45538E-03   -1.5664    
  10  norm          .55511E-10    3.0523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1881        3.3476        .40346E-03   -1.5658    
  12  Prefactor      .0000        1.5777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    4.1255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .56423E-05    58.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          35.511        4.2864        .16790E-03   -1.5589    
  16  Prefactor     3.6975        8.4639        .52491E-03   -1.5670    
  17  Prefactor     .39097        25.859        .16309E-01   -1.5695    
  18  Prefactor     .55511E-10    6.7034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12212E-08    8.2901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .67905        1.0911        .61859E-03   -1.5691    
  21  Prefactor      .0000        2.6865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     48.654        29.976        .14510E-03   -1.5568    
  23  Normalizat    1.3363        .21744        .71828E-01   -.82488    
  24  Prefactor     .83009        .13227        .44094E-01   -.98629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1716e-06
Minuit parameter uncertainties:
  1  43.0594
  2  1.28525e-05
  3  12.8572
  4  0.0238107
  5  0.393448
  6  34.2011
  7  1.68716
  8  25.3984
  9  3.24828
  10  2.22825e-05
  11  3.34762
  12  7.61982e-06
  13  2.3249e-05
  14  0.0362066
  15  4.2864
  16  8.46395
  17  6.35935
  18  4.48544e-05
  19  0.000199961
  20  1.09109
  21  6.6968e-06
  22  29.9765
  23  0.217588
  24  0.132318
Done.

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

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  4.881e+00  3.248e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  2.635e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  1.845e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
722    Prefactor:  8.301e-01  1.323e-01  0.000e+00  1.000e+01 ( 1.000e+00)
723        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
724        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
721   Normalization:  1.336e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.58
Ra Dec: 121.356 61.794
Photon Index (Fixed Index): 2.63 +/- 0.00
Photon Flux (Fixed Index): 7.01e-08 +/- 4.66e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.09e-05

TS (Fixed Index): 3.58
Ra Dec: 121.356 61.794
Photon Flux Upper Limit: 1.66e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/620839/likelihoodResults_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.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) = 8502.81668157
delta logL = 0.311277293531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8502.80223103
delta logL = 0.325727830557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4578       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0838       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81378       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8502.802     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      210 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4586        3.9405        .42987E-03    .43444E-02
   2  alpha         2.0839        .59524        .41896       -.34727E-04
   3  Normalizat    1.3627        .20451        .71225E-01    .10808E-04
   4  Prefactor     .81373        .13202        .43896E-01    .28437E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.45864
  alpha      = 2.08386
  Normalizat = 1.36266
  Prefactor  = 0.813734
 **********
 **   18 **HESSE 
 **********

 FCN=   8502.802     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4586        3.4453        .12952E-04   -1.5661    
   2  alpha         2.0839        .59834        .18934E-01   -.16723    
   3  Normalizat    1.3627        .23741        .31514E-03   -.81715    
   4  Prefactor     .81373        .15238        .25391E-03   -.99224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.24982e-12
Minuit parameter uncertainties:
  1  3.44529
  2  0.604376
  3  0.237597
  4  0.152459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/620839': 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) = 8502.80223094
delta logL = 0.325727920454

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  5.459e+00  3.445e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  2.084e+00  6.044e-01  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  1.845e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
722    Prefactor:  8.137e-01  1.525e-01  0.000e+00  1.000e+01 ( 1.000e+00)
723        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
724        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
721   Normalization:  1.363e+00  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.18
Ra Dec: 121.356 61.794
Photon Index (Free Index): 2.08 +/- 0.60
Photon Flux (Free Index): 5.90e-08 +/- 4.13e-08
Energy Flux (Free Index): 2.03e-05 +/- 1.36e-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/620839/cmap_HighResolution_698630401_698889601_4FGL_J0805.4+6147_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.88e-05', comment='SUCCESS', photon_flux='7.01e-08', energy_flux2='2.03e-05', photon_flux_error='4.66e-08', dlogl='3.26e-01', energy_flux='1.64e-05', photon_flux2='5.90e-08', job_status='DONE', time_completed='2023-02-24 01:11:41.309249', photon_index_error2='0.60', photon_index2='2.08', ts='3.58', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.66e-07', energy_flux_error2='1.36e-05', EG='1.34', time_epoch_completed='1677229901.31', return_code='0', job_id='620839', GAL2='0.81', EG2='1.36', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='4.13e-08', ts2='4.18', photon_index='2.63' WHERE bin_id='1772' AND source_name='4FGL J0805.4+6147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:11:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 620839: <4FGL_J0805.4+6147_daily_bin1772> in cluster <slac> Done

Job <4FGL_J0805.4+6147_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 00:55:13 2023
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 00:55:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 00:55:14 2023
Terminated at Fri Feb 24 01:11:41 2023
Results reported at Fri Feb 24 01:11:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.4+6147_daily_bin1772 121.356 61.7937 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.4+6147 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   884.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             300.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            988 sec.

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

