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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1099
RA = 331.709, Dec = -0.5461
tmin = 524188801, tmax = 524448001
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='176896', job_status='RUN', time_executed='2021-09-28 04:38:10.946075', time_epoch_executed='1632829090.95' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1099'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/176896

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/176896/ft1_4FGL_J2206.8-0032_daily_bin1099.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/176896/ft2_4FGL_J2206.8-0032_daily_bin1099.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/176896/ft1_4FGL_J2206.8-0032_daily_bin1099.fits outfile=/scratch/kocevski/176896/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1099.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=524188801.0 tmax=524448001.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.41
user 3.17
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/176896/ft1_filtered_4FGL_J2206.8-0032_daily_bin1099.fits" evtable="EVENTS" scfile=/scratch/kocevski/176896/ft2_4FGL_J2206.8-0032_daily_bin1099.fits sctable="SC_DATA" outfile=/scratch/kocevski/176896/ltcube_524188801_524448001_4FGL_J2206.8-0032_daily_bin1099.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/176896/ft2_4FGL_J2206.8-0032_daily_bin1099.fits
.....................!
real 11.75
user 11.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/176896/ft1_filtered_4FGL_J2206.8-0032_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/176896/ft2_4FGL_J2206.8-0032_daily_bin1099.fits sctable="SC_DATA" expcube=/scratch/kocevski/176896/ltcube_524188801_524448001_4FGL_J2206.8-0032_daily_bin1099.fits outfile=/scratch/kocevski/176896/expmap_524188801_524448001_4FGL_J2206.8-0032_daily_bin1099.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/176896/ltcube_524188801_524448001_4FGL_J2206.8-0032_daily_bin1099.fits
.....................!
real 191.74
user 186.44
sys 4.99

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/176896/ft1_filtered_4FGL_J2206.8-0032_daily_bin1099.fits scfile=/scratch/kocevski/176896/ft2_4FGL_J2206.8-0032_daily_bin1099.fits outfile=/scratch/kocevski/176896/cmap_524188801_524448001_4FGL_J2206.8-0032_daily_bin1099.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/176896/ft1_filtered_4FGL_J2206.8-0032_daily_bin1099.fits scfile=/scratch/kocevski/176896/ft2_4FGL_J2206.8-0032_daily_bin1099.fits outfile=/scratch/kocevski/176896/cmap_HighResolution_524188801_524448001_4FGL_J2206.8-0032_daily_bin1099.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/176896/ft1_filtered_4FGL_J2206.8-0032_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/176896/ft2_4FGL_J2206.8-0032_daily_bin1099.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/176896/Model_4FGL_J2206.8-0032_daily_bin1099.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/176896/ft1_filtered_4FGL_J2206.8-0032_daily_bin1099.fits.....................!
real 61.57
user 60.26
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    64.147       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10366E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.2634       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5064       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.0854       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.865       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .41099E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.716       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0344       1.0000         .10000E-03   10000.    
    19 'norm      '    2.4695       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0199       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81154       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=   6080.506     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2425 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.889       -.10211E-04** at limit **
   2  Prefactor     .10000E-03    1.4783        .23393E-06** at limit **
   3  Prefactor     .10000E-03    30.625        .52036E-05** at limit **
   4  Prefactor     .10000E-03    15.589       -.37916E-06** at limit **
   5  Prefactor     64.112        114.43       -.37635E-04   -.26153E-04
   6  Prefactor     .10000E-03    76.129        .27225E-04** at limit **
   7  norm          1.2644        2.9591        .33857E-05   -.52746E-03
   8  norm          3.4914        32.386       -.11851E-05   -.18225E-03
   9  Prefactor     .10000E-03    9.6118       -.27416E-06** at limit **
  10  Prefactor     5.0858        4.9749       -.61279E-07    .57002E-04
  11  Prefactor     .10000E-03    3.9989       -.10058E-06** at limit **
  12  Prefactor     .10000E-03    40.137        .11355E-04** at limit **
  13  Prefactor     16.868        16.326        .15920E-07   -.64136E-04
  14  Prefactor     .10000E-03    24.348        .50426E-05** at limit **
  15  Prefactor     .10000E-03    176.77       -.36849E-06** at limit **
  16  Prefactor     14.715        13.100        .54109E-06    .10890E-03
  17  Prefactor     .10000E-03    48.666       -.12453E-04** at limit **
  18  Prefactor     1.0362        4.0425       -.25908E-05   -.11206E-02
  19  norm          2.4700        4.4299       -.55665E-06   -.52594E-03
  20  Prefactor     .10000E-03    61.364       -.14292E-04** at limit **
  21  Normalizat    1.0198        .21581       -.66013E-06   -.13142E-03
  22  Prefactor     .81147        .11534        .55854E-06   -.28534E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 64.1121
  Prefactor  = 0.0001
  norm       = 1.26441
  norm       = 3.49136
  Prefactor  = 0.0001
  Prefactor  = 5.08584
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.868
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.7152
  Prefactor  = 0.0001
  Prefactor  = 1.03615
  norm       = 2.47002
  Prefactor  = 0.0001
  Normalizat = 1.01984
  Prefactor  = 0.81147
 **********
 **   18 **HESSE 
 **********

 FCN=   6080.506     FROM HESSE     STATUS=OK           338 CALLS     2763 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.5421        .18495E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    30.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     64.112        111.14        .50105E-04   -1.4105    
   6  Prefactor     .10000E-03    75.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.2644        2.8099        .15854E-03   -1.5483    
   8  norm          3.4914        31.408        .21591E-03   -1.5334    
   9  Prefactor     .10000E-03    9.7245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.0858        4.9789        .16734E-03   -1.5257    
  11  Prefactor     .10000E-03    4.0056        .15227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    40.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.868        16.327        .97526E-04   -1.4886    
  14  Prefactor     .10000E-03    24.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    183.82        .36906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.715        12.890        .10441E-03   -1.4941    
  17  Prefactor     .10000E-03    48.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.0362        4.0148        .27871E-03   -1.5504    
  19  norm          2.4700        4.4048        .20414E-03   -1.5394    
  20  Prefactor     .10000E-03    61.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0198        .26099        .29711E-03   -.92369    
  22  Prefactor     .81147        .13988        .18276E-03   -.99307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58415e-09
