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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1077
RA = 332.474, Dec = -50.4702
tmin = 518486401, tmax = 518745601
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='210697', job_status='RUN', time_executed='2021-09-28 06:29:44.035677', time_epoch_executed='1632835784.04' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1077'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/210697

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/210697/ft1_4FGL_J2209.8-5028_daily_bin1077.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/210697/ft1_4FGL_J2209.8-5028_daily_bin1077.fits outfile=/scratch/kocevski/210697/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1077.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=518486401.0 tmax=518745601.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 6.81
user 6.54
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.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/210697/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1077.fits evtable="EVENTS" outfile="/scratch/kocevski/210697/ft1_filtered_4FGL_J2209.8-5028_daily_bin1077.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/210697/ft1_filtered_4FGL_J2209.8-5028_daily_bin1077.fits" evtable="EVENTS" scfile=/scratch/kocevski/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.fits sctable="SC_DATA" outfile=/scratch/kocevski/210697/ltcube_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.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/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.fits
.....................!
real 11.76
user 11.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/210697/ft1_filtered_4FGL_J2209.8-5028_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.fits sctable="SC_DATA" expcube=/scratch/kocevski/210697/ltcube_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.fits outfile=/scratch/kocevski/210697/expmap_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.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/210697/ltcube_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.fits
.....................!
real 191.96
user 185.87
sys 5.77

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J2209.8-5028 @ 332.474 -50.4702

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/210697/ft1_filtered_4FGL_J2209.8-5028_daily_bin1077.fits scfile=/scratch/kocevski/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.fits outfile=/scratch/kocevski/210697/cmap_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.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=332.474 yref=-50.4702 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/210697/ft1_filtered_4FGL_J2209.8-5028_daily_bin1077.fits scfile=/scratch/kocevski/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.fits outfile=/scratch/kocevski/210697/cmap_HighResolution_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.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=332.474 yref=-50.4702 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/210697/ft1_filtered_4FGL_J2209.8-5028_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/210697/Model_4FGL_J2209.8-5028_daily_bin1077.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/210697/ft1_filtered_4FGL_J2209.8-5028_daily_bin1077.fits.....................!
real 32.84
user 31.55
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/210697/ft1_filtered_4FGL_J2209.8-5028_daily_bin1077.fits', '/scratch/kocevski/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.fits', expMap='/scratch/kocevski/210697/expmap_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.fits', expCube='/scratch/kocevski/210697/ltcube_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/210697/Model_4FGL_J2209.8-5028_daily_bin1077.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2209.8-5028'

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  7.258e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.372e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/210697/ft1_filtered_4FGL_J2209.8-5028_daily_bin1077.fits
Spacecraft file(s): /scratch/kocevski/210697/ft2_4FGL_J2209.8-5028_daily_bin1077.fits
Exposure map: /scratch/kocevski/210697/expmap_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.fits
Exposure cube: /scratch/kocevski/210697/ltcube_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/210697/Model_4FGL_J2209.8-5028_daily_bin1077.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) = 3468.60505104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    13.394       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .98848       1.0000         .10000E-03   10000.    
     4 'Prefactor '    40.210       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5659       1.0000         .10000E-03   10000.    
     7 'norm      '    .69103E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5705       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15521E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.325       1.0000         .10000E-03   10000.    
    12 'Prefactor '    39.873       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .49287E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.858       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18883E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .88768       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .83138       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3468.590     FROM MIGRAD    STATUS=CONVERGED    605 CALLS     2945 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.834       -.73443E-07** at limit **
   2  Prefactor     13.320        59.454        .41406E-05   -.68794E-05
   3  Prefactor     .98714        7.9947        .42778E-06   -.41113E-04
   4  Prefactor     40.185        41.492        .47275E-06   -.14386E-04
   5  Prefactor     .10000E-03    14.252       -.40832E-06** at limit **
   6  Prefactor     1.5648        6.8843        .83685E-07   -.21113E-05
   7  norm          .10000E-03    6.3494        .86895E-06** at limit **
   8  Prefactor     .10000E-03    15.993        .42865E-06** at limit **
   9  Prefactor     1.5032        209.53       -.57506E-05    .57734E-06
  10  Prefactor     .10000E-03    14.822       -.63104E-06** at limit **
  11  Prefactor     12.327        7.6441       -.21593E-06   -.93544E-05
  12  Prefactor     39.568        157.64       -.42824E-05    .20019E-05
  13  norm          .10000E-03    4.3159        .40586E-07** at limit **
  14  Prefactor     .10000E-03    39.173        .41402E-05** at limit **
  15  Prefactor     .10000E-03    48.255        .83633E-06** at limit **
  16  Prefactor     25.857        12.753       -.40206E-06   -.13068E-03
  17  Prefactor     .10000E-03    200.49        .13266E-05** at limit **
  18  Prefactor     .10000E-03    6.8122        .12310E-06** at limit **
  19  Prefactor     .10000E-03    74.860       -.65960E-06** at limit **
  20  Prefactor     .88860        23.529       -.82017E-06   -.33806E-04
  21  Prefactor     .10000E-03    15.825        .24561E-06** at limit **
  22  Prefactor     .10000E-03    12.269        .33122E-06** at limit **
  23  norm          .10000E-03    5.4354        .17229E-07** at limit **
  24  Normalizat    .83072        .28962        .10769E-05   -.15855E-03
  25  Prefactor     1.2669        .23104       -.20541E-05   -.76217E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.3199
  Prefactor  = 0.987138
  Prefactor  = 40.1847
  Prefactor  = 0.0001
  Prefactor  = 1.56483
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 1.50316
  Prefactor  = 0.0001
  Prefactor  = 12.327
  Prefactor  = 39.5677
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 25.8569
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.888597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.830716
  Prefactor  = 1.26691
 **********
 **   18 **HESSE 
 **********

 FCN=   3468.590     FROM HESSE     STATUS=OK           427 CALLS     3372 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.320        59.061        .10944E-03   -1.4978    
   3  Prefactor     .98714        30.966        .31188E-02   -1.5509    
   4  Prefactor     40.185        40.451        .63213E-04   -1.4439    
   5  Prefactor     .10000E-03    14.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5648        6.8648        .28981E-03   -1.5458    
   7  norm          .10000E-03    27.051        .22498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5032        207.67        .33923E-03   -1.5463    
  10  Prefactor     .10000E-03    14.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.327        7.6124        .11410E-03   -1.5006    
  12  Prefactor     39.568        157.20        .31739E-03   -1.4449    
  13  norm          .10000E-03    4.3175        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    42.426        .24477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    48.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.857        12.733        .78778E-04   -1.4691    
  17  Prefactor     .10000E-03    206.51        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.8303        .15017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    74.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .88860        23.586        .25526E-02   -1.5519    
  21  Prefactor     .10000E-03    15.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    12.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    5.4368        .13411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .83072        .32837        .31333E-03   -.98939    
  25  Prefactor     1.2669        .26379        .21049E-03   -.84297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22004e-08
