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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1677
RA = 331.709, Dec = -0.5461
tmin = 674006401, tmax = 674265601
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='170586', job_status='RUN', time_executed='2022-05-15 01:10:31.790207', time_epoch_executed='1652602231.79' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170586

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170586/ft1_4FGL_J2206.8-0032_daily_bin1677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170586/ft2_4FGL_J2206.8-0032_daily_bin1677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170586/ft1_4FGL_J2206.8-0032_daily_bin1677.fits outfile=/scratch/kocevski/170586/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1677.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=674006401.0 tmax=674265601.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.66
user 4.35
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170586/ft2_4FGL_J2206.8-0032_daily_bin1677.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/170586/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1677.fits evtable="EVENTS" outfile="/scratch/kocevski/170586/ft1_filtered_4FGL_J2206.8-0032_daily_bin1677.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.55
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 599

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170586/ft1_filtered_4FGL_J2206.8-0032_daily_bin1677.fits" evtable="EVENTS" scfile=/scratch/kocevski/170586/ft2_4FGL_J2206.8-0032_daily_bin1677.fits sctable="SC_DATA" outfile=/scratch/kocevski/170586/ltcube_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.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/170586/ft2_4FGL_J2206.8-0032_daily_bin1677.fits
.....................!
real 14.31
user 13.92
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170586/ft1_filtered_4FGL_J2206.8-0032_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/170586/ft2_4FGL_J2206.8-0032_daily_bin1677.fits sctable="SC_DATA" expcube=/scratch/kocevski/170586/ltcube_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.fits outfile=/scratch/kocevski/170586/expmap_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.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/170586/ltcube_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.fits
.....................!
real 191.74
user 186.71
sys 4.41

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/170586/ft1_filtered_4FGL_J2206.8-0032_daily_bin1677.fits scfile=/scratch/kocevski/170586/ft2_4FGL_J2206.8-0032_daily_bin1677.fits outfile=/scratch/kocevski/170586/cmap_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.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/170586/ft1_filtered_4FGL_J2206.8-0032_daily_bin1677.fits scfile=/scratch/kocevski/170586/ft2_4FGL_J2206.8-0032_daily_bin1677.fits outfile=/scratch/kocevski/170586/cmap_HighResolution_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.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.57
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/170586/ft1_filtered_4FGL_J2206.8-0032_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/170586/ft2_4FGL_J2206.8-0032_daily_bin1677.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170586/Model_4FGL_J2206.8-0032_daily_bin1677.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/170586/ft1_filtered_4FGL_J2206.8-0032_daily_bin1677.fits.....................!
real 66.37
user 64.95
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/170586/ft1_filtered_4FGL_J2206.8-0032_daily_bin1677.fits', '/scratch/kocevski/170586/ft2_4FGL_J2206.8-0032_daily_bin1677.fits', expMap='/scratch/kocevski/170586/expmap_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.fits', expCube='/scratch/kocevski/170586/ltcube_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/170586/Model_4FGL_J2206.8-0032_daily_bin1677.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/170586/ft1_filtered_4FGL_J2206.8-0032_daily_bin1677.fits
Spacecraft file(s): /scratch/kocevski/170586/ft2_4FGL_J2206.8-0032_daily_bin1677.fits
Exposure map: /scratch/kocevski/170586/expmap_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.fits
Exposure cube: /scratch/kocevski/170586/ltcube_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/170586/Model_4FGL_J2206.8-0032_daily_bin1677.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) = 6535.89143858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.225       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7429       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.225       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.756       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10329E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11414E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.2481       1.0000         .10000E-03   10000.    
     8 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .51896E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.3924       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.055       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.4399       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.020       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19711E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    57.054       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .80669E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11136E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1221       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95211       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=   6535.881     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2452 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.166        45.621       -.58554E-07   -.74111E-04
   2  Prefactor     1.7475        2.5426        .24616E-06   -.46156E-04
   3  Prefactor     12.346        40.844        .52851E-06   -.15115E-04
   4  Prefactor     15.807        42.973        .55302E-06    .90780E-05
   5  Prefactor     .10000E-03    77.480       -.95805E-07** at limit **
   6  Prefactor     .10000E-03    114.61        .38326E-06** at limit **
   7  norm          1.2468        2.0175        .39205E-06   -.30568E-04
   8  norm          .10000E-03    6.7909       -.28592E-07** at limit **
   9  Prefactor     .10001E-03    7.3538        .79148E-06** at limit **
  10  Prefactor     4.3938        6.2267        .31290E-05   -.13479E-03
  11  Prefactor     10.049        14.444        .31313E-06   -.31920E-04
  12  Prefactor     7.4302        16.453        .28779E-06   -.19046E-05
  13  Prefactor     19.019        22.088        .35886E-06   -.25094E-04
  14  Prefactor     .10000E-03    8.6694        .69414E-07** at limit **
  15  Prefactor     .10000E-03    104.61       -.75771E-06** at limit **
  16  Prefactor     .10000E-03    5.3176       -.25242E-07** at limit **
  17  Prefactor     57.167        89.714        .26186E-06    .75201E-04
  18  Prefactor     .10000E-03    2.1052        .76685E-07** at limit **
  19  norm          .10000E-03    1.8671        .20379E-06** at limit **
  20  Prefactor     .10000E-03    238.95        .10202E-05** at limit **
  21  Normalizat    1.1220        .22663       -.14535E-05   -.13834E-03
  22  Prefactor     .95217        .12315       -.17497E-06   -.25287E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.1661
  Prefactor  = 1.74754
  Prefactor  = 12.3458
  Prefactor  = 15.8072
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.24677
  norm       = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 4.39376
  Prefactor  = 10.0485
  Prefactor  = 7.43018
  Prefactor  = 19.019
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.167
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.000100003
  Normalizat = 1.12196
  Prefactor  = 0.952168
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.881     FROM HESSE     STATUS=OK           348 CALLS     2800 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.166        45.267        .57156E-04   -1.4304    
   2  Prefactor     1.7475        2.4784        .13736E-03   -1.5444    
   3  Prefactor     12.346        40.389        .11457E-03   -1.5005    
   4  Prefactor     15.807        42.864        .10090E-03   -1.4913    
   5  Prefactor     .10000E-03    77.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    115.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.2468        1.9941        .14046E-03   -1.5485    
   8  norm          .10000E-03    6.8037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    37.233        .40996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.3938        6.2087        .96083E-03   -1.5289    
  11  Prefactor     10.049        14.400        .12637E-03   -1.5074    
  12  Prefactor     7.4302        16.412        .14704E-03   -1.5163    
  13  Prefactor     19.019        22.076        .91839E-04   -1.4835    
  14  Prefactor     .10000E-03    8.6805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    106.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.3364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     57.167        89.022        .26555E-03   -1.4194    
  18  Prefactor     .10000E-03    11.447        .22436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    32.328        .20986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    239.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1220        .26726        .30851E-03   -.89050    
  22  Prefactor     .95217        .14793        .19007E-03   -.94341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1333e-10
