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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1015
RA = 331.709, Dec = -0.5461
tmin = 502416001, tmax = 502675201
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='176777', job_status='RUN', time_executed='2021-09-28 04:35:58.318104', time_epoch_executed='1632828958.32' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/176777

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/176777/ft1_4FGL_J2206.8-0032_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/176777/ft2_4FGL_J2206.8-0032_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/176777/ft1_4FGL_J2206.8-0032_daily_bin1015.fits outfile=/scratch/kocevski/176777/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1015.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=502416001.0 tmax=502675201.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.54
user 3.31
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/176777/ft1_filtered_4FGL_J2206.8-0032_daily_bin1015.fits" evtable="EVENTS" scfile=/scratch/kocevski/176777/ft2_4FGL_J2206.8-0032_daily_bin1015.fits sctable="SC_DATA" outfile=/scratch/kocevski/176777/ltcube_502416001_502675201_4FGL_J2206.8-0032_daily_bin1015.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/176777/ft2_4FGL_J2206.8-0032_daily_bin1015.fits
.....................!
real 12.10
user 11.70
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/176777/ft1_filtered_4FGL_J2206.8-0032_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/176777/ft2_4FGL_J2206.8-0032_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/176777/ltcube_502416001_502675201_4FGL_J2206.8-0032_daily_bin1015.fits outfile=/scratch/kocevski/176777/expmap_502416001_502675201_4FGL_J2206.8-0032_daily_bin1015.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/176777/ltcube_502416001_502675201_4FGL_J2206.8-0032_daily_bin1015.fits
.....................!
real 190.08
user 184.73
sys 5.03

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/176777/ft1_filtered_4FGL_J2206.8-0032_daily_bin1015.fits scfile=/scratch/kocevski/176777/ft2_4FGL_J2206.8-0032_daily_bin1015.fits outfile=/scratch/kocevski/176777/cmap_502416001_502675201_4FGL_J2206.8-0032_daily_bin1015.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/176777/ft1_filtered_4FGL_J2206.8-0032_daily_bin1015.fits scfile=/scratch/kocevski/176777/ft2_4FGL_J2206.8-0032_daily_bin1015.fits outfile=/scratch/kocevski/176777/cmap_HighResolution_502416001_502675201_4FGL_J2206.8-0032_daily_bin1015.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/176777/ft1_filtered_4FGL_J2206.8-0032_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/176777/ft2_4FGL_J2206.8-0032_daily_bin1015.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/176777/Model_4FGL_J2206.8-0032_daily_bin1015.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/176777/ft1_filtered_4FGL_J2206.8-0032_daily_bin1015.fits.....................!
real 78.25
user 76.91
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.112       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0585       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2389       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.176       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.3315       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10276E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2864       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.8698       1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.033       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7950       1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.891       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14400E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2798       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83352       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8456.919     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2429 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.110        38.816         .0000        .98161E-03
   2  Prefactor     3.0580        2.0627         .0000        .46977E-04
   3  Prefactor     1.2050        40.158         .0000        .48939E-02
   4  Prefactor     .10000E-03    6.6853         .0000    ** at limit **
   5  Prefactor     .10000E-03    31.320         .0000    ** at limit **
   6  Prefactor     .10000E-03    11.432         .0000    ** at limit **
   7  norm          .10000E-03    1.0803         .0000    ** at limit **
   8  norm          14.172        19.177         .0000       -.26058E-03
   9  Prefactor     .10000E-03    1.6045         .0000    ** at limit **
  10  Prefactor     2.3314        3.8704         .0000        .70702E-03
  11  Prefactor     .10000E-03    6.2510         .0000    ** at limit **
  12  Prefactor     .10000E-03    4.9608         .0000    ** at limit **
  13  Prefactor     4.2808        13.110         .0000       -.53327E-03
  14  Prefactor     7.8731        12.798         .0000        .70070E-03
  15  Prefactor     30.032        39.109         .0000        .76526E-03
  16  Prefactor     3.7966        8.7665         .0000       -.12970E-02
  17  Prefactor     32.891        48.499         .0000        .10349E-03
  18  Prefactor     .10000E-03    2.6333         .0000    ** at limit **
  19  norm          .10000E-03    2.1335         .0000    ** at limit **
  20  Prefactor     .10000E-03    110.94         .0000    ** at limit **
  21  Normalizat    1.2798        .19443         .0000        .15339E-03
  22  Prefactor     .83349        .10720         .0000        .17665E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.1095
  Prefactor  = 3.05801
  Prefactor  = 1.20501
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 14.172
  Prefactor  = 0.0001
  Prefactor  = 2.33143
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.28084
  Prefactor  = 7.87313
  Prefactor  = 30.032
  Prefactor  = 3.79664
  Prefactor  = 32.8909
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.27982
  Prefactor  = 0.833493
 **********
 **   18 **HESSE 
 **********

 FCN=   8456.919     FROM HESSE     STATUS=OK           340 CALLS     2769 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.110        38.701        .64090E-04   -1.4456    
   2  Prefactor     3.0580        2.0509        .98081E-04   -1.5358    
   3  Prefactor     1.2050        40.763        .20153E-02   -1.5488    
   4  Prefactor     .10000E-03    6.6862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    31.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.1005        .93171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.172        19.149        .10638E-03   -1.4955    
   9  Prefactor     .10000E-03    1.6069        .11376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.3314        3.8578        .22525E-03   -1.5403    
  11  Prefactor     .10000E-03    6.5225        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.9667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2808        13.028        .19459E-03   -1.5294    
  14  Prefactor     7.8731        12.723        .14293E-03   -1.5147    
  15  Prefactor     30.032        39.149        .73109E-04   -1.4611    
  16  Prefactor     3.7966        8.3289        .20721E-03   -1.5318    
  17  Prefactor     32.891        48.525        .69870E-04   -1.4560    
  18  Prefactor     .10000E-03    4.8297        .26899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.2055        .26182E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    111.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2798        .22982        .28990E-03   -.84171    
  22  Prefactor     .83349        .12732        .20072E-03   -.98505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68043e-08
