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 104 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_J1806.3+5345_daily_bin1748
RA = 271.591, Dec = 53.7642
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='892572', job_status='RUN', time_executed='2022-12-14 01:02:21.154281', time_epoch_executed='1671008541.15' WHERE source_name='4FGL J1806.3+5345' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892572

Creating custom pfile directory:
/scratch/kocevski/892572/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/892572/ft1_4FGL_J1806.3+5345_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/892572/ft2_4FGL_J1806.3+5345_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892572/ft1_4FGL_J1806.3+5345_daily_bin1748.fits outfile=/scratch/kocevski/892572/ft1_filteredMKT_4FGL_J1806.3+5345_daily_bin1748.fits ra=271.591 dec=53.7642 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.56
user 3.35
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892572/ft2_4FGL_J1806.3+5345_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/892572/ft1_filteredMKT_4FGL_J1806.3+5345_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/892572/ft1_filtered_4FGL_J1806.3+5345_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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 880

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892572/ft1_filtered_4FGL_J1806.3+5345_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/892572/ft2_4FGL_J1806.3+5345_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/892572/ltcube_692409601_692668801_4FGL_J1806.3+5345_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/892572/ft2_4FGL_J1806.3+5345_daily_bin1748.fits
.....................!
real 12.07
user 11.72
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892572/ft1_filtered_4FGL_J1806.3+5345_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/892572/ft2_4FGL_J1806.3+5345_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/892572/ltcube_692409601_692668801_4FGL_J1806.3+5345_daily_bin1748.fits outfile=/scratch/kocevski/892572/expmap_692409601_692668801_4FGL_J1806.3+5345_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/892572/ltcube_692409601_692668801_4FGL_J1806.3+5345_daily_bin1748.fits
.....................!
real 191.44
user 185.27
sys 5.73

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/892572/ft1_filtered_4FGL_J1806.3+5345_daily_bin1748.fits scfile=/scratch/kocevski/892572/ft2_4FGL_J1806.3+5345_daily_bin1748.fits outfile=/scratch/kocevski/892572/cmap_692409601_692668801_4FGL_J1806.3+5345_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=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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892572/ft1_filtered_4FGL_J1806.3+5345_daily_bin1748.fits scfile=/scratch/kocevski/892572/ft2_4FGL_J1806.3+5345_daily_bin1748.fits outfile=/scratch/kocevski/892572/cmap_HighResolution_692409601_692668801_4FGL_J1806.3+5345_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=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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892572/ft1_filtered_4FGL_J1806.3+5345_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/892572/ft2_4FGL_J1806.3+5345_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892572/Model_4FGL_J1806.3+5345_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/892572/ft1_filtered_4FGL_J1806.3+5345_daily_bin1748.fits....................!
real 84.66
user 82.97
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892572/ft1_filtered_4FGL_J1806.3+5345_daily_bin1748.fits', '/scratch/kocevski/892572/ft2_4FGL_J1806.3+5345_daily_bin1748.fits', expMap='/scratch/kocevski/892572/expmap_692409601_692668801_4FGL_J1806.3+5345_daily_bin1748.fits', expCube='/scratch/kocevski/892572/ltcube_692409601_692668801_4FGL_J1806.3+5345_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892572/Model_4FGL_J1806.3+5345_daily_bin1748.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/892572/ft1_filtered_4FGL_J1806.3+5345_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/892572/ft2_4FGL_J1806.3+5345_daily_bin1748.fits
Exposure map: /scratch/kocevski/892572/expmap_692409601_692668801_4FGL_J1806.3+5345_daily_bin1748.fits
Exposure cube: /scratch/kocevski/892572/ltcube_692409601_692668801_4FGL_J1806.3+5345_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892572/Model_4FGL_J1806.3+5345_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) = 9123.72851103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32871E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11078E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .29516E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39743E-02   1.0000          .0000       .10000E+07
     5 'norm      '    6.8423       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.6815       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.394       1.0000          .0000       .10000E+07
     8 'norm      '    1.7562       1.0000          .0000       .10000E+07
     9 'Prefactor '    60.857       1.0000          .0000       .10000E+07
    10 'Prefactor '    .33973E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    13.564       1.0000          .0000       .10000E+07
    12 'Prefactor '    .53657       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.5808       1.0000          .0000       .10000E+07
    14 'norm      '    2.9314       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.1382       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.911       1.0000          .0000       .10000E+07
    17 'norm      '    .24309E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .19563E-04   1.0000          .0000       .10000E+07
    19 'norm      '    15.038       1.0000          .0000       .10000E+07
    20 'Prefactor '    .32399E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.0353       1.0000          .0000       .10000E+07
    22 'norm      '    .92369       1.0000          .0000       .10000E+07
    23 'Normalizat'    .91086       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0625       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=   9123.705     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1976 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    4.0279       -.27949E-06** at limit **
   2  Prefactor     .62711E-06    46.080       -.10423E-05** at limit **
   3  Prefactor     .56100E-06    25.012        .69944E-06** at limit **
   4  Prefactor     .15155E-07    14.874        .92322E-06** at limit **
   5  norm          6.8140        2.2124       -.45293E-07   -.48247E-02
   6  Prefactor     2.6743        2.2441       -.72018E-07   -.27975E-02
   7  Prefactor     12.970        16.686       -.25112E-06   -.37917E-01
   8  norm          1.7454        3.4875       -.52585E-07   -.92291E-03
   9  Prefactor     65.244        46.095       -.32448E-06    .14819    
  10  Prefactor      .0000        2.1741       -.21616E-06** at limit **
  11  Prefactor     13.908        3.5428        .39534E-07   -.19944E-01
  12  Prefactor     .15433E-02    74.731        .10034E-05** at limit **
  13  Prefactor     8.5702        10.733       -.37236E-07   -.11788E-02
  14  norm          2.9133        7.3308       -.28533E-06   -.11028E-02
  15  Prefactor     7.9258        14.182       -.45702E-06    .18925E-01
  16  Prefactor     25.953        1.9694        .20698E-07   -.28514E-02
  17  norm          .11102E-09    4.3811       -.23670E-06** at limit **
  18  norm          .99920E-09    6.7935        .81447E-07** at limit **
  19  norm          15.143        7.6909       -.11079E-06   -.16639    
  20  Prefactor     .58120E-07    18.042        .35389E-06** at limit **
  21  Prefactor     1.0270        1.5384        .73306E-07    .25288E-02
  22  norm          .94085        1.6124       -.57944E-07   -.11677E-02
  23  Normalizat    .90989        .22345        .18186E-05    .74377E-05
  24  Prefactor     1.0625        .14415        .58216E-06    .39627E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 6.27109e-07
  Prefactor  = 5.60996e-07
  Prefactor  = 1.51545e-08
  norm       = 6.81402
  Prefactor  = 2.67433
  Prefactor  = 12.9703
  norm       = 1.74541
  Prefactor  = 65.2437
  Prefactor  = 0
  Prefactor  = 13.9084
  Prefactor  = 0.00154326
  Prefactor  = 8.57016
  norm       = 2.91326
  Prefactor  = 7.92579
  Prefactor  = 25.9534
  norm       = 1.11022e-10
  norm       = 9.99201e-10
  norm       = 15.1429
  Prefactor  = 5.81202e-08
  Prefactor  = 1.02702
  norm       = 0.940855
  Normalizat = 0.909885
  Prefactor  = 1.06253
 **********
 **   18 **HESSE 
 **********

 FCN=   9123.705     FROM HESSE     STATUS=OK           449 CALLS     2425 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    4.0313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .62711E-06    46.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .56100E-06    25.811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15155E-07    14.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.8140        2.2253        .38333E-03   -1.5656    
   6  Prefactor     2.6743        2.2402        .62200E-03   -1.5675    
   7  Prefactor     12.970        51.414        .28429E-03   -1.5636    
   8  norm          1.7454        3.5447        .79057E-03   -1.5682    
   9  Prefactor     65.244        52.352        .12820E-03   -1.5546    
  10  Prefactor      .0000        2.1996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.908        30.050        .27171E-03   -1.5633    
  12  Prefactor     .15433E-02    465.30        .75113E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.5702        10.751        .34196E-03   -1.5649    
  14  norm          2.9133        7.3654        .59303E-03   -1.5674    
  15  Prefactor     7.9258        17.094        .35121E-03   -1.5652    
  16  Prefactor     25.953        19.525        .19649E-03   -1.5606    
  17  norm          .11102E-09    4.3862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .99920E-09    6.8093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          15.143        12.885        .25802E-03   -1.5630    
  20  Prefactor     .58120E-07    18.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.0270        1.8495        .33010E-02   -1.5688    
  22  norm          .94085        1.6199        .44136E-03   -1.5689    
  23  Normalizat    .90989        .19507        .77188E-01   -.96114    
  24  Prefactor     1.0625        .12382        .39229E-01   -.90673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94063e-06
