/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 93 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1227
RA = 330.832, Dec = -50.1512
tmin = 557366401, tmax = 557625601
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='149619', job_status='RUN', time_executed='2021-09-28 03:07:39.703211', time_epoch_executed='1632823659.7' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1227'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149619

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149619/ft1_4FGL_J2203.3-5009_daily_bin1227.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149619/ft2_4FGL_J2203.3-5009_daily_bin1227.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149619/ft1_4FGL_J2203.3-5009_daily_bin1227.fits outfile=/scratch/kocevski/149619/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1227.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=557366401.0 tmax=557625601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.70
user 3.50
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/149619/ft2_4FGL_J2203.3-5009_daily_bin1227.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/149619/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1227.fits evtable="EVENTS" outfile="/scratch/kocevski/149619/ft1_filtered_4FGL_J2203.3-5009_daily_bin1227.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/149619/ft1_filtered_4FGL_J2203.3-5009_daily_bin1227.fits" evtable="EVENTS" scfile=/scratch/kocevski/149619/ft2_4FGL_J2203.3-5009_daily_bin1227.fits sctable="SC_DATA" outfile=/scratch/kocevski/149619/ltcube_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.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/149619/ft2_4FGL_J2203.3-5009_daily_bin1227.fits
.....................!
real 12.10
user 11.72
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149619/ft1_filtered_4FGL_J2203.3-5009_daily_bin1227.fits evtable="EVENTS" scfile=/scratch/kocevski/149619/ft2_4FGL_J2203.3-5009_daily_bin1227.fits sctable="SC_DATA" expcube=/scratch/kocevski/149619/ltcube_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.fits outfile=/scratch/kocevski/149619/expmap_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.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/149619/ltcube_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.fits
.....................!
real 189.96
user 184.85
sys 4.81

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/149619/ft1_filtered_4FGL_J2203.3-5009_daily_bin1227.fits scfile=/scratch/kocevski/149619/ft2_4FGL_J2203.3-5009_daily_bin1227.fits outfile=/scratch/kocevski/149619/cmap_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/149619/ft1_filtered_4FGL_J2203.3-5009_daily_bin1227.fits scfile=/scratch/kocevski/149619/ft2_4FGL_J2203.3-5009_daily_bin1227.fits outfile=/scratch/kocevski/149619/cmap_HighResolution_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/149619/ft1_filtered_4FGL_J2203.3-5009_daily_bin1227.fits evtable="EVENTS" scfile=/scratch/kocevski/149619/ft2_4FGL_J2203.3-5009_daily_bin1227.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/149619/Model_4FGL_J2203.3-5009_daily_bin1227.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/149619/ft1_filtered_4FGL_J2203.3-5009_daily_bin1227.fits................................!
real 15.71
user 14.47
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/149619/ft1_filtered_4FGL_J2203.3-5009_daily_bin1227.fits', '/scratch/kocevski/149619/ft2_4FGL_J2203.3-5009_daily_bin1227.fits', expMap='/scratch/kocevski/149619/expmap_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.fits', expCube='/scratch/kocevski/149619/ltcube_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/149619/Model_4FGL_J2203.3-5009_daily_bin1227.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  1.000e-04  1.000e+04 ( 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/149619/ft1_filtered_4FGL_J2203.3-5009_daily_bin1227.fits
Spacecraft file(s): /scratch/kocevski/149619/ft2_4FGL_J2203.3-5009_daily_bin1227.fits
Exposure map: /scratch/kocevski/149619/expmap_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.fits
Exposure cube: /scratch/kocevski/149619/ltcube_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/149619/Model_4FGL_J2203.3-5009_daily_bin1227.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) = 349.056152842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14624E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .52632       1.0000         .10000E-03   10000.    
     4 'Prefactor '    92.995       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11974E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    91.681       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    38.837       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .92277E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    886.59       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .39283E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10000.       1.0000         .10000E-03   10000.    
    16 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    17 'Prefactor '    73.140       1.0000         .10000E-03   10000.    
    18 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16052E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .24276E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .38122E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    26 'Prefactor '    .21062       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   348.8134     FROM MIGRAD    STATUS=CONVERGED    660 CALLS     3629 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    145.09        .48299E-05** at limit **
   2  Prefactor     .10000E-03    12.321        .36263E-06** at limit **
   3  norm          .52412        1.9354        .65749E-06   -.25629E-03
   4  Prefactor     92.742        165.54        .10363E-05   -.66800E-05
   5  Prefactor     .10000E-03    32.064       -.93058E-06** at limit **
   6  Prefactor     .10001E-03    270.56       -.30183E-05** at limit **
   7  Prefactor     91.850        180.58       -.28033E-05    .51749E-05
   8  Prefactor     .10000E-03    11.962        .68466E-06** at limit **
   9  norm          38.875        37.601        .30674E-06    .46495E-05
  10  Prefactor     .10000E-03    71.345       -.47843E-07** at limit **
  11  Prefactor     .10000E-03    789.61       -.10843E-05** at limit **
  12  Prefactor     .10005E-03    637.97        .21866E-04** at limit **
  13  Prefactor     884.74        526.61       -.92999E-06   -.11604E-04
  14  Prefactor     .10001E-03    9362.9        .35682E-04** at limit **
  15  norm         10000.0        2040.4       -.30757E-04** at limit **
  16  Prefactor    10000.0        1334.0       -.63662E-05** at limit **
  17  Prefactor    10000.0        5155.2        .19646E-04** at limit **
  18  Prefactor    10000.0        817.07        .90841E-06** at limit **
  19  Prefactor     .10068E-03    1602.5       -.33609E-04** at limit **
  20  Prefactor     .10002E-03    550.63       -.93625E-05** at limit **
  21  Prefactor     .10036E-03    1521.2        .12355E-04** at limit **
  22  Prefactor    10000.0        9752.4        .26613E-04** at limit **
  23  Prefactor     .10001E-03    1122.4        .20300E-04** at limit **
  24  Prefactor     .10000E-03    51.391       -.37853E-08** at limit **
  25  Normalizat    .10000E-01    .44300       -.54627E-05** at limit **
  26  Prefactor     .21025        .15146        .11177E-05   -.39019E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.524123
  Prefactor  = 92.7418
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 91.8498
  Prefactor  = 0.0001
  norm       = 38.8747
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100051
  Prefactor  = 884.743
  Prefactor  = 0.000100011
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100681
  Prefactor  = 0.000100023
  Prefactor  = 0.000100364
  Prefactor  = 10000
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.210248
 **********
 **   18 **HESSE 
 **********

 FCN=   348.8134     FROM HESSE     STATUS=OK           446 CALLS     4075 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    146.19        .89131E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.395        .64225E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .52412        1.9420        .48822E-03   -1.5563    
   4  Prefactor     92.742        166.14        .20837E-03   -1.3779    
   5  Prefactor     .10000E-03    32.546        .10412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    284.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     91.850        181.71        .20984E-03   -1.3788    
   8  Prefactor     .10000E-03    12.036        .63344E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          38.875        37.691        .64316E-04   -1.4460    
  10  Prefactor     .10000E-03    73.498        .15667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1157.5        .20814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10005E-03    660.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     884.74        536.51        .70360E-04   -.96676    
  14  Prefactor     .10001E-03    9372.0        .21272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm         10000.0        2067.5        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor    10000.0        6161.8        .20890E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor    10000.0        5150.3        .23472E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor    10000.0        1227.8        .21463E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10068E-03    1825.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    563.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10036E-03    1684.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor    10000.0        9734.9        .18184E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10001E-03    1235.3        .19553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    52.487        .13237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .10000E-01    .47081        .61860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .21025        .15266        .16305E-03   -1.2798    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.17002e-10
