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 142 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7436
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1727
RA = 331.709, Dec = -0.5461
tmin = 686966401, tmax = 687225601
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='214318', job_status='RUN', time_executed='2022-10-12 00:38:25.662995', time_epoch_executed='1665560305.66' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214318

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214318/ft1_4FGL_J2206.8-0032_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214318/ft2_4FGL_J2206.8-0032_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214318/ft1_4FGL_J2206.8-0032_daily_bin1727.fits outfile=/scratch/kocevski/214318/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1727.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=686966401.0 tmax=687225601.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 2.94
user 2.70
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214318/ft2_4FGL_J2206.8-0032_daily_bin1727.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/214318/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1727.fits evtable="EVENTS" outfile="/scratch/kocevski/214318/ft1_filtered_4FGL_J2206.8-0032_daily_bin1727.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.15

Number of photons that the gtmktime cut: 382

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214318/ft1_filtered_4FGL_J2206.8-0032_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/214318/ft2_4FGL_J2206.8-0032_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/214318/ltcube_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.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/214318/ft2_4FGL_J2206.8-0032_daily_bin1727.fits
.....................!
real 13.03
user 12.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214318/ft1_filtered_4FGL_J2206.8-0032_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/214318/ft2_4FGL_J2206.8-0032_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/214318/ltcube_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.fits outfile=/scratch/kocevski/214318/expmap_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.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/214318/ltcube_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.fits
.....................!
real 191.24
user 185.57
sys 4.99

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/214318/ft1_filtered_4FGL_J2206.8-0032_daily_bin1727.fits scfile=/scratch/kocevski/214318/ft2_4FGL_J2206.8-0032_daily_bin1727.fits outfile=/scratch/kocevski/214318/cmap_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214318/ft1_filtered_4FGL_J2206.8-0032_daily_bin1727.fits scfile=/scratch/kocevski/214318/ft2_4FGL_J2206.8-0032_daily_bin1727.fits outfile=/scratch/kocevski/214318/cmap_HighResolution_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214318/ft1_filtered_4FGL_J2206.8-0032_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/214318/ft2_4FGL_J2206.8-0032_daily_bin1727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214318/Model_4FGL_J2206.8-0032_daily_bin1727.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/214318/ft1_filtered_4FGL_J2206.8-0032_daily_bin1727.fits.....................!
real 48.39
user 47.03
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/214318/ft1_filtered_4FGL_J2206.8-0032_daily_bin1727.fits', '/scratch/kocevski/214318/ft2_4FGL_J2206.8-0032_daily_bin1727.fits', expMap='/scratch/kocevski/214318/expmap_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.fits', expCube='/scratch/kocevski/214318/ltcube_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/214318/Model_4FGL_J2206.8-0032_daily_bin1727.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  0.000e+00  1.000e+06 ( 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/214318/ft1_filtered_4FGL_J2206.8-0032_daily_bin1727.fits
Spacecraft file(s): /scratch/kocevski/214318/ft2_4FGL_J2206.8-0032_daily_bin1727.fits
Exposure map: /scratch/kocevski/214318/expmap_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.fits
Exposure cube: /scratch/kocevski/214318/ltcube_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/214318/Model_4FGL_J2206.8-0032_daily_bin1727.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) = 4341.24803795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.685       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.3993       1.0000          .0000       .10000E+07
     3 'Prefactor '    48.086       1.0000          .0000       .10000E+07
     4 'Prefactor '    130.55       1.0000          .0000       .10000E+07
     5 'norm      '    .32196E-08   1.0000          .0000       .10000E+07
     6 'norm      '    24.554       1.0000          .0000       .10000E+07
     7 'Prefactor '    .33266E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.1907       1.0000          .0000       .10000E+07
     9 'Prefactor '    .99470E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    15.789       1.0000          .0000       .10000E+07
    11 'Prefactor '    .45052       1.0000          .0000       .10000E+07
    12 'Prefactor '    .62172E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.0770       1.0000          .0000       .10000E+07
    14 'norm      '    10.440       1.0000          .0000       .10000E+07
    15 'Prefactor '    .39063E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    .60079       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4340.911     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1279 TOTAL
                     EDM=   .71E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.756        18.116        .62614E-07   -.52714E-02
   2  Prefactor     3.4028        2.5551       -.15490E-07   -.12868E-03
   3  Prefactor     47.566        5.5203        .69843E-08    .33368E-02
   4  Prefactor     139.18        78.943       -.16284E-06    .83635E-03
   5  norm           .0000        2.0922       -.28511E-08** at limit **
   6  norm          22.587        28.477       -.48290E-08   -.33088E-03
   7  Prefactor      .0000        35.710       -.46856E-06** at limit **
   8  Prefactor     7.2464        10.350       -.97626E-07   -.84611E-04
   9  Prefactor      .0000        8.4720        .39027E-07** at limit **
  10  Prefactor     16.211        19.970        .34168E-06    .36849E-03
  11  Prefactor     .35338E-06    439.23        .86538E-06** at limit **
  12  Prefactor      .0000        4.9208        .34856E-08** at limit **
  13  Prefactor     6.0873        6.3503       -.13096E-07    .76594E-04
  14  norm          10.452        6.5201       -.24464E-07   -.41075E-03
  15  Prefactor     .22204E-09    53.031        .91027E-08** at limit **
  16  Normalizat    .59555        .34657        .21087E-05    .44297E-05
  17  Prefactor     1.0664        .18704        .38587E-06    .28163E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.7561
  Prefactor  = 3.40276
  Prefactor  = 47.5657
  Prefactor  = 139.184
  norm       = 0
  norm       = 22.587
  Prefactor  = 0
  Prefactor  = 7.24642
  Prefactor  = 0
  Prefactor  = 16.2111
  Prefactor  = 3.53384e-07
  Prefactor  = 0
  Prefactor  = 6.08727
  norm       = 10.4517
  Prefactor  = 2.22045e-10
  Normalizat = 0.595551
  Prefactor  = 1.0664
 **********
 **   18 **HESSE 
 **********

 FCN=   4340.911     FROM HESSE     STATUS=OK           269 CALLS     1548 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.756        53.174        .23789E-03   -1.5624    
   2  Prefactor     3.4028        2.9003        .54848E-03   -1.5671    
   3  Prefactor     47.566        40.360        .14422E-03   -1.5570    
   4  Prefactor     139.18        79.147        .87528E-04   -1.5472    
   5  norm           .0000        2.0899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          22.587        28.582        .20185E-03   -1.5613    
   7  Prefactor      .0000        34.393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.2464        10.323        .37383E-03   -1.5654    
   9  Prefactor      .0000        8.4834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.211        21.508        .25180E-03   -1.5627    
  11  Prefactor     .35338E-06    40.241        .10435E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        4.9368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.0873        6.3930        .40704E-03   -1.5659    
  14  norm          10.452        6.5493        .30986E-03   -1.5643    
  15  Prefactor     .22204E-09    53.184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .59555        .32434        .93390E-01   -1.0817    
  17  Prefactor     1.0664        .16584        .39122E-01   -.90548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98156e-08
