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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1588
RA = 331.709, Dec = -0.5461
tmin = 650937601, tmax = 651196801
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='179720', job_status='RUN', time_executed='2021-09-28 04:49:28.091891', time_epoch_executed='1632829768.09' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/179720

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/179720/ft1_4FGL_J2206.8-0032_daily_bin1588.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/179720/ft2_4FGL_J2206.8-0032_daily_bin1588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/179720/ft1_4FGL_J2206.8-0032_daily_bin1588.fits outfile=/scratch/kocevski/179720/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1588.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=650937601.0 tmax=651196801.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.39
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/179720/ft1_filtered_4FGL_J2206.8-0032_daily_bin1588.fits" evtable="EVENTS" scfile=/scratch/kocevski/179720/ft2_4FGL_J2206.8-0032_daily_bin1588.fits sctable="SC_DATA" outfile=/scratch/kocevski/179720/ltcube_650937601_651196801_4FGL_J2206.8-0032_daily_bin1588.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/179720/ft2_4FGL_J2206.8-0032_daily_bin1588.fits
.....................!
real 11.81
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/179720/ft1_filtered_4FGL_J2206.8-0032_daily_bin1588.fits evtable="EVENTS" scfile=/scratch/kocevski/179720/ft2_4FGL_J2206.8-0032_daily_bin1588.fits sctable="SC_DATA" expcube=/scratch/kocevski/179720/ltcube_650937601_651196801_4FGL_J2206.8-0032_daily_bin1588.fits outfile=/scratch/kocevski/179720/expmap_650937601_651196801_4FGL_J2206.8-0032_daily_bin1588.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/179720/ltcube_650937601_651196801_4FGL_J2206.8-0032_daily_bin1588.fits
.....................!
real 193.05
user 187.55
sys 5.18

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/179720/ft1_filtered_4FGL_J2206.8-0032_daily_bin1588.fits scfile=/scratch/kocevski/179720/ft2_4FGL_J2206.8-0032_daily_bin1588.fits outfile=/scratch/kocevski/179720/cmap_650937601_651196801_4FGL_J2206.8-0032_daily_bin1588.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/179720/ft1_filtered_4FGL_J2206.8-0032_daily_bin1588.fits scfile=/scratch/kocevski/179720/ft2_4FGL_J2206.8-0032_daily_bin1588.fits outfile=/scratch/kocevski/179720/cmap_HighResolution_650937601_651196801_4FGL_J2206.8-0032_daily_bin1588.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/179720/ft1_filtered_4FGL_J2206.8-0032_daily_bin1588.fits evtable="EVENTS" scfile=/scratch/kocevski/179720/ft2_4FGL_J2206.8-0032_daily_bin1588.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/179720/Model_4FGL_J2206.8-0032_daily_bin1588.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/179720/ft1_filtered_4FGL_J2206.8-0032_daily_bin1588.fits.....................!
real 57.05
user 55.82
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3060       1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.879       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9934       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .37726E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.191       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    48.593       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.452       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.419       1.0000         .10000E-03   10000.    
    17 'Prefactor '    41.329       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4408       1.0000         .10000E-03   10000.    
    19 'norm      '    8.2072       1.0000         .10000E-03   10000.    
    20 'Prefactor '    63.030       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .55622       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1601       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=   5691.316     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2503 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    76.327        .45650E-06** at limit **
   2  Prefactor     3.2992        3.4084        .26532E-06    .15095E-04
   3  Prefactor     39.854        33.398        .55759E-07    .34509E-05
   4  Prefactor     .10000E-03    35.888        .28255E-06** at limit **
   5  Prefactor     9.9541        120.68        .11247E-04    .57161E-04
   6  Prefactor     .10000E-03    15.554        .12401E-06** at limit **
   7  norm          .10001E-03    1.3965       -.86970E-06** at limit **
   8  norm          .10000E-03    7.0897        .19539E-06** at limit **
   9  Prefactor     .10000E-03    2.5679        .74913E-07** at limit **
  10  Prefactor     32.185        13.520        .41095E-07    .48924E-05
  11  Prefactor     .10000E-03    7.3248        .12040E-06** at limit **
  12  Prefactor     .10000E-03    7.5945        .14544E-06** at limit **
  13  Prefactor     48.581        24.889       -.21603E-06    .54066E-05
  14  Prefactor     .10000E-03    8.4682       -.72026E-08** at limit **
  15  Prefactor     20.449        28.586        .39943E-06    .19562E-04
  16  Prefactor     10.413        15.664        .24705E-05    .50803E-05
  17  Prefactor     41.074        94.680       -.85430E-06   -.14833E-04
  18  Prefactor     3.4372        5.0090       -.23520E-06   -.35617E-04
  19  norm          8.2080        4.8633       -.39090E-07    .10995E-04
  20  Prefactor     63.025        72.389       -.11643E-06    .39765E-06
  21  Normalizat    .55640        .27983       -.15803E-05    .94397E-04
  22  Prefactor     1.1601        .15104        .53820E-06    .16506E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.29919
  Prefactor  = 39.8536
  Prefactor  = 0.0001
  Prefactor  = 9.95412
  Prefactor  = 0.0001
  norm       = 0.000100007
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.1851
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.5808
  Prefactor  = 0.0001
  Prefactor  = 20.4486
  Prefactor  = 10.4125
  Prefactor  = 41.0739
  Prefactor  = 3.43719
  norm       = 8.20801
  Prefactor  = 63.0253
  Normalizat = 0.556401
  Prefactor  = 1.16013
 **********
 **   18 **HESSE 
 **********

 FCN=   5691.316     FROM HESSE     STATUS=OK           342 CALLS     2845 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    76.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.2992        3.3760        .12908E-03   -1.5345    
   3  Prefactor     39.854        33.332        .63473E-04   -1.4445    
   4  Prefactor     .10000E-03    35.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.9541        123.57        .12676E-03   -1.5077    
   6  Prefactor     .10000E-03    15.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10001E-03    4.8274        .15277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.0987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.5733        .11805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.185        13.501        .70623E-04   -1.4573    
  11  Prefactor     .10000E-03    7.4304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.6091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     48.581        24.867        .57525E-04   -1.4313    
  14  Prefactor     .10000E-03    8.4784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.449        28.535        .88566E-04   -1.4803    
  16  Prefactor     10.413        15.372        .62065E-03   -1.5062    
  17  Prefactor     41.074        94.853        .31177E-03   -1.4425    
  18  Prefactor     3.4372        4.9641        .18145E-03   -1.5337    
  19  norm          8.2080        4.8559        .12065E-03   -1.5135    
  20  Prefactor     63.025        72.352        .50544E-04   -1.4119    
  21  Normalizat    .55640        .29927        .41895E-03   -1.0987    
  22  Prefactor     1.1601        .16588        .17500E-03   -.87567    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5144e-09
