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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1719
RA = 332.474, Dec = -50.4702
tmin = 684892801, tmax = 685152001
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='668192', job_status='RUN', time_executed='2022-09-18 01:22:36.860916', time_epoch_executed='1663489356.86' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668192

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668192/ft1_4FGL_J2209.8-5028_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668192/ft2_4FGL_J2209.8-5028_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668192/ft1_4FGL_J2209.8-5028_daily_bin1719.fits outfile=/scratch/kocevski/668192/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1719.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=684892801.0 tmax=685152001.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.17
user 2.93
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668192/ft2_4FGL_J2209.8-5028_daily_bin1719.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/668192/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/668192/ft1_filtered_4FGL_J2209.8-5028_daily_bin1719.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.16

Number of photons that the gtmktime cut: 148

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668192/ft1_filtered_4FGL_J2209.8-5028_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/668192/ft2_4FGL_J2209.8-5028_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/668192/ltcube_684892801_685152001_4FGL_J2209.8-5028_daily_bin1719.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/668192/ft2_4FGL_J2209.8-5028_daily_bin1719.fits
.....................!
real 15.34
user 14.83
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668192/ft1_filtered_4FGL_J2209.8-5028_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668192/ft2_4FGL_J2209.8-5028_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/668192/ltcube_684892801_685152001_4FGL_J2209.8-5028_daily_bin1719.fits outfile=/scratch/kocevski/668192/expmap_684892801_685152001_4FGL_J2209.8-5028_daily_bin1719.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/668192/ltcube_684892801_685152001_4FGL_J2209.8-5028_daily_bin1719.fits
.....................!
real 192.53
user 186.06
sys 5.40

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/668192/ft1_filtered_4FGL_J2209.8-5028_daily_bin1719.fits scfile=/scratch/kocevski/668192/ft2_4FGL_J2209.8-5028_daily_bin1719.fits outfile=/scratch/kocevski/668192/cmap_684892801_685152001_4FGL_J2209.8-5028_daily_bin1719.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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668192/ft1_filtered_4FGL_J2209.8-5028_daily_bin1719.fits scfile=/scratch/kocevski/668192/ft2_4FGL_J2209.8-5028_daily_bin1719.fits outfile=/scratch/kocevski/668192/cmap_HighResolution_684892801_685152001_4FGL_J2209.8-5028_daily_bin1719.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.59
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/668192/ft1_filtered_4FGL_J2209.8-5028_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668192/ft2_4FGL_J2209.8-5028_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/668192/Model_4FGL_J2209.8-5028_daily_bin1719.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/668192/ft1_filtered_4FGL_J2209.8-5028_daily_bin1719.fits......................!
real 24.27
user 22.81
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20124E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.0056       1.0000          .0000       .10000E+07
     3 'Prefactor '    19.215       1.0000          .0000       .10000E+07
     4 'Prefactor '    .35656E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.5731       1.0000          .0000       .10000E+07
     6 'norm      '    .81857E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .85921E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14120E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10264E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .68092E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .55791E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .10232E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .28592E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13381       1.0000          .0000       .10000E+07
    15 'Prefactor '    26.738       1.0000          .0000       .10000E+07
    16 'Prefactor '    111.36       1.0000          .0000       .10000E+07
    17 'Prefactor '    .15657E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .37272E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.9986       1.0000          .0000       .10000E+07
    20 'norm      '    .57798       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2036       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70937       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=   1675.853     FROM MIGRAD    STATUS=CONVERGED    212 CALLS     1772 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        49.874       -.25084E-07** at limit **
   2  Prefactor     8.7782        14.256        .17426E-06    .18915E-03
   3  Prefactor     23.249        63.346        .67108E-07    .34094E-02
   4  Prefactor      .0000        40.479        .98927E-07** at limit **
   5  Prefactor     5.5838        7.6838        .87126E-08    .27548E-04
   6  norm           .0000        3.7386        .55330E-07** at limit **
   7  Prefactor      .0000        19.479       -.26286E-06** at limit **
   8  Prefactor      .0000        31.678        .10532E-06** at limit **
   9  Prefactor      .0000        13.799       -.26412E-06** at limit **
  10  Prefactor      .0000        5.2593        .57137E-07** at limit **
  11  Prefactor     .55511E-10    166.75        .32506E-06** at limit **
  12  norm           .0000        8.7861       -.64336E-07** at limit **
  13  Prefactor      .0000        44.798        .76048E-06** at limit **
  14  Prefactor      .0000        157.67        .33561E-06** at limit **
  15  Prefactor     26.492        40.800        .30984E-06    .42802E-02
  16  Prefactor     115.58        116.05       -.74233E-06    .19396    
  17  Prefactor     .33862E-08    85.154        .57454E-06** at limit **
  18  Prefactor      .0000        164.10        .66489E-06** at limit **
  19  Prefactor     .28891E-01    1951.2        .60483E-05** at limit **
  20  norm          .37732E-04    792.68       -.19542E-06** at limit **
  21  Normalizat    1.1950        .46381       -.55915E-05   -.77927E-05
  22  Prefactor     .71264        .28826        .16964E-05   -.60664E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 8.77819
  Prefactor  = 23.2491
  Prefactor  = 0
  Prefactor  = 5.58379
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 26.4921
  Prefactor  = 115.585
  Prefactor  = 3.38618e-09
  Prefactor  = 0
  Prefactor  = 0.0288908
  norm       = 3.77317e-05
  Normalizat = 1.19502
  Prefactor  = 0.712638
 **********
 **   18 **HESSE 
 **********

 FCN=   1675.853     FROM HESSE     STATUS=OK           382 CALLS     2154 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        48.940        .17029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.7782        14.249        .33375E-03   -1.5649    
   3  Prefactor     23.249        62.531        .22821E-03   -1.5612    
   4  Prefactor      .0000        39.983        .16166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.5838        7.6892        .42533E-03   -1.5661    
   6  norm           .0000        3.7348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        19.417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        31.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        13.777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        5.2567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    166.54        .15317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        8.7818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        22.118        .68329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        157.65        .13098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.492        43.701        .19343E-03   -1.5605    
  16  Prefactor     115.58        169.59        .94768E-04   -1.5493    
  17  Prefactor     .33862E-08    84.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        163.81        .16089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .28891E-01    3604.5        .58593E-03   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .37732E-04    794.59        .71224E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1950        .38524        .58451E-01   -.86757    
  22  Prefactor     .71264        .23897        .42526E-01   -1.0303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7259e-05
