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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1748
RA = 332.474, Dec = -50.4702
tmin = 692409601, tmax = 692668801
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='898157', job_status='RUN', time_executed='2022-12-14 01:21:56.266371', time_epoch_executed='1671009716.27' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898157

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898157/ft1_4FGL_J2209.8-5028_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898157/ft2_4FGL_J2209.8-5028_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898157/ft1_4FGL_J2209.8-5028_daily_bin1748.fits outfile=/scratch/kocevski/898157/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1748.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=692409601.0 tmax=692668801.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.59
user 3.36
sys 0.19

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

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

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

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

Number of photons that the gtmktime cut: 498

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898157/ft1_filtered_4FGL_J2209.8-5028_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/898157/ft2_4FGL_J2209.8-5028_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/898157/ltcube_692409601_692668801_4FGL_J2209.8-5028_daily_bin1748.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/898157/ft2_4FGL_J2209.8-5028_daily_bin1748.fits
.....................!
real 12.08
user 11.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898157/ft1_filtered_4FGL_J2209.8-5028_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898157/ft2_4FGL_J2209.8-5028_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/898157/ltcube_692409601_692668801_4FGL_J2209.8-5028_daily_bin1748.fits outfile=/scratch/kocevski/898157/expmap_692409601_692668801_4FGL_J2209.8-5028_daily_bin1748.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/898157/ltcube_692409601_692668801_4FGL_J2209.8-5028_daily_bin1748.fits
.....................!
real 191.17
user 185.18
sys 5.02

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/898157/ft1_filtered_4FGL_J2209.8-5028_daily_bin1748.fits scfile=/scratch/kocevski/898157/ft2_4FGL_J2209.8-5028_daily_bin1748.fits outfile=/scratch/kocevski/898157/cmap_692409601_692668801_4FGL_J2209.8-5028_daily_bin1748.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898157/ft1_filtered_4FGL_J2209.8-5028_daily_bin1748.fits scfile=/scratch/kocevski/898157/ft2_4FGL_J2209.8-5028_daily_bin1748.fits outfile=/scratch/kocevski/898157/cmap_HighResolution_692409601_692668801_4FGL_J2209.8-5028_daily_bin1748.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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/898157/ft1_filtered_4FGL_J2209.8-5028_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898157/ft2_4FGL_J2209.8-5028_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/898157/Model_4FGL_J2209.8-5028_daily_bin1748.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/898157/ft1_filtered_4FGL_J2209.8-5028_daily_bin1748.fits.....................!
real 44.61
user 43.09
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.123       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.764       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12293E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10530       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58413E-02   1.0000          .0000       .10000E+07
     6 'norm      '    17.755       1.0000          .0000       .10000E+07
     7 'Prefactor '    .35693E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.3503       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2521       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.9477       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34254       1.0000          .0000       .10000E+07
    12 'norm      '    .82619       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34972E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .86333E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14605E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .43770E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .84277E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .62154E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .56161E-02   1.0000          .0000       .10000E+07
    20 'norm      '    14.618       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2234       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98621       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=   5433.813     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1675 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.177        2.2399       -.85249E-08    .53237E-01
   2  Prefactor     14.759        2.6359        .13619E-07   -.13351E-01
   3  Prefactor     .72553E-07    5.7865       -.15783E-07** at limit **
   4  Prefactor     .55511E-10    30.866       -.90365E-07** at limit **
   5  Prefactor     .11657E-08    10.434       -.14623E-06** at limit **
   6  norm          17.754        6.6108       -.34338E-07    .59193E-03
   7  Prefactor      .0000        5.2739        .26124E-07** at limit **
   8  Prefactor     3.4512        160.53        .17779E-05    .62806E-04
   9  Prefactor     4.3270        4.3150       -.29822E-07   -.33952E-02
  10  Prefactor     5.9332        4.9161        .28357E-08    .23694E-04
  11  Prefactor     .72720E-08    2.1445        .97297E-07** at limit **
  12  norm          .82923        1.6488       -.46851E-07    .75480E-02
  13  Prefactor      .0000        1.4034        .13808E-07** at limit **
  14  Prefactor     .48517E-07    7.8980       -.32381E-07** at limit **
  15  Prefactor     .22204E-09    3.0635        .73729E-07** at limit **
  16  Prefactor      .0000        24.125       -.10622E-06** at limit **
  17  Prefactor     .22204E-09    3.0780       -.66324E-07** at limit **
  18  Prefactor     .29698E-07    5.2844        .15959E-06** at limit **
  19  Prefactor     .15543E-07    5.6030        .15559E-06** at limit **
  20  norm          14.608        9.1434        .51421E-07    .20647E-01
  21  Normalizat    1.2242        .24239        .10013E-06   -.15520E-04
  22  Prefactor     .98623        .19016       -.13658E-05   -.25547E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.1767
  Prefactor  = 14.759
  Prefactor  = 7.25531e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 1.16573e-09
  norm       = 17.7538
  Prefactor  = 0
  Prefactor  = 3.45122
  Prefactor  = 4.32702
  Prefactor  = 5.93318
  Prefactor  = 7.27196e-09
  norm       = 0.829234
  Prefactor  = 0
  Prefactor  = 4.85167e-08
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 2.96985e-08
  Prefactor  = 1.55431e-08
  norm       = 14.6079
  Normalizat = 1.22419
  Prefactor  = 0.986228
 **********
 **   18 **HESSE 
 **********

 FCN=   5433.813     FROM HESSE     STATUS=OK           384 CALLS     2059 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.177        30.540        .18860E-03   -1.5602    
   2  Prefactor     14.759        11.696        .26040E-03   -1.5631    
   3  Prefactor     .72553E-07    13.320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    30.576        .13789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11657E-08    10.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          17.754        6.6516        .23742E-03   -1.5624    
   7  Prefactor      .0000        5.2781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.4512        163.41        .48269E-03   -1.5671    
   9  Prefactor     4.3270        9.1697        .48839E-03   -1.5666    
  10  Prefactor     5.9332        4.9456        .41151E-03   -1.5659    
  11  Prefactor     .72720E-08    58.056        .96470E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .82923        8.5351        .51003E-03   -1.5690    
  13  Prefactor      .0000        1.4020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .48517E-07    13.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22204E-09    3.3256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        23.868        .15798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .22204E-09    3.3305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .29698E-07    11.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .15543E-07    11.417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          14.608        9.9071        .26171E-03   -1.5632    
  21  Normalizat    1.2242        .20847        .59805E-01   -.85859    
  22  Prefactor     .98623        .16318        .46094E-01   -.93190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50443e-07
