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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1486
RA = 330.832, Dec = -50.1512
tmin = 624499201, tmax = 624758401
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='151039', job_status='RUN', time_executed='2021-09-28 03:12:19.803588', time_epoch_executed='1632823939.8' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1486'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/151039

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/151039/ft1_4FGL_J2203.3-5009_daily_bin1486.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/151039/ft2_4FGL_J2203.3-5009_daily_bin1486.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/151039/ft1_4FGL_J2203.3-5009_daily_bin1486.fits outfile=/scratch/kocevski/151039/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1486.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=624499201.0 tmax=624758401.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.49
user 3.26
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/151039/ft1_filtered_4FGL_J2203.3-5009_daily_bin1486.fits" evtable="EVENTS" scfile=/scratch/kocevski/151039/ft2_4FGL_J2203.3-5009_daily_bin1486.fits sctable="SC_DATA" outfile=/scratch/kocevski/151039/ltcube_624499201_624758401_4FGL_J2203.3-5009_daily_bin1486.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/151039/ft2_4FGL_J2203.3-5009_daily_bin1486.fits
.....................!
real 12.15
user 11.70
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/151039/ft1_filtered_4FGL_J2203.3-5009_daily_bin1486.fits evtable="EVENTS" scfile=/scratch/kocevski/151039/ft2_4FGL_J2203.3-5009_daily_bin1486.fits sctable="SC_DATA" expcube=/scratch/kocevski/151039/ltcube_624499201_624758401_4FGL_J2203.3-5009_daily_bin1486.fits outfile=/scratch/kocevski/151039/expmap_624499201_624758401_4FGL_J2203.3-5009_daily_bin1486.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/151039/ltcube_624499201_624758401_4FGL_J2203.3-5009_daily_bin1486.fits
.....................!
real 190.64
user 185.91
sys 4.18

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/151039/ft1_filtered_4FGL_J2203.3-5009_daily_bin1486.fits scfile=/scratch/kocevski/151039/ft2_4FGL_J2203.3-5009_daily_bin1486.fits outfile=/scratch/kocevski/151039/cmap_624499201_624758401_4FGL_J2203.3-5009_daily_bin1486.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/151039/ft1_filtered_4FGL_J2203.3-5009_daily_bin1486.fits scfile=/scratch/kocevski/151039/ft2_4FGL_J2203.3-5009_daily_bin1486.fits outfile=/scratch/kocevski/151039/cmap_HighResolution_624499201_624758401_4FGL_J2203.3-5009_daily_bin1486.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/151039/ft1_filtered_4FGL_J2203.3-5009_daily_bin1486.fits evtable="EVENTS" scfile=/scratch/kocevski/151039/ft2_4FGL_J2203.3-5009_daily_bin1486.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/151039/Model_4FGL_J2203.3-5009_daily_bin1486.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/151039/ft1_filtered_4FGL_J2203.3-5009_daily_bin1486.fits.....................!
real 47.62
user 45.84
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.764       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.472       1.0000         .10000E-03   10000.    
     3 'norm      '    3.8208       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9114       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7344       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7780       1.0000         .10000E-03   10000.    
     9 'norm      '    5.6150       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .32672E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.585       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5283       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.3448       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.401       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .59730E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    70.006       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1988       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3162       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.961       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .79353       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0544       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=   6095.728     FROM MIGRAD    STATUS=CONVERGED    616 CALLS     3101 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.764        6.7258       -.47974E-07   -.10211E-03
   2  Prefactor     13.472        18.396        .35556E-07   -.15478E-04
   3  norm          3.8209        2.5429        .74093E-07   -.53577E-04
   4  Prefactor     .10000E-03    20.429        .98839E-06** at limit **
   5  Prefactor     .10000E-03    3.3958        .45062E-07** at limit **
   6  Prefactor     5.9128        29.759        .83487E-06    .10886E-04
   7  Prefactor     5.7341        23.829        .49317E-05   -.10853E-03
   8  Prefactor     1.7784        3.3370        .31036E-06   -.14076E-03
   9  norm          5.6160        4.6039        .11305E-07   -.49212E-04
  10  Prefactor     .10000E-03    6.4055       -.45244E-06** at limit **
  11  Prefactor     31.587        35.872        .46183E-06    .15443E-04
  12  Prefactor     3.5225        9.0313       -.49140E-06   -.12169E-03
  13  Prefactor     4.3446        3.5946        .16296E-05   -.10479E-02
  14  Prefactor     .10000E-03    60.830       -.55104E-06** at limit **
  15  norm          10.401        6.9584       -.12174E-06   -.20628E-04
  16  Prefactor     .72446E-01    2.1507        .10246E-05   -.10701E-02
  17  Prefactor     69.973        54.888       -.43039E-05   -.55390E-03
  18  Prefactor     2.1972        5.7268        .16351E-05   -.82933E-04
  19  Prefactor     7.3158        19.513       -.29963E-06   -.20872E-04
  20  Prefactor     11.961        11.151       -.14690E-07   -.21222E-04
  21  Prefactor     .10000E-03    22.438       -.11807E-05** at limit **
  22  Prefactor     .10000E-03    5.2276       -.19125E-06** at limit **
  23  Prefactor     .10000E-03    38.298        .11232E-05** at limit **
  24  Prefactor     .10000E-03    8.9948        .74243E-07** at limit **
  25  Normalizat    .79365        .19493       -.22494E-06   -.24487E-03
  26  Prefactor     1.0543        .14611       -.67389E-06   -.16375E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7641
  Prefactor  = 13.4718
  norm       = 3.82091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.91284
  Prefactor  = 5.73413
  Prefactor  = 1.77844
  norm       = 5.61601
  Prefactor  = 0.000100004
  Prefactor  = 31.5874
  Prefactor  = 3.52251
  Prefactor  = 4.34462
  Prefactor  = 0.0001
  norm       = 10.4005
  Prefactor  = 0.072446
  Prefactor  = 69.9731
  Prefactor  = 2.19722
  Prefactor  = 7.31578
  Prefactor  = 11.9608
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.793649
  Prefactor  = 1.05433
 **********
 **   18 **HESSE 
 **********

 FCN=   6095.728     FROM HESSE     STATUS=OK           466 CALLS     3567 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.764        6.7241        .85858E-04   -1.4775    
   2  Prefactor     13.472        18.388        .10913E-03   -1.4974    
   3  norm          3.8209        2.5404        .97428E-04   -1.5317    
   4  Prefactor     .10000E-03    20.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4094        .14046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9128        29.548        .16516E-03   -1.5222    
   7  Prefactor     5.7341        24.148        .83866E-03   -1.5229    
   8  Prefactor     1.7784        3.3165        .18722E-03   -1.5441    
   9  norm          5.6160        4.5859        .14229E-03   -1.5234    
  10  Prefactor     .10000E-03    19.938        .38133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     31.587        35.704        .71295E-04   -1.4583    
  12  Prefactor     3.5225        8.9790        .21521E-03   -1.5333    
  13  Prefactor     4.3446        3.6840        .65373E-03   -1.5291    
  14  Prefactor     .10000E-03    60.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.401        6.9596        .12424E-03   -1.5063    
  16  Prefactor     .72446E-01    29.405        .20452E-02   -1.5654    
  17  Prefactor     69.973        59.597        .47977E-04   -1.4033    
  18  Prefactor     2.1972        5.7162        .27387E-03   -1.5411    
  19  Prefactor     7.3158        19.395        .14829E-03   -1.5167    
  20  Prefactor     11.961        11.121        .11583E-03   -1.5016    
  21  Prefactor     .10000E-03    22.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.2788        .17424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    38.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.0341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79365        .22708        .28850E-03   -1.0030    
  26  Prefactor     1.0543        .17015        .20390E-03   -.90940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25284e-08
