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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1703
RA = 331.709, Dec = -0.5461
tmin = 680745601, tmax = 681004801
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='324132', job_status='RUN', time_executed='2022-08-01 01:23:38.246729', time_epoch_executed='1659342218.25' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324132

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324132/ft1_4FGL_J2206.8-0032_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324132/ft2_4FGL_J2206.8-0032_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324132/ft1_4FGL_J2206.8-0032_daily_bin1703.fits outfile=/scratch/kocevski/324132/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1703.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=680745601.0 tmax=681004801.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.07
user 2.79
sys 0.19

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

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

Number of photons that the gtmktime cut: 155

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324132/ft1_filtered_4FGL_J2206.8-0032_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/324132/ft2_4FGL_J2206.8-0032_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/324132/ltcube_680745601_681004801_4FGL_J2206.8-0032_daily_bin1703.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/324132/ft2_4FGL_J2206.8-0032_daily_bin1703.fits
.....................!
real 15.87
user 15.47
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324132/ft1_filtered_4FGL_J2206.8-0032_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324132/ft2_4FGL_J2206.8-0032_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/324132/ltcube_680745601_681004801_4FGL_J2206.8-0032_daily_bin1703.fits outfile=/scratch/kocevski/324132/expmap_680745601_681004801_4FGL_J2206.8-0032_daily_bin1703.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/324132/ltcube_680745601_681004801_4FGL_J2206.8-0032_daily_bin1703.fits
.....................!
real 192.50
user 186.12
sys 5.36

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/324132/ft1_filtered_4FGL_J2206.8-0032_daily_bin1703.fits scfile=/scratch/kocevski/324132/ft2_4FGL_J2206.8-0032_daily_bin1703.fits outfile=/scratch/kocevski/324132/cmap_680745601_681004801_4FGL_J2206.8-0032_daily_bin1703.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324132/ft1_filtered_4FGL_J2206.8-0032_daily_bin1703.fits scfile=/scratch/kocevski/324132/ft2_4FGL_J2206.8-0032_daily_bin1703.fits outfile=/scratch/kocevski/324132/cmap_HighResolution_680745601_681004801_4FGL_J2206.8-0032_daily_bin1703.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/324132/ft1_filtered_4FGL_J2206.8-0032_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324132/ft2_4FGL_J2206.8-0032_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/324132/Model_4FGL_J2206.8-0032_daily_bin1703.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/324132/ft1_filtered_4FGL_J2206.8-0032_daily_bin1703.fits.......................!
real 30.27
user 28.94
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10324E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9520       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    78.603       1.0000         .10000E-03   10000.    
     7 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .16092E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.569       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    133.99       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.302       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .45858       1.0000         .10000E-03   10000.    
    16 'Prefactor '    96.875       1.0000         .10000E-03   10000.    
    17 'Prefactor '    118.87       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    19.397       1.0000         .10000E-03   10000.    
    20 'Prefactor '    641.66       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .59612       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79237       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=   1847.533     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2385 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    156.73        .15795E-04** at limit **
   2  Prefactor     2.9516        10.919       -.17639E-05   -.14403E-03
   3  Prefactor     .10000E-03    95.377        .51504E-04** at limit **
   4  Prefactor     .10000E-03    135.70       -.32485E-04** at limit **
   5  Prefactor     .10000E-03    90.173       -.27918E-04** at limit **
   6  Prefactor     78.518        125.54       -.39525E-04    .73389E-04
   7  norm          .10000E-03    2.7634        .20670E-06** at limit **
   8  norm          .10002E-03    90.927       -.75058E-05** at limit **
   9  Prefactor     .10000E-03    12.237        .50806E-06** at limit **
  10  Prefactor     30.581        42.369       -.35507E-04   -.78732E-06
  11  Prefactor     .10000E-03    17.723       -.43350E-06** at limit **
  12  Prefactor     .10000E-03    41.921       -.24630E-06** at limit **
  13  Prefactor     134.00        130.17        .16407E-04    .95898E-04
  14  Prefactor     16.257        257.00        .59140E-04    .89224E-04
  15  Prefactor     .16485        135.34       -.25501E-04    .17921E-03
  16  Prefactor     96.852        54.971        .54221E-05    .52240E-04
  17  Prefactor     118.98        288.73        .80209E-04    .68128E-06
  18  Prefactor     .10000E-03    6.7544        .47246E-06** at limit **
  19  norm          19.398        14.486        .44424E-05   -.52790E-05
  20  Prefactor     641.40        357.91       -.97833E-04    .14763E-05
  21  Normalizat    .59654        .49348        .68886E-05    .39617E-03
  22  Prefactor     .79231        .23790        .14353E-05    .87574E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.95157
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 78.5178
  norm       = 0.0001
  norm       = 0.000100015
  Prefactor  = 0.000100001
  Prefactor  = 30.5807
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 133.999
  Prefactor  = 16.2571
  Prefactor  = 0.164845
  Prefactor  = 96.8524
  Prefactor  = 118.98
  Prefactor  = 0.0001
  norm       = 19.398
  Prefactor  = 641.402
  Normalizat = 0.596545
  Prefactor  = 0.792315
 **********
 **   18 **HESSE 
 **********

 FCN=   1847.533     FROM HESSE     STATUS=OK           338 CALLS     2723 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    156.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9516        10.925        .23637E-03   -1.5364    
   3  Prefactor     .10000E-03    95.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    135.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    90.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     78.518        125.41        .45296E-04   -1.3933    
   7  norm          .10000E-03    2.7901        .69732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10002E-03    91.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.242        .14682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.581        42.391        .72467E-04   -1.4601    
  11  Prefactor     .10000E-03    17.725        .17678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    41.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     134.00        128.30        .17395E-03   -1.3388    
  14  Prefactor     16.257        249.64        .99198E-04   -1.4901    
  15  Prefactor     .16485        172.77        .11191       -1.5627    
  16  Prefactor     96.852        54.860        .40839E-04   -1.3737    
  17  Prefactor     118.98        288.38        .18454E-03   -1.3522    
  18  Prefactor     .10000E-03    6.7605        .10906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          19.398        14.480        .90941E-04   -1.4827    
  20  Prefactor     641.40        358.58        .81617E-04   -1.0587    
  21  Normalizat    .59654        .54990        .43362E-03   -1.0813    
  22  Prefactor     .79231        .27312        .19259E-03   -1.0001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51818e-09
