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


Performing analysis on: 4FGL_J0805.4+6147_daily_bin1759
RA = 121.356, Dec = 61.7937
tmin = 695260801, tmax = 695520001
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='554180', job_status='RUN', time_executed='2023-01-16 00:58:24.899634', time_epoch_executed='1673859504.9' WHERE source_name='4FGL J0805.4+6147' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554180

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554180/ft1_4FGL_J0805.4+6147_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554180/ft2_4FGL_J0805.4+6147_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554180/ft1_4FGL_J0805.4+6147_daily_bin1759.fits outfile=/scratch/kocevski/554180/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1759.fits ra=121.356 dec=61.7937 rad=12.0 tmin=695260801.0 tmax=695520001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.76
user 2.53
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/554180/ft2_4FGL_J0805.4+6147_daily_bin1759.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/554180/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/554180/ft1_filtered_4FGL_J0805.4+6147_daily_bin1759.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 241

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/554180/ft1_filtered_4FGL_J0805.4+6147_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/554180/ft2_4FGL_J0805.4+6147_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/554180/ltcube_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.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/554180/ft2_4FGL_J0805.4+6147_daily_bin1759.fits
.....................!
real 16.64
user 16.21
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554180/ft1_filtered_4FGL_J0805.4+6147_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/554180/ft2_4FGL_J0805.4+6147_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/554180/ltcube_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.fits outfile=/scratch/kocevski/554180/expmap_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.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/554180/ltcube_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.fits
.....................!
real 194.23
user 189.04
sys 4.63

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/554180/ft1_filtered_4FGL_J0805.4+6147_daily_bin1759.fits scfile=/scratch/kocevski/554180/ft2_4FGL_J0805.4+6147_daily_bin1759.fits outfile=/scratch/kocevski/554180/cmap_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554180/ft1_filtered_4FGL_J0805.4+6147_daily_bin1759.fits scfile=/scratch/kocevski/554180/ft2_4FGL_J0805.4+6147_daily_bin1759.fits outfile=/scratch/kocevski/554180/cmap_HighResolution_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.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.57
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/554180/ft1_filtered_4FGL_J0805.4+6147_daily_bin1759.fits', '/scratch/kocevski/554180/ft2_4FGL_J0805.4+6147_daily_bin1759.fits', expMap='/scratch/kocevski/554180/expmap_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.fits', expCube='/scratch/kocevski/554180/ltcube_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/554180/Model_4FGL_J0805.4+6147_daily_bin1759.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/554180/ft1_filtered_4FGL_J0805.4+6147_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/554180/ft2_4FGL_J0805.4+6147_daily_bin1759.fits
Exposure map: /scratch/kocevski/554180/expmap_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.fits
Exposure cube: /scratch/kocevski/554180/ltcube_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/554180/Model_4FGL_J0805.4+6147_daily_bin1759.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) = 2584.34307413

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99999E+06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .37151       1.0000          .0000       .10000E+07
     3 'Prefactor '    .84442E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25855E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.0714       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50644E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .10100E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19330E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .54495E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .34443E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .28788E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .87733E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    21.167       1.0000          .0000       .10000E+07
    14 'Prefactor '    .86209E-07   1.0000          .0000       .10000E+07
    15 'norm      '    3.4045       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.0106       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.426       1.0000          .0000       .10000E+07
    18 'Prefactor '    .23909E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    37.819       1.0000          .0000       .10000E+07
    20 'norm      '    1.2644       1.0000          .0000       .10000E+07
    21 'Prefactor '    40.313       1.0000          .0000       .10000E+07
    22 'Prefactor '    16.387       1.0000          .0000       .10000E+07
    23 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81628       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=   2584.247     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2501 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99999E+06    10.206        .26017E-06   -.10536    
   2  Prefactor     .16581E-06    77.136       -.33616E-06** at limit **
   3  Prefactor      .0000        36.046       -.76519E-08** at limit **
   4  Prefactor     .33956E-06    54.887       -.65415E-06** at limit **
   5  norm          1.0720        .55226       -.19934E-07   -.56650E-02
   6  Prefactor     .94869E-07    43.996        .17262E-06** at limit **
   7  norm           .0000        1.5216        .10349E-06** at limit **
   8  Prefactor      .0000        14.367        .60822E-07** at limit **
   9  norm          .55511E-10    1.5071       -.27051E-07** at limit **
  10  norm          .55511E-10    5.3836        .49516E-07** at limit **
  11  norm          .55511E-10    2.9679       -.42820E-07** at limit **
  12  Prefactor     .24536E-07    19.181        .83040E-06** at limit **
  13  Prefactor     21.149        1.3412        .11589E-07    .15373E-01
  14  Prefactor      .0000        6.4678       -.13187E-06** at limit **
  15  norm          3.4087        2.4753       -.12250E-07   -.97318E-04
  16  Prefactor     2.9792        15.770        .10823E-06   -.25872E-01
  17  Prefactor     19.346        65.407        .17181E-05    .20368E-01
  18  Prefactor     .36082E-08    20.323       -.16313E-06** at limit **
  19  Prefactor     37.699        2.0879        .25432E-07    .17827E-02
  20  norm          1.2632        1.1080       -.15804E-07    .53058E-03
  21  Prefactor     40.245        1.5518       -.13975E-07    .15051E-01
  22  Prefactor     16.463        5.6131        .24482E-07   -.17640    
  23  Normalizat    .10000E-01    .45186E-01   -.33790E-05** at limit **
  24  Prefactor     .81469        .12045        .89231E-06    .11218E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 999990
  Prefactor  = 1.65812e-07
  Prefactor  = 0
  Prefactor  = 3.39562e-07
  norm       = 1.07201
  Prefactor  = 9.48686e-08
  norm       = 0
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 2.45359e-08
  Prefactor  = 21.1488
  Prefactor  = 0
  norm       = 3.40866
  Prefactor  = 2.97921
  Prefactor  = 19.3458
  Prefactor  = 3.60822e-09
  Prefactor  = 37.6989
  norm       = 1.26318
  Prefactor  = 40.245
  Prefactor  = 16.463
  Normalizat = 0.01
  Prefactor  = 0.814686
 **********
 **   18 **HESSE 
 **********

 FCN=   2584.247     FROM HESSE     STATUS=OK           447 CALLS     2948 TOTAL
                     EDM=   .67E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99999E+06    14943.        .31228E-03    1.5645    
   2  Prefactor     .16581E-06    78.416        .92865E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        36.070        .14367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33956E-06    55.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0720        .55007        .59434E-03   -1.5687    
   6  Prefactor     .94869E-07    44.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.5217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        14.375        .17081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    1.5065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    5.3822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    2.9719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .24536E-07    2.0126        .22427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.149        21.244        .21742E-03   -1.5616    
  14  Prefactor      .0000        6.4837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.4087        2.7289        .54805E-03   -1.5671    
  16  Prefactor     2.9792        18.165        .58470E-03   -1.5673    
  17  Prefactor     19.346        65.046        .24685E-03   -1.5620    
  18  Prefactor     .36082E-08    20.439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     37.699        30.800        .16263E-03   -1.5585    
  20  norm          1.2632        1.1408        .99058E-03   -1.5685    
  21  Prefactor     40.245        19.457        .15751E-03   -1.5581    
  22  Prefactor     16.463        14.175        .24715E-03   -1.5627    
  23  Normalizat    .10000E-01    .43917E-01    .15087       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .81469        .12693        .43929E-01   -.99189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000667401
