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 18 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1806.8+6949_monthly_bin168
RA = 271.711, Dec = 69.827
tmin = 672451201, tmax = 675043201
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='644449', job_status='RUN', time_executed='2022-05-24 03:46:20.067682', time_epoch_executed='1653389180.07' WHERE source_name='4FGL J1806.8+6949' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644449

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644449/ft1_4FGL_J1806.8+6949_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644449/ft1_4FGL_J1806.8+6949_monthly_bin168.fits outfile=/scratch/kocevski/644449/ft1_filteredMKT_4FGL_J1806.8+6949_monthly_bin168.fits ra=271.711 dec=69.827 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.79
user 28.14
sys 0.57

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.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/644449/ft1_filteredMKT_4FGL_J1806.8+6949_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/644449/ft1_filtered_4FGL_J1806.8+6949_monthly_bin168.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.87
user 0.69
sys 0.16

Number of photons that the gtmktime cut: 16619

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644449/ft1_filtered_4FGL_J1806.8+6949_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/644449/ltcube_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.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/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.fits
.....................!
real 124.59
user 123.91
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644449/ft1_filtered_4FGL_J1806.8+6949_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/644449/ltcube_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.fits outfile=/scratch/kocevski/644449/expmap_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.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/644449/ltcube_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.fits
.....................!
real 192.56
user 186.50
sys 5.61

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

Setting source of interest to:
4FGL J1806.8+6949 @ 271.711 69.827

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/644449/ft1_filtered_4FGL_J1806.8+6949_monthly_bin168.fits scfile=/scratch/kocevski/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.fits outfile=/scratch/kocevski/644449/cmap_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.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.711 yref=69.827 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.80
user 0.62
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644449/ft1_filtered_4FGL_J1806.8+6949_monthly_bin168.fits scfile=/scratch/kocevski/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.fits outfile=/scratch/kocevski/644449/cmap_HighResolution_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.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.711 yref=69.827 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.80
user 0.62
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/644449/ft1_filtered_4FGL_J1806.8+6949_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/644449/Model_4FGL_J1806.8+6949_monthly_bin168.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/644449/ft1_filtered_4FGL_J1806.8+6949_monthly_bin168.fits.....................!
real 1647.34
user 1641.95
sys 1.93

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/644449/ft1_filtered_4FGL_J1806.8+6949_monthly_bin168.fits', '/scratch/kocevski/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.fits', expMap='/scratch/kocevski/644449/expmap_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.fits', expCube='/scratch/kocevski/644449/ltcube_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/644449/Model_4FGL_J1806.8+6949_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1806.8+6949'

4FGL J1806.8+6949
   Spectrum: LogParabola
