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


Performing analysis on: 4FGL_J1806.3+5345_daily_bin1767
RA = 271.591, Dec = 53.7642
tmin = 697334401, tmax = 697593601
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='84401', job_status='RUN', time_executed='2023-02-09 01:36:49.941885', time_epoch_executed='1675935409.94' WHERE source_name='4FGL J1806.3+5345' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/84401

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/84401/ft1_4FGL_J1806.3+5345_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/84401/ft1_4FGL_J1806.3+5345_daily_bin1767.fits outfile=/scratch/kocevski/84401/ft1_filteredMKT_4FGL_J1806.3+5345_daily_bin1767.fits ra=271.591 dec=53.7642 rad=12.0 tmin=697334401.0 tmax=697593601.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.60
user 3.36
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.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/84401/ft1_filteredMKT_4FGL_J1806.3+5345_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/84401/ft1_filtered_4FGL_J1806.3+5345_daily_bin1767.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.35
sys 0.15

Number of photons that the gtmktime cut: 781

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/84401/ft1_filtered_4FGL_J1806.3+5345_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/84401/ltcube_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.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/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.fits
.....................!
real 14.45
user 14.07
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/84401/ft1_filtered_4FGL_J1806.3+5345_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/84401/ltcube_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.fits outfile=/scratch/kocevski/84401/expmap_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.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/84401/ltcube_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.fits
.....................!
real 191.55
user 186.07
sys 5.14

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 205 point sources and 0 extended sources

Setting source of interest to:
4FGL J1806.3+5345 @ 271.591 53.7642

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/84401/ft1_filtered_4FGL_J1806.3+5345_daily_bin1767.fits scfile=/scratch/kocevski/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.fits outfile=/scratch/kocevski/84401/cmap_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.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=271.591 yref=53.7642 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.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/84401/ft1_filtered_4FGL_J1806.3+5345_daily_bin1767.fits scfile=/scratch/kocevski/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.fits outfile=/scratch/kocevski/84401/cmap_HighResolution_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.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=271.591 yref=53.7642 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/84401/ft1_filtered_4FGL_J1806.3+5345_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/84401/Model_4FGL_J1806.3+5345_daily_bin1767.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/84401/ft1_filtered_4FGL_J1806.3+5345_daily_bin1767.fits.....................!
real 75.93
user 74.42
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/84401/ft1_filtered_4FGL_J1806.3+5345_daily_bin1767.fits', '/scratch/kocevski/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.fits', expMap='/scratch/kocevski/84401/expmap_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.fits', expCube='/scratch/kocevski/84401/ltcube_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/84401/Model_4FGL_J1806.3+5345_daily_bin1767.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1806.3+5345'

4FGL J1806.3+5345
   Spectrum: PowerLaw
