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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1744
RA = 332.474, Dec = -50.4702
tmin = 691372801, tmax = 691632001
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='595731', job_status='RUN', time_executed='2022-12-02 01:57:46.369830', time_epoch_executed='1669975066.37' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595731

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595731/ft1_4FGL_J2209.8-5028_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595731/ft2_4FGL_J2209.8-5028_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595731/ft1_4FGL_J2209.8-5028_daily_bin1744.fits outfile=/scratch/kocevski/595731/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1744.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.52
user 2.31
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595731/ft1_filtered_4FGL_J2209.8-5028_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/595731/ft2_4FGL_J2209.8-5028_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/595731/ltcube_691372801_691632001_4FGL_J2209.8-5028_daily_bin1744.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/595731/ft2_4FGL_J2209.8-5028_daily_bin1744.fits
.....................!
real 12.29
user 11.96
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595731/ft1_filtered_4FGL_J2209.8-5028_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/595731/ft2_4FGL_J2209.8-5028_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/595731/ltcube_691372801_691632001_4FGL_J2209.8-5028_daily_bin1744.fits outfile=/scratch/kocevski/595731/expmap_691372801_691632001_4FGL_J2209.8-5028_daily_bin1744.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/595731/ltcube_691372801_691632001_4FGL_J2209.8-5028_daily_bin1744.fits
.....................!
real 191.72
user 186.88
sys 4.39

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/595731/ft1_filtered_4FGL_J2209.8-5028_daily_bin1744.fits scfile=/scratch/kocevski/595731/ft2_4FGL_J2209.8-5028_daily_bin1744.fits outfile=/scratch/kocevski/595731/cmap_691372801_691632001_4FGL_J2209.8-5028_daily_bin1744.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595731/ft1_filtered_4FGL_J2209.8-5028_daily_bin1744.fits scfile=/scratch/kocevski/595731/ft2_4FGL_J2209.8-5028_daily_bin1744.fits outfile=/scratch/kocevski/595731/cmap_HighResolution_691372801_691632001_4FGL_J2209.8-5028_daily_bin1744.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=332.474 yref=-50.4702 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595731/ft1_filtered_4FGL_J2209.8-5028_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/595731/ft2_4FGL_J2209.8-5028_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595731/Model_4FGL_J2209.8-5028_daily_bin1744.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/595731/ft1_filtered_4FGL_J2209.8-5028_daily_bin1744.fits.....................!
real 57.61
user 55.72
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.502       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.9930       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37584E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .14504E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6777       1.0000          .0000       .10000E+07
     6 'norm      '    39.481       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.4662       1.0000          .0000       .10000E+07
     8 'Prefactor '    .84500E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9530       1.0000          .0000       .10000E+07
    10 'Prefactor '    .67837E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35329       1.0000          .0000       .10000E+07
    12 'norm      '    .71495E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12463E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .49602E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12983E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8450       1.0000          .0000       .10000E+07
    17 'Prefactor '    .81452E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17046       1.0000          .0000       .10000E+07
    19 'Prefactor '    .13036E-02   1.0000          .0000       .10000E+07
    20 'norm      '    3.7184       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0892       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2152       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=   7781.658     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1829 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.478        1.0765       -.10058E-07   -.76649E-03
   2  Prefactor     9.9478        9.9669       -.79635E-06   -.59894E-03
   3  Prefactor      .0000        18.122       -.10860E-05** at limit **
   4  Prefactor     .55511E-10    40.254       -.26245E-05** at limit **
   5  Prefactor     2.6853        4.6038        .72225E-07   -.18571E-03
   6  norm          39.600        8.2221        .20304E-07    .30167E-02
   7  Prefactor     9.4911        2.4585        .10363E-06   -.86136E-02
   8  Prefactor     .94369E-09    1.0421       -.78578E-07** at limit **
   9  Prefactor     4.9676        6.5620       -.19172E-06   -.21164E-04
  10  Prefactor     .21649E-08    6.2969        .49801E-06** at limit **
  11  Prefactor     .33307E-09    108.95       -.75208E-05** at limit **
  12  norm          .11102E-09    5.4772        .11541E-05** at limit **
  13  Prefactor      .0000        1.9235       -.63210E-06** at limit **
  14  Prefactor      .0000        29.093        .14399E-06** at limit **
  15  Prefactor      .0000        6.1786       -.11267E-05** at limit **
  16  Prefactor     6.8538        3.5240        .47493E-06   -.10447E-02
  17  Prefactor      .0000        2.0971        .11000E-06** at limit **
  18  Prefactor     .59452E-07    25.603        .11491E-05** at limit **
  19  Prefactor      .0000        4.7716       -.40997E-06** at limit **
  20  norm          3.7158        3.7834       -.23631E-06    .70679E-03
  21  Normalizat    1.0895        .21641       -.25020E-05    .11699E-04
  22  Prefactor     1.2151        .17880        .89605E-05    .33059E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.4782
  Prefactor  = 9.94783
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.68532
  norm       = 39.5999
  Prefactor  = 9.49114
  Prefactor  = 9.4369e-10
  Prefactor  = 4.96763
  Prefactor  = 2.16493e-09
  Prefactor  = 3.33067e-10
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.85384
  Prefactor  = 0
  Prefactor  = 5.94524e-08
  Prefactor  = 0
  norm       = 3.71576
  Normalizat = 1.08951
  Prefactor  = 1.21509
 **********
 **   18 **HESSE 
 **********

 FCN=   7781.658     FROM HESSE     STATUS=OK           386 CALLS     2215 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.478        27.187        .23913E-03   -1.5624    
   2  Prefactor     9.9478        10.020        .31674E-03   -1.5645    
   3  Prefactor      .0000        17.999        .16074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    40.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6853        4.6343        .62248E-03   -1.5675    
   6  norm          39.600        8.4911        .15916E-03   -1.5582    
   7  Prefactor     9.4911        14.403        .32548E-03   -1.5646    
   8  Prefactor     .94369E-09    54.190        .14366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9676        6.5779        .45166E-03   -1.5663    
  10  Prefactor     .21649E-08    8.9893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33307E-09    111.52        .95110E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11102E-09    5.5377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.9181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        29.107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        6.1954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.8538        22.706        .38325E-03   -1.5656    
  17  Prefactor      .0000        2.1023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .59452E-07    72.134        .12327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        4.8340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.7158        3.7813        .52343E-03   -1.5669    
  21  Normalizat    1.0895        .18554        .65923E-01   -.90089    
  22  Prefactor     1.2151        .15058        .51821E-01   -.85868    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61401e-08
