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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin512
RA = 332.474, Dec = -50.4702
tmin = 372038401, tmax = 372297601
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='207507', job_status='RUN', time_executed='2021-09-28 06:17:57.410572', time_epoch_executed='1632835077.41' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='512'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/207507

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/207507/ft1_4FGL_J2209.8-5028_daily_bin512.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/207507/ft2_4FGL_J2209.8-5028_daily_bin512.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/207507/ft1_4FGL_J2209.8-5028_daily_bin512.fits outfile=/scratch/kocevski/207507/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin512.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=372038401.0 tmax=372297601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.59
user 4.33
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/207507/ft1_filtered_4FGL_J2209.8-5028_daily_bin512.fits" evtable="EVENTS" scfile=/scratch/kocevski/207507/ft2_4FGL_J2209.8-5028_daily_bin512.fits sctable="SC_DATA" outfile=/scratch/kocevski/207507/ltcube_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.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/207507/ft2_4FGL_J2209.8-5028_daily_bin512.fits
.....................!
real 15.25
user 14.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/207507/ft1_filtered_4FGL_J2209.8-5028_daily_bin512.fits evtable="EVENTS" scfile=/scratch/kocevski/207507/ft2_4FGL_J2209.8-5028_daily_bin512.fits sctable="SC_DATA" expcube=/scratch/kocevski/207507/ltcube_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.fits outfile=/scratch/kocevski/207507/expmap_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.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/207507/ltcube_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.fits
.....................!
real 192.01
user 187.24
sys 4.33

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/207507/ft1_filtered_4FGL_J2209.8-5028_daily_bin512.fits scfile=/scratch/kocevski/207507/ft2_4FGL_J2209.8-5028_daily_bin512.fits outfile=/scratch/kocevski/207507/cmap_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/207507/ft1_filtered_4FGL_J2209.8-5028_daily_bin512.fits scfile=/scratch/kocevski/207507/ft2_4FGL_J2209.8-5028_daily_bin512.fits outfile=/scratch/kocevski/207507/cmap_HighResolution_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/207507/ft1_filtered_4FGL_J2209.8-5028_daily_bin512.fits evtable="EVENTS" scfile=/scratch/kocevski/207507/ft2_4FGL_J2209.8-5028_daily_bin512.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/207507/Model_4FGL_J2209.8-5028_daily_bin512.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/207507/ft1_filtered_4FGL_J2209.8-5028_daily_bin512.fits.....................!
real 40.38
user 38.21
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/207507/ft1_filtered_4FGL_J2209.8-5028_daily_bin512.fits', '/scratch/kocevski/207507/ft2_4FGL_J2209.8-5028_daily_bin512.fits', expMap='/scratch/kocevski/207507/expmap_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.fits', expCube='/scratch/kocevski/207507/ltcube_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/207507/Model_4FGL_J2209.8-5028_daily_bin512.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/207507/ft1_filtered_4FGL_J2209.8-5028_daily_bin512.fits
Spacecraft file(s): /scratch/kocevski/207507/ft2_4FGL_J2209.8-5028_daily_bin512.fits
Exposure map: /scratch/kocevski/207507/expmap_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.fits
Exposure cube: /scratch/kocevski/207507/ltcube_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/207507/Model_4FGL_J2209.8-5028_daily_bin512.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) = 4642.95675656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.3168       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.818       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.5453       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .71815       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1337       1.0000         .10000E-03   10000.    
    12 'Prefactor '    142.81       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    54.259       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0217       1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.011       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.494       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.430       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .39144       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .74700       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4642.956     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     3009 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10086E-03    36.409        .81890E-04** at limit **
   2  Prefactor     .10000E-03    14.973        .13851E-04** at limit **
   3  Prefactor     7.3144        1.5207        .17533E-05    .61409E-03
   4  Prefactor     .10001E-03    125.41        .55416E-04** at limit **
   5  Prefactor     17.816        1.0176       -.11319E-06    .19378E-04
   6  Prefactor     6.5456        5.2888        .10621E-04    .25846E-03
   7  norm          .10000E-03    4.2713        .20951E-05** at limit **
   8  Prefactor     .10000E-03    5.6614        .49890E-05** at limit **
   9  Prefactor     .10026E-03    21.283       -.43901E-04** at limit **
  10  Prefactor     .65559        19.164        .42276E-04    .23017E-02
  11  Prefactor     2.1345        4.0743        .47386E-05   -.15844E-03
  12  Prefactor     142.89        5.7577        .48459E-05   -.14947E-01
  13  norm          .10000E-03    5.1296        .39774E-05** at limit **
  14  Prefactor     .10000E-03    1.6664        .55156E-05** at limit **
  15  Prefactor     54.257        1.0292       -.35255E-06    .37658E-03
  16  Prefactor     .99606        24.092       -.57445E-05   -.68273E-04
  17  Prefactor     24.050        2.7848        .33867E-05    .55233E-03
  18  Prefactor     11.490        1.2698       -.78567E-06   -.65004E-03
  19  Prefactor     .10068E-03    44.651       -.73808E-04** at limit **
  20  Prefactor     15.430        1.3234       -.61541E-06   -.96009E-04
  21  Prefactor     .10507E-03    1194.6       -.50731E-03** at limit **
  22  Prefactor     .10012E-03    21.039        .37170E-04** at limit **
  23  norm          .10000E-03    4.7592        .37808E-06** at limit **
  24  Normalizat    .74711        .26245       -.95698E-05   -.71386E-04
  25  Prefactor     1.2134        .20804        .57961E-05   -.22777E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010086
  Prefactor  = 0.0001
  Prefactor  = 7.31442
  Prefactor  = 0.000100013
  Prefactor  = 17.8164
  Prefactor  = 6.54558
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100263
  Prefactor  = 0.655588
  Prefactor  = 2.13453
  Prefactor  = 142.895
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 54.2568
  Prefactor  = 0.996064
  Prefactor  = 24.0502
  Prefactor  = 11.4898
  Prefactor  = 0.000100682
  Prefactor  = 15.4296
  Prefactor  = 0.000105072
  Prefactor  = 0.000100115
  norm       = 0.0001
  Normalizat = 0.747115
  Prefactor  = 1.21339
 **********
 **   18 **HESSE 
 **********

 FCN=   4642.956     FROM HESSE     STATUS=OK           493 CALLS     3502 TOTAL
                     EDM=   .56E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10086E-03    42.276        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.973        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.3144        9.8661        .37070E-02   -1.5167    
   4  Prefactor     .10001E-03    124.06        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.816        19.590        .23721E-02   -1.4864    
   6  Prefactor     6.5456        5.3114        .39216E-02   -1.5196    
   7  norm          .10000E-03    4.2014        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.6593        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10026E-03    22.898        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .65559        12.135        .10033       -1.5546    
  11  Prefactor     2.1345        4.1372        .70556E-02   -1.5416    
  12  Prefactor     142.89        178.11        .84283E-03   -1.3311    
  13  norm          .10000E-03    5.0867        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.6508        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     54.257        51.105        .13613E-02   -1.4233    
  16  Prefactor     .99606        7.9919        .91249E-01   -1.5508    
  17  Prefactor     24.050        42.727        .20437E-02   -1.4727    
  18  Prefactor     11.490        16.154        .29541E-02   -1.5030    
  19  Prefactor     .10068E-03    49.720        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.430        10.156        .25491E-02   -1.4922    
  21  Prefactor     .10507E-03    62.335        .15830       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10012E-03    21.602        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    4.7510        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .74711        .23950        .70802E-01   -1.0206    
  25  Prefactor     1.2134        .18266        .34321E-01   -.85920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6385e-06