376    Prefactor:  2.889e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
377        Index:  2.527e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
378        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/84401/ft1_filtered_4FGL_J1806.3+5345_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/84401/ft2_4FGL_J1806.3+5345_daily_bin1767.fits
Exposure map: /scratch/kocevski/84401/expmap_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.fits
Exposure cube: /scratch/kocevski/84401/ltcube_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/84401/Model_4FGL_J1806.3+5345_daily_bin1767.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) = 8120.53781681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17914E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .38435E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .41330E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7566       1.0000          .0000       .10000E+07
     5 'norm      '    12.652       1.0000          .0000       .10000E+07
     6 'Prefactor '    .24847E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    13.018       1.0000          .0000       .10000E+07
     8 'norm      '    4.9225       1.0000          .0000       .10000E+07
     9 'Prefactor '    .35653E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.2566       1.0000          .0000       .10000E+07
    11 'Prefactor '    .38116       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.0660       1.0000          .0000       .10000E+07
    13 'Prefactor '    .63076E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .81471E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .15643E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .87054       1.0000          .0000       .10000E+07
    17 'norm      '    1.8822       1.0000          .0000       .10000E+07
    18 'norm      '    .46983E-03   1.0000          .0000       .10000E+07
    19 'norm      '    16.292       1.0000          .0000       .10000E+07
    20 'Prefactor '    .13845E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.5526       1.0000          .0000       .10000E+07
    22 'norm      '    3.7872       1.0000          .0000       .10000E+07
    23 'Normalizat'    .84901       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0178       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8120.324     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1573 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    5.6062       -.13648E-06** at limit **
   2  Prefactor     .44409E-09    7.1308        .36880E-06** at limit **
   3  Prefactor      .0000        2.0136        .26699E-07** at limit **
   4  Prefactor     3.7476        4.1185       -.12743E-08   -.16861E-04
   5  norm          12.654        2.6689       -.28668E-08   -.94501E-03
   6  Prefactor      .0000        1.9501       -.13081E-06** at limit **
   7  Prefactor     14.669        33.367        .13528E-05   -.78124E-02
   8  norm          4.9171        4.6510        .11844E-06    .65681E-04
   9  Prefactor     .62778E-06    12.522       -.57209E-06** at limit **
  10  Prefactor     3.2577        3.3713       -.32924E-07   -.15534E-03
  11  Prefactor     .96650E-06    6.8665       -.77113E-06** at limit **
  12  Prefactor     4.0950        2.1658       -.13210E-06    .78482E-02
  13  Prefactor      .0000        2.6044       -.81925E-07** at limit **
  14  norm          .19773E-06    13.512        .78920E-06** at limit **
  15  Prefactor     .33562E-06    26.919       -.10556E-05** at limit **
  16  Prefactor     .91574        .50709        .51571E-07   -.81406E-03
  17  norm          1.8249        10.263       -.23945E-05   -.16147E-03
  18  norm          .11370E-05    11.154       -.99156E-06** at limit **
  19  norm          16.309        1.3680        .33059E-07    .18751E-01
  20  Prefactor     .23703E-07    11.818       -.42356E-06** at limit **
  21  Prefactor     1.5538        2.1990        .19330E-06   -.40213E-03
  22  norm          3.7889        2.1025        .22503E-07    .27120E-03
  23  Normalizat    .84897        .23113       -.16920E-05   -.61467E-05
  24  Prefactor     1.0177        .14681        .15474E-05    .30631E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 3.74763
  norm       = 12.6536
  Prefactor  = 0
  Prefactor  = 14.6686
  norm       = 4.91714
  Prefactor  = 6.27776e-07
  Prefactor  = 3.25774
  Prefactor  = 9.66505e-07
  Prefactor  = 4.09504
  Prefactor  = 0
  norm       = 1.97731e-07
  Prefactor  = 3.3562e-07
  Prefactor  = 0.915735
  norm       = 1.82488
  norm       = 1.13703e-06
  norm       = 16.3094
  Prefactor  = 2.37033e-08
  Prefactor  = 1.55382
  norm       = 3.78886
  Normalizat = 0.848971
  Prefactor  = 1.01769
 **********
 **   18 **HESSE 
 **********

 FCN=   8120.324     FROM HESSE     STATUS=OK           445 CALLS     2018 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    5.6210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    7.1323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.0074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7476        4.1214        .52066E-03   -1.5669    
   5  norm          12.654        2.6678        .28136E-03   -1.5637    
   6  Prefactor      .0000        1.9400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.669        34.080        .27737E-03   -1.5631    
   8  norm          4.9171        4.6586        .45309E-03   -1.5664    
   9  Prefactor     .62778E-06    17.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2577        3.3807        .56096E-03   -1.5672    
  11  Prefactor     .96650E-06    109.47        .91702E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.0950        201.51        .49978E-03   -1.5667    
  13  Prefactor      .0000        2.6034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .19773E-06    14.884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .33562E-06    29.678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .91574        71.591        .47818E-03   -1.5689    
  17  norm          1.8249        10.260        .75845E-03   -1.5681    
  18  norm          .11370E-05    22.596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          16.309        11.557        .24787E-03   -1.5627    
  20  Prefactor     .23703E-07    12.030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.5538        2.2307        .85430E-03   -1.5683    
  22  norm          3.7889        2.1027        .51848E-03   -1.5669    
  23  Normalizat    .84897        .19842        .77531E-01   -.98277    
  24  Prefactor     1.0177        .12518        .42363E-01   -.92142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.81447e-07