346         norm:  7.628e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
347        alpha:  2.243e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
348         beta:  5.091e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
349           Eb:  7.887e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/644449/ft1_filtered_4FGL_J1806.8+6949_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/644449/ft2_4FGL_J1806.8+6949_monthly_bin168.fits
Exposure map: /scratch/kocevski/644449/expmap_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.fits
Exposure cube: /scratch/kocevski/644449/ltcube_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/644449/Model_4FGL_J1806.8+6949_monthly_bin168.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) = 169557.244055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.3421       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.771       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.0511       1.0000         .10000E-03   10000.    
     4 'norm      '    2.0976       1.0000         .10000E-03   10000.    
     5 'norm      '    .14814       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2098       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .31647E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.8280       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .69934       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.4881       1.0000         .10000E-03   10000.    
    14 'norm      '    4.5079       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .29136       1.0000         .10000E-03   10000.    
    16 'norm      '    3.4510       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.7289       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10999E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2438       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .35188       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.1389       1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.1097       1.0000         .10000E-03   10000.    
    23 'Prefactor '    23.952       1.0000         .10000E-03   10000.    
    24 'norm      '    .16902       1.0000         .10000E-03   10000.    
    25 'norm      '    1.0050       1.0000         .10000E-03   10000.    
    26 'norm      '    4.1736       1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.5855       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.2023       1.0000         .10000E-03   10000.    
    29 'norm      '    3.5618       1.0000         .10000E-03   10000.    
    30 'norm      '    8.7332       1.0000         .10000E-03   10000.    
    31 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    42.895       1.0000         .10000E-03   10000.    
    33 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    13.982       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .99708       1.0000         .10000E-01   10.000    
    36 'Prefactor '    1.0579       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   169557.1     FROM MIGRAD    STATUS=CONVERGED     96 CALLS     4627 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.3423        1.2599       -.36284E-06    .39662E-03
   2  Prefactor     10.771        1.0020       -.19572E-07    .12757E-03
   3  Prefactor     9.0514        1.0225        .71375E-07   -.42572E-03
   4  norm          2.0977        1.5078       -.58387E-07   -.42001E-04
   5  norm          .14813        .10755        .88592E-08    .33576E-04
   6  Prefactor     1.2102        1.3476        .18346E-06   -.61806E-04
   7  Prefactor     .31907E-01    1.7579       -.27041E-05   -.12114E-03
   8  Prefactor     4.8283        1.2682       -.51156E-06   -.78497E-03
   9  Prefactor     .10000E-03    .54950       -.22974E-07** at limit **
  10  Prefactor     .68750        9.7922        .15106E-05   -.27296E-04
  11  Prefactor     .10000E-03    1.2932        .28701E-06** at limit **
  12  Prefactor     .10000E-03    4.1268        .20307E-06** at limit **
  13  norm          3.4881        .58609        .33147E-07   -.10089E-04
  14  norm          4.5079        .25061        .10335E-07    .22905E-03
  15  Prefactor     .28926        .87442        .19671E-05   -.63223E-03
  16  norm          3.4511        .92369        .14291E-07   -.26004E-04
  17  Prefactor     1.7289        1.1825        .77793E-06    .12167E-02
  18  Prefactor     .10000E-03    45.164        .48283E-06** at limit **
  19  Prefactor     4.2435        1.4288       -.89057E-07   -.71457E-04
  20  Prefactor     .35344        .88293       -.13262E-06   -.29128E-04
  21  Prefactor     4.1381        1.3266        .64085E-06   -.56127E-03
  22  Prefactor     9.1083        1.0087        .28456E-07   -.20413E-03
  23  Prefactor     23.951        1.0116        .37924E-07   -.68911E-03
  24  norm          .16906        .32270        .22862E-07    .15948E-03
  25  norm          1.0050        .70212        .20802E-07    .18606E-04
  26  norm          4.1743        1.0111        .88841E-07    .44760E-03
  27  Prefactor     3.5855        1.4984        .80143E-06    .24988E-03
  28  Prefactor     1.2022        1.1249       -.11357E-06    .63174E-04
  29  norm          3.5617        .42605       -.79775E-08    .23642E-03
  30  norm          8.7331        1.0021       -.46552E-08    .71951E-04
  31  norm          .10000E-03    1.1476        .33398E-06** at limit **
  32  Prefactor     42.894        1.1645        .12442E-06   -.26960E-02
  33  norm          .10000E-03    .54948        .35020E-07** at limit **
  34  Prefactor     13.982        2.8752       -.70513E-06   -.93943E-03
  35  Normalizat    .99706        .49512E-01   -.10656E-06   -.84058E-04
  36  Prefactor     1.0579        .27805E-01    .50484E-07   -.17790E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.34227
  Prefactor  = 10.7707
  Prefactor  = 9.05142
  norm       = 2.09771
  norm       = 0.148126
  Prefactor  = 1.21022
  Prefactor  = 0.0319069
  Prefactor  = 4.82829
  Prefactor  = 0.0001
  Prefactor  = 0.687498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.48806
  norm       = 4.50794
  Prefactor  = 0.289257
  norm       = 3.45107
  Prefactor  = 1.72893
  Prefactor  = 0.0001
  Prefactor  = 4.24347
  Prefactor  = 0.353437
  Prefactor  = 4.1381
  Prefactor  = 9.10831
  Prefactor  = 23.9511
  norm       = 0.169058
  norm       = 1.00503
  norm       = 4.1743
  Prefactor  = 3.58554
  Prefactor  = 1.20223
  norm       = 3.56174
  norm       = 8.73312
  norm       = 0.0001
  Prefactor  = 42.8942
  norm       = 0.0001
  Prefactor  = 13.9823
  Normalizat = 0.997064
  Prefactor  = 1.05788
 **********
 **   18 **HESSE 
 **********

 FCN=   169557.1     FROM HESSE     STATUS=OK           951 CALLS     5578 TOTAL
                     EDM=   .43E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.3423        3.7793        .32780E-02   -1.5097    
   2  Prefactor     10.771        9.5906        .30520E-02   -1.5051    
   3  Prefactor     9.0514        6.0180        .33305E-02   -1.5106    
   4  norm          2.0977        1.5204        .71243E-02   -1.5418    
   5  norm          .14813        .10709        .27220E-01   -1.5631    
   6  Prefactor     1.2102        1.3979        .10286E-01   -1.5488    
   7  Prefactor     .31907E-01    .97863E-01    .61047E-01   -1.5672    
   8  Prefactor     4.8283        2.8203        .45771E-02   -1.5268    
   9  Prefactor     .10000E-03    .18620        .65532E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .68750        1.4372        .18081       -1.5542    
  11  Prefactor     .10000E-03    .32147        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.1065        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.4881        .58846        .54125E-02   -1.5334    
  14  norm          4.5079        .25308        .47407E-02   -1.5283    
  15  Prefactor     .28926        .63160        .10387       -1.5600    
  16  norm          3.4511        .93097        .54427E-02   -1.5336    
  17  Prefactor     1.7289        2.4935        .79829E-02   -1.5445    
  18  Prefactor     .10000E-03    43.788        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.2435        1.5166        .48899E-02   -1.5296    
  20  Prefactor     .35344        .96182        .10650       -1.5589    
  21  Prefactor     4.1381        3.9692        .49532E-02   -1.5301    
  22  Prefactor     9.1083        13.515        .33197E-02   -1.5104    
  23  Prefactor     23.951        12.797        .20462E-02   -1.4729    
  24  norm          .16906        .26151        .41573E-01   -1.5626    
  25  norm          1.0050        .81458        .65827E-01   -1.5507    
  26  norm          4.1743        2.4688        .49320E-02   -1.5299    
  27  Prefactor     3.5855        3.4721        .53353E-02   -1.5329    
  28  Prefactor     1.2022        1.1448        .10344E-01   -1.5489    
  29  norm          3.5617        .43646        .53538E-02   -1.5330    
  30  norm          8.7331        4.6551        .33909E-02   -1.5117    
  31  norm          .10000E-03    .11979        .46095E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     42.894        7.1105        .15302E-02   -1.4397    
  33  norm          .10000E-03    .10830        .41982E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     13.982        3.3434        .26779E-02   -1.4960    
  35  Normalizat    .99706        .47610E-01    .79144E-01   -.93129    
  36  Prefactor     1.0579        .25476E-01    .39469E-01   -.90824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29731e-05