Minuit parameter uncertainties:
  1  38.7255
  2  2.05092
  3  14.0269
  4  0.000149067
  5  0.000424124
  6  8.07461e-05
  7  7.26772e-07
  8  19.1577
  9  9.53779e-06
  10  3.85816
  11  0.000157995
  12  5.1718e-05
  13  13.0363
  14  12.7274
  15  39.1827
  16  8.33143
  17  48.5836
  18  2.86214e-05
  19  5.99564e-06
  20  0.000237134
  21  0.230007
  22  0.127364
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  4.281e+00  1.304e+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.335e-01  1.274e-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.280e+00  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 331.709 -0.546
Photon Flux Upper Limit: 7.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/176777/likelihoodResults_502416001_502675201_4FGL_J2206.8-0032_daily_bin1015.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) = 8456.90011182
delta logL = 0.0186501221524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8456.89859713
delta logL = 0.0201648087095

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7066       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4674       1.0000          .0000       10.000    
     3 'Normalizat'    1.2777       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83381       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=   8456.899     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      238 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7046        12.250        .20976E-03    .17029E-03
   2  Index         2.4674        1.2224        .12189E-01    .72007E-04
   3  Normalizat    1.2777        .21973        .29010E-03   -.75370E-03
   4  Prefactor     .83382        .12638        .20068E-03   -.11347E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.70458
  Index      = 2.46745
  Normalizat = 1.27773
  Prefactor  = 0.833815
 **********
 **   18 **HESSE 
 **********

 FCN=   8456.899     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7046        11.063        .83904E-05   -1.5323    
   2  Index         2.4674        1.1076        .48756E-03   -.53113    
   3  Normalizat    1.2777        .21991        .58020E-04   -.84233    
   4  Prefactor     .83382        .12643        .40135E-04   -.98494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.53675e-10
Minuit parameter uncertainties:
  1  11.069
  2  1.12013
  3  0.220068
  4  0.126479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/176777': 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) = 8456.89859709
delta logL = 0.0201648496641

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  3.705e+00  1.107e+01  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.467e+00  1.120e+00  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.338e-01  1.265e-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.278e+00  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/176777/cmap_HighResolution_502416001_502675201_4FGL_J2206.8-0032_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.73e-08', time_completed='2021-09-28 04:48:25.873658', job_id='176777', GAL2='0.83', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1632829705.87', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.02e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1015' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 04:48:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 176777: <4FGL_J2206.8-0032_daily_bin1015> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1015 331.709 -0.5461 502416001 502675201 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 :                                   742.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            761 sec.

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