Minuit parameter uncertainties:
  1  9.2296e-05
  2  0.000110664
  3  5.4208e-06
  4  4.12136
  5  2.66781
  6  1.13343e-06
  7  34.0807
  8  4.65865
  9  0.0066423
  10  3.38065
  11  0.0205728
  12  57.4539
  13  1.19182e-05
  14  0.00343111
  15  0.00631209
  16  16.1938
  17  8.65413
  18  0.0101375
  19  11.5569
  20  0.00106816
  21  2.23069
  22  2.10267
  23  0.198592
  24  0.125214
Done.

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

Extracting fit parameters...

4FGL J1806.3+5345
   Spectrum: PowerLaw
376    Prefactor:  3.356e-07  6.312e-03  0.000e+00  1.000e+06 ( 1.000e-13)
377        Index:  2.527e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
378        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.018e+00  1.252e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  8.490e-01  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 271.591 53.764
Photon Flux Upper Limit: 9.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/84401/likelihoodResults_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.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) = 8120.34080525
delta logL = -0.0170731352091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8120.08349734
delta logL = 0.240234780063

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32029E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.6946       1.0000          .0000       10.000    
     3 'Normalizat'    .79770       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0381       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8120.083     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      269 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31065E-01    .54212        .51032E-03** at limit **
   2  Index         5.7091        2.5457        .15106        .17241E-03
   3  Normalizat    .79749        .28911E-01    .79805E-01    .32716E-04
   4  Prefactor     1.0382        .18691E-01    .40660E-01    .32768E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0310647
  Index      = 5.70906
  Normalizat = 0.797487
  Prefactor  = 1.03823
 **********
 **   18 **HESSE 
 **********

 FCN=   8120.083     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      302 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31065E-01    3.3030        .22471E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.7091        7.7849        .82441E-02    .14229    
   3  Normalizat    .79749        .16937        .35332E-03   -1.0016    
   4  Prefactor     1.0382        .10738        .20162E-03   -.91466    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.56312e-09
Minuit parameter uncertainties:
  1  0.640649
  2  9.64979
  3  0.169486
  4  0.1074
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/84401': 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) = 8120.0834904
delta logL = 0.240241716594

Extracting fit parameters...

4FGL J1806.3+5345
   Spectrum: PowerLaw
376    Prefactor:  3.106e-02  6.406e-01  0.000e+00  1.000e+06 ( 1.000e-13)
377        Index:  5.709e+00  9.650e+00  0.000e+00  1.000e+01 (-1.000e+00)
378        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  1.038e+00  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  7.975e-01  1.695e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 271.591 53.764

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/84401/cmap_HighResolution_697334401_697593601_4FGL_J1806.3+5345_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.50e-03', job_status='DONE', photon_flux_upper_limit='9.62e-08', time_completed='2023-02-09 01:49:17.286494', job_id='84401', GAL2='1.04', fit_tolerance='1e-08', EG2='0.80', EG='0.85', time_epoch_completed='1675936157.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.40e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1767' AND source_name='4FGL J1806.3+5345' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 01:49:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 84401: <4FGL_J1806.3+5345_daily_bin1767> in cluster <slac> Done

Job <4FGL_J1806.3+5345_daily_bin1767> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Feb  9 01:35:21 2023
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:36:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:36:35 2023
Terminated at Thu Feb  9 01:49:18 2023
Results reported at Thu Feb  9 01:49:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1806.3+5345_daily_bin1767 271.591 53.7642 697334401 697593601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1806.3+5345 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   749.55 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             318.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            837 sec.

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