Minuit parameter uncertainties:
  1  0.000229326
  2  2.24904e-05
  3  1.94225
  4  166.981
  5  6.68503e-06
  6  0.00370987
  7  182.824
  8  1.21372e-05
  9  37.7137
  10  3.23956e-06
  11  0.00240073
  12  0.0117467
  13  539.752
  14  0.0250463
  15  0.0299016
  16  0.00119826
  17  0.0903517
  18  0.000249289
  19  0.0728526
  20  0.00732741
  21  0.0510353
  22  0.0219362
  23  0.0052027
  24  5.09516e-07
  25  7.8469e-10
  26  0.15295
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.001e-04  1.175e-02  1.000e-04  1.000e+04 ( 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:  2.102e-01  1.530e-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.000e-02  7.847e-10  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.20e-05 ph cm-2 s-1
Energy Flux Upper Limit: 9.46e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/149619/likelihoodResults_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.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) = 348.813427598
delta logL = -7.59368856507e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 348.813427048
delta logL = -7.04422188846e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96154E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7393       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .21025       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   348.7592     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      298 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.139        7152.0        .18147E-01    .19967E-04
   2  Index         5.2971        5.0667        .16650        .10387E-04
   3  Normalizat    .10000E-01    .92220E-01    .61830E-02** at limit **
   4  Prefactor     .19917        .63025E-01    .16310E-03    .12882E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.1389
  Index      = 5.29714
  Normalizat = 0.01
  Prefactor  = 0.199175
 **********
 **   18 **HESSE 
 **********

 FCN=   348.7592     FROM HESSE     STATUS=OK            29 CALLS      327 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.139        383.69        .28297E-03   -1.4705    
   2  Index         5.2971        7.1967        .59577E-02    .59462E-01
   3  Normalizat    .10000E-01    .37212        .12366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19917        .13025        .65239E-05   -1.2876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04128e-11
Minuit parameter uncertainties:
  1  197.958
  2  5.08869
  3  5.52395e-09
  4  0.13044
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149619': 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) = 348.759211123
delta logL = 0.0542088810245

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  2.514e+01  1.980e+02  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  5.297e+00  5.089e+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.992e-01  1.304e-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.000e-02  5.524e-09  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/149619/cmap_HighResolution_557366401_557625601_4FGL_J2203.3-5009_daily_bin1227.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.46e-01', job_status='DONE', photon_flux_upper_limit='1.20e-05', time_completed='2021-09-28 03:13:29.995874', job_id='149619', GAL2='0.20', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632824010.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.21', dlogl='5.42e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1227' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:13:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 149619: <4FGL_J2203.3-5009_daily_bin1227> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1227> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 03:05:56 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 03:05:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 03:05:58 2021
Terminated at Tue Sep 28 03:13:30 2021
Results reported at Tue Sep 28 03:13:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1227 330.832 -50.1512 557366401 557625601 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 :                                   347.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   452 sec.
    Turnaround time :                            454 sec.

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

