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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1762
RA = 332.474, Dec = -50.4702
tmin = 696038401, tmax = 696297601
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='121931', job_status='RUN', time_executed='2023-01-25 01:43:13.072505', time_epoch_executed='1674639793.07' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/121931

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/121931/ft1_4FGL_J2209.8-5028_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/121931/ft2_4FGL_J2209.8-5028_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/121931/ft1_4FGL_J2209.8-5028_daily_bin1762.fits outfile=/scratch/kocevski/121931/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1762.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=696038401.0 tmax=696297601.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.73
user 3.47
sys 0.20

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

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

Number of photons that the gtmktime cut: 468

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/121931/ft1_filtered_4FGL_J2209.8-5028_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/121931/ft2_4FGL_J2209.8-5028_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/121931/ltcube_696038401_696297601_4FGL_J2209.8-5028_daily_bin1762.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/121931/ft2_4FGL_J2209.8-5028_daily_bin1762.fits
.....................!
real 13.70
user 13.20
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/121931/ft1_filtered_4FGL_J2209.8-5028_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/121931/ft2_4FGL_J2209.8-5028_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/121931/ltcube_696038401_696297601_4FGL_J2209.8-5028_daily_bin1762.fits outfile=/scratch/kocevski/121931/expmap_696038401_696297601_4FGL_J2209.8-5028_daily_bin1762.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/121931/ltcube_696038401_696297601_4FGL_J2209.8-5028_daily_bin1762.fits
.....................!
real 193.15
user 186.02
sys 5.37

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/121931/ft1_filtered_4FGL_J2209.8-5028_daily_bin1762.fits scfile=/scratch/kocevski/121931/ft2_4FGL_J2209.8-5028_daily_bin1762.fits outfile=/scratch/kocevski/121931/cmap_696038401_696297601_4FGL_J2209.8-5028_daily_bin1762.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/121931/ft1_filtered_4FGL_J2209.8-5028_daily_bin1762.fits scfile=/scratch/kocevski/121931/ft2_4FGL_J2209.8-5028_daily_bin1762.fits outfile=/scratch/kocevski/121931/cmap_HighResolution_696038401_696297601_4FGL_J2209.8-5028_daily_bin1762.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/121931/ft1_filtered_4FGL_J2209.8-5028_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/121931/ft2_4FGL_J2209.8-5028_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/121931/Model_4FGL_J2209.8-5028_daily_bin1762.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/121931/ft1_filtered_4FGL_J2209.8-5028_daily_bin1762.fits.....................!
real 42.92
user 41.30
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.349       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20852E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13809E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    19.478       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5096       1.0000          .0000       .10000E+07
     6 'norm      '    11.380       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.2358       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13536E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.535       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.072       1.0000          .0000       .10000E+07
    11 'Prefactor '    128.89       1.0000          .0000       .10000E+07
    12 'norm      '    .11310E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .33307E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43767E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.7793       1.0000          .0000       .10000E+07
    16 'Prefactor '    18.096       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11794E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .35149E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.8140       1.0000          .0000       .10000E+07
    20 'norm      '    .16663E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    .79260       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0713       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=   5172.769     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1748 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.144        17.559       -.58331E-06   -.70999E-02
   2  Prefactor      .0000        2.8309       -.39860E-06** at limit **
   3  Prefactor     .86064E-06    32.790        .97249E-06** at limit **
   4  Prefactor     20.423        8.6609        .35870E-06    .20205    
   5  Prefactor     1.4924        4.3368        .43465E-06   -.23746E-03
   6  norm          11.314        6.9456       -.13380E-06    .56986E-03
   7  Prefactor     6.1452        15.990        .38983E-05    .51251E-02
   8  Prefactor     .25207E-05    41.959       -.40758E-05** at limit **
   9  Prefactor     10.203        20.461        .67253E-06    .35987E-02
  10  Prefactor     14.050        6.2882        .30622E-07   -.13016E-02
  11  Prefactor     133.92        232.16       -.11248E-04   -.92928E-02
  12  norm           .0000        2.7724        .16423E-06** at limit **
  13  Prefactor      .0000        1.2587       -.63058E-07** at limit **
  14  Prefactor     .61995E-06    46.185        .60685E-05** at limit **
  15  Prefactor     3.7644        4.4122        .33088E-06    .76428E-03
  16  Prefactor     17.601        6.7109        .11724E-05   -.72897E-01
  17  Prefactor      .0000        8.1272        .77800E-06** at limit **
  18  Prefactor      .0000        19.881        .12230E-05** at limit **
  19  Prefactor     8.8791        11.554       -.36457E-06    .16693E-02
  20  norm           .0000        3.4229       -.33174E-06** at limit **
  21  Normalizat    .79340        .23369       -.92489E-05   -.90399E-06
  22  Prefactor     1.0707        .18098        .12588E-05    .29437E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1444
  Prefactor  = 0
  Prefactor  = 8.60645e-07
  Prefactor  = 20.4228
  Prefactor  = 1.49236
  norm       = 11.3143
  Prefactor  = 6.14522
  Prefactor  = 2.52071e-06
  Prefactor  = 10.2029
  Prefactor  = 14.0496
  Prefactor  = 133.915
  norm       = 0
  Prefactor  = 0
  Prefactor  = 6.19949e-07
  Prefactor  = 3.76435
  Prefactor  = 17.6007
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.8791
  norm       = 0
  Normalizat = 0.793405
  Prefactor  = 1.07066
 **********
 **   18 **HESSE 
 **********

 FCN=   5172.769     FROM HESSE     STATUS=OK           388 CALLS     2136 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.144        17.575        .27389E-03   -1.5635    
   2  Prefactor      .0000        2.8293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .86064E-06    33.200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.423        29.232        .22666E-03   -1.5618    
   5  Prefactor     1.4924        4.3893        .87030E-03   -1.5684    
   6  norm          11.314        6.9586        .29673E-03   -1.5641    
   7  Prefactor     6.1452        16.013        .40176E-03   -1.5658    
   8  Prefactor     .25207E-05    44.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.203        21.016        .30845E-03   -1.5644    
  10  Prefactor     14.050        6.3052        .26674E-03   -1.5633    
  11  Prefactor     133.92        235.52        .88088E-04   -1.5477    
  12  norm           .0000        2.7717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.2577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .61995E-06    48.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7644        4.4672        .51904E-03   -1.5669    
  16  Prefactor     17.601        32.838        .23517E-03   -1.5624    
  17  Prefactor      .0000        8.0828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        19.830        .16190E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.8791        11.559        .33738E-03   -1.5648    
  20  norm           .0000        3.4304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .79340        .20896        .66466E-01   -1.0031    
  22  Prefactor     1.0707        .15818        .38797E-01   -.90410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08351e-06
