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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1405
RA = 331.709, Dec = -0.5461
tmin = 603504001, tmax = 603763201
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='178392', job_status='RUN', time_executed='2021-09-28 04:41:17.802030', time_epoch_executed='1632829277.8' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/178392

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/178392/ft1_4FGL_J2206.8-0032_daily_bin1405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/178392/ft2_4FGL_J2206.8-0032_daily_bin1405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/178392/ft1_4FGL_J2206.8-0032_daily_bin1405.fits outfile=/scratch/kocevski/178392/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1405.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=603504001.0 tmax=603763201.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 2.73
user 2.52
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/178392/ft1_filtered_4FGL_J2206.8-0032_daily_bin1405.fits" evtable="EVENTS" scfile=/scratch/kocevski/178392/ft2_4FGL_J2206.8-0032_daily_bin1405.fits sctable="SC_DATA" outfile=/scratch/kocevski/178392/ltcube_603504001_603763201_4FGL_J2206.8-0032_daily_bin1405.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/178392/ft2_4FGL_J2206.8-0032_daily_bin1405.fits
.....................!
real 12.53
user 12.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/178392/ft1_filtered_4FGL_J2206.8-0032_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/178392/ft2_4FGL_J2206.8-0032_daily_bin1405.fits sctable="SC_DATA" expcube=/scratch/kocevski/178392/ltcube_603504001_603763201_4FGL_J2206.8-0032_daily_bin1405.fits outfile=/scratch/kocevski/178392/expmap_603504001_603763201_4FGL_J2206.8-0032_daily_bin1405.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/178392/ltcube_603504001_603763201_4FGL_J2206.8-0032_daily_bin1405.fits
.....................!
real 191.79
user 187.54
sys 3.93

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/178392/ft1_filtered_4FGL_J2206.8-0032_daily_bin1405.fits scfile=/scratch/kocevski/178392/ft2_4FGL_J2206.8-0032_daily_bin1405.fits outfile=/scratch/kocevski/178392/cmap_603504001_603763201_4FGL_J2206.8-0032_daily_bin1405.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/178392/ft1_filtered_4FGL_J2206.8-0032_daily_bin1405.fits scfile=/scratch/kocevski/178392/ft2_4FGL_J2206.8-0032_daily_bin1405.fits outfile=/scratch/kocevski/178392/cmap_HighResolution_603504001_603763201_4FGL_J2206.8-0032_daily_bin1405.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.251       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    80.921       1.0000         .10000E-03   10000.    
     7 'norm      '    7.1404       1.0000         .10000E-03   10000.    
     8 'norm      '    26.147       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.6635       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.871       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.513       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .40056E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    63.134       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .24956E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8403       1.0000         .10000E-03   10000.    
    19 'norm      '    6.0060       1.0000         .10000E-03   10000.    
    20 'Prefactor '    380.99       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .32428       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99425       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=   3280.816     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2411 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.273        61.474        .28742E-05    .10783E-03
   2  Prefactor     .10000E-03    3.7638       -.12668E-05** at limit **
   3  Prefactor     .10000E-03    128.41       -.38883E-05** at limit **
   4  Prefactor     .10000E-03    123.35       -.15854E-05** at limit **
   5  Prefactor     .10000E-03    47.766       -.15440E-06** at limit **
   6  Prefactor     80.973        133.98        .50156E-05    .64612E-04
   7  norm          7.1421        3.7235       -.15424E-06    .13235E-03
   8  norm          26.146        33.030       -.12733E-05    .55741E-04
   9  Prefactor     6.6573        17.792       -.24195E-05    .51927E-04
  10  Prefactor     .10000E-03    104.20        .35725E-05** at limit **
  11  Prefactor     17.878        24.239       -.12860E-06    .86787E-04
  12  Prefactor     10.521        28.898       -.86580E-06    .46259E-04
  13  Prefactor     .10000E-03    13.655        .15673E-06** at limit **
  14  Prefactor     .10000E-03    13.548       -.16418E-06** at limit **
  15  Prefactor     .10000E-03    266.22       -.16057E-04** at limit **
  16  Prefactor     63.139        61.510       -.10097E-05    .49129E-04
  17  Prefactor     .10000E-03    329.24       -.31856E-05** at limit **
  18  Prefactor     1.8481        49.852       -.11673E-05    .11894E-04
  19  norm          5.9959        20.053       -.78964E-06    .99802E-05
  20  Prefactor     381.00        307.08       -.58598E-06    .53268E-05
  21  Normalizat    .32390        .41593       -.17785E-05    .10620E-03
  22  Prefactor     .99436        .20159        .16548E-05    .33000E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.2728
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.9734
  norm       = 7.14209
  norm       = 26.1462
  Prefactor  = 6.65727
  Prefactor  = 0.0001
  Prefactor  = 17.8779
  Prefactor  = 10.5215
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 63.1392
  Prefactor  = 0.0001
  Prefactor  = 1.84812
  norm       = 5.99594
  Prefactor  = 381.001
  Normalizat = 0.323902
  Prefactor  = 0.994357
 **********
 **   18 **HESSE 
 **********

 FCN=   3280.816     FROM HESSE     STATUS=OK           340 CALLS     2751 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.273        62.097        .69491E-04   -1.4554    
   2  Prefactor     .10000E-03    5.6015        .19924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    128.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    123.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    47.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     80.973        133.52        .44648E-04   -1.3906    
   7  norm          7.1421        3.7194        .73353E-04   -1.5173    
   8  norm          26.146        33.034        .78342E-04   -1.4685    
   9  Prefactor     6.6573        17.658        .15545E-03   -1.5192    
  10  Prefactor     .10000E-03    103.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.878        24.218        .94742E-04   -1.4862    
  12  Prefactor     10.521        28.467        .12357E-03   -1.5059    
  13  Prefactor     .10000E-03    13.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    262.11        .65414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     63.139        58.957        .50503E-04   -1.4117    
  17  Prefactor     .10000E-03    328.47        .21466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.8481        41.902        .30749E-03   -1.5436    
  19  norm          5.9959        19.830        .16384E-03   -1.5218    
  20  Prefactor     381.00        304.96        .10447E-03   -1.1779    
  21  Normalizat    .32390        .40693        .56540E-03   -1.2144    
  22  Prefactor     .99436        .20237        .17164E-03   -.92918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.81937e-10