Minuit parameter uncertainties:
  1  30.5404
  2  11.6964
  3  0.00196625
  4  8.54758e-05
  5  0.000219672
  6  6.6516
  7  7.78519e-06
  8  47.4977
  9  9.16973
  10  4.94556
  11  0.00129756
  12  5.32076
  13  6.61203e-08
  14  0.0016213
  15  5.22028e-05
  16  1.35387e-05
  17  5.72372e-05
  18  0.00114524
  19  0.000842954
  20  9.90708
  21  0.208617
  22  0.163257
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  7.272e-09  1.298e-03  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:  9.862e-01  1.633e-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.224e+00  2.086e-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: 7.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/898157/likelihoodResults_692409601_692668801_4FGL_J2209.8-5028_daily_bin1748.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): 102
logL (Free Index) = 5433.82105624
delta logL = -0.00823016376944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5433.81282705
delta logL = -9.67645974015e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31372E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.0890       1.0000          .0000       10.000    
     3 'Normalizat'    1.2244       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98603       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=   5433.813     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      212 TOTAL
                     EDM=   .14E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        50.417       -.68382E-06** at limit **
   2  Index         2.6582        6.5751        .61995E-04     .0000    
   3  Normalizat    1.2242        .23601        .23763E-05    .15446E-05
   4  Prefactor     .98623        .18837        .10906E-06   -.67546E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.65818
  Normalizat = 1.22419
  Prefactor  = 0.986228
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5433.813     FROM HESSE     STATUS=FAILED        11 CALLS      223 TOTAL
                     EDM=   .14E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        50.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .79958        2.0258        .61995E-04   -.48744    
   3  Normalizat    1.2242        1.0984        .23763E-05   -.85859    
   4  Prefactor     .98623        1.3261        .10906E-06   -.93190    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.39292e-14
Minuit parameter uncertainties:
  1  4.14914e-06
  2  1.67955
  3  1.12023
  4  1.37426
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898157': 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): 101
logL (Free Index) = 5433.81282608
delta logL = 6.27551344223e-11

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  0.000e+00  4.149e-06  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  2.658e+00  1.680e+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:  9.862e-01  1.374e+00  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.224e+00  1.120e+00  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/898157/cmap_HighResolution_692409601_692668801_4FGL_J2209.8-5028_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.99e-03', job_status='DONE', photon_flux_upper_limit='7.77e-08', time_completed='2022-12-14 01:30:54.492913', job_id='898157', GAL2='0.99', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1671010254.49', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='6.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1748' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:30:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 898157: <4FGL_J2209.8-5028_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:20:23 2022
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:20:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:20:24 2022
Terminated at Wed Dec 14 01:30:55 2022
Results reported at Wed Dec 14 01:30:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1748 332.474 -50.4702 692409601 692668801 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 :                                   538.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            632 sec.

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

