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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1758
RA = 330.832, Dec = -50.1512
tmin = 695001601, tmax = 695260801
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='384875', job_status='RUN', time_executed='2023-01-13 01:51:22.996294', time_epoch_executed='1673603483.0' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384875

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384875/ft1_4FGL_J2203.3-5009_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384875/ft2_4FGL_J2203.3-5009_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384875/ft1_4FGL_J2203.3-5009_daily_bin1758.fits outfile=/scratch/kocevski/384875/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1758.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=695001601.0 tmax=695260801.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 2.32
user 2.10
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384875/ft2_4FGL_J2203.3-5009_daily_bin1758.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/384875/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/384875/ft1_filtered_4FGL_J2203.3-5009_daily_bin1758.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.42
user 0.28
sys 0.14

Number of photons that the gtmktime cut: 483

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384875/ft1_filtered_4FGL_J2203.3-5009_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/384875/ft2_4FGL_J2203.3-5009_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/384875/ltcube_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.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/384875/ft2_4FGL_J2203.3-5009_daily_bin1758.fits
.....................!
real 14.18
user 13.81
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384875/ft1_filtered_4FGL_J2203.3-5009_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/384875/ft2_4FGL_J2203.3-5009_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/384875/ltcube_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.fits outfile=/scratch/kocevski/384875/expmap_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.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/384875/ltcube_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.fits
.....................!
real 158.07
user 153.03
sys 4.59

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/384875/ft1_filtered_4FGL_J2203.3-5009_daily_bin1758.fits scfile=/scratch/kocevski/384875/ft2_4FGL_J2203.3-5009_daily_bin1758.fits outfile=/scratch/kocevski/384875/cmap_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.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.49
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384875/ft1_filtered_4FGL_J2203.3-5009_daily_bin1758.fits scfile=/scratch/kocevski/384875/ft2_4FGL_J2203.3-5009_daily_bin1758.fits outfile=/scratch/kocevski/384875/cmap_HighResolution_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.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.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384875/ft1_filtered_4FGL_J2203.3-5009_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/384875/ft2_4FGL_J2203.3-5009_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384875/Model_4FGL_J2203.3-5009_daily_bin1758.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/384875/ft1_filtered_4FGL_J2203.3-5009_daily_bin1758.fits.....................!
real 36.10
user 34.93
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/384875/ft1_filtered_4FGL_J2203.3-5009_daily_bin1758.fits', '/scratch/kocevski/384875/ft2_4FGL_J2203.3-5009_daily_bin1758.fits', expMap='/scratch/kocevski/384875/expmap_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.fits', expCube='/scratch/kocevski/384875/ltcube_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/384875/Model_4FGL_J2203.3-5009_daily_bin1758.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/384875/ft1_filtered_4FGL_J2203.3-5009_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/384875/ft2_4FGL_J2203.3-5009_daily_bin1758.fits
Exposure map: /scratch/kocevski/384875/expmap_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.fits
Exposure cube: /scratch/kocevski/384875/ltcube_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/384875/Model_4FGL_J2203.3-5009_daily_bin1758.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) = 5165.11484347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9615       1.0000          .0000       .10000E+07
     2 'Prefactor '    .60507E-08   1.0000          .0000       .10000E+07
     3 'norm      '    4.8782       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.969       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11013E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .78657E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .66118       1.0000          .0000       .10000E+07
     8 'norm      '    14.168       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.6169       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12022E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.336       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.2266       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18551E-05   1.0000          .0000       .10000E+07
    14 'norm      '    1.0924       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.8148       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12557E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52952E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10369E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .61562E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
    21 'Prefactor '    3.4697       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2042       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0669       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=   5165.044     FROM MIGRAD    STATUS=CONVERGED    215 CALLS     2242 TOTAL
                     EDM=   .41E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9621        6.2515        .48798E-07    .11918E-03
   2  Prefactor      .0000        8.0582       -.27512E-06** at limit **
   3  norm          4.8783        4.0360        .56925E-07    .23392E-03
   4  Prefactor     15.968        14.894        .33857E-06    .73606E-04
   5  Prefactor      .0000        19.141        .22663E-06** at limit **
   6  Prefactor      .0000        47.995       -.57968E-06** at limit **
   7  Prefactor     .66766        10.540       -.68511E-07    .39528E-04
   8  norm          14.171        7.6272       -.68356E-07    .21311E-03
   9  Prefactor     1.6184        29.782        .96445E-06   -.66024E-04
  10  Prefactor     .11102E-09    113.18       -.17987E-05** at limit **
  11  Prefactor     11.334        12.939        .30746E-06   -.11236E-03
  12  Prefactor     4.2274        4.5147        .21796E-06   -.54793E-03
  13  Prefactor      .0000        92.992       -.17842E-05** at limit **
  14  norm          1.0909        4.6213        .15914E-06   -.32702E-05
  15  Prefactor     3.8139        4.2945       -.31631E-06   -.42722E-03
  16  Prefactor     .55511E-10    767.49        .42684E-05** at limit **
  17  Prefactor      .0000        9.3754       -.46197E-06** at limit **
  18  Prefactor      .0000        12.723        .40118E-06** at limit **
  19  Prefactor      .0000        2.9429        .60684E-07** at limit **
  20  Prefactor      .0000        11.829        .39288E-06** at limit **
  21  Prefactor     3.4695        9.0363       -.81395E-07   -.13014E-03
  22  Normalizat    1.2039        .26772       -.12738E-04   -.22194E-04
  23  Prefactor     1.0670        .20913        .60829E-05   -.19948E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96213
  Prefactor  = 0
  norm       = 4.87829
  Prefactor  = 15.9682
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.667662
  norm       = 14.1707
  Prefactor  = 1.61844
  Prefactor  = 1.11022e-10
  Prefactor  = 11.3339
  Prefactor  = 4.22741
  Prefactor  = 0
  norm       = 1.09089
  Prefactor  = 3.81388
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.46945
  Normalizat = 1.20395
  Prefactor  = 1.06701
 **********
 **   18 **HESSE 
 **********

 FCN=   5165.044     FROM HESSE     STATUS=OK           416 CALLS     2658 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9621        6.2496        .33457E-03   -1.5648    
   2  Prefactor      .0000        8.0557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.8783        4.0403        .45519E-03   -1.5664    
   4  Prefactor     15.968        14.915        .25036E-03   -1.5628    
   5  Prefactor      .0000        19.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        47.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .66766        10.512        .63917E-03   -1.5692    
   8  norm          14.171        7.6435        .26584E-03   -1.5633    
   9  Prefactor     1.6184        30.113        .83224E-03   -1.5683    
  10  Prefactor     .11102E-09    113.29        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.334        12.882        .29730E-03   -1.5641    
  12  Prefactor     4.2274        4.5282        .48990E-03   -1.5667    
  13  Prefactor      .0000        93.242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0909        4.7612        .11425E-02   -1.5687    
  15  Prefactor     3.8139        4.2880        .51653E-03   -1.5669    
  16  Prefactor     .55511E-10    753.83        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        9.3181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        12.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.9475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        11.830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.4695        9.0507        .54264E-03   -1.5671    
  22  Normalizat    1.2039        .22822        .61653E-01   -.86481    
  23  Prefactor     1.0670        .17898        .39007E-01   -.90528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54473e-07
