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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1712
RA = 330.832, Dec = -50.1512
tmin = 683078401, tmax = 683337601
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='240468', job_status='RUN', time_executed='2022-09-16 23:41:29.252199', time_epoch_executed='1663396889.25' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240468

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240468/ft1_4FGL_J2203.3-5009_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240468/ft2_4FGL_J2203.3-5009_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240468/ft1_4FGL_J2203.3-5009_daily_bin1712.fits outfile=/scratch/kocevski/240468/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1712.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=683078401.0 tmax=683337601.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.92
user 4.63
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/240468/ft1_filtered_4FGL_J2203.3-5009_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/240468/ft2_4FGL_J2203.3-5009_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/240468/ltcube_683078401_683337601_4FGL_J2203.3-5009_daily_bin1712.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/240468/ft2_4FGL_J2203.3-5009_daily_bin1712.fits
.....................!
real 15.00
user 14.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240468/ft1_filtered_4FGL_J2203.3-5009_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/240468/ft2_4FGL_J2203.3-5009_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/240468/ltcube_683078401_683337601_4FGL_J2203.3-5009_daily_bin1712.fits outfile=/scratch/kocevski/240468/expmap_683078401_683337601_4FGL_J2203.3-5009_daily_bin1712.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/240468/ltcube_683078401_683337601_4FGL_J2203.3-5009_daily_bin1712.fits
.....................!
real 192.59
user 186.43
sys 5.72

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/240468/ft1_filtered_4FGL_J2203.3-5009_daily_bin1712.fits scfile=/scratch/kocevski/240468/ft2_4FGL_J2203.3-5009_daily_bin1712.fits outfile=/scratch/kocevski/240468/cmap_683078401_683337601_4FGL_J2203.3-5009_daily_bin1712.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240468/ft1_filtered_4FGL_J2203.3-5009_daily_bin1712.fits scfile=/scratch/kocevski/240468/ft2_4FGL_J2203.3-5009_daily_bin1712.fits outfile=/scratch/kocevski/240468/cmap_HighResolution_683078401_683337601_4FGL_J2203.3-5009_daily_bin1712.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/240468/ft1_filtered_4FGL_J2203.3-5009_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/240468/ft2_4FGL_J2203.3-5009_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/240468/Model_4FGL_J2203.3-5009_daily_bin1712.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/240468/ft1_filtered_4FGL_J2203.3-5009_daily_bin1712.fits.....................!
real 39.33
user 37.86
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5555       1.0000          .0000       .10000E+07
     2 'Prefactor '    .39772E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .95329E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.512       1.0000          .0000       .10000E+07
     5 'Prefactor '    .46821E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    16.829       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.7993       1.0000          .0000       .10000E+07
     8 'norm      '    8.1916       1.0000          .0000       .10000E+07
     9 'Prefactor '    .72300E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    46.486       1.0000          .0000       .10000E+07
    11 'Prefactor '    .48184E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5548       1.0000          .0000       .10000E+07
    13 'Prefactor '    75.823       1.0000          .0000       .10000E+07
    14 'norm      '    16.727       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.8500       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11431E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .24769E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.3301       1.0000          .0000       .10000E+07
    19 'Prefactor '    .13418E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .71980E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .94718E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0074       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83767       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=   4456.550     FROM MIGRAD    STATUS=CONVERGED    189 CALLS     1987 TOTAL
                     EDM=   .94E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5517        4.4620       -.26997E-07   -.21989E-04
   2  Prefactor      .0000        15.507       -.33866E-07** at limit **
   3  norm           .0000        1.7802        .34083E-07** at limit **
   4  Prefactor     10.538        10.747       -.19664E-06   -.81757E-03
   5  Prefactor      .0000        30.037        .94712E-08** at limit **
   6  Prefactor     16.848        22.893        .35365E-08   -.11463E-01
   7  Prefactor     1.8072        4.7833        .66359E-07    .56093E-05
   8  norm          8.1970        5.5077        .11770E-08   -.75170E-04
   9  Prefactor      .0000        3.4317       -.21394E-07** at limit **
  10  Prefactor     46.769        52.925        .46797E-07    .16347E-02
  11  Prefactor     .55511E-10    90.135       -.39198E-07** at limit **
  12  Prefactor     4.4913        5.8258        .19239E-07    .25434E-03
  13  Prefactor     80.160        125.77        .56125E-06   -.50128E-03
  14  norm          16.700        1.9740        .61829E-08   -.53399E-02
  15  Prefactor     5.8284        4.7489       -.41028E-08   -.68518E-04
  16  Prefactor      .0000        16.790        .40656E-07** at limit **
  17  Prefactor      .0000        6.0216        .54945E-07** at limit **
  18  Prefactor     5.2815        25.572       -.18959E-07   -.65180E-02
  19  Prefactor      .0000        11.332        .56242E-07** at limit **
  20  Prefactor      .0000        33.181       -.19827E-07** at limit **
  21  Prefactor      .0000        5.5133       -.13499E-07** at limit **
  22  Normalizat    1.0069        .25779       -.11754E-05   -.42648E-06
  23  Prefactor     .83777        .18858        .17987E-05    .69198E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.55168
  Prefactor  = 0
  norm       = 0
  Prefactor  = 10.5385
  Prefactor  = 0
  Prefactor  = 16.848
  Prefactor  = 1.80718
  norm       = 8.19705
  Prefactor  = 0
  Prefactor  = 46.7694
  Prefactor  = 5.55112e-11
  Prefactor  = 4.49131
  Prefactor  = 80.1596
  norm       = 16.7004
  Prefactor  = 5.82841
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.28153
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.00687
  Prefactor  = 0.837771
 **********
 **   18 **HESSE 
 **********

 FCN=   4456.550     FROM HESSE     STATUS=OK           422 CALLS     2409 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5517        4.4614        .63841E-03   -1.5676    
   2  Prefactor      .0000        15.488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.7614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.538        10.789        .30878E-03   -1.5643    
   5  Prefactor      .0000        29.712        .15669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.848        33.290        .24387E-03   -1.5626    
   7  Prefactor     1.8072        4.8239        .77907E-03   -1.5681    
   8  norm          8.1970        5.5131        .35005E-03   -1.5651    
   9  Prefactor      .0000        3.4306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     46.769        54.344        .14668E-03   -1.5571    
  11  Prefactor     .55511E-10    8.4921        .11045E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.4913        5.9433        .47144E-03   -1.5666    
  13  Prefactor     80.160        138.05        .11485E-03   -1.5529    
  14  norm          16.700        12.303        .24462E-03   -1.5626    
  15  Prefactor     5.8284        4.7476        .41498E-03   -1.5660    
  16  Prefactor      .0000        16.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        5.9911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.2815        52.479        .43508E-03   -1.5662    
  19  Prefactor      .0000        11.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        33.112        .14753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        5.5104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0069        .22704        .46260E-01   -.92801    
  23  Prefactor     .83777        .16130        .44206E-01   -.98351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10049e-08