Minuit parameter uncertainties:
  1  6.72435
  2  18.3959
  3  2.54047
  4  0.000191795
  5  5.95414e-07
  6  26.4566
  7  23.5507
  8  3.31679
  9  4.5862
  10  0.000575099
  11  35.7283
  12  8.98238
  13  3.68419
  14  0.000191045
  15  6.9601
  16  2.91852
  17  59.6475
  18  5.7176
  19  19.4113
  20  11.1229
  21  0.000249067
  22  1.51291e-05
  23  0.000227139
  24  1.28442e-06
  25  0.227353
  26  0.17024
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  3.523e+00  8.982e+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:  1.054e+00  1.702e-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:  7.936e-01  2.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/151039/likelihoodResults_624499201_624758401_4FGL_J2203.3-5009_daily_bin1486.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) = 6095.55378825
delta logL = 0.17437154775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6095.52175355
delta logL = 0.206406244444

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0429       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7702       1.0000          .0000       10.000    
     3 'Normalizat'    .77332       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0641       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=   6095.522     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      215 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0404        79.368        .72326E-02    .61303E-03
   2  Index         3.7714        6.8850        .20814        .73110E-04
   3  Normalizat    .77332        .47452E-01    .65968E-01   -.12217E-04
   4  Prefactor     1.0641        .38433E-01    .39144E-01   -.10773E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.04035
  Index      = 3.77137
  Normalizat = 0.773323
  Prefactor  = 1.06415
 **********
 **   18 **HESSE 
 **********

 FCN=   6095.522     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0404        14.287        .14625E-03   -1.5422    
   2  Index         3.7714        3.3362        .11035E-01   -.24827    
   3  Normalizat    .77332        .20887        .29186E-03   -1.0107    
   4  Prefactor     1.0641        .16608        .20304E-03   -.90621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71231e-08
Minuit parameter uncertainties:
  1  10.8017
  2  3.67958
  3  0.209091
  4  0.166162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/151039': 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) = 6095.52175335
delta logL = 0.206406445433

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  2.040e+00  1.080e+01  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  3.771e+00  3.680e+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.064e+00  1.662e-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:  7.733e-01  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
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/151039/cmap_HighResolution_624499201_624758401_4FGL_J2203.3-5009_daily_bin1486.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.58e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-28 03:24:46.134470', job_id='151039', GAL2='1.06', fit_tolerance='1e-08', EG2='0.77', EG='0.79', time_epoch_completed='1632824686.13', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.06e-01', ts2='0.63', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1486' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:24:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 151039: <4FGL_J2203.3-5009_daily_bin1486> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1486> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 03:10:50 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 03:10:53 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:10:53 2021
Terminated at Tue Sep 28 03:24:46 2021
Results reported at Tue Sep 28 03:24:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1486 330.832 -50.1512 624499201 624758401 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 :                                   709.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            836 sec.

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

