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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1694
RA = 331.709, Dec = -0.5461
tmin = 678412801, tmax = 678672001
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='697410', job_status='RUN', time_executed='2022-07-05 04:01:10.914544', time_epoch_executed='1657018870.91' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1694'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697410

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697410/ft1_4FGL_J2206.8-0032_daily_bin1694.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697410/ft1_4FGL_J2206.8-0032_daily_bin1694.fits outfile=/scratch/kocevski/697410/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1694.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=678412801.0 tmax=678672001.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.68
user 3.41
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.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/697410/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1694.fits evtable="EVENTS" outfile="/scratch/kocevski/697410/ft1_filtered_4FGL_J2206.8-0032_daily_bin1694.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 527

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/697410/ft1_filtered_4FGL_J2206.8-0032_daily_bin1694.fits" evtable="EVENTS" scfile=/scratch/kocevski/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.fits sctable="SC_DATA" outfile=/scratch/kocevski/697410/ltcube_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.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/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.fits
.....................!
real 14.93
user 14.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697410/ft1_filtered_4FGL_J2206.8-0032_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.fits sctable="SC_DATA" expcube=/scratch/kocevski/697410/ltcube_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.fits outfile=/scratch/kocevski/697410/expmap_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.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/697410/ltcube_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.fits
.....................!
real 193.63
user 185.97
sys 5.29

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

Setting source of interest to:
4FGL J2206.8-0032 @ 331.709 -0.5461

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/697410/ft1_filtered_4FGL_J2206.8-0032_daily_bin1694.fits scfile=/scratch/kocevski/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.fits outfile=/scratch/kocevski/697410/cmap_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.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=331.709 yref=-0.5461 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697410/ft1_filtered_4FGL_J2206.8-0032_daily_bin1694.fits scfile=/scratch/kocevski/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.fits outfile=/scratch/kocevski/697410/cmap_HighResolution_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.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=331.709 yref=-0.5461 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/697410/ft1_filtered_4FGL_J2206.8-0032_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/697410/Model_4FGL_J2206.8-0032_daily_bin1694.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/697410/ft1_filtered_4FGL_J2206.8-0032_daily_bin1694.fits.....................!
real 59.82
user 57.79
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/697410/ft1_filtered_4FGL_J2206.8-0032_daily_bin1694.fits', '/scratch/kocevski/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.fits', expMap='/scratch/kocevski/697410/expmap_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.fits', expCube='/scratch/kocevski/697410/ltcube_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/697410/Model_4FGL_J2206.8-0032_daily_bin1694.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2206.8-0032'

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  6.940e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.247e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/697410/ft1_filtered_4FGL_J2206.8-0032_daily_bin1694.fits
Spacecraft file(s): /scratch/kocevski/697410/ft2_4FGL_J2206.8-0032_daily_bin1694.fits
Exposure map: /scratch/kocevski/697410/expmap_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.fits
Exposure cube: /scratch/kocevski/697410/ltcube_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/697410/Model_4FGL_J2206.8-0032_daily_bin1694.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) = 5726.63777651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.795       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10861E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .70443E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    17.046       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11241E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    49.576       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.1469       1.0000         .10000E-03   10000.    
    19 'norm      '    2.2830       1.0000         .10000E-03   10000.    
    20 'Prefactor '    79.225       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4536       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .58908       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5726.621     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2368 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.795        40.223        .28391E-05    .90346E-04
   2  Prefactor     .10000E-03    1.5858       -.29868E-06** at limit **
   3  Prefactor     .10000E-03    19.610        .37006E-05** at limit **
   4  Prefactor     .10000E-03    10.333        .19081E-05** at limit **
   5  Prefactor     .10000E-03    171.20        .65429E-05** at limit **
   6  Prefactor     .10000E-03    18.563        .12236E-05** at limit **
   7  norm          .10001E-03    8.4343        .49055E-05** at limit **
   8  norm          17.063        19.370       -.79423E-07   -.36874E-05
   9  Prefactor     .10000E-03    1.6935        .24516E-06** at limit **
  10  Prefactor     .10000E-03    4.9565       -.75751E-07** at limit **
  11  Prefactor     .10000E-03    2.2801        .23249E-07** at limit **
  12  Prefactor     .10000E-03    15.327       -.27352E-05** at limit **
  13  Prefactor     .10003E-03    17.866        .60666E-05** at limit **
  14  Prefactor     .10000E-03    3.7222        .23834E-07** at limit **
  15  Prefactor     49.579        35.830       -.88303E-06   -.36971E-04
  16  Prefactor     .10000E-03    6.8104        .46923E-06** at limit **
  17  Prefactor     .10000E-03    28.732        .41886E-06** at limit **
  18  Prefactor     8.1469        5.5472        .51928E-06    .98262E-04
  19  norm          2.2826        4.4908       -.15087E-05    .31928E-04
  20  Prefactor     79.225        80.381        .20494E-05    .92535E-05
  21  Normalizat    1.4537        .23151       -.18081E-05    .91411E-04
  22  Prefactor     .58908        .12084        .56703E-06   -.20564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.7949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100007
  norm       = 17.0634
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100035
  Prefactor  = 0.0001
  Prefactor  = 49.5785
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.14693
  norm       = 2.2826
  Prefactor  = 79.2255
  Normalizat = 1.45366
  Prefactor  = 0.589079
 **********
 **   18 **HESSE 
 **********

 FCN=   5726.621     FROM HESSE     STATUS=OK           336 CALLS     2704 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.795        38.985        .75989E-04   -1.4653    
   2  Prefactor     .10000E-03    3.1099        .17621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    172.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10001E-03    11.974        .15829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          17.063        19.266        .97008E-04   -1.4882    
   9  Prefactor     .10000E-03    1.6961        .96202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.0040        .16449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.2818        .11160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10003E-03    41.121        .35414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.7246        .14259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     49.579        35.938        .56954E-04   -1.4299    
  16  Prefactor     .10000E-03    6.8646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    28.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.1469        5.5395        .13617E-03   -1.5137    
  19  norm          2.2826        4.4947        .20908E-03   -1.5406    
  20  Prefactor     79.225        80.303        .45120E-04   -1.3925    
  21  Normalizat    1.4537        .26828        .25831E-03   -.79089    
  22  Prefactor     .58908        .14143        .21184E-03   -1.0805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85403e-09
