/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 19 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 = 7394
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2203.3-5009_daily_bin620
RA = 330.832, Dec = -50.1512
tmin = 400032001, tmax = 400291201
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='146555', job_status='RUN', time_executed='2021-09-28 02:56:04.529195', time_epoch_executed='1632822964.53' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/146555

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/146555/ft1_4FGL_J2203.3-5009_daily_bin620.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/146555/ft2_4FGL_J2203.3-5009_daily_bin620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/146555/ft1_4FGL_J2203.3-5009_daily_bin620.fits outfile=/scratch/kocevski/146555/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin620.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=400032001.0 tmax=400291201.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.40
user 4.11
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/146555/ft1_filtered_4FGL_J2203.3-5009_daily_bin620.fits" evtable="EVENTS" scfile=/scratch/kocevski/146555/ft2_4FGL_J2203.3-5009_daily_bin620.fits sctable="SC_DATA" outfile=/scratch/kocevski/146555/ltcube_400032001_400291201_4FGL_J2203.3-5009_daily_bin620.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/146555/ft2_4FGL_J2203.3-5009_daily_bin620.fits
.....................!
real 11.93
user 11.50
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/146555/ft1_filtered_4FGL_J2203.3-5009_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/146555/ft2_4FGL_J2203.3-5009_daily_bin620.fits sctable="SC_DATA" expcube=/scratch/kocevski/146555/ltcube_400032001_400291201_4FGL_J2203.3-5009_daily_bin620.fits outfile=/scratch/kocevski/146555/expmap_400032001_400291201_4FGL_J2203.3-5009_daily_bin620.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/146555/ltcube_400032001_400291201_4FGL_J2203.3-5009_daily_bin620.fits
.....................!
real 189.27
user 183.74
sys 5.12

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/146555/ft1_filtered_4FGL_J2203.3-5009_daily_bin620.fits scfile=/scratch/kocevski/146555/ft2_4FGL_J2203.3-5009_daily_bin620.fits outfile=/scratch/kocevski/146555/cmap_400032001_400291201_4FGL_J2203.3-5009_daily_bin620.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/146555/ft1_filtered_4FGL_J2203.3-5009_daily_bin620.fits scfile=/scratch/kocevski/146555/ft2_4FGL_J2203.3-5009_daily_bin620.fits outfile=/scratch/kocevski/146555/cmap_HighResolution_400032001_400291201_4FGL_J2203.3-5009_daily_bin620.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/146555/ft1_filtered_4FGL_J2203.3-5009_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/146555/ft2_4FGL_J2203.3-5009_daily_bin620.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/146555/Model_4FGL_J2203.3-5009_daily_bin620.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/146555/ft1_filtered_4FGL_J2203.3-5009_daily_bin620.fits.....................!
real 42.13
user 40.75
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.943       1.0000         .10000E-03   10000.    
     3 'norm      '    .10648E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    76.387       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.345       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11155E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0171       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.3953       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2236       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10452E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    90.863       1.0000         .10000E-03   10000.    
    15 'norm      '    14.861       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    49.545       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11552E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.2309       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    19.631       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.0953       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.2067       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .83396       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=   4972.164     FROM MIGRAD    STATUS=CONVERGED    685 CALLS     3249 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.6831       -.10945E-06** at limit **
   2  Prefactor     12.942        27.244       -.74957E-06   -.51008E-04
   3  norm          .10000E-03    1.3597        .12223E-06** at limit **
   4  Prefactor     76.421        67.326        .17723E-05    .17419E-03
   5  Prefactor     .10000E-03    3.2346       -.43102E-07** at limit **
   6  Prefactor     22.348        26.577       -.29328E-06   -.28296E-04
   7  Prefactor     .10002E-03    83.254       -.12629E-05** at limit **
   8  Prefactor     3.0169        3.9896       -.14459E-06   -.96384E-04
   9  norm          .10000E-03    2.0211       -.67565E-08** at limit **
  10  Prefactor     .10000E-03    12.241       -.72005E-07** at limit **
  11  Prefactor     4.3992        18.878       -.97492E-07    .38227E-04
  12  Prefactor     1.2121        14.638        .83486E-05   -.14930E-03
  13  Prefactor     .10000E-03    5.6359       -.35401E-06** at limit **
  14  Prefactor     91.033        112.32       -.65360E-05    .47993E-05
  15  norm          14.861        9.4385        .90669E-07    .78755E-04
  16  Prefactor     .10000E-03    3.2424       -.21549E-06** at limit **
  17  Prefactor     .10000E-03    20.439       -.46766E-07** at limit **
  18  Prefactor     .10000E-03    2.1973       -.20447E-06** at limit **
  19  Prefactor     49.595        36.114        .31926E-05    .20485E-03
  20  Prefactor     .10002E-03    15.376        .26469E-05** at limit **
  21  Prefactor     .63772        266.19       -.25103E-04    .42313E-04
  22  Prefactor     .10000E-03    3.1853       -.30769E-07** at limit **
  23  Prefactor     19.618        29.092        .47297E-06    .62927E-04
  24  Prefactor     6.0961        16.984        .18623E-06    .80313E-05
  25  Normalizat    1.2069        .21054       -.17531E-05    .44228E-04
  26  Prefactor     .83393        .15379        .17188E-05    .47684E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.9417
  norm       = 0.0001
  Prefactor  = 76.4214
  Prefactor  = 0.0001
  Prefactor  = 22.3483
  Prefactor  = 0.000100023
  Prefactor  = 3.01685
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.39919
  Prefactor  = 1.21208
  Prefactor  = 0.0001
  Prefactor  = 91.0334
  norm       = 14.861
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.5945
  Prefactor  = 0.000100024
  Prefactor  = 0.637716
  Prefactor  = 0.0001
  Prefactor  = 19.6181
  Prefactor  = 6.09614
  Normalizat = 1.20685
  Prefactor  = 0.83393
 **********
 **   18 **HESSE 
 **********

 FCN=   4972.164     FROM HESSE     STATUS=OK           462 CALLS     3711 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.8238        .29771E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.942        27.210        .11134E-03   -1.4988    
   3  norm          .10000E-03    5.6344        .15824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     76.421        67.371        .22972E-03   -1.3957    
   5  Prefactor     .10000E-03    3.2498        .12384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.348        26.581        .84735E-04   -1.4762    
   7  Prefactor     .10002E-03    85.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0169        3.9790        .15553E-03   -1.5361    
   9  norm          .10000E-03    2.0289        .97857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.3992        18.859        .19210E-03   -1.5288    
  12  Prefactor     1.2121        16.815        .20368E-02   -1.5488    
  13  Prefactor     .10000E-03    5.8606        .32700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     91.033        115.40        .42156E-04   -1.3797    
  15  norm          14.861        9.4366        .10390E-03   -1.4937    
  16  Prefactor     .10000E-03    3.3667        .24796E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.2121        .10221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     49.595        38.190        .56972E-04   -1.4298    
  20  Prefactor     .10002E-03    58.148        .42710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .63772        133.46        .22561       -1.5548    
  22  Prefactor     .10000E-03    3.2006        .12291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     19.618        29.092        .90398E-04   -1.4822    
  24  Prefactor     6.0961        17.002        .16262E-03   -1.5214    
  25  Normalizat    1.2069        .24309        .24576E-03   -.86391    
  26  Prefactor     .83393        .17864        .22200E-03   -.98489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20631e-09