Minuit parameter uncertainties:
  1  775.675
  2  0.00721134
  3  3.15255e-05
  4  0.00865809
  5  0.550069
  6  0.00409789
  7  1.90785e-06
  8  1.28868e-05
  9  1.48122e-05
  10  3.95123e-05
  11  2.35455e-05
  12  0.000444518
  13  21.2442
  14  1.65775e-05
  15  2.72888
  16  14.7132
  17  65.0483
  18  0.000541889
  19  30.8006
  20  1.14076
  21  19.4574
  22  14.1755
  23  1.77168e-07
  24  0.126975
Done.

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

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  5.551e-11  1.481e-05  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.147e-01  1.270e-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.000e-02  1.772e-07  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/554180/likelihoodResults_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.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) = 2584.33217738
delta logL = -0.0849268563152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2584.24725706
delta logL = -6.54055247651e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69450E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    2.4060       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81476       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=   2584.247     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      193 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.8894       -.14377E-05** at limit **
   2  alpha         1.1834        1.4701       -.73674E-04     .0000    
   3  Normalizat    .10000E-01    .45179E-01    .81378E-05** at limit **
   4  Prefactor     .81468        .10901       -.92546E-05   -.85617E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.18342
  Normalizat = 0.01
  Prefactor  = 0.814685
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2584.247     FROM HESSE     STATUS=FAILED        11 CALLS      204 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.7977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .31347        .98006       -.73674E-04   -.55463    
   3  Normalizat    .10000E-01    .25750        .81378E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .81468        1.1629       -.92546E-05   -.99189    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.50531e-11
Minuit parameter uncertainties:
  1  4.95762e-06
  2  0.875352
  3  8.58403e-07
  4  1.20115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554180': 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): 101
logL (Free Index) = 2584.24725052
delta logL = 2.27373675443e-11

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  0.000e+00  4.958e-06  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  1.183e+00  8.754e-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.147e-01  1.201e+00  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.000e-02  8.584e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 121.356 61.794

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/554180/cmap_HighResolution_695260801_695520001_4FGL_J0805.4+6147_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.63e-05', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2023-01-16 01:07:05.566697', job_id='554180', GAL2='0.81', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1673860025.57', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1759' AND source_name='4FGL J0805.4+6147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:07:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 554180: <4FGL_J0805.4+6147_daily_bin1759> in cluster <slac> Done

Job <4FGL_J0805.4+6147_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 00:55:26 2023
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 00:55:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 00:55:58 2023
Terminated at Mon Jan 16 01:07:06 2023
Results reported at Mon Jan 16 01:07:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.4+6147_daily_bin1759 121.356 61.7937 695260801 695520001 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 :                                   522.54 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             275.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            700 sec.

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

