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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1735
RA = 332.474, Dec = -50.4702
tmin = 689040001, tmax = 689299201
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='866610', job_status='RUN', time_executed='2022-11-05 00:35:45.804886', time_epoch_executed='1667633745.8' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866610

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866610/ft1_4FGL_J2209.8-5028_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866610/ft2_4FGL_J2209.8-5028_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866610/ft1_4FGL_J2209.8-5028_daily_bin1735.fits outfile=/scratch/kocevski/866610/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1735.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=689040001.0 tmax=689299201.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.65
user 3.42
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866610/ft1_filtered_4FGL_J2209.8-5028_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866610/ft2_4FGL_J2209.8-5028_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866610/ltcube_689040001_689299201_4FGL_J2209.8-5028_daily_bin1735.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/866610/ft2_4FGL_J2209.8-5028_daily_bin1735.fits
.....................!
real 12.16
user 11.79
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866610/ft1_filtered_4FGL_J2209.8-5028_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866610/ft2_4FGL_J2209.8-5028_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866610/ltcube_689040001_689299201_4FGL_J2209.8-5028_daily_bin1735.fits outfile=/scratch/kocevski/866610/expmap_689040001_689299201_4FGL_J2209.8-5028_daily_bin1735.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/866610/ltcube_689040001_689299201_4FGL_J2209.8-5028_daily_bin1735.fits
.....................!
real 190.46
user 184.92
sys 5.22

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/866610/ft1_filtered_4FGL_J2209.8-5028_daily_bin1735.fits scfile=/scratch/kocevski/866610/ft2_4FGL_J2209.8-5028_daily_bin1735.fits outfile=/scratch/kocevski/866610/cmap_689040001_689299201_4FGL_J2209.8-5028_daily_bin1735.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866610/ft1_filtered_4FGL_J2209.8-5028_daily_bin1735.fits scfile=/scratch/kocevski/866610/ft2_4FGL_J2209.8-5028_daily_bin1735.fits outfile=/scratch/kocevski/866610/cmap_HighResolution_689040001_689299201_4FGL_J2209.8-5028_daily_bin1735.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866610/ft1_filtered_4FGL_J2209.8-5028_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866610/ft2_4FGL_J2209.8-5028_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866610/Model_4FGL_J2209.8-5028_daily_bin1735.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/866610/ft1_filtered_4FGL_J2209.8-5028_daily_bin1735.fits.....................!
real 54.68
user 53.44
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39160E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.9218       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19364E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .43354E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8210       1.0000          .0000       .10000E+07
     6 'norm      '    13.109       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.7743       1.0000          .0000       .10000E+07
     8 'Prefactor '    47.078       1.0000          .0000       .10000E+07
     9 'Prefactor '    .38520E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.7829       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18939E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .93209E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .73508E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .42077E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1294       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.2254       1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1421       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.8197       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10214E-07   1.0000          .0000       .10000E+07
    20 'norm      '    .37598E-06   1.0000          .0000       .10000E+07
    21 'Normalizat'    .37369       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3527       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=   7674.120     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1377 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22149E-07    11.112        .19531E-05** at limit **
   2  Prefactor     4.9255        5.3745        .55068E-06    .47353E-03
   3  Prefactor     .17819E-07    8.2568       -.87093E-06** at limit **
   4  Prefactor     .42466E-07    7.0383        .12746E-05** at limit **
   5  Prefactor     6.8259        4.3589       -.10870E-07   -.36979E-03
   6  norm          13.111        4.9650       -.17951E-06    .44565E-02
   7  Prefactor     9.6706        2.3311       -.20892E-06   -.70883E-01
   8  Prefactor     45.102        30.267        .47955E-06    .13492    
   9  Prefactor     .17208E-08    3.3217       -.46458E-06** at limit **
  10  Prefactor     9.7924        3.8602        .78194E-06    .33921E-02
  11  Prefactor     .14444E-04    53.985        .47385E-05** at limit **
  12  norm          .55511E-10    1.6477        .67811E-06** at limit **
  13  Prefactor     .37919E-02    19.067        .56318E-06** at limit **
  14  Prefactor     .22410E-06    10.491       -.14610E-05** at limit **
  15  Prefactor     2.1573        4.3200        .29132E-06   -.13738E-02
  16  Prefactor     7.2576        2.8794       -.31761E-06    .28335E-02
  17  Prefactor     7.1239        6.8178        .12821E-05    .10462E-01
  18  Prefactor     5.7158        1.2906        .10449E-06    .53675E-02
  19  Prefactor     .13989E-07    4.4131       -.60477E-06** at limit **
  20  norm          .38858E-09    1.7939       -.96390E-06** at limit **
  21  Normalizat    .37555        .17537        .57338E-05   -.81662E-04
  22  Prefactor     1.3522        .14914       -.98570E-05   -.10921E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.21489e-08
  Prefactor  = 4.92549
  Prefactor  = 1.78191e-08
  Prefactor  = 4.2466e-08
  Prefactor  = 6.82587
  norm       = 13.111
  Prefactor  = 9.67061
  Prefactor  = 45.1016
  Prefactor  = 1.72085e-09
  Prefactor  = 9.79237
  Prefactor  = 1.44441e-05
  norm       = 5.55112e-11
  Prefactor  = 0.00379193
  Prefactor  = 2.24099e-07
  Prefactor  = 2.15726
  Prefactor  = 7.25757
  Prefactor  = 7.12389
  Prefactor  = 5.71577
  Prefactor  = 1.39888e-08
  norm       = 3.88578e-10
  Normalizat = 0.375553
  Prefactor  = 1.35215
 **********
 **   18 **HESSE 
 **********

 FCN=   7674.120     FROM HESSE     STATUS=OK           394 CALLS     1771 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22149E-07    11.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.9255        5.3821        .45312E-03   -1.5664    
   3  Prefactor     .17819E-07    8.3956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .42466E-07    7.1002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.8259        4.3814        .38393E-03   -1.5656    
   6  norm          13.111        5.0232        .27640E-03   -1.5636    
   7  Prefactor     9.6706        12.884        .32028E-03   -1.5646    
   8  Prefactor     45.102        31.375        .14576E-03   -1.5574    
   9  Prefactor     .17208E-08    14.953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7924        3.8794        .32014E-03   -1.5645    
  11  Prefactor     .14444E-04    55.878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.6517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .37919E-02    2.6868        .47226E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22410E-06    13.125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1573        4.4216        .70628E-03   -1.5679    
  16  Prefactor     7.2576        16.862        .37292E-03   -1.5654    
  17  Prefactor     7.1239        6.8530        .37511E-03   -1.5655    
  18  Prefactor     5.7158        15.124        .41607E-03   -1.5660    
  19  Prefactor     .13989E-07    4.4241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .38858E-09    1.7956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .37555        .18271        .85474E-01   -1.1858    
  22  Prefactor     1.3522        .14504        .31749E-01   -.81769    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67334e-07