Minuit parameter uncertainties:
  1  3.89773e-05
  2  27.2364
  3  1.15152e-05
  4  67.4388
  5  4.06769e-06
  6  26.595
  7  0.00282341
  8  3.9793
  9  7.45158e-06
  10  5.39453e-07
  11  18.2264
  12  9.03187
  13  5.1543e-05
  14  115.69
  15  9.43751
  16  2.48124e-05
  17  1.41563e-05
  18  6.25304e-06
  19  38.209
  20  0.00238216
  21  18.4915
  22  3.3918e-06
  23  29.1125
  24  17.0157
  25  0.243317
  26  0.178768
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.212e+00  9.032e+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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  8.339e-01  1.788e-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.207e+00  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/146555/likelihoodResults_400032001_400291201_4FGL_J2203.3-5009_daily_bin620.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) = 4972.14060044
delta logL = 0.0235336218429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4972.14023038
delta logL = 0.0239036799376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2157       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3432       1.0000          .0000       10.000    
     3 'Normalizat'    1.2008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83636       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=   4972.140     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      263 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1948        9.0674        .28124E-03    .27852E-04
   2  Index         3.3501        3.0840        .11955E-01    .76241E-05
   3  Normalizat    1.2009        .23065        .24626E-03    .20426E-03
   4  Prefactor     .83633        .17535        .22170E-03    .94609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.19481
  Index      = 3.3501
  Normalizat = 1.20092
  Prefactor  = 0.83633
 **********
 **   18 **HESSE 
 **********

 FCN=   4972.140     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1948        7.0794        .11249E-04   -1.5489    
   2  Index         3.3501        2.7777        .47818E-03   -.33628    
   3  Normalizat    1.2009        .23091        .49253E-04   -.86574    
   4  Prefactor     .83633        .17550        .88681E-05   -.98403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00298e-10
Minuit parameter uncertainties:
  1  5.81751
  2  2.96977
  3  0.231109
  4  0.175616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/146555': 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) = 4972.14022393
delta logL = 0.0239101375628

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.195e+00  5.818e+00  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  3.350e+00  2.970e+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.363e-01  1.756e-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.201e+00  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/146555/cmap_HighResolution_400032001_400291201_4FGL_J2203.3-5009_daily_bin620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.67e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-28 03:07:07.095359', job_id='146555', GAL2='0.84', fit_tolerance='1e-08', EG2='1.20', EG='1.21', time_epoch_completed='1632823627.1', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.39e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='620' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:07:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 146555: <4FGL_J2203.3-5009_daily_bin620> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin620> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 02:55:34 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 02:55:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 02:55:36 2021
Terminated at Tue Sep 28 03:07:07 2021
Results reported at Tue Sep 28 03:07:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin620 330.832 -50.1512 400032001 400291201 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 :                                   659.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            693 sec.

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

