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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1769
RA = 331.709, Dec = -0.5461
tmin = 697852801, tmax = 698112001
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='445270', job_status='RUN', time_executed='2023-02-15 01:32:23.846015', time_epoch_executed='1676453543.85' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445270

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445270/ft1_4FGL_J2206.8-0032_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445270/ft2_4FGL_J2206.8-0032_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445270/ft1_4FGL_J2206.8-0032_daily_bin1769.fits outfile=/scratch/kocevski/445270/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1769.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=697852801.0 tmax=698112001.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.42
user 4.18
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/445270/ft2_4FGL_J2206.8-0032_daily_bin1769.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/445270/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/445270/ft1_filtered_4FGL_J2206.8-0032_daily_bin1769.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 589

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445270/ft1_filtered_4FGL_J2206.8-0032_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/445270/ft2_4FGL_J2206.8-0032_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/445270/ltcube_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.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/445270/ft2_4FGL_J2206.8-0032_daily_bin1769.fits
.....................!
real 11.79
user 11.43
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445270/ft1_filtered_4FGL_J2206.8-0032_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/445270/ft2_4FGL_J2206.8-0032_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/445270/ltcube_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.fits outfile=/scratch/kocevski/445270/expmap_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.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/445270/ltcube_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.fits
.....................!
real 190.86
user 185.89
sys 4.35

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/445270/ft1_filtered_4FGL_J2206.8-0032_daily_bin1769.fits scfile=/scratch/kocevski/445270/ft2_4FGL_J2206.8-0032_daily_bin1769.fits outfile=/scratch/kocevski/445270/cmap_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445270/ft1_filtered_4FGL_J2206.8-0032_daily_bin1769.fits scfile=/scratch/kocevski/445270/ft2_4FGL_J2206.8-0032_daily_bin1769.fits outfile=/scratch/kocevski/445270/cmap_HighResolution_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/445270/ft1_filtered_4FGL_J2206.8-0032_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/445270/ft2_4FGL_J2206.8-0032_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/445270/Model_4FGL_J2206.8-0032_daily_bin1769.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/445270/ft1_filtered_4FGL_J2206.8-0032_daily_bin1769.fits.....................!
real 67.08
user 65.78
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/445270/ft1_filtered_4FGL_J2206.8-0032_daily_bin1769.fits', '/scratch/kocevski/445270/ft2_4FGL_J2206.8-0032_daily_bin1769.fits', expMap='/scratch/kocevski/445270/expmap_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.fits', expCube='/scratch/kocevski/445270/ltcube_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/445270/Model_4FGL_J2206.8-0032_daily_bin1769.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/445270/ft1_filtered_4FGL_J2206.8-0032_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/445270/ft2_4FGL_J2206.8-0032_daily_bin1769.fits
Exposure map: /scratch/kocevski/445270/expmap_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.fits
Exposure cube: /scratch/kocevski/445270/ltcube_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/445270/Model_4FGL_J2206.8-0032_daily_bin1769.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6624.66756289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3099       1.0000          .0000       .10000E+07
     2 'Prefactor '    .49654       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18747E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .85776       1.0000          .0000       .10000E+07
     5 'norm      '    .14012E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .44700       1.0000          .0000       .10000E+07
     7 'Prefactor '    .35860E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    14.595       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.380       1.0000          .0000       .10000E+07
    10 'Prefactor '    21.708       1.0000          .0000       .10000E+07
    11 'Prefactor '    .38208E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    16.967       1.0000          .0000       .10000E+07
    13 'Prefactor '    .53435E-06   1.0000          .0000       .10000E+07
    14 'norm      '    4.2526       1.0000          .0000       .10000E+07
    15 'Prefactor '    .19661E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3741       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .85447       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=   6624.571     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1001 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0434        49.874        .94811E-06   -.61782E-01
   2  Prefactor     .56120        3.5284        .26368E-06    .15038E-02
   3  Prefactor     .55511E-10    59.363        .20774E-05** at limit **
   4  Prefactor     .19826E-03    157.33        .14725E-05** at limit **
   5  norm           .0000        2.8777       -.23280E-06** at limit **
   6  norm          .21360E-04    246.48        .31397E-06** at limit **
   7  Prefactor      .0000        5.6433       -.18973E-06** at limit **
   8  Prefactor     14.953        9.9715       -.25448E-06   -.68494E-03
   9  Prefactor     23.198        14.712       -.55823E-07   -.17019E-01
  10  Prefactor     21.746        24.081        .89074E-07    .29264E-01
  11  Prefactor     .61062E-09    13.135       -.25510E-06** at limit **
  12  Prefactor     17.106        13.037       -.11672E-06   -.48310E-02
  13  Prefactor      .0000        1.3423       -.12813E-06** at limit **
  14  norm          4.2416        4.3650        .80148E-07   -.19806E-03
  15  Prefactor     .55511E-10    48.979       -.12051E-05** at limit **
  16  Normalizat    1.3750        .29402        .10987E-04   -.28392E-04
  17  Prefactor     .85469        .15649       -.41446E-05   -.22281E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.04336
  Prefactor  = 0.5612
  Prefactor  = 5.55112e-11
  Prefactor  = 0.000198261
  norm       = 0
  norm       = 2.13603e-05
  Prefactor  = 0
  Prefactor  = 14.9527
  Prefactor  = 23.1983
  Prefactor  = 21.7461
  Prefactor  = 6.10623e-10
  Prefactor  = 17.1057
  Prefactor  = 0
  norm       = 4.24162
  Prefactor  = 5.55112e-11
  Normalizat = 1.37504
  Prefactor  = 0.854692
 **********
 **   18 **HESSE 
 **********

 FCN=   6624.571     FROM HESSE     STATUS=OK           263 CALLS     1264 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0434        208.22        .43592E-03   -1.5673    
   2  Prefactor     .56120        4.7323        .79058E-03   -1.5693    
   3  Prefactor     .55511E-10    58.589        .17121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19826E-03    209.80        .48725E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        2.8377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .21360E-04    24.494        .10834E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.6623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.953        9.9679        .26191E-03   -1.5631    
   9  Prefactor     23.198        14.729        .20686E-03   -1.5612    
  10  Prefactor     21.746        24.145        .21469E-03   -1.5615    
  11  Prefactor     .61062E-09    13.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.106        13.056        .24288E-03   -1.5625    
  13  Prefactor      .0000        1.3438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.2416        4.3716        .48836E-03   -1.5667    
  15  Prefactor     .55511E-10    48.876        .17059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3750        .24614        .69770E-01   -.81353    
  17  Prefactor     .85469        .12966        .44422E-01   -.97743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30653e-06