Minuit parameter uncertainties:
  1  1.49663e-05
  2  1.17458e-06
  3  3.68688e-05
  4  5.11217e-07
  5  111.497
  6  0.000173069
  7  2.81017
  8  20.9576
  9  3.00086e-05
  10  4.97932
  11  1.50944e-06
  12  0.000141606
  13  16.3317
  14  4.57265e-05
  15  0.000509479
  16  12.8927
  17  3.53362e-05
  18  4.01586
  19  4.40535
  20  0.00011142
  21  0.261322
  22  0.139946
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.687e+01  1.633e+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:  8.115e-01  1.399e-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.020e+00  2.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.76
Ra Dec: 331.709 -0.546
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 3.78e-08 +/- 3.66e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 1.51e-05

TS (Fixed Index): 2.76
Ra Dec: 331.709 -0.546
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/176896/likelihoodResults_524188801_524448001_4FGL_J2206.8-0032_daily_bin1099.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) = 6080.15524059
delta logL = 0.351147215729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6080.11086514
delta logL = 0.395522662518

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.811       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4401       1.0000          .0000       10.000    
     3 'Normalizat'    1.0495       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80512       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=   6080.111     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      220 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.786        12.397        .29141E-02   -.35612E-03
   2  Index         1.4390        .50018        .28053       -.60406E-04
   3  Normalizat    1.0494        .20610        .66299E-01    .13837E-04
   4  Prefactor     .80517        .11473        .43784E-01    .51578E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7859
  Index      = 1.43903
  Normalizat = 1.04942
  Prefactor  = 0.805169
 **********
 **   18 **HESSE 
 **********

 FCN=   6080.111     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.786        15.694        .58283E-03   -1.5021    
   2  Index         1.4390        .72276        .10785E-01   -.79262    
   3  Normalizat    1.0494        .24848        .29329E-03   -.91393    
   4  Prefactor     .80517        .13886        .18339E-03   -.99538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.31155e-12
Minuit parameter uncertainties:
  1  15.6997
  2  0.727972
  3  0.248759
  4  0.138918
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/176896': 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) = 6080.11086365
delta logL = 0.395524155312

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.179e+01  1.570e+01  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  1.439e+00  7.280e-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:  8.052e-01  1.389e-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.049e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.54
Ra Dec: 331.709 -0.546
Photon Index (Free Index): 1.44 +/- 0.73
Photon Flux (Free Index): 9.42e-09 +/- 1.53e-08
Energy Flux (Free Index): 3.65e-05 +/- 5.79e-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/176896/cmap_HighResolution_524188801_524448001_4FGL_J2206.8-0032_daily_bin1099.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.90e-03', comment='SUCCESS', photon_flux='3.78e-08', energy_flux2='3.65e-05', photon_flux_error='3.66e-08', dlogl='3.96e-01', energy_flux='1.56e-05', photon_flux2='9.42e-09', job_status='DONE', time_completed='2021-09-28 04:48:27.146267', photon_index_error2='0.73', photon_index2='1.44', ts='2.76', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='5.79e-05', EG='1.02', time_epoch_completed='1632829707.15', return_code='0', job_id='176896', GAL2='0.81', EG2='1.05', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='1.53e-08', ts2='3.54', photon_index='2.25' WHERE bin_id='1099' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 04:48:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 176896: <4FGL_J2206.8-0032_daily_bin1099> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin1099> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 04:35:55 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 04:35:57 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:35:57 2021
Terminated at Tue Sep 28 04:48:27 2021
Results reported at Tue Sep 28 04:48:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1099 331.709 -0.5461 524188801 524448001 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 :                                   612.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             282.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            752 sec.

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