Minuit parameter uncertainties:
  1  1.71529e-05
  2  10.9319
  3  5.16418e-07
  4  1.75024e-05
  5  3.86813e-05
  6  125.839
  7  1.92774e-05
  8  0.0023615
  9  0.000166704
  10  42.4324
  11  0.000203825
  12  0.000302035
  13  128.563
  14  128.054
  15  10.7013
  16  54.8883
  17  291.892
  18  9.10626e-05
  19  14.4824
  20  359.872
  21  0.555055
  22  0.273588
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.340e+02  1.286e+02  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:  7.923e-01  2.736e-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:  5.965e-01  5.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.05
Ra Dec: 331.709 -0.546
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 3.00e-07 +/- 2.88e-07
Energy Flux (Fixed Index): 1.24e-04 +/- 1.19e-04

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) = 1847.17032245
delta logL = 0.36229565145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1847.16972433
delta logL = 0.362893774557

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1847.170     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      294 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     79.409        93.848        .45081E-04    .17252E-03
   2  Index         2.7389        .68130        .28902E-02    .12204E-03
   3  Normalizat    .51079        .52359        .46505E-03    .63462E-04
   4  Prefactor     .82449        .26947        .18912E-03    .31255E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 79.4093
  Index      = 2.73889
  Normalizat = 0.510792
  Prefactor  = 0.824493
 **********
 **   18 **HESSE 
 **********

 FCN=   1847.170     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     79.409        86.979        .90162E-05   -1.3923    
   2  Index         2.7389        .63137        .11561E-03   -.46926    
   3  Normalizat    .51079        .52269        .18602E-04   -1.1192    
   4  Prefactor     .82449        .26884        .37824E-04   -.98832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00575e-10
Minuit parameter uncertainties:
  1  87.119
  2  0.633498
  3  0.527836
  4  0.269272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324132': 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) = 1847.16972156
delta logL = 0.362896541982

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  7.941e+01  8.712e+01  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.739e+00  6.335e-01  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:  8.245e-01  2.693e-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:  5.108e-01  5.278e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.81
Ra Dec: 331.709 -0.546
Photon Index (Free Index): 2.74 +/- 0.63
Photon Flux (Free Index): 4.38e-07 +/- 2.83e-07
Energy Flux (Free Index): 1.02e-04 +/- 6.18e-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/324132/cmap_HighResolution_680745601_681004801_4FGL_J2206.8-0032_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.00e-07', energy_flux2='1.02e-04', photon_flux_error='2.88e-07', dlogl='3.63e-01', energy_flux='1.24e-04', photon_flux2='4.38e-07', job_status='DONE', time_completed='2022-08-01 01:30:12.652880', photon_index_error2='0.63', photon_index2='2.74', ts='4.05', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='6.18e-05', EG='0.60', time_epoch_completed='1659342612.65', return_code='0', job_id='324132', GAL2='0.82', EG2='0.51', return_code2='0', energy_flux_error='1.19e-04', photon_flux_error2='2.83e-07', ts2='4.81', photon_index='2.25' WHERE bin_id='1703' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:30:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0063>
Subject: Job 324132: <4FGL_J2206.8-0032_daily_bin1703> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:20:20 2022
Job was executed on host(s) <bullet0063>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:21:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:21:43 2022
Terminated at Mon Aug  1 01:30:13 2022
Results reported at Mon Aug  1 01:30:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1703 331.709 -0.5461 680745601 681004801 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 :                                   395.38 sec.
    Max Memory :                                 633 MB
    Average Memory :                             248.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   509 sec.
    Turnaround time :                            593 sec.

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