Minuit parameter uncertainties:
  1  50.3484
  2  3.25931
  3  0.000139161
  4  0.407917
  5  7.05572e-06
  6  0.0457473
  7  2.10162e-05
  8  9.96793
  9  14.729
  10  24.1448
  11  0.000183562
  12  13.0556
  13  5.96261e-07
  14  4.37156
  15  7.47262e-05
  16  0.246352
  17  0.129707
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  2.175e+01  2.414e+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:  8.547e-01  1.297e-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.375e+00  2.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 331.709 -0.546
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 4.87e-08 +/- 5.41e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 2.23e-05

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

Saving results to:
/scratch/kocevski/445270/likelihoodResults_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.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) = 6624.42031721
delta logL = 0.150338773807

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6624.41426305
delta logL = 0.156392933022

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.884       1.0000          .0000       .10000E+07
     2 'Index     '    2.6617       1.0000          .0000       10.000    
     3 'Normalizat'    1.3436       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86361       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=   6624.414     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      282 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.856        24.212        .97391E-05    .21946E-03
   2  Index         2.6624        .84971        .75631E-02    .32440E-04
   3  Normalizat    1.3436        .29266        .31160E-03    .60930E-05
   4  Prefactor     .86363        .15766        .20708E-03   -.19434E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8556
  Index      = 2.66243
  Normalizat = 1.34362
  Prefactor  = 0.863633
 **********
 **   18 **HESSE 
 **********

 FCN=   6624.414     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.856        21.663        .38957E-06   -1.5626    
   2  Index         2.6624        .75918        .30252E-03   -.48648    
   3  Normalizat    1.3436        .29174        .12464E-04   -.82273    
   4  Prefactor     .86363        .15729        .82833E-05   -.97424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62427e-12
Minuit parameter uncertainties:
  1  21.663
  2  0.762959
  3  0.292104
  4  0.157372
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445270': 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) = 6624.4142622
delta logL = 0.156393782203

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.686e+01  2.166e+01  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.662e+00  7.630e-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.636e-01  1.574e-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.344e+00  2.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 331.709 -0.546
Photon Index (Free Index): 2.66 +/- 0.76
Photon Flux (Free Index): 8.03e-08 +/- 8.70e-08
Energy Flux (Free Index): 1.99e-05 +/- 1.85e-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/445270/cmap_HighResolution_697852801_698112001_4FGL_J2206.8-0032_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', comment='SUCCESS', photon_flux='4.87e-08', energy_flux2='1.99e-05', photon_flux_error='5.41e-08', dlogl='1.56e-01', energy_flux='2.01e-05', photon_flux2='8.03e-08', job_status='DONE', time_completed='2023-02-15 01:40:58.286759', photon_index_error2='0.76', photon_index2='2.66', ts='1.32', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.68e-07', energy_flux_error2='1.85e-05', EG='1.38', time_epoch_completed='1676454058.29', return_code='0', job_id='445270', GAL2='0.86', EG2='1.34', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='8.70e-08', ts2='1.64', photon_index='2.25' WHERE bin_id='1769' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:40:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 445270: <4FGL_J2206.8-0032_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin1769> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Feb 15 01:30:23 2023
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:30:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:30:24 2023
Terminated at Wed Feb 15 01:40:59 2023
Results reported at Wed Feb 15 01:40:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1769 331.709 -0.5461 697852801 698112001 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 :                                   516.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             268.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            636 sec.

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

