aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 82 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7622
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1724
RA = 332.474, Dec = -50.4702
tmin = 686188801, tmax = 686448001
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='707847', job_status='RUN', time_executed='2022-10-03 01:19:16.539925', time_epoch_executed='1664785156.54' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707847

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707847/ft1_4FGL_J2209.8-5028_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707847/ft2_4FGL_J2209.8-5028_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707847/ft1_4FGL_J2209.8-5028_daily_bin1724.fits outfile=/scratch/kocevski/707847/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1724.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=686188801.0 tmax=686448001.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.65
user 4.38
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/707847/ft2_4FGL_J2209.8-5028_daily_bin1724.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/707847/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1724.fits evtable="EVENTS" outfile="/scratch/kocevski/707847/ft1_filtered_4FGL_J2209.8-5028_daily_bin1724.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.54
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 663

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707847/ft1_filtered_4FGL_J2209.8-5028_daily_bin1724.fits" evtable="EVENTS" scfile=/scratch/kocevski/707847/ft2_4FGL_J2209.8-5028_daily_bin1724.fits sctable="SC_DATA" outfile=/scratch/kocevski/707847/ltcube_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.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/707847/ft2_4FGL_J2209.8-5028_daily_bin1724.fits
.....................!
real 14.80
user 14.36
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707847/ft1_filtered_4FGL_J2209.8-5028_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707847/ft2_4FGL_J2209.8-5028_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/707847/ltcube_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.fits outfile=/scratch/kocevski/707847/expmap_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.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/707847/ltcube_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.fits
.....................!
real 192.61
user 185.89
sys 5.30

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/707847/ft1_filtered_4FGL_J2209.8-5028_daily_bin1724.fits scfile=/scratch/kocevski/707847/ft2_4FGL_J2209.8-5028_daily_bin1724.fits outfile=/scratch/kocevski/707847/cmap_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707847/ft1_filtered_4FGL_J2209.8-5028_daily_bin1724.fits scfile=/scratch/kocevski/707847/ft2_4FGL_J2209.8-5028_daily_bin1724.fits outfile=/scratch/kocevski/707847/cmap_HighResolution_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/707847/ft1_filtered_4FGL_J2209.8-5028_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707847/ft2_4FGL_J2209.8-5028_daily_bin1724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/707847/Model_4FGL_J2209.8-5028_daily_bin1724.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/707847/ft1_filtered_4FGL_J2209.8-5028_daily_bin1724.fits.....................!
real 53.04
user 51.53
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/707847/ft1_filtered_4FGL_J2209.8-5028_daily_bin1724.fits', '/scratch/kocevski/707847/ft2_4FGL_J2209.8-5028_daily_bin1724.fits', expMap='/scratch/kocevski/707847/expmap_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.fits', expCube='/scratch/kocevski/707847/ltcube_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/707847/Model_4FGL_J2209.8-5028_daily_bin1724.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  0.000e+00  1.000e+06 ( 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/707847/ft1_filtered_4FGL_J2209.8-5028_daily_bin1724.fits
Spacecraft file(s): /scratch/kocevski/707847/ft2_4FGL_J2209.8-5028_daily_bin1724.fits
Exposure map: /scratch/kocevski/707847/expmap_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.fits
Exposure cube: /scratch/kocevski/707847/ltcube_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/707847/Model_4FGL_J2209.8-5028_daily_bin1724.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) = 7130.55138771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13920E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .80974E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10619E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    25.185       1.0000          .0000       .10000E+07
     5 'Prefactor '    .47402       1.0000          .0000       .10000E+07
     6 'norm      '    20.116       1.0000          .0000       .10000E+07
     7 'Prefactor '    .38068E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     9 'Prefactor '    .49936E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1298       1.0000          .0000       .10000E+07
    11 'Prefactor '    47.905       1.0000          .0000       .10000E+07
    12 'norm      '    .92916E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .96291E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .44815E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .24486E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .42866E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .30983E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    22.866       1.0000          .0000       .10000E+07
    19 'Prefactor '    6.0190       1.0000          .0000       .10000E+07
    20 'norm      '    .74248       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0545       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88057       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=   7130.545     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1701 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    6.2619       -.19162E-06** at limit **
   2  Prefactor     .19573E-06    16.796       -.49251E-06** at limit **
   3  Prefactor     .27514E-05    16.905       -.15815E-07** at limit **
   4  Prefactor     25.183        1.2461        .10421E-07   -.40133E-02
   5  Prefactor     .47105        8.7129        .88406E-06    .13852E-01
   6  norm          20.179        5.7880       -.74600E-08    .42342E-02
   7  Prefactor     .17542E-07    3.0651       -.59604E-07** at limit **
   8  Prefactor     .17138E-05    18.270       -.70834E-07** at limit **
   9  Prefactor     .22760E-08    2.1449        .32154E-07** at limit **
  10  Prefactor     3.1299        2.6509       -.53967E-07   -.20041E-02
  11  Prefactor     47.735        7.6666       -.45014E-07    .25168    
  12  norm           .0000        1.6898       -.77300E-07** at limit **
  13  Prefactor     .16653E-08    1.0955        .39570E-08** at limit **
  14  Prefactor     .52125E-07    11.890       -.38462E-06** at limit **
  15  Prefactor      .0000        1.7319        .57837E-08** at limit **
  16  Prefactor     .94924E-08    3.1299        .83996E-07** at limit **
  17  Prefactor      .0000        2.5183       -.12755E-06** at limit **
  18  Prefactor     22.770        1.2262        .15520E-08   -.87885E-02
  19  Prefactor     6.0145        6.6954        .12496E-07    .83291E-01
  20  norm          .74197        .84592       -.89220E-08    .14596E-01
  21  Normalizat    1.0545        .18485        .18965E-05   -.80703E-04
  22  Prefactor     .88060        .14711       -.36093E-05   -.19363E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 1.95732e-07
  Prefactor  = 2.75135e-06
  Prefactor  = 25.1829
  Prefactor  = 0.471054
  norm       = 20.1787
  Prefactor  = 1.75415e-08
  Prefactor  = 1.7138e-06
  Prefactor  = 2.27596e-09
  Prefactor  = 3.12992
  Prefactor  = 47.7347
  norm       = 0
  Prefactor  = 1.66533e-09
  Prefactor  = 5.2125e-08
  Prefactor  = 0
  Prefactor  = 9.49241e-09
  Prefactor  = 0
  Prefactor  = 22.7697
  Prefactor  = 6.01455
  norm       = 0.74197
  Normalizat = 1.05447
  Prefactor  = 0.880596
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.545     FROM HESSE     STATUS=OK           382 CALLS     2083 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    6.2687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19573E-06    16.589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27514E-05    34.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.183        23.751        .19930E-03   -1.5608    
   5  Prefactor     .47105        3.3862        .44809E-02   -1.5694    
   6  norm          20.179        5.7954        .22303E-03   -1.5618    
   7  Prefactor     .17542E-07    4.7973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .17138E-05    34.924        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22760E-08    3.0097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.1299        2.6536        .57281E-03   -1.5673    
  11  Prefactor     47.735        59.454        .14449E-03   -1.5570    
  12  norm           .0000        1.7016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16653E-08    3.2130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .52125E-07    11.909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.7413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .94924E-08    4.7442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.5631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.770        23.176        .20918E-03   -1.5613    
  19  Prefactor     6.0145        8.3079        .40903E-03   -1.5659    
  20  norm          .74197        6.3150        .57325E-03   -1.5691    
  21  Normalizat    1.0545        .16226        .40262E-01   -.91227    
  22  Prefactor     .88060        .12845        .44757E-01   -.96822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94935e-06