Minuit parameter uncertainties:
  1  62.218
  2  0.000204996
  3  1.21574e-05
  4  0.000125706
  5  1.42794e-05
  6  134.023
  7  3.71952
  8  33.0573
  9  17.6719
  10  0.000209492
  11  24.2308
  12  28.5038
  13  1.90296e-06
  14  6.23633e-06
  15  0.00145307
  16  59.0115
  17  0.000319401
  18  17.6134
  19  19.8518
  20  306.263
  21  0.41072
  22  0.202521
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.903e-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:  9.944e-01  2.025e-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.239e-01  4.107e-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: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/178392/likelihoodResults_603504001_603763201_4FGL_J2206.8-0032_daily_bin1405.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) = 3280.81664718
delta logL = -0.000348575306361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3280.81629861
delta logL = 9.8498276202e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2444       1.0000          .0000       10.000    
     3 'Normalizat'    .32390       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99436       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=   3280.816     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      242 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10018E-03    1446.2        .18142E-02** at limit **
   2  Index         2.1953        5.2101        .50000        .11784E-05
   3  Normalizat    .32390        .96914E-01    .56544E-03   -.68803E-04
   4  Prefactor     .99436        .50558E-01    .17164E-03   -.30037E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100184
  Index      = 2.19533
  Normalizat = 0.323902
  Prefactor  = 0.994355
 **********
 **   18 **HESSE 
 **********

 FCN=   3280.816     FROM HESSE     STATUS=OK            29 CALLS      271 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10018E-03    22.679        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1953        7.9918        .50000       -.59551    
   3  Normalizat    .32390        .38007        .22617E-04   -1.2144    
   4  Prefactor     .99436        .19976        .34329E-04   -.92918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68947e-08
Minuit parameter uncertainties:
  1  0.00408436
  2  533.551
  3  0.383149
  4  0.199909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/178392': 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) = 3280.81629859
delta logL = 1.22226992971e-08

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.002e-04  4.084e-03  1.000e-04  1.000e+04 ( 1.000e-13)
277        Index:  2.195e+00  5.336e+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:  9.944e-01  1.999e-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.239e-01  3.831e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/178392/cmap_HighResolution_603504001_603763201_4FGL_J2206.8-0032_daily_bin1405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.44e-07', time_completed='2021-09-28 04:49:22.932405', job_id='178392', GAL2='0.99', fit_tolerance='1e-08', EG2='0.32', EG='0.32', time_epoch_completed='1632829762.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.22e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1405' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 04:49:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 178392: <4FGL_J2206.8-0032_daily_bin1405> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1405 331.709 -0.5461 603504001 603763201 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 :                                   464.45 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             331.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   516 sec.
    Turnaround time :                            517 sec.

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

