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


Performing analysis on: 4FGL_J2209.8-5028_weekly_bin737
RA = 332.474, Dec = -50.4702
tmin = 684720001, tmax = 685324801
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='453940', job_status='RUN', time_executed='2022-09-20 01:05:39.324467', time_epoch_executed='1663661139.32' WHERE source_name='4FGL J2209.8-5028' and cadence='weekly' and bin_id='737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/453940

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/453940/ft1_4FGL_J2209.8-5028_weekly_bin737.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/453940/ft2_4FGL_J2209.8-5028_weekly_bin737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/453940/ft1_4FGL_J2209.8-5028_weekly_bin737.fits outfile=/scratch/kocevski/453940/ft1_filteredMKT_4FGL_J2209.8-5028_weekly_bin737.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=684720001.0 tmax=685324801.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 5.54
user 5.18
sys 0.28

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

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

Number of photons that the gtmktime cut: 357

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/453940/ft1_filtered_4FGL_J2209.8-5028_weekly_bin737.fits" evtable="EVENTS" scfile=/scratch/kocevski/453940/ft2_4FGL_J2209.8-5028_weekly_bin737.fits sctable="SC_DATA" outfile=/scratch/kocevski/453940/ltcube_684720001_685324801_4FGL_J2209.8-5028_weekly_bin737.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/453940/ft2_4FGL_J2209.8-5028_weekly_bin737.fits
.....................!
real 34.61
user 34.19
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/453940/ft1_filtered_4FGL_J2209.8-5028_weekly_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/453940/ft2_4FGL_J2209.8-5028_weekly_bin737.fits sctable="SC_DATA" expcube=/scratch/kocevski/453940/ltcube_684720001_685324801_4FGL_J2209.8-5028_weekly_bin737.fits outfile=/scratch/kocevski/453940/expmap_684720001_685324801_4FGL_J2209.8-5028_weekly_bin737.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/453940/ltcube_684720001_685324801_4FGL_J2209.8-5028_weekly_bin737.fits
.....................!
real 158.34
user 153.30
sys 3.84

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/453940/ft1_filtered_4FGL_J2209.8-5028_weekly_bin737.fits scfile=/scratch/kocevski/453940/ft2_4FGL_J2209.8-5028_weekly_bin737.fits outfile=/scratch/kocevski/453940/cmap_684720001_685324801_4FGL_J2209.8-5028_weekly_bin737.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.53
user 0.34
sys 0.16

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

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/453940/ft1_filtered_4FGL_J2209.8-5028_weekly_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/453940/ft2_4FGL_J2209.8-5028_weekly_bin737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/453940/Model_4FGL_J2209.8-5028_weekly_bin737.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/453940/ft1_filtered_4FGL_J2209.8-5028_weekly_bin737.fits.....................!
real 33.48
user 31.01
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.276       1.0000          .0000       .10000E+07
     2 'Prefactor '    .32717E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40544       1.0000          .0000       .10000E+07
     4 'Prefactor '    45.275       1.0000          .0000       .10000E+07
     5 'Prefactor '    .62438       1.0000          .0000       .10000E+07
     6 'norm      '    .88313E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.337       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41991E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .77636E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13890E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.7618       1.0000          .0000       .10000E+07
    12 'norm      '    .35563E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .77315E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .42280       1.0000          .0000       .10000E+07
    15 'Prefactor '    .16619E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    134.61       1.0000          .0000       .10000E+07
    17 'Prefactor '    .80081E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14658E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    136.37       1.0000          .0000       .10000E+07
    20 'norm      '    .41254       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1521       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77740       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=   4036.289     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     2327 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.159        19.549        .92238E-07   -.80319E-01
   2  Prefactor      .0000        4.0368        .21615E-08** at limit **
   3  Prefactor     .19661E-04    58.036       -.50928E-07** at limit **
   4  Prefactor     45.207        29.532        .32181E-07   -.23148E-01
   5  Prefactor     .62779        7.2832        .71324E-07    .81467E-03
   6  norm           .0000        2.2207        .55087E-08** at limit **
   7  Prefactor     19.442        18.519        .91643E-07    .69063E-01
   8  Prefactor     .55511E-10    41.639        .34848E-07** at limit **
   9  Prefactor     .48350E-07    35.230        .84446E-07** at limit **
  10  Prefactor      .0000        4.0617       -.43676E-08** at limit **
  11  Prefactor     12.931        491.63       -.37920E-05    .57370E-02
  12  norm          .55511E-10    4.9701        .64914E-08** at limit **
  13  Prefactor      .0000        20.340        .20726E-07** at limit **
  14  Prefactor     .20151E-04    62.115       -.18820E-06** at limit **
  15  Prefactor     .55511E-10    40.334        .43892E-07** at limit **
  16  Prefactor     133.85        66.979        .47121E-07   -.35832    
  17  Prefactor     .71609E-07    30.554        .12365E-06** at limit **
  18  Prefactor     .83964E-04    458.49        .10927E-05** at limit **
  19  Prefactor     141.65        213.16       -.40310E-06   -.11941    
  20  norm          .13334E-06    108.44        .29936E-06** at limit **
  21  Normalizat    1.1516        .29389        .22616E-06   -.53262E-04
  22  Prefactor     .77748        .18820       -.11342E-06   -.23708E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1589
  Prefactor  = 0
  Prefactor  = 1.96609e-05
  Prefactor  = 45.2065
  Prefactor  = 0.627794
  norm       = 0
  Prefactor  = 19.4417
  Prefactor  = 5.55112e-11
  Prefactor  = 4.83502e-08
  Prefactor  = 0
  Prefactor  = 12.931
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.01509e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 133.855
  Prefactor  = 7.16094e-08
  Prefactor  = 8.39636e-05
  Prefactor  = 141.65
  norm       = 1.33338e-07
  Normalizat = 1.1516
  Prefactor  = 0.777484
 **********
 **   18 **HESSE 
 **********

 FCN=   4036.289     FROM HESSE     STATUS=OK           388 CALLS     2715 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.159        26.192        .22784E-03   -1.5620    
   2  Prefactor      .0000        4.0368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19661E-04    117.48        .88860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     45.207        29.789        .14863E-03   -1.5573    
   5  Prefactor     .62779        7.2871        .67072E-03   -1.5692    
   6  norm           .0000        2.2225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.442        25.735        .22749E-03   -1.5620    
   8  Prefactor     .55511E-10    41.239        .15875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .48350E-07    35.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.0341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.931        510.26        .35969E-03   -1.5636    
  12  norm          .55511E-10    4.9710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        10.317        .71456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .20151E-04    113.74        .86891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    21.185        .86930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     133.85        112.45        .86196E-04   -1.5477    
  17  Prefactor     .71609E-07    30.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .83964E-04    462.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     141.65        237.42        .85638E-04   -1.5470    
  20  norm          .13334E-06    107.65        .88048E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1516        .25433        .60702E-01   -.88112    
  22  Prefactor     .77748        .16059        .43422E-01   -1.0056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56024e-05
