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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1716
RA = 330.832, Dec = -50.1512
tmin = 684115201, tmax = 684374401
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='240474', job_status='RUN', time_executed='2022-09-16 23:41:24.057501', time_epoch_executed='1663396884.06' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240474

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240474/ft1_4FGL_J2203.3-5009_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240474/ft1_4FGL_J2203.3-5009_daily_bin1716.fits outfile=/scratch/kocevski/240474/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1716.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=684115201.0 tmax=684374401.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.21
user 3.89
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.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/240474/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/240474/ft1_filtered_4FGL_J2203.3-5009_daily_bin1716.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.33
sys 0.17

Number of photons that the gtmktime cut: 637

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/240474/ft1_filtered_4FGL_J2203.3-5009_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/240474/ltcube_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.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/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.fits
.....................!
real 14.69
user 14.23
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240474/ft1_filtered_4FGL_J2203.3-5009_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/240474/ltcube_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.fits outfile=/scratch/kocevski/240474/expmap_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.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/240474/ltcube_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.fits
.....................!
real 194.13
user 186.75
sys 5.42

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 178 point sources and 0 extended sources

Setting source of interest to:
4FGL J2203.3-5009 @ 330.832 -50.1512

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/240474/ft1_filtered_4FGL_J2203.3-5009_daily_bin1716.fits scfile=/scratch/kocevski/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.fits outfile=/scratch/kocevski/240474/cmap_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.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=330.832 yref=-50.1512 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240474/ft1_filtered_4FGL_J2203.3-5009_daily_bin1716.fits scfile=/scratch/kocevski/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.fits outfile=/scratch/kocevski/240474/cmap_HighResolution_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.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=330.832 yref=-50.1512 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.60
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/240474/ft1_filtered_4FGL_J2203.3-5009_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/240474/Model_4FGL_J2203.3-5009_daily_bin1716.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/240474/ft1_filtered_4FGL_J2203.3-5009_daily_bin1716.fits.....................!
real 52.01
user 50.12
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/240474/ft1_filtered_4FGL_J2203.3-5009_daily_bin1716.fits', '/scratch/kocevski/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.fits', expMap='/scratch/kocevski/240474/expmap_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.fits', expCube='/scratch/kocevski/240474/ltcube_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/240474/Model_4FGL_J2203.3-5009_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2203.3-5009'

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.433e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  2.739e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  5.072e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/240474/ft1_filtered_4FGL_J2203.3-5009_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/240474/ft2_4FGL_J2203.3-5009_daily_bin1716.fits
Exposure map: /scratch/kocevski/240474/expmap_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.fits
Exposure cube: /scratch/kocevski/240474/ltcube_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/240474/Model_4FGL_J2203.3-5009_daily_bin1716.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) = 6878.28129862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5874       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.377       1.0000          .0000       .10000E+07
     3 'norm      '    2.3173       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17116E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    37.734       1.0000          .0000       .10000E+07
     6 'Prefactor '    .79949E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .70534E-05   1.0000          .0000       .10000E+07
     8 'norm      '    18.889       1.0000          .0000       .10000E+07
     9 'Prefactor '    .81550E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    28.080       1.0000          .0000       .10000E+07
    11 'Prefactor '    .44848       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21295E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    45.886       1.0000          .0000       .10000E+07
    14 'norm      '    .51275E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .46257       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15110E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .68900E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .90450E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .58747E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    30.118       1.0000          .0000       .10000E+07
    21 'Prefactor '    .60023E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    .61042       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2502       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6878.280     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1996 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6142        3.8557        .21493E-06   -.92734E-03
   2  Prefactor     10.351        18.820       -.17598E-05   -.30856E-01
   3  norm          2.3164        1.6807        .27079E-07    .56365E-02
   4  Prefactor     .96034E-08    2.9363       -.14430E-05** at limit **
   5  Prefactor     37.640        8.5598       -.69495E-06    .14485    
   6  Prefactor      .0000        8.3686        .64500E-07** at limit **
   7  Prefactor      .0000        1.7356       -.19563E-06** at limit **
   8  norm          18.889        6.6244        .47196E-07   -.13148E-01
   9  Prefactor     .27145E-07    97.867       -.37747E-06** at limit **
  10  Prefactor     27.913        2.6925        .10426E-06   -.15456E-01
  11  Prefactor     .46093        13.494        .27261E-05    .32287E-02
  12  Prefactor     .46074E-08    3.0923        .18149E-05** at limit **
  13  Prefactor     45.773        5.6372       -.14044E-06    .97456E-01
  14  norm           .0000        2.5653       -.31610E-06** at limit **
  15  Prefactor     .45286        2.5219       -.32445E-06   -.24632E-02
  16  Prefactor      .0000        13.092       -.14930E-06** at limit **
  17  Prefactor     .30359E-06    68.689       -.20493E-05** at limit **
  18  Prefactor      .0000        26.162       -.17343E-06** at limit **
  19  Prefactor     .16653E-09    1.3255        .29968E-07** at limit **
  20  Prefactor     30.026        1.9956       -.88993E-07    .16289E-01
  21  Prefactor     .11102E-09    3.9262       -.25583E-06** at limit **
  22  Normalizat    .61104        .18505       -.70912E-05   -.10901E-02
  23  Prefactor     1.2499        .15694        .28548E-05   -.14265E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.61424
  Prefactor  = 10.3508
  norm       = 2.31643
  Prefactor  = 9.60343e-09
  Prefactor  = 37.6404
  Prefactor  = 0
  Prefactor  = 0
  norm       = 18.8889
  Prefactor  = 2.7145e-08
  Prefactor  = 27.913
  Prefactor  = 0.460932
  Prefactor  = 4.60743e-09
  Prefactor  = 45.7734
  norm       = 0
  Prefactor  = 0.45286
  Prefactor  = 0
  Prefactor  = 3.0359e-07
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 30.026
  Prefactor  = 1.11022e-10
  Normalizat = 0.611036
  Prefactor  = 1.24987
 **********
 **   18 **HESSE 
 **********

 FCN=   6878.280     FROM HESSE     STATUS=OK           426 CALLS     2422 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6142        3.8862        .53328E-03   -1.5670    
   2  Prefactor     10.351        19.315        .31080E-03   -1.5644    
   3  norm          2.3164        1.6952        .67361E-03   -1.5678    
   4  Prefactor     .96034E-08    2.9494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     37.640        27.634        .16281E-03   -1.5585    
   6  Prefactor      .0000        8.3901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.7344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          18.889        6.8340        .23017E-03   -1.5621    
   9  Prefactor     .27145E-07    96.637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     27.913        33.566        .18874E-03   -1.5602    
  11  Prefactor     .46093        5.3021        .62126E-02   -1.5694    
  12  Prefactor     .46074E-08    3.0884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     45.773        82.004        .14764E-03   -1.5573    
  14  norm           .0000        2.5687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .45286        2.5763        .82568E-03   -1.5695    
  16  Prefactor      .0000        13.092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .30359E-06    4.5000        .52311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        25.698        .14193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16653E-09    1.3293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.026        31.692        .18224E-03   -1.5598    
  21  Prefactor     .11102E-09    3.9261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .61104        .17159        .70318E-01   -1.0752    
  23  Prefactor     1.2499        .13952        .33540E-01   -.84810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89347e-06