Minuit parameter uncertainties:
  1  3.77939
  2  9.59197
  3  6.01838
  4  1.52042
  5  0.10709
  6  1.39793
  7  0.0978631
  8  2.82037
  9  3.21519e-08
  10  1.43723
  11  3.52851e-07
  12  6.41529e-07
  13  0.588465
  14  0.253084
  15  0.631618
  16  0.930976
  17  2.49365
  18  3.31874e-05
  19  1.51663
  20  0.961864
  21  3.96944
  22  13.5197
  23  12.7983
  24  0.261513
  25  0.814591
  26  2.46888
  27  3.47225
  28  1.14482
  29  0.436461
  30  4.65527
  31  1.35268e-07
  32  7.11065
  33  1.91338e-07
  34  3.34342
  35  0.0476118
  36  0.025476
Done.

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

Extracting fit parameters...

4FGL J1806.8+6949
   Spectrum: LogParabola
346         norm:  3.451e+00  9.310e-01  1.000e-04  1.000e+04 ( 1.000e-12)
347        alpha:  2.243e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
348         beta:  5.091e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
349           Eb:  7.887e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.058e+00  2.548e-02  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.971e-01  4.761e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 33.12
Ra Dec: 271.711 69.827
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.55e-08 +/- 6.89e-09
Energy Flux (Fixed Index): 1.01e-05 +/- 2.73e-06

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) = 169557.107936
delta logL = 0.00166000012541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 169557.107895
delta logL = 0.00170082884142

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4462       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2558       1.0000          .0000       5.0000    
     3 'Normalizat'    .99664       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0580       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   169557.1     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      222 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4466        10.430        .54467E-02    .63653E-02
   2  alpha         2.2558        1.7282        .41402        .34767E-03
   3  Normalizat    .99667        .23535E-01    .79158E-01    .37382E-03
   4  Prefactor     1.0580        .10301E-01    .39463E-01    .34197E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.44664
  alpha      = 2.25582
  Normalizat = 0.996665
  Prefactor  = 1.05798
 **********
 **   18 **HESSE 
 **********

 FCN=   169557.1     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4466        .89972        .18976E-03   -1.5337    
   2  alpha         2.2558        .22353        .25796E-01   -.97827E-01
   3  Normalizat    .99667        .46813E-01    .35035E-03   -.93142    
   4  Prefactor     1.0580        .27068E-01    .19855E-03   -.90821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63695e-08