Minuit parameter uncertainties:
  1  4.91321e-05
  2  0.0108021
  3  0.0076105
  4  0.000947991
  5  2.22529
  6  2.24016
  7  51.4159
  8  3.54473
  9  52.352
  10  1.01353e-05
  11  30.0507
  12  1.69492
  13  10.7511
  14  7.36544
  15  17.0941
  16  19.5248
  17  4.26642e-05
  18  0.000162711
  19  12.8847
  20  0.0020729
  21  1.84954
  22  1.61991
  23  0.195219
  24  0.123849
Done.

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

Extracting fit parameters...

4FGL J1806.3+5345
   Spectrum: PowerLaw
376    Prefactor:  7.926e+00  1.709e+01  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.063e+00  1.238e-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:  9.099e-01  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.26
Ra Dec: 271.591 53.764
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892572/likelihoodResults_692409601_692668801_4FGL_J1806.3+5345_daily_bin1748.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) = 9122.70714736
delta logL = 0.997523749849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9122.37281317
delta logL = 1.33185794083

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25378E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.2521       1.0000          .0000       10.000    
     3 'Normalizat'    .82237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1033       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=   9123.828     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      391 TOTAL
                     EDM=   .45E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .17576        .42118E-03** at limit **
   2  Index         1.3503        6.1403        .50000       -.27285E-10
   3  Normalizat    .92790        .69847E-03    .76495E-01   -.11925E-03
   4  Prefactor     1.0596        .45903E-03    .37461E-01    .15181E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.35032
  Normalizat = 0.927897
  Prefactor  = 1.05965
 **********
 **   18 **HESSE 
 **********

 FCN=   9123.828     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      418 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.6660        .84235E-04   -7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3503        6.6561        .10000       -21445.    
   3  Normalizat    .92790        .21459E-02    .33856E-03    330.82    
   4  Prefactor     1.0596        .14128E-02    .20860E-03    413.78    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.17307e-12
