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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1559
RA = 331.709, Dec = -0.5461
tmin = 643420801, tmax = 643680001
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='179676', job_status='RUN', time_executed='2021-09-28 04:45:51.508152', time_epoch_executed='1632829551.51' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1559'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/179676

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/179676/ft1_4FGL_J2206.8-0032_daily_bin1559.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/179676/ft2_4FGL_J2206.8-0032_daily_bin1559.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/179676/ft1_4FGL_J2206.8-0032_daily_bin1559.fits outfile=/scratch/kocevski/179676/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1559.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=643420801.0 tmax=643680001.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.49
user 3.27
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/179676/ft1_filtered_4FGL_J2206.8-0032_daily_bin1559.fits" evtable="EVENTS" scfile=/scratch/kocevski/179676/ft2_4FGL_J2206.8-0032_daily_bin1559.fits sctable="SC_DATA" outfile=/scratch/kocevski/179676/ltcube_643420801_643680001_4FGL_J2206.8-0032_daily_bin1559.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/179676/ft2_4FGL_J2206.8-0032_daily_bin1559.fits
.....................!
real 11.92
user 11.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/179676/ft1_filtered_4FGL_J2206.8-0032_daily_bin1559.fits evtable="EVENTS" scfile=/scratch/kocevski/179676/ft2_4FGL_J2206.8-0032_daily_bin1559.fits sctable="SC_DATA" expcube=/scratch/kocevski/179676/ltcube_643420801_643680001_4FGL_J2206.8-0032_daily_bin1559.fits outfile=/scratch/kocevski/179676/expmap_643420801_643680001_4FGL_J2206.8-0032_daily_bin1559.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/179676/ltcube_643420801_643680001_4FGL_J2206.8-0032_daily_bin1559.fits
.....................!
real 189.92
user 184.79
sys 4.81

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/179676/ft1_filtered_4FGL_J2206.8-0032_daily_bin1559.fits scfile=/scratch/kocevski/179676/ft2_4FGL_J2206.8-0032_daily_bin1559.fits outfile=/scratch/kocevski/179676/cmap_643420801_643680001_4FGL_J2206.8-0032_daily_bin1559.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/179676/ft1_filtered_4FGL_J2206.8-0032_daily_bin1559.fits scfile=/scratch/kocevski/179676/ft2_4FGL_J2206.8-0032_daily_bin1559.fits outfile=/scratch/kocevski/179676/cmap_HighResolution_643420801_643680001_4FGL_J2206.8-0032_daily_bin1559.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/179676/ft1_filtered_4FGL_J2206.8-0032_daily_bin1559.fits evtable="EVENTS" scfile=/scratch/kocevski/179676/ft2_4FGL_J2206.8-0032_daily_bin1559.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/179676/Model_4FGL_J2206.8-0032_daily_bin1559.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/179676/ft1_filtered_4FGL_J2206.8-0032_daily_bin1559.fits.....................!
real 72.54
user 71.11
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.261       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12689E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10634E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .32984E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .62011       1.0000         .10000E-03   10000.    
     8 'norm      '    13.180       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8681       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12664E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21143E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.3491       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7091       1.0000         .10000E-03   10000.    
    19 'norm      '    8.7648       1.0000         .10000E-03   10000.    
    20 'Prefactor '    57.991       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .40053       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1898       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=   8192.427     FROM MIGRAD    STATUS=CONVERGED    889 CALLS     3152 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.190        30.043        .75362E-04    .58531E-04
   2  Prefactor     .10000E-03    1.7556        .16240E-02** at limit **
   3  Prefactor     .10000E-03    17.291        .18142E-02** at limit **
   4  Prefactor     .10000E-03    7.4195        .18142E-02** at limit **
   5  Prefactor     .10000E-03    40.872        .18142E-02** at limit **
   6  Prefactor     .10067E-03    27.956        .13169    ** at limit **
   7  norm          .62089        1.7937        .19618E-03   -.50996E-04
   8  norm          13.169        17.980        .11033E-03    .59970E-04
   9  Prefactor     .10000E-03    2.9673        .15178E-02** at limit **
  10  Prefactor     3.8714        4.8489        .20517E-03   -.13963E-04
  11  Prefactor     .10011E-03    6.6701        .65568E-01** at limit **
  12  Prefactor     .10000E-03    9.8290        .18142E-02** at limit **
  13  Prefactor     .10000E-03    6.2202        .18142E-02** at limit **
  14  Prefactor     .10014E-03    42.096        .49761E-02** at limit **
  15  Prefactor     .10000E-03    10.734        .18142E-02** at limit **
  16  Prefactor     4.3516        8.8729        .96573E-03   -.41873E-03
  17  Prefactor     .10000E-03    28.880        .18142E-02** at limit **
  18  Prefactor     4.7092        4.0637        .14680E-03   -.10036E-03
  19  norm          8.7662        3.5746        .10314E-03   -.80908E-04
  20  Prefactor     58.003        65.280        .52681E-04    .48339E-05
  21  Normalizat    .40013        .21426        .44216E-03   -.22518E-03
  22  Prefactor     1.1899        .12523        .16043E-03   -.34152E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.1897
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100672
  norm       = 0.620891
  norm       = 13.1687
  Prefactor  = 0.0001
  Prefactor  = 3.87143
  Prefactor  = 0.000100106
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100145
  Prefactor  = 0.0001
  Prefactor  = 4.35159
  Prefactor  = 0.0001
  Prefactor  = 4.70921
  norm       = 8.76625
  Prefactor  = 58.0032
  Normalizat = 0.40013
  Prefactor  = 1.18986
 **********
 **   18 **HESSE 
 **********

 FCN=   8192.427     FROM HESSE     STATUS=OK           340 CALLS     3492 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.190        30.029        .30145E-05   -1.4646    
   2  Prefactor     .10000E-03    1.7617        .32479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.294        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.4195        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    40.873        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10067E-03    27.504        .13327       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .62089        1.7931        .78472E-05   -1.5550    
   8  norm          13.169        17.977        .44132E-05   -1.4982    
   9  Prefactor     .10000E-03    2.9677        .30355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.8714        4.8486        .82070E-05   -1.5314    
  11  Prefactor     .10011E-03    6.3626        .67948E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.8307        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2211        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10014E-03    42.852        .99522E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.734        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.3516        8.8566        .38629E-04   -1.5291    
  17  Prefactor     .10000E-03    28.880        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7092        4.0583        .58722E-05   -1.5274    
  19  norm          8.7662        3.5744        .41255E-05   -1.5116    
  20  Prefactor     58.003        65.279        .10536E-04   -1.4183    
  21  Normalizat    .40013        .21416        .17686E-04   -1.1729    
  22  Prefactor     1.1899        .12522        .32085E-04   -.86644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40449e-09
