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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin550
RA = 331.709, Dec = -0.5461
tmin = 381888001, tmax = 382147201
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='174979', job_status='RUN', time_executed='2021-09-28 04:34:05.199800', time_epoch_executed='1632828845.2' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='550'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/174979

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/174979/ft1_4FGL_J2206.8-0032_daily_bin550.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/174979/ft2_4FGL_J2206.8-0032_daily_bin550.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/174979/ft1_4FGL_J2206.8-0032_daily_bin550.fits outfile=/scratch/kocevski/174979/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin550.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=381888001.0 tmax=382147201.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 4.87
user 4.58
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/174979/ft1_filtered_4FGL_J2206.8-0032_daily_bin550.fits" evtable="EVENTS" scfile=/scratch/kocevski/174979/ft2_4FGL_J2206.8-0032_daily_bin550.fits sctable="SC_DATA" outfile=/scratch/kocevski/174979/ltcube_381888001_382147201_4FGL_J2206.8-0032_daily_bin550.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/174979/ft2_4FGL_J2206.8-0032_daily_bin550.fits
.....................!
real 14.13
user 13.72
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/174979/ft1_filtered_4FGL_J2206.8-0032_daily_bin550.fits evtable="EVENTS" scfile=/scratch/kocevski/174979/ft2_4FGL_J2206.8-0032_daily_bin550.fits sctable="SC_DATA" expcube=/scratch/kocevski/174979/ltcube_381888001_382147201_4FGL_J2206.8-0032_daily_bin550.fits outfile=/scratch/kocevski/174979/expmap_381888001_382147201_4FGL_J2206.8-0032_daily_bin550.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/174979/ltcube_381888001_382147201_4FGL_J2206.8-0032_daily_bin550.fits
.....................!
real 193.50
user 187.79
sys 4.39

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/174979/ft1_filtered_4FGL_J2206.8-0032_daily_bin550.fits scfile=/scratch/kocevski/174979/ft2_4FGL_J2206.8-0032_daily_bin550.fits outfile=/scratch/kocevski/174979/cmap_381888001_382147201_4FGL_J2206.8-0032_daily_bin550.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/174979/ft1_filtered_4FGL_J2206.8-0032_daily_bin550.fits scfile=/scratch/kocevski/174979/ft2_4FGL_J2206.8-0032_daily_bin550.fits outfile=/scratch/kocevski/174979/cmap_HighResolution_381888001_382147201_4FGL_J2206.8-0032_daily_bin550.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/174979/ft1_filtered_4FGL_J2206.8-0032_daily_bin550.fits evtable="EVENTS" scfile=/scratch/kocevski/174979/ft2_4FGL_J2206.8-0032_daily_bin550.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/174979/Model_4FGL_J2206.8-0032_daily_bin550.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/174979/ft1_filtered_4FGL_J2206.8-0032_daily_bin550.fits.....................!
real 56.10
user 54.53
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36857E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .42333       1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.114       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10740E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.062       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .61179E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9555       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6339       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .48010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.8772       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .37103       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3546       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=   5606.622     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2416 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10157E-03    38.201       -.61176E-05** at limit **
   2  Prefactor     .41785        2.9473        .13940E-05    .70581E-04
   3  Prefactor     24.132        36.850        .24055E-05    .34518E-03
   4  Prefactor     .10000E-03    22.282        .20761E-05** at limit **
   5  Prefactor     .10000E-03    114.57        .12061E-05** at limit **
   6  Prefactor     .10000E-03    19.905       -.11558E-05** at limit **
   7  norm          .10000E-03    1.6334        .44945E-07** at limit **
   8  norm          11.070        19.933       -.43561E-06   -.48706E-04
   9  Prefactor     .10000E-03    5.9314        .65866E-07** at limit **
  10  Prefactor     .10000E-03    6.1763        .26761E-06** at limit **
  11  Prefactor     .10000E-03    6.2660        .61331E-07** at limit **
  12  Prefactor     .10000E-03    25.588       -.23101E-05** at limit **
  13  Prefactor     .10000E-03    10.784       -.27097E-06** at limit **
  14  Prefactor     .10000E-03    23.878        .11054E-05** at limit **
  15  Prefactor     2.9589        41.657        .11630E-04   -.18047E-03
  16  Prefactor     .10000E-03    10.935        .42411E-06** at limit **
  17  Prefactor     4.5953        739.96       -.44820E-04   -.53637E-04
  18  Prefactor     .10000E-03    2.8941        .15751E-06** at limit **
  19  norm          6.8769        5.5948        .56339E-06   -.15917E-04
  20  Prefactor     .10000E-03    50.036        .29594E-06** at limit **
  21  Normalizat    .37019        .30200       -.21901E-05    .47973E-04
  22  Prefactor     1.3550        .17113        .86520E-07    .24548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101573
  Prefactor  = 0.41785
  Prefactor  = 24.1323
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 11.0704
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.95889
  Prefactor  = 0.0001
  Prefactor  = 4.59532
  Prefactor  = 0.000100002
  norm       = 6.87691
  Prefactor  = 0.0001
  Normalizat = 0.370191
  Prefactor  = 1.35497
 **********
 **   18 **HESSE 
 **********

 FCN=   5606.622     FROM HESSE     STATUS=OK           342 CALLS     2758 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10157E-03    215.74        .80818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .41785        2.9065        .23328E-03   -1.5579    
   3  Prefactor     24.132        36.981        .81572E-04   -1.4725    
   4  Prefactor     .10000E-03    22.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    114.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.1621        .18325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.070        19.635        .12046E-03   -1.5042    
   9  Prefactor     .10000E-03    6.0294        .17805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.022        .35689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.2799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9589        48.154        .11811E-02   -1.5364    
  16  Prefactor     .10000E-03    11.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.5953        821.50        .18697E-03   -1.5279    
  18  Prefactor     .10000E-03    64.230        .23834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.8769        5.5277        .14377E-03   -1.5183    
  20  Prefactor     .10000E-03    50.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .37019        .28363        .50221E-03   -1.1887    
  22  Prefactor     1.3550        .16755        .16306E-03   -.81687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.29858e-09
