/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 214 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 = 7387
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1341
RA = 331.709, Dec = -0.5461
tmin = 586915201, tmax = 587174401
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='178292', job_status='RUN', time_executed='2021-09-28 04:44:22.559691', time_epoch_executed='1632829462.56' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1341'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/178292

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/178292/ft1_4FGL_J2206.8-0032_daily_bin1341.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/178292/ft2_4FGL_J2206.8-0032_daily_bin1341.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/178292/ft1_4FGL_J2206.8-0032_daily_bin1341.fits outfile=/scratch/kocevski/178292/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1341.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=586915201.0 tmax=587174401.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.62
user 3.38
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/178292/ft1_filtered_4FGL_J2206.8-0032_daily_bin1341.fits" evtable="EVENTS" scfile=/scratch/kocevski/178292/ft2_4FGL_J2206.8-0032_daily_bin1341.fits sctable="SC_DATA" outfile=/scratch/kocevski/178292/ltcube_586915201_587174401_4FGL_J2206.8-0032_daily_bin1341.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/178292/ft2_4FGL_J2206.8-0032_daily_bin1341.fits
.....................!
real 11.62
user 11.25
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/178292/ft1_filtered_4FGL_J2206.8-0032_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/178292/ft2_4FGL_J2206.8-0032_daily_bin1341.fits sctable="SC_DATA" expcube=/scratch/kocevski/178292/ltcube_586915201_587174401_4FGL_J2206.8-0032_daily_bin1341.fits outfile=/scratch/kocevski/178292/expmap_586915201_587174401_4FGL_J2206.8-0032_daily_bin1341.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/178292/ltcube_586915201_587174401_4FGL_J2206.8-0032_daily_bin1341.fits
.....................!
real 195.59
user 190.45
sys 4.77

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/178292/ft1_filtered_4FGL_J2206.8-0032_daily_bin1341.fits scfile=/scratch/kocevski/178292/ft2_4FGL_J2206.8-0032_daily_bin1341.fits outfile=/scratch/kocevski/178292/cmap_586915201_587174401_4FGL_J2206.8-0032_daily_bin1341.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.36
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/178292/ft1_filtered_4FGL_J2206.8-0032_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/178292/ft2_4FGL_J2206.8-0032_daily_bin1341.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/178292/Model_4FGL_J2206.8-0032_daily_bin1341.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/178292/ft1_filtered_4FGL_J2206.8-0032_daily_bin1341.fits.....................!
real 54.22
user 52.32
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.683       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7048       1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.239       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    96.226       1.0000         .10000E-03   10000.    
     7 'norm      '    2.5637       1.0000         .10000E-03   10000.    
     8 'norm      '    1.5359       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18847E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.722       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4075       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.920       1.0000         .10000E-03   10000.    
    17 'Prefactor '    72.261       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6809       1.0000         .10000E-03   10000.    
    19 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90697       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81650       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=   5174.627     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2356 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.687        41.987        .38203E-06    .12221E-05
   2  Prefactor     1.7050        1.9952        .44136E-07   -.32845E-05
   3  Prefactor     24.232        35.959        .41548E-06   -.24850E-04
   4  Prefactor     .10000E-03    19.189        .80230E-07** at limit **
   5  Prefactor     .10000E-03    57.535        .10940E-06** at limit **
   6  Prefactor     96.294        61.563       -.17011E-05   -.27648E-04
   7  norm          2.5636        2.2691       -.93897E-07   -.15050E-03
   8  norm          1.5341        46.611        .74731E-05    .52138E-05
   9  Prefactor     .10000E-03    6.8490        .30705E-05** at limit **
  10  Prefactor     .10007E-03    7.7093       -.68619E-06** at limit **
  11  Prefactor     23.725        14.303        .54977E-07   -.38074E-04
  12  Prefactor     1.4096        47.754        .38326E-05   -.59968E-05
  13  Prefactor     .10000E-03    5.4049        .46167E-08** at limit **
  14  Prefactor     .10000E-03    16.572        .32038E-08** at limit **
  15  Prefactor     .10000E-03    21.505       -.18883E-06** at limit **
  16  Prefactor     16.923        12.845        .12811E-06   -.65375E-06
  17  Prefactor     72.243        111.86        .68497E-06   -.60379E-05
  18  Prefactor     4.6807        5.1967        .25483E-06    .22627E-04
  19  norm          .10000E-03    2.0201       -.22614E-06** at limit **
  20  Prefactor     .10000E-03    66.042       -.22319E-06** at limit **
  21  Normalizat    .90658        .23383       -.18896E-05   -.19932E-04
  22  Prefactor     .81671        .12595        .39017E-06   -.14390E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.6873
  Prefactor  = 1.70497
  Prefactor  = 24.2323
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 96.2944
  norm       = 2.5636
  norm       = 1.53414
  Prefactor  = 0.0001
  Prefactor  = 0.000100073
  Prefactor  = 23.7247
  Prefactor  = 1.40961
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.9232
  Prefactor  = 72.243
  Prefactor  = 4.68067
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.906582
  Prefactor  = 0.81671
 **********
 **   18 **HESSE 
 **********

 FCN=   5174.627     FROM HESSE     STATUS=OK           346 CALLS     2702 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.687        41.705        .76143E-04   -1.4655    
   2  Prefactor     1.7050        1.9712        .10008E-03   -1.5447    
   3  Prefactor     24.232        35.864        .81362E-04   -1.4723    
   4  Prefactor     .10000E-03    19.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    57.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     96.294        61.653        .20487E-03   -1.3742    
   7  norm          2.5636        2.2572        .97155E-04   -1.5388    
   8  norm          1.5341        46.981        .34420E-03   -1.5460    
   9  Prefactor     .10000E-03    6.8919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10007E-03    46.627        .37426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.725        14.299        .82242E-04   -1.4733    
  12  Prefactor     1.4096        48.067        .36534E-03   -1.5471    
  13  Prefactor     .10000E-03    5.4103        .16333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.923        12.829        .97368E-04   -1.4885    
  17  Prefactor     72.243        111.98        .47227E-04   -1.4006    
  18  Prefactor     4.6807        5.1811        .15710E-03   -1.5275    
  19  norm          .10000E-03    2.0362        .99672E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    66.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90658        .27018        .30710E-03   -.96229    
  22  Prefactor     .81671        .14781        .18319E-03   -.99115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55355e-09