Minuit parameter uncertainties:
  1  45.2982
  2  2.4785
  3  40.4785
  4  42.9474
  5  1.23581e-05
  6  2.34502e-05
  7  1.99423
  8  2.11091e-07
  9  0.00128625
  10  6.20963
  11  14.4053
  12  16.4218
  13  22.0857
  14  4.07717e-07
  15  3.8829e-05
  16  6.06268e-06
  17  89.23
  18  0.000151234
  19  0.000708023
  20  0.0016943
  21  0.267579
  22  0.147996
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.902e+01  2.209e+01  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:  9.522e-01  1.480e-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.122e+00  2.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.05
Ra Dec: 331.709 -0.546
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 4.26e-08 +/- 4.95e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 2.04e-05

TS (Fixed Index): 1.05
Ra Dec: 331.709 -0.546
Photon Flux Upper Limit: 1.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/170586/likelihoodResults_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.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) = 6533.9291255
delta logL = 1.952092535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6533.89465869
delta logL = 1.98655934428

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78317       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3927       1.0000          .0000       10.000    
     3 'Normalizat'    .98648       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0048       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.

 FCN=   6533.895     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      267 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77986        5.9305        .83756E-02    .55589E-04
   2  Index         4.3947        2.1324        .86244E-01    .13059E-03
   3  Normalizat    .98631        .66498E-01    .73667E-01   -.24261E-05
   4  Prefactor     1.0049        .37655E-01    .44244E-01   -.23640E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.77986
  Index      = 4.39468
  Normalizat = 0.986313
  Prefactor  = 1.00494
 **********
 **   18 **HESSE 
 **********

 FCN=   6533.895     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      300 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77986        11.230        .37663E-04   -1.5531    
   2  Index         4.3947        3.1831        .34307E-02   -.12136    
   3  Normalizat    .98631        .24245        .32596E-03   -.93490    
   4  Prefactor     1.0049        .13759        .18540E-03   -.92565    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.72213e-10
Minuit parameter uncertainties:
  1  5.91962
  2  3.45555
  3  0.242719
  4  0.137637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170586': 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) = 6533.89465674
delta logL = 1.98656129871

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  7.799e-01  5.920e+00  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  4.395e+00  3.456e+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:  1.005e+00  1.376e-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:  9.863e-01  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.34
Ra Dec: 331.709 -0.546
Photon Index (Free Index): 4.39 +/- 3.46
Photon Flux (Free Index): 1.40e-07 +/- 7.74e-08
Energy Flux (Free Index): 1.98e-05 +/- 1.29e-05

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/170586/cmap_HighResolution_674006401_674265601_4FGL_J2206.8-0032_daily_bin1677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', photon_flux='4.26e-08', energy_flux2='1.98e-05', photon_flux_error='4.95e-08', dlogl='1.99e+00', energy_flux='1.76e-05', photon_flux2='1.40e-07', job_status='DONE', time_completed='2022-05-15 01:21:37.524838', photon_index_error2='3.46', photon_index2='4.39', ts='1.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='1.29e-05', EG='1.12', time_epoch_completed='1652602897.52', return_code='0', job_id='170586', GAL2='1.00', EG2='0.99', return_code2='102', energy_flux_error='2.04e-05', photon_flux_error2='7.74e-08', ts2='5.34', photon_index='2.25' WHERE bin_id='1677' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 15 01:21:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 170586: <4FGL_J2206.8-0032_daily_bin1677> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin1677> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun May 15 01:05:32 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun May 15 01:09:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun May 15 01:09:45 2022
Terminated at Sun May 15 01:21:38 2022
Results reported at Sun May 15 01:21:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1677 331.709 -0.5461 674006401 674265601 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 :                                   667.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            966 sec.

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