Minuit parameter uncertainties:
  1  4.46137
  2  2.73279e-06
  3  2.17582e-07
  4  10.7887
  5  3.49693e-07
  6  33.2902
  7  4.82395
  8  5.51307
  9  1.62861e-07
  10  54.3444
  11  4.36351e-05
  12  5.94328
  13  138.056
  14  12.3035
  15  4.74765
  16  6.22104e-06
  17  1.85811e-06
  18  33.2972
  19  1.47084e-07
  20  1.08617e-07
  21  2.2451e-06
  22  0.227259
  23  0.161396
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  5.551e-11  4.364e-05  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:  8.378e-01  1.614e-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.007e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/240468/likelihoodResults_683078401_683337601_4FGL_J2203.3-5009_daily_bin1712.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) = 4456.55853919
delta logL = -0.00889475540953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4455.5841334
delta logL = 0.965511035814

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18123E-02   1.0000          .0000       .10000E+07
     2 'Index     '    9.4050       1.0000          .0000       10.000    
     3 'Normalizat'    .90345       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88938       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=   4456.550     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      332 TOTAL
                     EDM=   .22E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        36.554        .54217E-06** at limit **
   2  Index         2.4077        .29739        .23119E-05     .0000    
   3  Normalizat    1.0069        .23795        .35311E-05   -.10111E-05
   4  Prefactor     .83777        .18085       -.22942E-05   -.26990E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.40769
  Normalizat = 1.00687
  Prefactor  = 0.837771
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4456.550     FROM HESSE     STATUS=FAILED        11 CALLS      343 TOTAL
                     EDM=   .22E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        36.249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65037        1.9720        .23119E-05   -69.660    
   3  Normalizat    1.0069        1.3009        .35311E-05   -2.2136    
   4  Prefactor     .83777        1.2018       -.22942E-05   -2.1581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.15142e-14
Minuit parameter uncertainties:
  1  1.18207e-05
  2  1.75234
  3  1.34574
  4  1.24313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240468': 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): 101
logL (Free Index) = 4456.54964444
delta logL = 0.0

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  0.000e+00  1.182e-05  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  2.408e+00  1.752e+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:  8.378e-01  1.243e+00  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.007e+00  1.346e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/240468/cmap_HighResolution_683078401_683337601_4FGL_J2203.3-5009_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2022-09-16 23:50:22.762403', job_id='240468', GAL2='0.84', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1663397422.76', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1712' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:50:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 240468: <4FGL_J2203.3-5009_daily_bin1712> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1712> 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) <bullet0255>, 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:50:23 2022
Results reported at Fri Sep 16 23:50:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1712 330.832 -50.1512 683078401 683337601 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 :                                   535.20 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             307.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   573 sec.
    Turnaround time :                            599 sec.

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

