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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1541
RA = 331.709, Dec = -0.5461
tmin = 638755201, tmax = 639014401
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='179647', job_status='RUN', time_executed='2021-09-28 04:49:37.324232', time_epoch_executed='1632829777.32' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1541'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/179647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/179647/ft1_4FGL_J2206.8-0032_daily_bin1541.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/179647/ft2_4FGL_J2206.8-0032_daily_bin1541.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/179647/ft1_4FGL_J2206.8-0032_daily_bin1541.fits outfile=/scratch/kocevski/179647/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1541.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=638755201.0 tmax=639014401.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.34
user 5.07
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/179647/ft1_filtered_4FGL_J2206.8-0032_daily_bin1541.fits" evtable="EVENTS" scfile=/scratch/kocevski/179647/ft2_4FGL_J2206.8-0032_daily_bin1541.fits sctable="SC_DATA" outfile=/scratch/kocevski/179647/ltcube_638755201_639014401_4FGL_J2206.8-0032_daily_bin1541.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/179647/ft2_4FGL_J2206.8-0032_daily_bin1541.fits
.....................!
real 11.84
user 11.41
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/179647/ft1_filtered_4FGL_J2206.8-0032_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/179647/ft2_4FGL_J2206.8-0032_daily_bin1541.fits sctable="SC_DATA" expcube=/scratch/kocevski/179647/ltcube_638755201_639014401_4FGL_J2206.8-0032_daily_bin1541.fits outfile=/scratch/kocevski/179647/expmap_638755201_639014401_4FGL_J2206.8-0032_daily_bin1541.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/179647/ltcube_638755201_639014401_4FGL_J2206.8-0032_daily_bin1541.fits
.....................!
real 191.48
user 185.26
sys 5.74

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/179647/ft1_filtered_4FGL_J2206.8-0032_daily_bin1541.fits scfile=/scratch/kocevski/179647/ft2_4FGL_J2206.8-0032_daily_bin1541.fits outfile=/scratch/kocevski/179647/cmap_638755201_639014401_4FGL_J2206.8-0032_daily_bin1541.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/179647/ft1_filtered_4FGL_J2206.8-0032_daily_bin1541.fits scfile=/scratch/kocevski/179647/ft2_4FGL_J2206.8-0032_daily_bin1541.fits outfile=/scratch/kocevski/179647/cmap_HighResolution_638755201_639014401_4FGL_J2206.8-0032_daily_bin1541.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/179647/ft1_filtered_4FGL_J2206.8-0032_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/179647/ft2_4FGL_J2206.8-0032_daily_bin1541.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/179647/Model_4FGL_J2206.8-0032_daily_bin1541.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/179647/ft1_filtered_4FGL_J2206.8-0032_daily_bin1541.fits.....................!
real 68.22
user 66.71
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10743E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10414E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.0414       1.0000         .10000E-03   10000.    
     8 'norm      '    19.105       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.9373       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6568       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.874       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.294       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1903       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.5629       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .26266E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4812       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .66999       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=   6782.636     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2369 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.045        .92436E-06** at limit **
   2  Prefactor     .10000E-03    1.2125       -.41217E-06** at limit **
   3  Prefactor     .10000E-03    86.757        .11831E-04** at limit **
   4  Prefactor     .10000E-03    13.142        .58089E-07** at limit **
   5  Prefactor     .10000E-03    66.504       -.45021E-05** at limit **
   6  Prefactor     .10000E-03    66.291       -.33402E-05** at limit **
   7  norm          7.0412        3.3022       -.23230E-06    .10919E-03
   8  norm          19.099        24.460       -.78429E-06    .29887E-04
   9  Prefactor     8.9340        7.5834        .16825E-06    .35388E-04
  10  Prefactor     3.6565        8.2294       -.27299E-05   -.11848E-04
  11  Prefactor     .10000E-03    6.3778       -.12070E-06** at limit **
  12  Prefactor     27.870        26.286       -.30040E-06    .22647E-04
  13  Prefactor     19.291        14.668        .54246E-07    .41442E-05
  14  Prefactor     .10000E-03    9.0625       -.24617E-07** at limit **
  15  Prefactor     .10000E-03    41.486       -.12502E-05** at limit **
  16  Prefactor     6.2059        11.950       -.22048E-05   -.15191E-03
  17  Prefactor     6.5399        310.91        .76234E-05   -.65082E-05
  18  Prefactor     .10000E-03    24.196        .13417E-04** at limit **
  19  norm          .10000E-03    2.1814        .10855E-05** at limit **
  20  Prefactor     .10000E-03    29.312        .88910E-06** at limit **
  21  Normalizat    1.4812        .22360        .67328E-06   -.65536E-04
  22  Prefactor     .66999        .11503        .10068E-05   -.15139E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.04117
  norm       = 19.0992
  Prefactor  = 8.93404
  Prefactor  = 3.65651
  Prefactor  = 0.0001
  Prefactor  = 27.8699
  Prefactor  = 19.2907
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.20585
  Prefactor  = 6.53988
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.48119
  Prefactor  = 0.669985
 **********
 **   18 **HESSE 
 **********

 FCN=   6782.636     FROM HESSE     STATUS=OK           344 CALLS     2713 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.5352        .17324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    87.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    66.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    66.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.0412        3.2979        .96525E-04   -1.5177    
   8  norm          19.099        24.430        .91632E-04   -1.4834    
   9  Prefactor     8.9340        7.5815        .13407E-03   -1.5110    
  10  Prefactor     3.6565        8.2933        .21124E-03   -1.5326    
  11  Prefactor     .10000E-03    6.4066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.870        26.306        .75882E-04   -1.4652    
  13  Prefactor     19.291        14.665        .91183E-04   -1.4829    
  14  Prefactor     .10000E-03    9.0788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    41.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.2059        11.691        .16135E-03   -1.5210    
  17  Prefactor     6.5399        313.64        .15665E-03   -1.5196    
  18  Prefactor     .10000E-03    23.675        .22256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.2104        .23586E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4812        .26440        .27480E-03   -.78308    
  22  Prefactor     .66999        .13657        .21280E-03   -1.0472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80188e-10