Minuit parameter uncertainties:
  1  30.045
  2  6.12936e-05
  3  5.47907e-05
  4  7.01308e-06
  5  0.000114643
  6  0.00860091
  7  1.79324
  8  17.9842
  9  6.96328e-06
  10  4.8491
  11  0.00164105
  12  1.58558e-05
  13  4.41837e-06
  14  0.00498552
  15  2.42147e-05
  16  8.85922
  17  6.51737e-05
  18  4.05849
  19  3.57453
  20  65.3594
  21  0.214599
  22  0.125247
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  4.418e-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:  1.190e+00  1.252e-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:  4.001e-01  2.146e-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: 5.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/179676/likelihoodResults_643420801_643680001_4FGL_J2206.8-0032_daily_bin1559.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) = 8192.42782498
delta logL = -0.000765864608184

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8192.42705913
delta logL = -1.1674273992e-08

Fit tolerance = 1e-08

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

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

 FCN=   8192.427     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    419.73        .90712E-02** at limit **
   2  Index         2.2518        5.0792        .50000       -.31301E-05
   3  Normalizat    .40013        .39028E-01    .99797E-01    .58721E-04
   4  Prefactor     1.1899        .23704E-01    .34875E-01   -.38330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.25185
  Normalizat = 0.400132
  Prefactor  = 1.18986
 **********
 **   18 **HESSE 
 **********

 FCN=   8192.427     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.8097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2518        6.1216        .50000       -.58192    
   3  Normalizat    .40013        .20284        .44216E-03   -1.1729    
   4  Prefactor     1.1899        .12381        .16043E-03   -.86644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12475e-11
Minuit parameter uncertainties:
  1  1.09733e-06
  2  4.3751
  3  0.203217
  4  0.123841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/179676': 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) = 8192.42705912
delta logL = 3.42515704688e-09

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.097e-06  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.252e+00  4.375e+00  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.190e+00  1.238e-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:  4.001e-01  2.032e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/179676/cmap_HighResolution_643420801_643680001_4FGL_J2206.8-0032_daily_bin1559.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.08e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2021-09-28 04:58:52.584760', job_id='179676', GAL2='1.19', fit_tolerance='1e-08', EG2='0.40', EG='0.40', time_epoch_completed='1632830332.58', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.43e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1559' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 04:58:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 179676: <4FGL_J2206.8-0032_daily_bin1559> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin1559> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 04:45:33 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 04:45:35 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:45:35 2021
Terminated at Tue Sep 28 04:58:53 2021
Results reported at Tue Sep 28 04:58:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1559 331.709 -0.5461 643420801 643680001 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 :                                   777.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            800 sec.

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

