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


Performing analysis on: 4FGL_J1806.3+5345_daily_bin1747
RA = 271.591, Dec = 53.7642
tmin = 692150401, tmax = 692409601
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='808972', job_status='RUN', time_executed='2022-12-11 01:22:23.940201', time_epoch_executed='1670750543.94' WHERE source_name='4FGL J1806.3+5345' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808972

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808972/ft1_4FGL_J1806.3+5345_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808972/ft2_4FGL_J1806.3+5345_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808972/ft1_4FGL_J1806.3+5345_daily_bin1747.fits outfile=/scratch/kocevski/808972/ft1_filteredMKT_4FGL_J1806.3+5345_daily_bin1747.fits ra=271.591 dec=53.7642 rad=12.0 tmin=692150401.0 tmax=692409601.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 4.07
user 3.82
sys 0.21

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

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

Number of photons that the gtmktime cut: 888

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808972/ft1_filtered_4FGL_J1806.3+5345_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/808972/ft2_4FGL_J1806.3+5345_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/808972/ltcube_692150401_692409601_4FGL_J1806.3+5345_daily_bin1747.fits outfile=/scratch/kocevski/808972/expmap_692150401_692409601_4FGL_J1806.3+5345_daily_bin1747.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/808972/ltcube_692150401_692409601_4FGL_J1806.3+5345_daily_bin1747.fits
.....................!
real 190.79
user 185.77
sys 4.70

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/808972/ft1_filtered_4FGL_J1806.3+5345_daily_bin1747.fits scfile=/scratch/kocevski/808972/ft2_4FGL_J1806.3+5345_daily_bin1747.fits outfile=/scratch/kocevski/808972/cmap_692150401_692409601_4FGL_J1806.3+5345_daily_bin1747.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/808972/ft1_filtered_4FGL_J1806.3+5345_daily_bin1747.fits scfile=/scratch/kocevski/808972/ft2_4FGL_J1806.3+5345_daily_bin1747.fits outfile=/scratch/kocevski/808972/cmap_HighResolution_692150401_692409601_4FGL_J1806.3+5345_daily_bin1747.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5914       1.0000          .0000       .10000E+07
     2 'Prefactor '    .27724E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19208E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.4554       1.0000          .0000       .10000E+07
     5 'norm      '    5.6732       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25191E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    72.654       1.0000          .0000       .10000E+07
     8 'norm      '    2.9591       1.0000          .0000       .10000E+07
     9 'Prefactor '    55.896       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.4468       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.416       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3997       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.298       1.0000          .0000       .10000E+07
    14 'norm      '    5.5207       1.0000          .0000       .10000E+07
    15 'Prefactor '    11.600       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36134E-04   1.0000          .0000       .10000E+07
    17 'norm      '    4.8640       1.0000          .0000       .10000E+07
    18 'norm      '    16.710       1.0000          .0000       .10000E+07
    19 'norm      '    10.926       1.0000          .0000       .10000E+07
    20 'Prefactor '    .36046E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    2.0729       1.0000          .0000       .10000E+07
    22 'norm      '    .79325E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    .77821       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0409       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=   9252.868     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1974 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6004        5.7291        .61555E-07    .74910E-03
   2  Prefactor     .17764E-08    2.9358       -.44903E-07** at limit **
   3  Prefactor     .11102E-09    2.7238       -.46256E-07** at limit **
   4  Prefactor     4.4572        5.0971        .19382E-07    .13845E-02
   5  norm          5.6691        2.1680       -.22184E-07   -.36063E-02
   6  Prefactor      .0000        1.1252       -.30045E-07** at limit **
   7  Prefactor     75.162        23.950        .39592E-07   -.57376E-01
   8  norm          2.9427        3.5329        .67692E-07    .31826E-02
   9  Prefactor     56.852        9.2932        .17053E-08    .19808    
  10  Prefactor     1.4257        3.5642        .50284E-07    .19253E-02
  11  Prefactor     26.282        33.696        .11834E-07   -.99989E-02
  12  Prefactor     .84899E-06    260.66       -.43062E-06** at limit **
  13  Prefactor     15.284        8.6581       -.21271E-07   -.23159E-01
  14  norm          5.4992        5.9733       -.29182E-07    .54873E-03
  15  Prefactor     11.611        9.1994       -.25985E-07   -.74248E-02
  16  Prefactor     .66613E-09    6.4809        .74990E-07** at limit **
  17  norm          4.8668        6.3220        .33175E-07    .14637E-02
  18  norm          16.719        9.7095        .70425E-08    .40217E-01
  19  norm          10.912        8.3499       -.26261E-07   -.14732E-01
  20  Prefactor     .27756E-09    4.0189        .77335E-07** at limit **
  21  Prefactor     2.0741        1.8840        .66769E-08    .14787E-02
  22  norm           .0000        1.7864        .90480E-08** at limit **
  23  Normalizat    .77758        .22283        .78882E-06    .21181E-03
  24  Prefactor     1.0412        .14087        .43555E-06    .37149E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60036
  Prefactor  = 1.77636e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 4.45722
  norm       = 5.66911
  Prefactor  = 0
  Prefactor  = 75.1616
  norm       = 2.94266
  Prefactor  = 56.8516
  Prefactor  = 1.42567
  Prefactor  = 26.2817
  Prefactor  = 8.48988e-07
  Prefactor  = 15.2838
  norm       = 5.49921
  Prefactor  = 11.6108
  Prefactor  = 6.66134e-10
  norm       = 4.86683
  norm       = 16.7191
  norm       = 10.9122
  Prefactor  = 2.77556e-10
  Prefactor  = 2.07411
  norm       = 0
  Normalizat = 0.77758
  Prefactor  = 1.04117
 **********
 **   18 **HESSE 
 **********

 FCN=   9252.868     FROM HESSE     STATUS=OK           451 CALLS     2425 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6004        5.7800        .84077E-03   -1.5683    
   2  Prefactor     .17764E-08    5.3607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    5.4517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4572        5.1466        .47681E-03   -1.5666    
   5  norm          5.6691        2.1927        .42150E-03   -1.5660    
   6  Prefactor      .0000        1.1276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     75.162        58.499        .11733E-03   -1.5535    
   8  norm          2.9427        3.5682        .59007E-03   -1.5674    
   9  Prefactor     56.852        53.546        .13376E-03   -1.5557    
  10  Prefactor     1.4257        3.6166        .89579E-03   -1.5684    
  11  Prefactor     26.282        33.932        .19840E-03   -1.5605    
  12  Prefactor     .84899E-06    318.45        .54845E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.284        12.344        .25581E-03   -1.5630    
  14  norm          5.4992        6.0558        .42738E-03   -1.5661    
  15  Prefactor     11.611        12.645        .29389E-03   -1.5640    
  16  Prefactor     .66613E-09    6.5003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.8668        6.3479        .45587E-03   -1.5664    
  18  norm          16.719        9.8558        .24475E-03   -1.5626    
  19  norm          10.912        8.3682        .30285E-03   -1.5642    
  20  Prefactor     .27756E-09    4.0338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.0741        1.8911        .71715E-03   -1.5679    
  22  norm           .0000        1.7735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .77758        .19512        .80449E-01   -1.0091    
  24  Prefactor     1.0412        .12107        .40474E-01   -.91369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13578e-06
