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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1753
RA = 332.474, Dec = -50.4702
tmin = 693705601, tmax = 693964801
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='467543', job_status='RUN', time_executed='2022-12-29 01:42:50.890279', time_epoch_executed='1672306970.89' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467543

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467543/ft1_4FGL_J2209.8-5028_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467543/ft2_4FGL_J2209.8-5028_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467543/ft1_4FGL_J2209.8-5028_daily_bin1753.fits outfile=/scratch/kocevski/467543/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1753.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=693705601.0 tmax=693964801.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 4.70
user 4.45
sys 0.22

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

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

Number of photons that the gtmktime cut: 728

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467543/ft1_filtered_4FGL_J2209.8-5028_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/467543/ft2_4FGL_J2209.8-5028_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/467543/ltcube_693705601_693964801_4FGL_J2209.8-5028_daily_bin1753.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/467543/ft2_4FGL_J2209.8-5028_daily_bin1753.fits
.....................!
real 14.40
user 13.93
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467543/ft1_filtered_4FGL_J2209.8-5028_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/467543/ft2_4FGL_J2209.8-5028_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/467543/ltcube_693705601_693964801_4FGL_J2209.8-5028_daily_bin1753.fits outfile=/scratch/kocevski/467543/expmap_693705601_693964801_4FGL_J2209.8-5028_daily_bin1753.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/467543/ltcube_693705601_693964801_4FGL_J2209.8-5028_daily_bin1753.fits
.....................!
real 192.25
user 186.01
sys 5.83

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/467543/ft1_filtered_4FGL_J2209.8-5028_daily_bin1753.fits scfile=/scratch/kocevski/467543/ft2_4FGL_J2209.8-5028_daily_bin1753.fits outfile=/scratch/kocevski/467543/cmap_693705601_693964801_4FGL_J2209.8-5028_daily_bin1753.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.55
user 0.39
sys 0.14

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

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/467543/ft1_filtered_4FGL_J2209.8-5028_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/467543/ft2_4FGL_J2209.8-5028_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/467543/Model_4FGL_J2209.8-5028_daily_bin1753.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/467543/ft1_filtered_4FGL_J2209.8-5028_daily_bin1753.fits.....................!
real 56.69
user 55.23
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11082E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.3821       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.718       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.4159       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14576E-03   1.0000          .0000       .10000E+07
     6 'norm      '    7.2084       1.0000          .0000       .10000E+07
     7 'Prefactor '    .50786E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11696E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .65940E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    10.132       1.0000          .0000       .10000E+07
    11 'Prefactor '    .32784       1.0000          .0000       .10000E+07
    12 'norm      '    .15582E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12408E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21151E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91998E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    17.729       1.0000          .0000       .10000E+07
    17 'Prefactor '    .19503E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .67502E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    20.373       1.0000          .0000       .10000E+07
    20 'norm      '    .74860E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    .86723       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96818       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=   7797.955     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1692 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15637E-06    8.8204        .15252E-06** at limit **
   2  Prefactor     8.3437        7.3197       -.18899E-06    .22006E-02
   3  Prefactor     10.871        1.4136       -.28533E-07   -.19780E-01
   4  Prefactor     3.4406        1.0441       -.73025E-08   -.34639E-02
   5  Prefactor      .0000        2.1048        .11090E-06** at limit **
   6  norm          7.1955        3.7688       -.22290E-08    .28419E-03
   7  Prefactor     .73830E-08    6.7689       -.10435E-06** at limit **
   8  Prefactor     .30642E-07    45.857       -.50472E-05** at limit **
   9  Prefactor     .49960E-09    4.7578       -.66557E-06** at limit **
  10  Prefactor     10.145        4.0023       -.19475E-07    .77906E-03
  11  Prefactor     .65936E-05    6.8231        .17394E-06** at limit **
  12  norm           .0000        1.9532        .41393E-07** at limit **
  13  Prefactor      .0000        .97244       -.48970E-08** at limit **
  14  Prefactor     .36748E-07    11.140        .12888E-06** at limit **
  15  Prefactor      .0000        1.1606        .76362E-07** at limit **
  16  Prefactor     17.955        2.0762       -.22006E-07   -.55366E-01
  17  Prefactor      .0000        2.0925        .69731E-07** at limit **
  18  Prefactor     .27367E-07    27.781       -.10813E-05** at limit **
  19  Prefactor     20.280        1.3422        .76325E-08    .21885E-01
  20  norm          .16653E-09    4.4298        .25993E-06** at limit **
  21  Normalizat    .86699        .16748        .35172E-05    .76658E-04
  22  Prefactor     .96832        .13883       -.10787E-05    .76506E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.56375e-07
  Prefactor  = 8.34365
  Prefactor  = 10.8707
  Prefactor  = 3.44063
  Prefactor  = 0
  norm       = 7.19547
  Prefactor  = 7.38298e-09
  Prefactor  = 3.06422e-08
  Prefactor  = 4.996e-10
  Prefactor  = 10.1452
  Prefactor  = 6.59361e-06
  norm       = 0
  Prefactor  = 0
  Prefactor  = 3.67484e-08
  Prefactor  = 0
  Prefactor  = 17.9552
  Prefactor  = 0
  Prefactor  = 2.7367e-08
  Prefactor  = 20.2804
  norm       = 1.66533e-10
  Normalizat = 0.866992
  Prefactor  = 0.968315
 **********
 **   18 **HESSE 
 **********

 FCN=   7797.955     FROM HESSE     STATUS=OK           378 CALLS     2070 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15637E-06    9.9187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.3437        7.4151        .34602E-03   -1.5650    
   3  Prefactor     10.871        18.992        .30579E-03   -1.5642    
   4  Prefactor     3.4406        13.696        .54709E-03   -1.5671    
   5  Prefactor      .0000        2.0921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.1955        3.8805        .37337E-03   -1.5654    
   7  Prefactor     .73830E-08    6.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .30642E-07    45.839        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .49960E-09    4.7376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.145        4.0136        .31454E-03   -1.5644    
  11  Prefactor     .65936E-05    45.276        .98373E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.9535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .97021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .36748E-07    11.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.1616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.955        19.712        .23759E-03   -1.5623    
  17  Prefactor      .0000        2.0930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .27367E-07    27.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.280        13.457        .22162E-03   -1.5618    
  20  norm          .16653E-09    4.3980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .86699        .15035        .44481E-01   -.97630    
  22  Prefactor     .96832        .12116        .45868E-01   -.93793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52681e-07