Minuit parameter uncertainties:
  1  26.1925
  2  1.34285e-05
  3  0.0961207
  4  29.7887
  5  4.27776
  6  3.25469e-06
  7  25.7353
  8  8.46416e-05
  9  0.00263012
  10  1.61726e-05
  11  162.473
  12  2.44302e-05
  13  2.07925e-05
  14  0.0957518
  15  7.20835e-05
  16  112.456
  17  0.00296464
  18  0.39412
  19  237.436
  20  0.0075768
  21  0.254602
  22  0.16069
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.293e+01  1.625e+02  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.775e-01  1.607e-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.152e+00  2.546e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/453940/likelihoodResults_684720001_685324801_4FGL_J2209.8-5028_weekly_bin737.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) = 4036.27056588
delta logL = 0.0183479161283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4036.26855988
delta logL = 0.0203539169256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.044       1.0000          .0000       .10000E+07
     2 'Index     '    2.8403       1.0000          .0000       10.000    
     3 'Normalizat'    1.1429       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77963       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=   4036.269     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      274 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.067        206.75        .94202E-05   -.44134E-03
   2  Index         2.8379        2.3248        .12216E-01    .29222E-04
   3  Normalizat    1.1414        .29059        .26952E-03    .25275E-03
   4  Prefactor     .78070        .18729        .20878E-03   -.19277E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.0675
  Index      = 2.83792
  Normalizat = 1.1414
  Prefactor  = 0.780701
 **********
 **   18 **HESSE 
 **********

 FCN=   4036.269     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.067        150.03        .18840E-05   -1.5623    
   2  Index         2.8379        2.0076        .48865E-03   -.44717    
   3  Normalizat    1.1414        .29113        .53904E-04   -.88434    
   4  Prefactor     .78070        .18749        .83510E-05   -1.0044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01029e-09
Minuit parameter uncertainties:
  1  104.131
  2  2.08065
  3  0.291539
  4  0.187644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/453940': 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) = 4036.26854158
delta logL = 0.0203722142742

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.807e+01  1.041e+02  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  2.838e+00  2.081e+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:  7.807e-01  1.876e-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.141e+00  2.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/453940/cmap_HighResolution_684720001_685324801_4FGL_J2209.8-5028_weekly_bin737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', job_status='DONE', photon_flux_upper_limit='1.50e-07', time_completed='2022-09-20 01:13:55.034509', job_id='453940', GAL2='0.78', fit_tolerance='1e-08', EG2='1.14', EG='1.15', time_epoch_completed='1663661635.03', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.04e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='737' AND source_name='4FGL J2209.8-5028' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 20 01:13:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 453940: <4FGL_J2209.8-5028_weekly_bin737> in cluster <slac> Done

Job <4FGL_J2209.8-5028_weekly_bin737> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep 20 01:00:33 2022
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 20 01:03:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 20 01:03:31 2022
Terminated at Tue Sep 20 01:13:55 2022
Results reported at Tue Sep 20 01:13:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_weekly_bin737 332.474 -50.4702 684720001 685324801 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 :                                   493.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             277.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            802 sec.

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