Minuit parameter uncertainties:
  1  0.0120652
  2  8.80086e-05
  3  9.86833
  4  0.00258245
  5  19.5968
  6  5.31174
  7  5.24717e-06
  8  2.43133e-05
  9  0.0049091
  10  5.64198
  11  4.13778
  12  178.79
  13  5.18458e-06
  14  7.95889e-06
  15  51.1468
  16  5.6436
  17  42.7818
  18  16.1601
  19  0.0116559
  20  10.1571
  21  0.0355978
  22  0.00315564
  23  1.06353e-05
  24  0.239833
  25  0.182759
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.429e+02  1.788e+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.213e+00  1.828e-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.471e-01  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 332.474 -50.470
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 5.02e-08 +/- 6.28e-08
Energy Flux (Fixed Index): 1.71e-05 +/- 2.14e-05

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

Saving results to:
/scratch/kocevski/207507/likelihoodResults_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.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) = 4642.74061512
delta logL = 0.21581934288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4642.73349917
delta logL = 0.222935294183

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.554       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0803       1.0000          .0000       10.000    
     3 'Normalizat'    .71716       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2318       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=   4642.733     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      313 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.575        1857.5        .58147E-04    .20811E-03
   2  Index         3.0804        6.5040        .44811E-02    .16116E-03
   3  Normalizat    .71633        .28247        .31937E-03   -.36046E-03
   4  Prefactor     1.2325        .23558        .20355E-03   -.46766E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.5747
  Index      = 3.08036
  Normalizat = 0.716331
  Prefactor  = 1.23246
 **********
 **   18 **HESSE 
 **********

 FCN=   4642.733     FROM HESSE     STATUS=OK            25 CALLS      338 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.575        126.64        .11629E-04   -1.4327    
   2  Index         3.0804        1.2675        .17924E-03   -.39405    
   3  Normalizat    .71633        .25713        .12775E-04   -1.0325    
   4  Prefactor     1.2325        .20753        .40710E-04   -.85338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18904e-10
Minuit parameter uncertainties:
  1  127.365
  2  1.28394
  3  0.257564
  4  0.207672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/207507': 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) = 4642.73349362
delta logL = 0.222940842708

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  4.757e+01  1.274e+02  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  3.080e+00  1.284e+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.232e+00  2.077e-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.163e-01  2.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 332.474 -50.470
Photon Index (Free Index): 3.08 +/- 1.28
Photon Flux (Free Index): 6.99e-08 +/- 6.20e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.27e-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/207507/cmap_HighResolution_372038401_372297601_4FGL_J2209.8-5028_daily_bin512.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', comment='SUCCESS', photon_flux='5.02e-08', energy_flux2='1.34e-05', photon_flux_error='6.28e-08', dlogl='2.23e-01', energy_flux='1.71e-05', photon_flux2='6.99e-08', job_status='DONE', time_completed='2021-09-28 06:28:53.338454', photon_index_error2='1.28', photon_index2='3.08', ts='1.47', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.57e-07', energy_flux_error2='1.27e-05', EG='0.75', time_epoch_completed='1632835733.34', return_code='0', job_id='207507', GAL2='1.23', EG2='0.72', return_code2='0', energy_flux_error='2.14e-05', photon_flux_error2='6.20e-08', ts2='1.97', photon_index='2.37' WHERE bin_id='512' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:28:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 207507: <4FGL_J2209.8-5028_daily_bin512> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin512> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:15:33 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:15: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:15:36 2021
Terminated at Tue Sep 28 06:28:54 2021
Results reported at Tue Sep 28 06:28:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin512 332.474 -50.4702 372038401 372297601 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 :                                   652.50 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            801 sec.

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

