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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1722
RA = 332.474, Dec = -50.4702
tmin = 685670401, tmax = 685929601
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='248908', job_status='RUN', time_executed='2022-09-27 01:08:08.710083', time_epoch_executed='1664266088.71' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248908

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248908/ft1_4FGL_J2209.8-5028_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248908/ft2_4FGL_J2209.8-5028_daily_bin1722.fits


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

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

Done.
real 3.92
user 3.66
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 659

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248908/ft1_filtered_4FGL_J2209.8-5028_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/248908/ft2_4FGL_J2209.8-5028_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/248908/ltcube_685670401_685929601_4FGL_J2209.8-5028_daily_bin1722.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/248908/ft2_4FGL_J2209.8-5028_daily_bin1722.fits
.....................!
real 15.39
user 14.97
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248908/ft1_filtered_4FGL_J2209.8-5028_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248908/ft2_4FGL_J2209.8-5028_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/248908/ltcube_685670401_685929601_4FGL_J2209.8-5028_daily_bin1722.fits outfile=/scratch/kocevski/248908/expmap_685670401_685929601_4FGL_J2209.8-5028_daily_bin1722.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/248908/ltcube_685670401_685929601_4FGL_J2209.8-5028_daily_bin1722.fits
.....................!
real 194.44
user 188.86
sys 5.12

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/248908/ft1_filtered_4FGL_J2209.8-5028_daily_bin1722.fits scfile=/scratch/kocevski/248908/ft2_4FGL_J2209.8-5028_daily_bin1722.fits outfile=/scratch/kocevski/248908/cmap_685670401_685929601_4FGL_J2209.8-5028_daily_bin1722.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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248908/ft1_filtered_4FGL_J2209.8-5028_daily_bin1722.fits scfile=/scratch/kocevski/248908/ft2_4FGL_J2209.8-5028_daily_bin1722.fits outfile=/scratch/kocevski/248908/cmap_HighResolution_685670401_685929601_4FGL_J2209.8-5028_daily_bin1722.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/248908/ft1_filtered_4FGL_J2209.8-5028_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248908/ft2_4FGL_J2209.8-5028_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248908/Model_4FGL_J2209.8-5028_daily_bin1722.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/248908/ft1_filtered_4FGL_J2209.8-5028_daily_bin1722.fits.....................!
real 52.62
user 51.15
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19113E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .66765E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .77182E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .27888E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6362       1.0000          .0000       .10000E+07
     6 'norm      '    10.023       1.0000          .0000       .10000E+07
     7 'Prefactor '    .94767E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    53.882       1.0000          .0000       .10000E+07
     9 'Prefactor '    .34547E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.5736       1.0000          .0000       .10000E+07
    11 'Prefactor '    31.482       1.0000          .0000       .10000E+07
    12 'norm      '    .52355E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .32757E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97179E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .48389E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .68006       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.1178       1.0000          .0000       .10000E+07
    18 'Prefactor '    18.512       1.0000          .0000       .10000E+07
    19 'Prefactor '    .14872E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .36020       1.0000          .0000       .10000E+07
    21 'Normalizat'    .60033       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1160       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=   7228.173     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1779 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83344E-06    12.186        .35192E-06** at limit **
   2  Prefactor     .15708E-04    5.6526        .29527E-06** at limit **
   3  Prefactor     .10547E-07    6.2169       -.30350E-06** at limit **
   4  Prefactor     .19873E-07    9.4006       -.48888E-06** at limit **
   5  Prefactor     2.6342        2.9431       -.19394E-07    .55061E-06
   6  norm          10.028        4.1630       -.39541E-07    .15395E-03
   7  Prefactor     .15543E-08    3.5185        .12514E-06** at limit **
   8  Prefactor     54.345        29.364       -.82515E-06    .81062E-01
   9  Prefactor     .64393E-08    6.1606        .18320E-06** at limit **
  10  Prefactor     2.5713        2.5805        .81344E-07   -.49968E-04
  11  Prefactor     32.747        68.494       -.15596E-05   -.55504E-02
  12  norm          .66613E-09    2.8300       -.59775E-08** at limit **
  13  Prefactor     .11102E-09    2.4843        .12311E-06** at limit **
  14  Prefactor     .18693E-05    16.214        .20854E-06** at limit **
  15  Prefactor      .0000        1.1227        .10882E-06** at limit **
  16  Prefactor     .43817        37.066        .27057E-05    .15698E-01
  17  Prefactor     1.1197        2.3365       -.17815E-07    .10461E-03
  18  Prefactor     18.519        1.2190       -.30686E-07   -.16921E-03
  19  Prefactor     .41334E-06    13.768        .25369E-06** at limit **
  20  norm          .36110        16.604        .25730E-06   -.39384E-04
  21  Normalizat    .60001        .16920        .37882E-05   -.15880E-04
  22  Prefactor     1.1160        .14354        .13748E-05   -.23633E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.33444e-07
  Prefactor  = 1.57075e-05
  Prefactor  = 1.05471e-08
  Prefactor  = 1.9873e-08
  Prefactor  = 2.63418
  norm       = 10.028
  Prefactor  = 1.55431e-09
  Prefactor  = 54.3454
  Prefactor  = 6.43929e-09
  Prefactor  = 2.57127
  Prefactor  = 32.7469
  norm       = 6.66134e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 1.86934e-06
  Prefactor  = 0
  Prefactor  = 0.438173
  Prefactor  = 1.1197
  Prefactor  = 18.5194
  Prefactor  = 4.13336e-07
  norm       = 0.361105
  Normalizat = 0.600007
  Prefactor  = 1.11595
 **********
 **   18 **HESSE 
 **********

 FCN=   7228.173     FROM HESSE     STATUS=OK           398 CALLS     2177 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83344E-06    13.058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15708E-04    3.1984        .53927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10547E-07    6.2260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19873E-07    9.4232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6342        2.9576        .62774E-03   -1.5676    
   6  norm          10.028        4.1661        .31626E-03   -1.5645    
   7  Prefactor     .15543E-08    3.5188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     54.345        36.521        .13624E-03   -1.5561    
   9  Prefactor     .64393E-08    6.1124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5713        2.5934        .63596E-03   -1.5676    
  11  Prefactor     32.747        68.957        .17825E-03   -1.5594    
  12  norm          .66613E-09    2.8275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11102E-09    2.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .18693E-05    18.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.1209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .43817        111.88        .62342E-03   -1.5695    
  17  Prefactor     1.1197        2.9516        .42865E-02   -1.5687    
  18  Prefactor     18.519        18.097        .23251E-03   -1.5622    
  19  Prefactor     .41334E-06    14.113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .36110        4.4534        .71218E-02   -1.5696    
  21  Normalizat    .60001        .15189        .65920E-01   -1.0798    
  22  Prefactor     1.1160        .12534        .37007E-01   -.88958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.9657e-07