Minuit parameter uncertainties:
  1  2.44275e-05
  2  5.95104e-05
  3  3.60662e-05
  4  4.49657e-06
  5  0.000171502
  6  0.000310913
  7  3.29794
  8  24.443
  9  7.58229
  10  8.29591
  11  1.9309e-05
  12  26.3171
  13  14.668
  14  1.0969e-05
  15  0.000136018
  16  11.695
  17  91.0901
  18  8.19737e-06
  19  3.02036e-05
  20  7.54533e-06
  21  0.264643
  22  0.136634
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.929e+01  1.467e+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:  6.700e-01  1.366e-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.481e+00  2.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.69
Ra Dec: 331.709 -0.546
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 4.32e-08 +/- 3.29e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.36e-05

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) = 6782.17303013
delta logL = 0.462745417201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6782.16318319
delta logL = 0.472592360013

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.316       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6783       1.0000          .0000       10.000    
     3 'Normalizat'    1.5024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66495       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=   6782.163     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      209 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 45.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.317        14.384        .20568E-05   -.95160E-03
   2  Index         1.6783        .37886       -.49969E-05   -.37294E-03
   3  Normalizat    1.5024        .20949        .28323E-06    .13388E-03
   4  Prefactor     .66492        .11438       -.16285E-06    .14222E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.3165
  Index      = 1.67834
  Normalizat = 1.50244
  Prefactor  = 0.664924
 **********
 **   18 **HESSE 
 **********

 FCN=   6782.163     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.317        17.615        .86755E-04   -1.4784    
   2  Index         1.6783        .54982        .91554E-02   -.72660    
   3  Normalizat    1.5024        .24805        .27322E-03   -.77710    
   4  Prefactor     .66492        .13561        .21353E-03   -1.0492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70802e-09
Minuit parameter uncertainties:
  1  17.6192
  2  0.551825
  3  0.248252
  4  0.135674
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/179647': 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) = 6782.16318317
delta logL = 0.472592377504

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  2.132e+01  1.762e+01  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  1.678e+00  5.518e-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:  6.649e-01  1.357e-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.502e+00  2.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.64
Ra Dec: 331.709 -0.546
Photon Index (Free Index): 1.68 +/- 0.55
Photon Flux (Free Index): 2.09e-08 +/- 2.42e-08
Energy Flux (Free Index): 3.66e-05 +/- 4.49e-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/179647/cmap_HighResolution_638755201_639014401_4FGL_J2206.8-0032_daily_bin1541.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.32e-08', energy_flux2='3.66e-05', photon_flux_error='3.29e-08', dlogl='4.73e-01', energy_flux='1.78e-05', photon_flux2='2.09e-08', job_status='DONE', time_completed='2021-09-28 04:59:35.710609', photon_index_error2='0.55', photon_index2='1.68', ts='4.69', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='4.49e-05', EG='1.48', time_epoch_completed='1632830375.71', return_code='0', job_id='179647', GAL2='0.66', EG2='1.50', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='2.42e-08', ts2='5.64', photon_index='2.25' WHERE bin_id='1541' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 04:59:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 179647: <4FGL_J2206.8-0032_daily_bin1541> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1541 331.709 -0.5461 638755201 639014401 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 :                                   594.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            845 sec.

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