Minuit parameter uncertainties:
  1  3.88624
  2  19.3156
  3  1.69521
  4  0.000336935
  5  27.6342
  6  1.79804e-06
  7  3.32124e-06
  8  6.83397
  9  0.0032399
  10  33.5665
  11  3.1266
  12  0.000238331
  13  82.0061
  14  9.54098e-06
  15  2.16026
  16  6.02492e-07
  17  0.00233756
  18  7.94706e-06
  19  2.85466e-05
  20  31.6919
  21  4.58632e-05
  22  0.17174
  23  0.139564
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  4.609e-01  3.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  2.739e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  5.072e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.250e+00  1.396e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  6.110e-01  1.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 7.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/240474/likelihoodResults_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.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) = 6878.26098334
delta logL = 0.0189306678476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6878.22151021
delta logL = 0.0584037958788

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0400       1.0000          .0000       .10000E+07
     2 'Index     '    1.7152       1.0000          .0000       10.000    
     3 'Normalizat'    .61377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2458       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6878.222     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      238 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0489        6.7772         .0000        .14140    
   2  Index         1.7185        .84155         .0000       -.27853E-04
   3  Normalizat    .61362        .16373         .0000        .19676E-04
   4  Prefactor     1.2458        .13774         .0000        .22132E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.04889
  Index      = 1.71849
  Normalizat = 0.613625
  Prefactor  = 1.24581
 **********
 **   18 **HESSE 
 **********

 FCN=   6878.222     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0489        6.3106        .14475E-03   -1.5679    
   2  Index         1.7185        1.3708        .16796E-01   -.71591    
   3  Normalizat    .61362        .18466        .31058E-03   -1.0741    
   4  Prefactor     1.2458        .15561        .18780E-03   -.84933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8629e-11
Minuit parameter uncertainties:
  1  6.31063
  2  1.40295
  3  0.184846
  4  0.155664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240474': 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) = 6878.22150638
delta logL = 0.0584076271562

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  2.049e+00  6.311e+00  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  1.718e+00  1.403e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  5.072e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.246e+00  1.557e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  6.136e-01  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 330.832 -50.151

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/240474/cmap_HighResolution_684115201_684374401_4FGL_J2203.3-5009_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.39e-08', time_completed='2022-09-16 23:52:13.515987', job_id='240474', GAL2='1.25', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1663397533.52', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='5.84e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1716' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:52:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 240474: <4FGL_J2203.3-5009_daily_bin1716> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1716> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 23:40:24 2022
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:40:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:40:50 2022
Terminated at Fri Sep 16 23:52:13 2022
Results reported at Fri Sep 16 23:52:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1716 330.832 -50.1512 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2203.3-5009 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   646.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   683 sec.
    Turnaround time :                            709 sec.

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