Minuit parameter uncertainties:
  1  53.1755
  2  2.90029
  3  40.3601
  4  79.1479
  5  5.88532e-07
  6  28.582
  7  1.7189e-05
  8  10.3234
  9  5.65394e-06
  10  21.5079
  11  0.00754235
  12  4.59533e-07
  13  6.39298
  14  6.54934
  15  0.00021396
  16  0.325385
  17  0.165922
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.621e+01  2.151e+01  0.000e+00  1.000e+06 ( 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:  1.066e+00  1.659e-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.956e-01  3.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.06
Ra Dec: 331.709 -0.546
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 3.63e-08 +/- 4.82e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.99e-05

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

Saving results to:
/scratch/kocevski/214318/likelihoodResults_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4340.64736066
delta logL = 0.263957565223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4340.64403117
delta logL = 0.267287046348

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9729       1.0000          .0000       .10000E+07
     2 'Index     '    2.9083       1.0000          .0000       10.000    
     3 'Normalizat'    .56457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0753       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=   4340.644     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      300 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9736        18.151        .13374E-04    .44967E-03
   2  Index         2.9083        1.1013        .62278E-02    .36827E-03
   3  Normalizat    .56457        .32735        .42434E-03    .69123E-04
   4  Prefactor     1.0753        .18494        .17813E-03    .17909E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.97355
  Index      = 2.90832
  Normalizat = 0.564567
  Prefactor  = 1.07528
 **********
 **   18 **HESSE 
 **********

 FCN=   4340.644     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9736        15.668        .53497E-06   -1.5648    
   2  Index         2.9083        .95247        .12456E-02   -.43161    
   3  Normalizat    .56457        .32703        .16973E-04   -1.0951    
   4  Prefactor     1.0753        .18480        .35625E-04   -.90260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24647e-11
Minuit parameter uncertainties:
  1  15.668
  2  0.959596
  3  0.328155
  4  0.184914
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214318': 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) = 4340.64403112
delta logL = 0.267287100947

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  8.974e+00  1.567e+01  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.908e+00  9.596e-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:  1.075e+00  1.849e-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.646e-01  3.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.60
Ra Dec: 331.709 -0.546
Photon Index (Free Index): 2.91 +/- 0.96
Photon Flux (Free Index): 6.90e-08 +/- 7.51e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.43e-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/214318/cmap_HighResolution_686966401_687225601_4FGL_J2206.8-0032_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', photon_flux='3.63e-08', energy_flux2='1.44e-05', photon_flux_error='4.82e-08', dlogl='2.67e-01', energy_flux='1.50e-05', photon_flux2='6.90e-08', job_status='DONE', time_completed='2022-10-12 00:45:53.004246', photon_index_error2='0.96', photon_index2='2.91', ts='1.06', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.43e-05', EG='0.60', time_epoch_completed='1665560753.0', return_code='0', job_id='214318', GAL2='1.08', EG2='0.56', return_code2='0', energy_flux_error='1.99e-05', photon_flux_error2='7.51e-08', ts2='1.60', photon_index='2.25' WHERE bin_id='1727' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:45:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 214318: <4FGL_J2206.8-0032_daily_bin1727> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:35:53 2022
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:35:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:35:55 2022
Terminated at Wed Oct 12 00:45:53 2022
Results reported at Wed Oct 12 00:45:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1727 331.709 -0.5461 686966401 687225601 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 :                                   449.16 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             316.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   598 sec.
    Turnaround time :                            600 sec.

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