Minuit parameter uncertainties:
  1  5.78003
  2  0.0001943
  3  4.84238e-05
  4  5.14658
  5  2.19273
  6  5.98243e-06
  7  58.4995
  8  3.56819
  9  53.5462
  10  3.61661
  11  33.9319
  12  0.0328866
  13  12.3436
  14  6.0558
  15  12.6453
  16  0.000134217
  17  6.34788
  18  9.85576
  19  8.36825
  20  6.88826e-05
  21  1.89112
  22  3.25237e-06
  23  0.195296
  24  0.121105
Done.

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

Extracting fit parameters...

4FGL J1806.3+5345
   Spectrum: PowerLaw
376    Prefactor:  1.161e+01  1.265e+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.041e+00  1.211e-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.776e-01  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.38
Ra Dec: 271.591 53.764
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 2.67e-08 +/- 2.91e-08
Energy Flux (Fixed Index): 7.54e-06 +/- 8.21e-06

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

Saving results to:
/scratch/kocevski/808972/likelihoodResults_692150401_692409601_4FGL_J1806.3+5345_daily_bin1747.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) = 9252.85196559
delta logL = 0.0161915546305

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9252.84626011
delta logL = 0.0218970356091

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.117       1.0000          .0000       .10000E+07
     2 'Index     '    2.2893       1.0000          .0000       10.000    
     3 'Normalizat'    .78593       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9252.846     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      246 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.116        15.792        .11053E-04    .29109E-02
   2  Index         2.2884        1.1683        .12767E-01    .64489E-04
   3  Normalizat    .78619        .21739        .35439E-03   -.26466E-03
   4  Prefactor     1.0380        .14005        .20324E-03    .27185E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1157
  Index      = 2.28836
  Normalizat = 0.786192
  Prefactor  = 1.038
 **********
 **   18 **HESSE 
 **********

 FCN=   9252.846     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.116        15.420        .44211E-06   -1.5636    
   2  Index         2.2884        1.1401        .51067E-03   -.57321    
   3  Normalizat    .78619        .21725        .14175E-04   -1.0058    
   4  Prefactor     1.0380        .14009        .81296E-05   -.91473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.63721e-10
Minuit parameter uncertainties:
  1  15.4196
  2  1.15463
  3  0.217493
  4  0.140144
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808972': 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) = 9252.84625916
delta logL = 0.0218979892561

Extracting fit parameters...

4FGL J1806.3+5345
   Spectrum: PowerLaw
376    Prefactor:  1.312e+01  1.542e+01  0.000e+00  1.000e+06 ( 1.000e-13)
377        Index:  2.288e+00  1.155e+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.401e-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.862e-01  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 271.591 53.764
Photon Index (Free Index): 2.29 +/- 1.15
Photon Flux (Free Index): 2.06e-08 +/- 3.85e-08
Energy Flux (Free Index): 7.94e-06 +/- 9.48e-06

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/808972/cmap_HighResolution_692150401_692409601_4FGL_J1806.3+5345_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-03', comment='SUCCESS', photon_flux='2.67e-08', energy_flux2='7.94e-06', photon_flux_error='2.91e-08', dlogl='2.19e-02', energy_flux='7.54e-06', photon_flux2='2.06e-08', job_status='DONE', time_completed='2022-12-11 01:36:21.344269', photon_index_error2='1.15', photon_index2='2.29', ts='1.38', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='9.52e-08', energy_flux_error2='9.48e-06', EG='0.78', time_epoch_completed='1670751381.34', return_code='0', job_id='808972', GAL2='1.04', EG2='0.79', return_code2='0', energy_flux_error='8.21e-06', photon_flux_error2='3.85e-08', ts2='1.41', photon_index='2.53' WHERE bin_id='1747' AND source_name='4FGL J1806.3+5345' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:36:21 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 808972: <4FGL_J1806.3+5345_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1806.3+5345_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 01:20:28 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:20:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:20:30 2022
Terminated at Sun Dec 11 01:36:21 2022
Results reported at Sun Dec 11 01:36:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1806.3+5345_daily_bin1747 271.591 53.7642 692150401 692409601 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 :                                   839.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             343.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            953 sec.

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