Minuit parameter uncertainties:
  1  17.5747
  2  1.08542e-05
  3  0.0106907
  4  29.232
  5  4.3893
  6  6.95859
  7  16.0134
  8  0.0211046
  9  21.0161
  10  6.3052
  11  235.536
  12  1.07142e-06
  13  2.4999e-06
  14  0.0109439
  15  4.46724
  16  32.838
  17  5.39974e-06
  18  3.05051e-05
  19  11.559
  20  3.35023e-06
  21  0.209172
  22  0.158252
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.339e+02  2.355e+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:  1.071e+00  1.583e-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:  7.934e-01  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.13
Ra Dec: 332.474 -50.470
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.71e-08 +/- 8.27e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 2.82e-05

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

Saving results to:
/scratch/kocevski/121931/likelihoodResults_696038401_696297601_4FGL_J2209.8-5028_daily_bin1762.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) = 5170.08373119
delta logL = 2.6853213997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5170.07347781
delta logL = 2.69557477785

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26820       1.0000          .0000       .10000E+07
     2 'Index     '    5.7383       1.0000          .0000       10.000    
     3 'Normalizat'    .65295       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1465       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=   5170.073     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      344 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26838        1.8160        .37676E-03    .26067E-01
   2  Index         5.7387        1.9516        .60350E-01   -.93292E-05
   3  Normalizat    .65310        .69616E-01    .72141E-01   -.82600E-06
   4  Prefactor     1.1463        .55724E-01    .36038E-01   -.31270E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.268381
  Index      = 5.73866
  Normalizat = 0.653101
  Prefactor  = 1.14634
 **********
 **   18 **HESSE 
 **********

 FCN=   5170.073     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      375 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26838        2.9518        .16825E-05   -1.5698    
   2  Index         5.7387        2.6014        .25308E-02    .14828    
   3  Normalizat    .65310        .20720        .31932E-03   -1.0577    
   4  Prefactor     1.1463        .16397        .19864E-03   -.87999    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.0912e-08
Minuit parameter uncertainties:
  1  1.78012
  2  2.73933
  3  0.207445
  4  0.164045
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/121931': 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) = 5170.07347059
delta logL = 2.6955819983

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  2.684e-01  1.780e+00  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  5.739e+00  2.739e+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.146e+00  1.640e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  6.531e-01  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.05
Ra Dec: 332.474 -50.470
Photon Index (Free Index): 5.74 +/- 2.74
Photon Flux (Free Index): 1.77e-07 +/- 8.32e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.15e-05

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/121931/cmap_HighResolution_696038401_696297601_4FGL_J2209.8-5028_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='4.71e-08', energy_flux2='2.24e-05', photon_flux_error='8.27e-08', dlogl='2.70e+00', energy_flux='1.60e-05', photon_flux2='1.77e-07', job_status='DONE', time_completed='2023-01-25 01:52:26.671673', photon_index_error2='2.74', photon_index2='5.74', ts='1.13', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.53e-07', energy_flux_error2='1.15e-05', EG='0.79', time_epoch_completed='1674640346.67', return_code='0', job_id='121931', GAL2='1.15', EG2='0.65', return_code2='102', energy_flux_error='2.82e-05', photon_flux_error2='8.32e-08', ts2='7.05', photon_index='2.37' WHERE bin_id='1762' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:52:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 121931: <4FGL_J2209.8-5028_daily_bin1762> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 01:40:17 2023
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:41:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:41:53 2023
Terminated at Wed Jan 25 01:52:27 2023
Results reported at Wed Jan 25 01:52:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1762 332.474 -50.4702 696038401 696297601 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 :                                   553.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            730 sec.

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