Minuit parameter uncertainties:
  1  2.1864e-05
  2  82314.7
  3  0.00214586
  4  0.00141282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892572': 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) = 9123.82759017
delta logL = -0.122919058796

Extracting fit parameters...

4FGL J1806.3+5345
   Spectrum: PowerLaw
376    Prefactor:  5.551e-11  2.186e-05  0.000e+00  1.000e+06 ( 1.000e-13)
377        Index:  1.350e+00  8.231e+04  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.060e+00  1.413e-03  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:  9.279e-01  2.146e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
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/892572/cmap_HighResolution_692409601_692668801_4FGL_J1806.3+5345_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.36e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2022-12-14 01:16:43.354016', job_id='892572', GAL2='1.06', fit_tolerance='1e-08', EG2='0.93', EG='0.91', time_epoch_completed='1671009403.35', return_code2='102', ts='0.26', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='-1.23e-01', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1748' AND source_name='4FGL J1806.3+5345' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:16:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 892572: <4FGL_J1806.3+5345_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1806.3+5345_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 01:00:21 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:00:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:00:22 2022
Terminated at Wed Dec 14 01:16:43 2022
Results reported at Wed Dec 14 01:16:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1806.3+5345_daily_bin1748 271.591 53.7642 692409601 692668801 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 :                                   863.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             319.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            982 sec.

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