Minuit parameter uncertainties:
  1  7.78188e-05
  2  3.37623
  3  33.3472
  4  1.65206e-05
  5  70.325
  6  3.28656e-06
  7  0.000357961
  8  4.34027e-06
  9  3.24027e-07
  10  13.5025
  11  3.15335e-06
  12  1.49702e-07
  13  24.8719
  14  1.69865e-06
  15  28.5539
  16  15.3777
  17  95.2043
  18  4.9647
  19  4.85617
  20  72.4531
  21  0.300144
  22  0.165954
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  4.858e+01  2.487e+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.160e+00  1.660e-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:  5.564e-01  3.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.53
Ra Dec: 331.709 -0.546
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 1.09e-07 +/- 5.57e-08
Energy Flux (Fixed Index): 4.49e-05 +/- 2.30e-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) = 5691.2573164
delta logL = 0.0586765907947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5691.24323486
delta logL = 0.0727581341253

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    55.597       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0885       1.0000          .0000       10.000    
     3 'Normalizat'    .57428       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1535       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=   5691.243     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      234 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     55.597        586.35        .13449E-02    .13834E-03
   2  Index         2.0885        3.2533        .14245        .83233E-04
   3  Normalizat    .57428        .16874        .93162E-01    .45126E-04
   4  Prefactor     1.1535        .66843E-01    .35835E-01   -.83020E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 55.5967
  Index      = 2.08849
  Normalizat = 0.574278
  Prefactor  = 1.15352
 **********
 **   18 **HESSE 
 **********

 FCN=   5691.243     FROM HESSE     STATUS=OK            31 CALLS      265 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     55.597        33.320        .53798E-04   -1.4215    
   2  Index         2.0885        .41463        .52494E-02   -.62156    
   3  Normalizat    .57428        .28012        .41276E-03   -1.0909    
   4  Prefactor     1.1535        .16405        .17545E-03   -.87774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12576e-11
Minuit parameter uncertainties:
  1  33.3309
  2  0.415356
  3  0.280813
  4  0.164118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/179720': 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) = 5691.24323486
delta logL = 0.0727581347237

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  5.560e+01  3.333e+01  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.088e+00  4.154e-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.154e+00  1.641e-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:  5.743e-01  2.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.65
Ra Dec: 331.709 -0.546
Photon Index (Free Index): 2.09 +/- 0.42
Photon Flux (Free Index): 9.58e-08 +/- 6.11e-08
Energy Flux (Free Index): 5.39e-05 +/- 4.06e-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/179720/cmap_HighResolution_650937601_651196801_4FGL_J2206.8-0032_daily_bin1588.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.09e-07', energy_flux2='5.39e-05', photon_flux_error='5.57e-08', dlogl='7.28e-02', energy_flux='4.49e-05', photon_flux2='9.58e-08', job_status='DONE', time_completed='2021-09-28 04:58:56.169417', photon_index_error2='0.42', photon_index2='2.09', ts='10.53', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='4.06e-05', EG='0.56', time_epoch_completed='1632830336.17', return_code='0', job_id='179720', GAL2='1.15', EG2='0.57', return_code2='0', energy_flux_error='2.30e-05', photon_flux_error2='6.11e-08', ts2='10.65', photon_index='2.25' WHERE bin_id='1588' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 04:58:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 179720: <4FGL_J2206.8-0032_daily_bin1588> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1588 331.709 -0.5461 650937601 651196801 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 :                                   557.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            798 sec.

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