Minuit parameter uncertainties:
  1  0.899728
  2  0.223834
  3  0.0468148
  4  0.0270681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644449': 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) = 169557.107894
delta logL = 0.00170116804657

Extracting fit parameters...

4FGL J1806.8+6949
   Spectrum: LogParabola
346         norm:  3.447e+00  8.997e-01  1.000e-04  1.000e+04 ( 1.000e-12)
347        alpha:  2.256e+00  2.238e-01  0.000e+00  5.000e+00 ( 1.000e+00)
348         beta:  5.091e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
349           Eb:  7.887e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  1.058e+00  2.707e-02  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  9.967e-01  4.681e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.15
Ra Dec: 271.711 69.827
Photon Index (Free Index): 2.26 +/- 0.22
Photon Flux (Free Index): 2.59e-08 +/- 8.97e-09
Energy Flux (Free Index): 1.01e-05 +/- 2.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/644449/cmap_HighResolution_672451201_675043201_4FGL_J1806.8+6949_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.55e-08', energy_flux2='1.01e-05', photon_flux_error='6.89e-09', dlogl='1.70e-03', energy_flux='1.01e-05', photon_flux2='2.59e-08', job_status='DONE', time_completed='2022-05-24 08:29:39.228933', photon_index_error2='0.22', photon_index2='2.26', ts='33.12', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.71e-06', EG='1.00', time_epoch_completed='1653406179.23', return_code='0', job_id='644449', GAL2='1.06', EG2='1.00', return_code2='0', energy_flux_error='2.73e-06', photon_flux_error2='8.97e-09', ts2='33.15', photon_index='2.24' WHERE bin_id='168' AND source_name='4FGL J1806.8+6949' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 08:29:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 644449: <4FGL_J1806.8+6949_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1806.8+6949_monthly_bin168> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue May 24 03:45:23 2022
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 03:45:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 03:45:53 2022
Terminated at Tue May 24 08:29:40 2022
Results reported at Tue May 24 08:29:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1806.8+6949_monthly_bin168 271.711 69.827 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1806.8+6949 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   16951.00 sec.
    Max Memory :                                 793 MB
    Average Memory :                             549.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   17027 sec.
    Turnaround time :                            17057 sec.

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