Minuit parameter uncertainties:
  1  0.00659786
  2  0.0141759
  3  0.000512666
  4  0.000864922
  5  2.95756
  6  4.16605
  7  0.000146625
  8  36.5212
  9  0.00039651
  10  2.59336
  11  68.9588
  12  8.58617e-05
  13  3.47964e-05
  14  0.0116631
  15  8.33316e-08
  16  14.0033
  17  2.9516
  18  18.0972
  19  0.00483047
  20  2.53627
  21  0.151998
  22  0.125372
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.275e+01  6.896e+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:  1.116e+00  1.254e-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:  6.000e-01  1.520e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/248908/likelihoodResults_685670401_685929601_4FGL_J2209.8-5028_daily_bin1722.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) = 7228.15575844
delta logL = 0.0174418341076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7228.14746404
delta logL = 0.0257362343073

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.610       1.0000          .0000       .10000E+07
     2 'Index     '    2.6934       1.0000          .0000       10.000    
     3 'Normalizat'    .59563       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1178       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=   7228.147     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      286 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.558        83.683        .82340E-05   -.56609E-04
   2  Index         2.6932        1.7985        .85759E-02    .22057E-03
   3  Normalizat    .59494        .17120        .29286E-03    .19902E-03
   4  Prefactor     1.1184        .14362        .18483E-03   -.27831E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.5582
  Index      = 2.69316
  Normalizat = 0.594937
  Prefactor  = 1.11835
 **********
 **   18 **HESSE 
 **********

 FCN=   7228.147     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.558        69.947        .32936E-06   -1.5611    
   2  Index         2.6932        1.5153        .17152E-02   -.47954    
   3  Normalizat    .59494        .17094        .11715E-04   -1.0820    
   4  Prefactor     1.1184        .14347        .36966E-04   -.88882    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06012e-10
Minuit parameter uncertainties:
  1  69.9489
  2  1.54645
  3  0.171091
  4  0.143515
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248908': 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) = 7228.14745356
delta logL = 0.0257467166984

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  2.356e+01  6.995e+01  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  2.693e+00  1.546e+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.118e+00  1.435e-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:  5.949e-01  1.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
Ra Dec: 332.474 -50.470

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/248908/cmap_HighResolution_685670401_685929601_4FGL_J2209.8-5028_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.55e-03', job_status='DONE', photon_flux_upper_limit='7.19e-08', time_completed='2022-09-27 01:18:57.892350', job_id='248908', GAL2='1.12', fit_tolerance='1e-08', EG2='0.59', EG='0.60', time_epoch_completed='1664266737.89', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.57e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1722' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 01:18:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 248908: <4FGL_J2209.8-5028_daily_bin1722> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1722> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 27 01:05:55 2022
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 01:07:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 01:07:43 2022
Terminated at Tue Sep 27 01:18:58 2022
Results reported at Tue Sep 27 01:18:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1722 332.474 -50.4702 685670401 685929601 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 :                                   650.59 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            783 sec.

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