Minuit parameter uncertainties:
  1  0.00101327
  2  5.38214
  3  0.000773375
  4  0.00109835
  5  4.38141
  6  5.02322
  7  12.8841
  8  31.3753
  9  0.00032166
  10  3.87944
  11  0.0568196
  12  2.30225e-05
  13  0.201873
  14  0.00343006
  15  4.42156
  16  16.8618
  17  6.85301
  18  15.1242
  19  0.000497973
  20  5.22298e-05
  21  0.183004
  22  0.145084
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.444e-05  5.682e-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.352e+00  1.451e-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:  3.756e-01  1.830e-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: 5.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866610/likelihoodResults_689040001_689299201_4FGL_J2209.8-5028_daily_bin1735.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) = 7674.12818823
delta logL = -0.00859542908074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7672.68949189
delta logL = 1.43010091285

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23854E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    .30467       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3906       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=   7674.120     FROM MIGRAD    STATUS=CONVERGED    189 CALLS      571 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24314E-07    45.651        .42118E-03** at limit **
   2  Index         1.2688        6.9615        .50000       -.18645E-08
   3  Normalizat    .37556        .46302E-02    .85471E-01    .26438E-03
   4  Prefactor     1.3521        .40663E-02    .31192E-01    .13069E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.43139e-08
  Index      = 1.26881
  Normalizat = 0.375557
  Prefactor  = 1.35215
 **********
 **   18 **HESSE 
 **********

 FCN=   7674.120     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      604 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24314E-07    222.87        .84235E-04   -20.420    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2688        6.0325        .50000       -811.37    
   3  Normalizat    .37556        .10265E-01    .37861E-03   -20.035    
   4  Prefactor     1.3521        .90394E-02    .18239E-03    3.9593    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.98624e-09
Minuit parameter uncertainties:
  1  0.00465722
  2  62005.1
  3  0.0102648
  4  0.00903936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866610': 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) = 7674.11959267
delta logL = 1.28541614686e-07

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  2.431e-08  4.657e-03  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  1.269e+00  6.201e+04  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.352e+00  9.039e-03  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:  3.756e-01  1.026e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/866610/cmap_HighResolution_689040001_689299201_4FGL_J2209.8-5028_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.11e-03', job_status='DONE', photon_flux_upper_limit='5.33e-08', time_completed='2022-11-05 00:46:24.216799', job_id='866610', GAL2='1.35', fit_tolerance='1e-08', EG2='0.38', EG='0.38', time_epoch_completed='1667634384.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='1.29e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1735' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:46:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 866610: <4FGL_J2209.8-5028_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:21 2022
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:22 2022
Terminated at Sat Nov  5 00:46:25 2022
Results reported at Sat Nov  5 00:46:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1735 332.474 -50.4702 689040001 689299201 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 :                                   640.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             333.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            664 sec.

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