Minuit parameter uncertainties:
  1  6.24963
  2  1.52831e-05
  3  4.04029
  4  14.9148
  5  2.59316e-05
  6  1.92735e-05
  7  5.29843
  8  7.64352
  9  13.9624
  10  0.000199953
  11  12.8823
  12  4.52816
  13  2.95749e-06
  14  4.55806
  15  4.28802
  16  0.000496018
  17  4.00412e-07
  18  1.09939e-06
  19  4.24797e-06
  20  9.09069e-06
  21  9.05071
  22  0.228406
  23  0.179077
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.133e+01  1.288e+01  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.067e+00  1.791e-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:  1.204e+00  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.98
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 1.84e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.45e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384875/likelihoodResults_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.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) = 5163.10322604
delta logL = 1.94060786687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5162.9451327
delta logL = 2.09870120452

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10931       1.0000          .0000       .10000E+07
     2 'Index     '    6.9968       1.0000          .0000       10.000    
     3 'Normalizat'    1.0701       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1450       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.

 FCN=   5162.945     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      296 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10883        .91997        .27431E-03** at limit **
   2  Index         7.0000        3.2670        .12081       -.84603E-04
   3  Normalizat    1.0706        .74833E-01    .64690E-01   -.51088E-04
   4  Prefactor     1.1447        .60601E-01    .36083E-01   -.20888E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.10883
  Index      = 7.00003
  Normalizat = 1.07062
  Prefactor  = 1.14468
 **********
 **   18 **HESSE 
 **********

 FCN=   5162.945     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      327 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10883        1.5609        .12253E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.0000        7.5929        .50677E-02    .41152    
   3  Normalizat    1.0706        .23668        .28616E-03   -.90701    
   4  Prefactor     1.1447        .18705        .22506E-03   -.88051    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.09649e-10
Minuit parameter uncertainties:
  1  0.824324
  2  5.0515
  3  0.236913
  4  0.187153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384875': 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) = 5162.94512954
delta logL = 2.09870437034

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.088e-01  8.243e-01  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  7.000e+00  5.051e+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.145e+00  1.872e-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:  1.071e+00  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.58
Ra Dec: 330.832 -50.151
Photon Index (Free Index): 7.00 +/- 5.05
Photon Flux (Free Index): 1.59e-07 +/- 8.95e-08
Energy Flux (Free Index): 1.90e-05 +/- 1.22e-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/384875/cmap_HighResolution_695001601_695260801_4FGL_J2203.3-5009_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-02', comment='SUCCESS', energy_flux2='1.90e-05', dlogl='2.10e+00', photon_flux2='1.59e-07', job_status='DONE', time_completed='2023-01-13 01:59:37.781469', photon_index_error2='5.05', photon_index2='7.00', ts='0.98', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.84e-07', energy_flux_error2='1.22e-05', EG='1.20', time_epoch_completed='1673603977.78', return_code='0', job_id='384875', GAL2='1.14', EG2='1.07', return_code2='102', photon_flux_error2='8.95e-08', ts2='5.58', photon_index='2.74' WHERE bin_id='1758' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 01:59:37 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 384875: <4FGL_J2203.3-5009_daily_bin1758> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 01:50:14 2023
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 01:50:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 01:50:38 2023
Terminated at Fri Jan 13 01:59:38 2023
Results reported at Fri Jan 13 01:59:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1758 330.832 -50.1512 695001601 695260801 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 :                                   496.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   540 sec.
    Turnaround time :                            564 sec.

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

