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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1670
RA = 331.709, Dec = -0.5461
tmin = 672192001, tmax = 672451201
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='875907', job_status='RUN', time_executed='2022-04-24 00:49:13.516875', time_epoch_executed='1650786553.52' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875907

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875907/ft1_4FGL_J2206.8-0032_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875907/ft2_4FGL_J2206.8-0032_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875907/ft1_4FGL_J2206.8-0032_daily_bin1670.fits outfile=/scratch/kocevski/875907/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1670.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.07
user 4.81
sys 0.24

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

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

Number of photons that the gtmktime cut: 760

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875907/ft1_filtered_4FGL_J2206.8-0032_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/875907/ft2_4FGL_J2206.8-0032_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/875907/ltcube_672192001_672451201_4FGL_J2206.8-0032_daily_bin1670.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/875907/ft2_4FGL_J2206.8-0032_daily_bin1670.fits
.....................!
real 12.21
user 11.86
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875907/ft1_filtered_4FGL_J2206.8-0032_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/875907/ft2_4FGL_J2206.8-0032_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/875907/ltcube_672192001_672451201_4FGL_J2206.8-0032_daily_bin1670.fits outfile=/scratch/kocevski/875907/expmap_672192001_672451201_4FGL_J2206.8-0032_daily_bin1670.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/875907/ltcube_672192001_672451201_4FGL_J2206.8-0032_daily_bin1670.fits
.....................!
real 190.51
user 185.44
sys 4.72

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/875907/ft1_filtered_4FGL_J2206.8-0032_daily_bin1670.fits scfile=/scratch/kocevski/875907/ft2_4FGL_J2206.8-0032_daily_bin1670.fits outfile=/scratch/kocevski/875907/cmap_672192001_672451201_4FGL_J2206.8-0032_daily_bin1670.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875907/ft1_filtered_4FGL_J2206.8-0032_daily_bin1670.fits scfile=/scratch/kocevski/875907/ft2_4FGL_J2206.8-0032_daily_bin1670.fits outfile=/scratch/kocevski/875907/cmap_HighResolution_672192001_672451201_4FGL_J2206.8-0032_daily_bin1670.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875907/ft1_filtered_4FGL_J2206.8-0032_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/875907/ft2_4FGL_J2206.8-0032_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875907/Model_4FGL_J2206.8-0032_daily_bin1670.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/875907/ft1_filtered_4FGL_J2206.8-0032_daily_bin1670.fits....................!
real 77.08
user 75.68
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15841E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5704       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    15.774       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9255       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.4808       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.9619       1.0000         .10000E-03   10000.    
    15 'Prefactor '    60.487       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1210       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.930       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .81895E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10631E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94114       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0202       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=   8291.952     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2417 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    92.503       -.10897E-05** at limit **
   2  Prefactor     1.5708        1.3364        .12257E-07    .40043E-04
   3  Prefactor     .10000E-03    11.740       -.40758E-06** at limit **
   4  Prefactor     .10000E-03    14.952       -.48689E-06** at limit **
   5  Prefactor     .10000E-03    31.188        .10710E-05** at limit **
   6  Prefactor     .10000E-03    12.865        .63945E-06** at limit **
   7  norm          .10000E-03    1.0868       -.86199E-07** at limit **
   8  norm          15.769        16.221        .20506E-07    .22792E-04
   9  Prefactor     .10000E-03    2.1265       -.25526E-07** at limit **
  10  Prefactor     4.9241        6.1820        .55027E-06   -.72077E-05
  11  Prefactor     .10000E-03    5.7218       -.56543E-07** at limit **
  12  Prefactor     .10000E-03    10.209       -.11488E-06** at limit **
  13  Prefactor     8.4813        16.009       -.41467E-06   -.27534E-05
  14  Prefactor     3.9625        14.680        .16589E-05   -.10895E-04
  15  Prefactor     60.460        32.528        .86925E-06   -.16194E-05
  16  Prefactor     3.1233        7.4680        .19711E-05   -.77904E-04
  17  Prefactor     17.033        81.555       -.15572E-04   -.63936E-05
  18  Prefactor     .10006E-03    1.3055        .12892E-06** at limit **
  19  norm          .10000E-03    3.3872        .90404E-06** at limit **
  20  Prefactor     .10000E-03    38.123       -.10329E-05** at limit **
  21  Normalizat    .94131        .19373       -.86967E-06   -.34044E-04
  22  Prefactor     1.0201        .10951        .37634E-06   -.94655E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.57079
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 15.7688
  Prefactor  = 0.0001
  Prefactor  = 4.92408
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.48131
  Prefactor  = 3.96253
  Prefactor  = 60.4605
  Prefactor  = 3.12332
  Prefactor  = 17.0327
  Prefactor  = 0.000100064
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.941314
  Prefactor  = 1.02015
 **********
 **   18 **HESSE 
 **********

 FCN=   8291.952     FROM HESSE     STATUS=OK           352 CALLS     2769 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    94.892        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5708        1.3281        .93855E-04   -1.5457    
   3  Prefactor     .10000E-03    11.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    31.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.9666        .18193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.769        16.027        .10084E-03   -1.4914    
   9  Prefactor     .10000E-03    2.1315        .12967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9241        6.1878        .18123E-03   -1.5264    
  11  Prefactor     .10000E-03    5.7752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.4813        15.904        .13765E-03   -1.5125    
  14  Prefactor     3.9625        14.563        .10132E-02   -1.5310    
  15  Prefactor     60.460        32.529        .51589E-04   -1.4151    
  16  Prefactor     3.1233        7.5291        .11475E-02   -1.5354    
  17  Prefactor     17.033        82.089        .97340E-04   -1.4882    
  18  Prefactor     .10006E-03    1.8923        .38515E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.5482        .32781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    38.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94131        .22885        .31932E-03   -.95023    
  22  Prefactor     1.0201        .13068        .18100E-03   -.92061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80893e-10