Minuit parameter uncertainties:
  1  41.7493
  2  1.97125
  3  35.8958
  4  4.27547e-05
  5  9.21259e-05
  6  61.6937
  7  2.25728
  8  16.9935
  9  3.41379e-05
  10  0.00370333
  11  14.3015
  12  16.4765
  13  1.37877e-06
  14  3.05162e-06
  15  3.23352e-05
  16  12.8307
  17  112.31
  18  5.1816
  19  9.78034e-07
  20  5.57512e-05
  21  0.270588
  22  0.147878
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.379e-06  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:  8.167e-01  1.479e-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.066e-01  2.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/178292/likelihoodResults_586915201_587174401_4FGL_J2206.8-0032_daily_bin1341.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5174.62795263
delta logL = -0.000877862814377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5174.62707477
delta logL = 3.4879121813e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2293       1.0000          .0000       10.000    
     3 'Normalizat'    .90664       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81668       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=   5174.627     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      242 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10164E-03    73.891        .16539E-02** at limit **
   2  Index         2.1597        5.3943        .50000        .22220E-04
   3  Normalizat    .90658        .20271E-01    .30711E-03   -.15029E-04
   4  Prefactor     .81671        .11611E-01    .18319E-03   -.27121E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101638
  Index      = 2.15974
  Normalizat = 0.906581
  Prefactor  = 0.816711
 **********
 **   18 **HESSE 
 **********

 FCN=   5174.627     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10164E-03    302.00        .33078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1597        5.6460        .50000       -.60414    
   3  Normalizat    .90658        .43169E-01    .12284E-04   -.96229    
   4  Prefactor     .81671        .24727E-01    .73274E-05   -.99115    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.83894e-08
Minuit parameter uncertainties:
  1  0.0447158
  2  733.088
  3  0.0431711
  4  0.0247274
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/178292': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5174.62707439
delta logL = 3.84216036764e-07

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.016e-04  4.472e-02  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.160e+00  7.331e+02  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.167e-01  2.473e-02  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.066e-01  4.317e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/178292/cmap_HighResolution_586915201_587174401_4FGL_J2206.8-0032_daily_bin1341.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2021-09-28 04:55:30.807092', job_id='178292', GAL2='0.82', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632830130.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.84e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1341' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 04:55:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 178292: <4FGL_J2206.8-0032_daily_bin1341> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin1341> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 04:40:38 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 04:40:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 04:40:39 2021
Terminated at Tue Sep 28 04:55:31 2021
Results reported at Tue Sep 28 04:55:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1341 331.709 -0.5461 586915201 587174401 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 :                                   567.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            893 sec.

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