Minuit parameter uncertainties:
  1  27.1868
  2  10.0203
  3  2.43474e-05
  4  9.31822e-05
  5  4.63428
  6  8.49112
  7  14.4032
  8  0.000449747
  9  6.57791
  10  0.000277489
  11  0.000397204
  12  4.92387e-05
  13  6.26655e-06
  14  3.07295e-07
  15  3.04199e-06
  16  22.7066
  17  3.8212e-06
  18  0.00414127
  19  1.01358e-05
  20  3.78133
  21  0.185647
  22  0.150636
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.331e-10  3.972e-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:  1.215e+00  1.506e-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.090e+00  1.856e-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: 8.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/595731/likelihoodResults_691372801_691632001_4FGL_J2209.8-5028_daily_bin1744.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) = 7781.66222558
delta logL = -0.00429617122154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7781.65792941
delta logL = -1.20962795336e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     2 'Index     '    .46727       1.0000          .0000       10.000    
     3 'Normalizat'    1.0895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2151       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7781.658     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      208 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        54.680        .42118E-03** at limit **
   2  Index         1.4532        1.3468       -.61342E-03     .0000    
   3  Normalizat    1.0895        1.1632       -.65299E-06   -.15750E-03
   4  Prefactor     1.2151        1.0983       -.65340E-06   -.24116E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.45315
  Normalizat = 1.08951
  Prefactor  = 1.21509
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7781.658     FROM HESSE     STATUS=FAILED         9 CALLS      217 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        54.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .18408        1.5383       -.61342E-03   -.78860    
   3  Normalizat    1.0895        1.1632       -.65299E-06   -.90089    
   4  Prefactor     1.2151        1.0983       -.65340E-06   -.85868    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.77344e-11
Minuit parameter uncertainties:
  1  3.96843e-05
  2  1.3819
  3  1.19232
  4  1.1201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595731': 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) = 7781.65792941
delta logL = -1.90993887372e-11

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  0.000e+00  3.968e-05  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  1.453e+00  1.382e+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.215e+00  1.120e+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.090e+00  1.192e+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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/595731/cmap_HighResolution_691372801_691632001_4FGL_J2209.8-5028_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', job_status='DONE', photon_flux_upper_limit='8.30e-08', time_completed='2022-12-02 02:08:40.189553', job_id='595731', GAL2='1.22', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1669975720.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='-1.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1744' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 02:08:40 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 595731: <4FGL_J2209.8-5028_daily_bin1744> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1744> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Dec  2 01:55:26 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:55:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:55:27 2022
Terminated at Fri Dec  2 02:08:40 2022
Results reported at Fri Dec  2 02:08:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1744 332.474 -50.4702 691372801 691632001 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 :                                   655.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            794 sec.

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