Minuit parameter uncertainties:
  1  6.7273e-07
  2  1.32813
  3  6.08891e-07
  4  9.82858e-09
  5  7.63826e-06
  6  5.12663e-06
  7  6.1503e-06
  8  16.031
  9  8.18955e-07
  10  6.18861
  11  3.89377e-06
  12  9.99077e-06
  13  15.9122
  14  14.5761
  15  32.5383
  16  7.5314
  17  74.9517
  18  0.000698702
  19  4.30047e-05
  20  1.55277e-05
  21  0.229091
  22  0.13072
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  8.481e+00  1.591e+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:  1.020e+00  1.307e-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.413e-01  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/875907/likelihoodResults_672192001_672451201_4FGL_J2206.8-0032_daily_bin1670.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) = 8291.94444999
delta logL = 0.0074777780228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8291.94235786
delta logL = 0.00956991000567

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5479       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1326       1.0000          .0000       10.000    
     3 'Normalizat'    .94357       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0192       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=   8291.942     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      266 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5473        17.827        .12969E-03    .20915E-03
   2  Index         2.1324        .82901        .10586E-01    .81825E-04
   3  Normalizat    .94353        .22013        .31899E-03   -.65578E-05
   4  Prefactor     1.0192        .13054        .18107E-03   -.61780E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.5473
  Index      = 2.13237
  Normalizat = 0.943528
  Prefactor  = 1.01918
 **********
 **   18 **HESSE 
 **********

 FCN=   8291.942     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5473        17.309        .51877E-05   -1.5090    
   2  Index         2.1324        .80520        .42342E-03   -.61080    
   3  Normalizat    .94353        .22025        .12759E-04   -.94947    
   4  Prefactor     1.0192        .13060        .36215E-04   -.92093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.448e-10
Minuit parameter uncertainties:
  1  17.318
  2  0.810474
  3  0.22046
  4  0.130645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875907': 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) = 8291.94235766
delta logL = 0.00957011321589

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  9.547e+00  1.732e+01  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.132e+00  8.105e-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.019e+00  1.306e-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.435e-01  2.205e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/875907/cmap_HighResolution_672192001_672451201_4FGL_J2206.8-0032_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.30e-03', job_status='DONE', photon_flux_upper_limit='9.54e-08', time_completed='2022-04-24 01:01:38.769828', job_id='875907', GAL2='1.02', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1650787298.77', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='9.57e-03', ts2='0.43', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1670' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 01:01:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 875907: <4FGL_J2206.8-0032_daily_bin1670> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin1670> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Apr 24 00:45:45 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:48:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:48:07 2022
Terminated at Sun Apr 24 01:01:39 2022
Results reported at Sun Apr 24 01:01:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1670 331.709 -0.5461 672192001 672451201 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 :                                   747.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            954 sec.

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