Minuit parameter uncertainties:
  1  9.15705e-06
  2  14.2493
  3  62.5324
  4  2.26954e-06
  5  7.68925
  6  1.46581e-07
  7  2.2235e-05
  8  3.29245e-05
  9  4.94517e-06
  10  2.04912e-06
  11  0.000158756
  12  1.35174e-06
  13  7.91884e-06
  14  0.000117261
  15  43.7013
  16  169.596
  17  0.00106989
  18  8.20856e-05
  19  20.4217
  20  0.346347
  21  0.386157
  22  0.239317
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  5.551e-11  1.588e-04  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:  7.126e-01  2.393e-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.195e+00  3.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/668192/likelihoodResults_684892801_685152001_4FGL_J2209.8-5028_daily_bin1719.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) = 1675.8556946
delta logL = -0.0028652748324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1675.85282987
delta logL = -5.52641722606e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .91716E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.6475       1.0000          .0000       10.000    
     3 'Normalizat'    1.1949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71259       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.

 FCN=   1675.853     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      244 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41189E-07    298.99        .42118E-03** at limit **
   2  Index         1.1746        9.3370        .50000       -.76170E-09
   3  Normalizat    1.1950        .14954E-01    .58452E-01    .32998E-03
   4  Prefactor     .71264        .96748E-02    .42569E-01    .55394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.11893e-08
  Index      = 1.17461
  Normalizat = 1.19501
  Prefactor  = 0.712644
 **********
 **   18 **HESSE 
 **********

 FCN=   1675.853     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41189E-07    1454.9        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1746        5.6045        .50000       -.87116    
   3  Normalizat    1.1950        .33296E-01    .25850E-03   -.86757    
   4  Prefactor     .71264        .21548E-01    .20999E-03   -1.0303    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.77762e-09
Minuit parameter uncertainties:
  1  0.0154878
  2  115761
  3  0.0332969
  4  0.0215483
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668192': 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): 102
logL (Free Index) = 1675.85282932
delta logL = -6.32098817732e-10

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  4.119e-08  1.549e-02  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  1.175e+00  1.158e+05  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:  7.126e-01  2.155e-02  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.195e+00  3.330e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/668192/cmap_HighResolution_684892801_685152001_4FGL_J2209.8-5028_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.49e-02', job_status='DONE', photon_flux_upper_limit='1.94e-07', time_completed='2022-09-18 01:29:19.346456', job_id='668192', GAL2='0.71', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1663489759.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='-6.32e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1719' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:29:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 668192: <4FGL_J2209.8-5028_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1719> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 18 01:20:16 2022
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:20:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:20:21 2022
Terminated at Sun Sep 18 01:29:20 2022
Results reported at Sun Sep 18 01:29:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1719 332.474 -50.4702 684892801 685152001 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 :                                   404.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   538 sec.
    Turnaround time :                            544 sec.

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

