/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 114 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_bin1238
RA = 331.709, Dec = -0.5461
tmin = 560217601, tmax = 560476801
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='178128', job_status='RUN', time_executed='2021-09-28 04:42:30.830196', time_epoch_executed='1632829350.83' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1238'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/178128

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/178128/ft1_4FGL_J2206.8-0032_daily_bin1238.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/178128/ft2_4FGL_J2206.8-0032_daily_bin1238.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/178128/ft1_4FGL_J2206.8-0032_daily_bin1238.fits outfile=/scratch/kocevski/178128/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1238.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=560217601.0 tmax=560476801.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.42
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/178128/ft1_filtered_4FGL_J2206.8-0032_daily_bin1238.fits" evtable="EVENTS" scfile=/scratch/kocevski/178128/ft2_4FGL_J2206.8-0032_daily_bin1238.fits sctable="SC_DATA" outfile=/scratch/kocevski/178128/ltcube_560217601_560476801_4FGL_J2206.8-0032_daily_bin1238.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/178128/ft2_4FGL_J2206.8-0032_daily_bin1238.fits
.....................!
real 11.69
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/178128/ft1_filtered_4FGL_J2206.8-0032_daily_bin1238.fits evtable="EVENTS" scfile=/scratch/kocevski/178128/ft2_4FGL_J2206.8-0032_daily_bin1238.fits sctable="SC_DATA" expcube=/scratch/kocevski/178128/ltcube_560217601_560476801_4FGL_J2206.8-0032_daily_bin1238.fits outfile=/scratch/kocevski/178128/expmap_560217601_560476801_4FGL_J2206.8-0032_daily_bin1238.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/178128/ltcube_560217601_560476801_4FGL_J2206.8-0032_daily_bin1238.fits
.....................!
real 190.60
user 185.34
sys 4.73

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/178128/ft1_filtered_4FGL_J2206.8-0032_daily_bin1238.fits scfile=/scratch/kocevski/178128/ft2_4FGL_J2206.8-0032_daily_bin1238.fits outfile=/scratch/kocevski/178128/cmap_560217601_560476801_4FGL_J2206.8-0032_daily_bin1238.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=331.709 yref=-0.5461 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/178128/ft1_filtered_4FGL_J2206.8-0032_daily_bin1238.fits scfile=/scratch/kocevski/178128/ft2_4FGL_J2206.8-0032_daily_bin1238.fits outfile=/scratch/kocevski/178128/cmap_HighResolution_560217601_560476801_4FGL_J2206.8-0032_daily_bin1238.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=331.709 yref=-0.5461 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/178128/ft1_filtered_4FGL_J2206.8-0032_daily_bin1238.fits evtable="EVENTS" scfile=/scratch/kocevski/178128/ft2_4FGL_J2206.8-0032_daily_bin1238.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/178128/Model_4FGL_J2206.8-0032_daily_bin1238.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/178128/ft1_filtered_4FGL_J2206.8-0032_daily_bin1238.fits.....................!
real 94.42
user 92.95
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    89.177       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.308       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.176       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6723       1.0000         .10000E-03   10000.    
     8 'norm      '    7.9135       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.0063       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.931       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.414       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.471       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.5645       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2927       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76154       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=   9898.237     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2444 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     89.173        42.026       -.40932E-06    .63762E-04
   2  Prefactor     .10000E-03    .71990        .42883E-07** at limit **
   3  Prefactor     10.302        23.119       -.50589E-05    .12783E-03
   4  Prefactor     .10000E-03    9.2872        .29603E-07** at limit **
   5  Prefactor     .10000E-03    22.001       -.37394E-07** at limit **
   6  Prefactor     14.175        30.184       -.49996E-06    .24881E-04
   7  norm          1.6722        1.4048       -.74271E-07   -.49020E-03
   8  norm          7.9133        11.104       -.14942E-05    .40740E-04
   9  Prefactor     .10000E-03    3.2904        .33190E-07** at limit **
  10  Prefactor     .10000E-03    3.1635       -.14993E-07** at limit **
  11  Prefactor     9.0062        9.1482       -.29467E-05    .35251E-03
  12  Prefactor     15.930        17.182        .22599E-05   -.21691E-03
  13  Prefactor     .10000E-03    4.2444        .40113E-07** at limit **
  14  Prefactor     .10000E-03    3.9093       -.39936E-08** at limit **
  15  Prefactor     23.414        18.271        .28437E-05   -.31715E-03
  16  Prefactor     10.470        9.6014       -.11967E-05    .15590E-03
  17  Prefactor     .10000E-03    130.66        .23665E-05** at limit **
  18  Prefactor     .10000E-03    2.3554        .36541E-07** at limit **
  19  norm          1.5640        3.5367       -.12827E-05   -.12193E-02
  20  Prefactor     .10000E-03    336.94       -.40766E-05** at limit **
  21  Normalizat    1.2929        .18312        .11082E-05    .58297E-05
  22  Prefactor     .76143        .95416E-01    .24422E-07    .12795E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 89.1732
  Prefactor  = 0.0001
  Prefactor  = 10.3017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1746
  norm       = 1.67223
  norm       = 7.91328
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.00624
  Prefactor  = 15.9305
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4143
  Prefactor  = 10.4701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.564
  Prefactor  = 0.000100002
  Normalizat = 1.29292
  Prefactor  = 0.761429
 **********
 **   18 **HESSE 
 **********

 FCN=   9898.237     FROM HESSE     STATUS=OK           340 CALLS     2784 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     89.173        42.005        .42549E-04   -1.3817    
   2  Prefactor     .10000E-03    .72543        .82165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.302        23.076        .12480E-03   -1.5066    
   4  Prefactor     .10000E-03    9.2905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.175        30.133        .10638E-03   -1.4955    
   7  norm          1.6722        1.3956        .10368E-03   -1.5449    
   8  norm          7.9133        11.083        .14253E-03   -1.5145    
   9  Prefactor     .10000E-03    3.3125        .17595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.1770        .17280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.0062        9.0992        .13355E-03   -1.5108    
  12  Prefactor     15.930        17.059        .10035E-03   -1.4909    
  13  Prefactor     .10000E-03    4.2515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.414        18.046        .82781E-04   -1.4740    
  16  Prefactor     10.470        9.6064        .12382E-03   -1.5061    
  17  Prefactor     .10000E-03    130.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.4215        .29760E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.5640        3.7977        .28593E-03   -1.5458    
  20  Prefactor     .10000E-03    340.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2929        .22059        .28625E-03   -.83778    
  22  Prefactor     .76143        .11413        .20001E-03   -1.0117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83413e-09