Minuit parameter uncertainties:
  1  0.0369752
  2  2.20397
  3  37.016
  4  0.000386777
  5  0.000503861
  6  0.000208912
  7  1.36506e-05
  8  19.6461
  9  2.03054e-06
  10  0.000233688
  11  1.28061e-06
  12  0.000445969
  13  3.67936e-05
  14  0.000202812
  15  23.8956
  16  5.79611e-05
  17  124.66
  18  0.000631818
  19  5.52808
  20  7.05402e-05
  21  0.284742
  22  0.167614
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  3.679e-05  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.355e+00  1.676e-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:  3.702e-01  2.847e-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: 8.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/174979/likelihoodResults_381888001_382147201_4FGL_J2206.8-0032_daily_bin550.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5606.62255276
delta logL = -0.000440129197159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5606.62211262
delta logL = 1.04537321022e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2383       1.0000          .0000       10.000    
     3 'Normalizat'    .37018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3550       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=   5606.622     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      244 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10046E-03    162.52        .18142E-02** at limit **
   2  Index         2.1980        6.0977        .50000        .55253E-05
   3  Normalizat    .37019        .22308E-01    .50222E-03    .76966E-06
   4  Prefactor     1.3550        .13345E-01    .16306E-03    .25797E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100462
  Index      = 2.19797
  Normalizat = 0.370192
  Prefactor  = 1.35497
 **********
 **   18 **HESSE 
 **********

 FCN=   5606.622     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10046E-03    696.92        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1980        6.3246        .50000       -.59488    
   3  Normalizat    .37019        .49644E-01    .20089E-04   -1.1887    
   4  Prefactor     1.3550        .29696E-01    .65223E-05   -.81687    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.29037e-09
Minuit parameter uncertainties:
  1  0.0363167
  2  1259.34
  3  0.0496498
  4  0.0296962
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/174979': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5606.62211258
delta logL = 5.39112079423e-08

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.005e-04  3.632e-02  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.198e+00  1.259e+03  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.355e+00  2.970e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  3.702e-01  4.965e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/174979/cmap_HighResolution_381888001_382147201_4FGL_J2206.8-0032_daily_bin550.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-03', job_status='DONE', photon_flux_upper_limit='8.53e-08', time_completed='2021-09-28 04:44:06.219292', job_id='174979', GAL2='1.35', fit_tolerance='1e-08', EG2='0.37', EG='0.37', time_epoch_completed='1632829446.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='5.39e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='550' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 04:44:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 174979: <4FGL_J2206.8-0032_daily_bin550> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin550> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 04:30:16 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 04:30:17 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:30:17 2021
Terminated at Tue Sep 28 04:44:07 2021
Results reported at Tue Sep 28 04:44:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin550 331.709 -0.5461 381888001 382147201 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 :                                   597.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            831 sec.

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