Minuit parameter uncertainties:
  1  5.43129e-05
  2  0.00360364
  3  0.0194153
  4  23.7513
  5  2.52595
  6  5.79536
  7  0.000579728
  8  0.015473
  9  0.00016615
  10  2.65361
  11  59.4552
  12  6.41827e-06
  13  0.000145662
  14  0.00157579
  15  2.04365e-06
  16  0.000423845
  17  2.16339e-06
  18  23.1759
  19  8.30794
  20  4.32922
  21  0.162333
  22  0.128492
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  4.773e+01  5.946e+01  0.000e+00  1.000e+06 ( 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:  8.806e-01  1.285e-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:  1.054e+00  1.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.20
Ra Dec: 332.474 -50.470
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.68e-08 +/- 2.09e-08
Energy Flux (Fixed Index): 5.71e-06 +/- 7.12e-06

TS (Fixed Index): 1.20
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: 7.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/707847/likelihoodResults_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.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) = 7130.41501061
delta logL = 0.129576351138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7130.40905827
delta logL = 0.135528691502

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    68.503       1.0000          .0000       .10000E+07
     2 'Index     '    1.8742       1.0000          .0000       10.000    
     3 'Normalizat'    1.0639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87594       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=   7130.409     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      291 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     68.516        85.950        .24166E-04   -.53868E-02
   2  Index         1.8742        .87384        .12259E-01   -.36529E-03
   3  Normalizat    1.0639        .18284        .24515E-03    .45549E-03
   4  Prefactor     .87600        .14701        .21455E-03    .58744E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 68.5155
  Index      = 1.87417
  Normalizat = 1.06385
  Prefactor  = 0.875998
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.409     FROM HESSE     STATUS=OK            23 CALLS      314 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     68.516        85.356        .48332E-05   -1.5542    
   2  Index         1.8742        .86803        .49036E-03   -.67534    
   3  Normalizat    1.0639        .18293        .49031E-04   -.90921    
   4  Prefactor     .87600        .14711        .42909E-04   -.96985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13432e-09
Minuit parameter uncertainties:
  1  85.357
  2  0.875348
  3  0.183043
  4  0.147176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707847': 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) = 7130.40905817
delta logL = 0.135528794179

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  6.852e+01  8.536e+01  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  1.874e+00  8.753e-01  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:  8.760e-01  1.472e-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:  1.064e+00  1.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 332.474 -50.470
Photon Index (Free Index): 1.87 +/- 0.88
Photon Flux (Free Index): 1.03e-08 +/- 1.72e-08
Energy Flux (Free Index): 9.94e-06 +/- 1.81e-05

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/707847/cmap_HighResolution_686188801_686448001_4FGL_J2209.8-5028_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', comment='SUCCESS', photon_flux='1.68e-08', energy_flux2='9.94e-06', photon_flux_error='2.09e-08', dlogl='1.36e-01', energy_flux='5.71e-06', photon_flux2='1.03e-08', job_status='DONE', time_completed='2022-10-03 01:30:50.274351', photon_index_error2='0.88', photon_index2='1.87', ts='1.20', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='7.39e-08', energy_flux_error2='1.81e-05', EG='1.05', time_epoch_completed='1664785850.27', return_code='0', job_id='707847', GAL2='0.88', EG2='1.06', return_code2='0', energy_flux_error='7.12e-06', photon_flux_error2='1.72e-08', ts2='1.48', photon_index='2.37' WHERE bin_id='1724' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 01:30:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 707847: <4FGL_J2209.8-5028_daily_bin1724> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1724> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Oct  3 01:15:40 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 01:17:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 01:17:43 2022
Terminated at Mon Oct  3 01:30:51 2022
Results reported at Mon Oct  3 01:30:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1724 332.474 -50.4702 686188801 686448001 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 :                                   693.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            911 sec.

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