Minuit parameter uncertainties:
  1  42.0186
  2  5.10906e-06
  3  23.0955
  4  3.40338e-06
  5  4.99364e-06
  6  30.1657
  7  1.39566
  8  11.0859
  9  6.75664e-06
  10  1.56463e-06
  11  9.10056
  12  17.0639
  13  7.3336e-06
  14  2.14222e-06
  15  18.05
  16  9.60781
  17  0.000206862
  18  1.54998e-05
  19  3.79829
  20  0.00174296
  21  0.220753
  22  0.114163
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  7.334e-06  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.247e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  7.614e-01  1.142e-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.293e+00  2.208e-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: 4.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/178128/likelihoodResults_560217601_560476801_4FGL_J2206.8-0032_daily_bin1238.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) = 9898.23855873
delta logL = -0.00111978630412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9898.23743898
delta logL = -3.69673216483e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2409       1.0000          .0000       10.000    
     3 'Normalizat'    1.2929       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76141       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9898.237     FROM MIGRAD    STATUS=FAILED        90 CALLS      244 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10051E-03    8.2241        .18142E-02** at limit **
   2  Index         2.0343        6.0107        .50000        .22635E-05
   3  Normalizat    1.2929        .20417        .28625E-03   -.42734E-04
   4  Prefactor     .76143        .11329        .20001E-03   -.38197E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9898.237     FROM SIMPLEX   STATUS=UNCHANGED    111 CALLS      355 TOTAL
                     EDM=   .77E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10051E-03    8.2241        .18550E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0343        6.0107        .94838E-03   -.63496    
   3  Normalizat    1.2929        .20417        .77241E-04   -.83778    
   4  Prefactor     .76143        .11329        .69803E-04   -1.0117    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9898.237     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      388 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    4.4082        .36285E-03** at limit **
   2  Index         1.9776        5.9592        .50000       -.79431E-06
   3  Normalizat    1.2929        .20435        .11450E-04    .80623E-04
   4  Prefactor     .76143        .11340        .80004E-05    .75030E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 1.97758
  Normalizat = 1.29292
  Prefactor  = 0.761428
 **********
 **   18 **HESSE 
 **********

 FCN=   9898.237     FROM HESSE     STATUS=OK            29 CALLS      417 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    4.4042        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9776        5.9676        .50000       -.64912    
   3  Normalizat    1.2929        .20396        .22900E-05   -.83778    
   4  Prefactor     .76143        .11316        .16001E-05   -1.0117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10915e-09
Minuit parameter uncertainties:
  1  0.000336816
  2  204.402
  3  0.204087
  4  0.113193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/178128': 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) = 9898.23743854
delta logL = 4.0557642933e-07

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  3.368e-04  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  1.978e+00  2.044e+02  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:  7.614e-01  1.132e-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.293e+00  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/178128/cmap_HighResolution_560217601_560476801_4FGL_J2206.8-0032_daily_bin1238.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-03', job_status='DONE', photon_flux_upper_limit='4.56e-08', time_completed='2021-09-28 04:56:24.295066', job_id='178128', GAL2='0.76', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1632830184.3', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='4.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1238' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 04:56:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 178128: <4FGL_J2206.8-0032_daily_bin1238> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1238 331.709 -0.5461 560217601 560476801 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 :                                   830.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            960 sec.

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