Minuit parameter uncertainties:
  1  0.00249081
  2  7.41508
  3  18.9922
  4  13.6961
  5  9.86137e-07
  6  3.8805
  7  0.000448462
  8  0.00237026
  9  9.88226e-05
  10  4.01358
  11  0.0345564
  12  4.65983e-06
  13  1.85033e-06
  14  0.00130549
  15  4.12153e-06
  16  19.7122
  17  3.16309e-06
  18  0.0017474
  19  13.457
  20  5.7372e-05
  21  0.150421
  22  0.121195
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  6.594e-06  3.456e-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:  9.683e-01  1.212e-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:  8.670e-01  1.504e-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: 4.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/467543/likelihoodResults_693705601_693964801_4FGL_J2209.8-5028_daily_bin1753.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) = 7797.965182
delta logL = -0.0105757468436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7797.95460627
delta logL = -1.7676029529e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31314E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.2762       1.0000          .0000       10.000    
     3 'Normalizat'    .86703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96831       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=   7797.955     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      242 TOTAL
                     EDM=   .18E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61062E-09    .96756E-01    .42118E-03** at limit **
   2  Index         2.7499        8.4159        .50000        .13642E-09
   3  Normalizat    .86698        .24310E-03    .44479E-01   -.14975E-02
   4  Prefactor     .96832        .20323E-03    .45870E-01   -.10222E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.10623e-10
  Index      = 2.74994
  Normalizat = 0.866984
  Prefactor  = 0.96832
 **********
 **   18 **HESSE 
 **********

 FCN=   7797.955     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .94E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61062E-09    .49599        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7499        6.3675        .50000       -.46678    
   3  Normalizat    .86698        .54984E-03    .25638E-03   -.97630    
   4  Prefactor     .96832        .45977E-03    .20277E-03   -.93793    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.42693e-13
Minuit parameter uncertainties:
  1  3.46271e-05
  2  4746.59
  3  0.000549841
  4  0.000459768
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467543': 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) = 7797.95460618
delta logL = 7.12470864528e-08

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  6.106e-10  3.463e-05  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  2.750e+00  4.747e+03  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  9.683e-01  4.598e-04  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:  8.670e-01  5.498e-04  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/467543/cmap_HighResolution_693705601_693964801_4FGL_J2209.8-5028_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.81e-03', job_status='DONE', photon_flux_upper_limit='4.94e-08', time_completed='2022-12-29 01:53:53.485747', job_id='467543', GAL2='0.97', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1672307633.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='7.12e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1753' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:53:53 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 467543: <4FGL_J2209.8-5028_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1753> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec 29 01:40:20 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:40:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:40:31 2022
Terminated at Thu Dec 29 01:53:54 2022
Results reported at Thu Dec 29 01:53:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1753 332.474 -50.4702 693705601 693964801 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 :                                   664.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            814 sec.

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