Minuit parameter uncertainties:
  1  39.0205
  2  2.84822e-05
  3  0.000164334
  4  5.90443e-05
  5  0.000705887
  6  2.35188e-05
  7  0.000585872
  8  19.2726
  9  2.84417e-06
  10  1.36102e-05
  11  2.43616e-06
  12  3.91402e-05
  13  0.00238471
  14  4.35839e-06
  15  35.9541
  16  1.06542e-05
  17  3.36392e-05
  18  5.53983
  19  4.49541
  20  80.4137
  21  0.268539
  22  0.141516
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  2.385e-03  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.247e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  5.891e-01  1.415e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  1.454e+00  2.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.709 -0.546
Photon Flux Upper Limit: 6.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/697410/likelihoodResults_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.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) = 5726.62082269
delta logL = -0.000114553327876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5726.62082266
delta logL = -0.000114530856081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96352E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2473       1.0000          .0000       10.000    
     3 'Normalizat'    1.4537       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58908       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5726.569     FROM MIGRAD    STATUS=CONVERGED    216 CALLS      373 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7094        12.672        .36285E-03    .85848E-05
   2  Index         1.5750        1.1090        .17292E-01   -.21978E-05
   3  Normalizat    1.4597        .25747        .25786E-03   -.66123E-04
   4  Prefactor     .58372        .14203        .21275E-03    .19825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.70936
  Index      = 1.57501
  Normalizat = 1.45973
  Prefactor  = 0.583723
 **********
 **   18 **HESSE 
 **********

 FCN=   5726.569     FROM HESSE     STATUS=OK            25 CALLS      398 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7094        12.654        .14514E-04   -1.5323    
   2  Index         1.5750        1.1085        .69169E-03   -.75460    
   3  Normalizat    1.4597        .25768        .51573E-04   -.78916    
   4  Prefactor     .58372        .14215        .85101E-05   -1.0828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51121e-11
Minuit parameter uncertainties:
  1  12.6631
  2  1.12634
  3  0.257913
  4  0.142236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697410': 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) = 5726.56931848
delta logL = 0.0513896537104

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  3.709e+00  1.266e+01  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  1.575e+00  1.126e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  5.837e-01  1.422e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  1.460e+00  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.709 -0.546

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/697410/cmap_HighResolution_678412801_678672001_4FGL_J2206.8-0032_daily_bin1694.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2022-07-05 04:11:30.846493', job_id='697410', GAL2='0.58', fit_tolerance='1e-08', EG2='1.46', EG='1.45', time_epoch_completed='1657019490.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='5.14e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1694' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  5 04:11:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 697410: <4FGL_J2206.8-0032_daily_bin1694> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin1694> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul  5 03:55:11 2022
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 03:59:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 03:59:09 2022
Terminated at Tue Jul  5 04:11:31 2022
Results reported at Tue Jul  5 04:11:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1694 331.709 -0.5461 678412801 678672001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2206.8-0032 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   617.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            980 sec.

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