Minuit parameter uncertainties:
  1  3.42888e-07
  2  56.1884
  3  11.0634
  4  40.4787
  5  4.03438e-06
  6  6.55614
  7  0.000650272
  8  1.36973e-05
  9  35.4615
  10  3.78219e-05
  11  7.61298
  12  158.467
  13  1.76856e-06
  14  0.000349995
  15  7.87679e-06
  16  12.7342
  17  0.00105033
  18  9.07931e-06
  19  3.37635e-05
  20  9.15959
  21  2.49737e-06
  22  8.38285e-06
  23  1.382e-06
  24  0.329162
  25  0.264064
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.957e+01  1.585e+02  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.372e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.267e+00  2.641e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.307e-01  3.292e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: 1.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/210697/likelihoodResults_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.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) = 3468.12386537
delta logL = 0.46630559773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3468.09547789
delta logL = 0.49469308483

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3843       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8975       1.0000          .0000       10.000    
     3 'Normalizat'    .76065       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+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=   3468.095     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      323 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3931        487.09        .13845E-03    .49269E-05
   2  Index         3.8973        6.9476        .42360E-02    .15662E-04
   3  Normalizat    .75890        .29086        .32593E-03   -.16010E-04
   4  Prefactor     1.3009        .23491        .20792E-03    .30652E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.39308
  Index      = 3.89733
  Normalizat = 0.758899
  Prefactor  = 1.30087
 **********
 **   18 **HESSE 
 **********

 FCN=   3468.095     FROM HESSE     STATUS=OK            25 CALLS      348 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3931        35.858        .55379E-05   -1.5128    
   2  Index         3.8973        1.7665        .16944E-03   -.22236    
   3  Normalizat    .75890        .31793        .13037E-04   -1.0161    
   4  Prefactor     1.3009        .25457        .41584E-04   -.83281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74369e-11
Minuit parameter uncertainties:
  1  34.7317
  2  1.80761
  3  0.318706
  4  0.254817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/210697': 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) = 3468.09546093
delta logL = 0.494710037283

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  8.393e+00  3.473e+01  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  3.897e+00  1.808e+00  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.301e+00  2.548e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  7.589e-01  3.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.14
Ra Dec: 332.474 -50.470
Photon Index (Free Index): 3.90 +/- 1.81
Photon Flux (Free Index): 7.45e-08 +/- 8.28e-08
Energy Flux (Free Index): 1.14e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/210697/cmap_HighResolution_518486401_518745601_4FGL_J2209.8-5028_daily_bin1077.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='4.95e-01', photon_flux2='7.45e-08', job_status='DONE', time_completed='2021-09-28 06:41:12.100755', photon_index_error2='1.81', photon_index2='3.90', ts='0.07', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='1.48e-07', energy_flux_error2='1.29e-05', EG='0.83', time_epoch_completed='1632836472.1', return_code='0', job_id='210697', GAL2='1.30', EG2='0.76', return_code2='0', photon_flux_error2='8.28e-08', ts2='1.14', photon_index='2.37' WHERE bin_id='1077' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:41:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 210697: <4FGL_J2209.8-5028_daily_bin1077> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1077> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 06:25:35 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:25:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:25:36 2021
Terminated at Tue Sep 28 06:41:12 2021
Results reported at Tue Sep 28 06:41:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1077 332.474 -50.4702 518486401 518745601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2209.8-5028 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   558.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             199.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            937 sec.

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

