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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1399
RA = 330.832, Dec = -50.1512
tmin = 601948801, tmax = 602208001
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='150902', job_status='RUN', time_executed='2021-09-28 03:12:21.788587', time_epoch_executed='1632823941.79' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1399'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/150902

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/150902/ft1_4FGL_J2203.3-5009_daily_bin1399.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/150902/ft2_4FGL_J2203.3-5009_daily_bin1399.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/150902/ft1_4FGL_J2203.3-5009_daily_bin1399.fits outfile=/scratch/kocevski/150902/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1399.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=601948801.0 tmax=602208001.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.85
user 3.59
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/150902/ft2_4FGL_J2203.3-5009_daily_bin1399.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/150902/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1399.fits evtable="EVENTS" outfile="/scratch/kocevski/150902/ft1_filtered_4FGL_J2203.3-5009_daily_bin1399.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/150902/ft1_filtered_4FGL_J2203.3-5009_daily_bin1399.fits" evtable="EVENTS" scfile=/scratch/kocevski/150902/ft2_4FGL_J2203.3-5009_daily_bin1399.fits sctable="SC_DATA" outfile=/scratch/kocevski/150902/ltcube_601948801_602208001_4FGL_J2203.3-5009_daily_bin1399.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/150902/ft2_4FGL_J2203.3-5009_daily_bin1399.fits
.....................!
real 11.86
user 11.51
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/150902/ft1_filtered_4FGL_J2203.3-5009_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/150902/ft2_4FGL_J2203.3-5009_daily_bin1399.fits sctable="SC_DATA" expcube=/scratch/kocevski/150902/ltcube_601948801_602208001_4FGL_J2203.3-5009_daily_bin1399.fits outfile=/scratch/kocevski/150902/expmap_601948801_602208001_4FGL_J2203.3-5009_daily_bin1399.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/150902/ltcube_601948801_602208001_4FGL_J2203.3-5009_daily_bin1399.fits
.....................!
real 190.29
user 185.22
sys 4.71

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/150902/ft1_filtered_4FGL_J2203.3-5009_daily_bin1399.fits scfile=/scratch/kocevski/150902/ft2_4FGL_J2203.3-5009_daily_bin1399.fits outfile=/scratch/kocevski/150902/cmap_601948801_602208001_4FGL_J2203.3-5009_daily_bin1399.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/150902/ft1_filtered_4FGL_J2203.3-5009_daily_bin1399.fits scfile=/scratch/kocevski/150902/ft2_4FGL_J2203.3-5009_daily_bin1399.fits outfile=/scratch/kocevski/150902/cmap_HighResolution_601948801_602208001_4FGL_J2203.3-5009_daily_bin1399.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/150902/ft1_filtered_4FGL_J2203.3-5009_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/150902/ft2_4FGL_J2203.3-5009_daily_bin1399.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/150902/Model_4FGL_J2203.3-5009_daily_bin1399.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/150902/ft1_filtered_4FGL_J2203.3-5009_daily_bin1399.fits.....................!
real 49.15
user 47.77
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.116       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16204E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.283       1.0000         .10000E-03   10000.    
     4 'Prefactor '    77.446       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.044       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10511E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8303       1.0000         .10000E-03   10000.    
     9 'norm      '    15.989       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.2693       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.622       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.563       1.0000         .10000E-03   10000.    
    14 'Prefactor '    61.889       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .90408       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6268       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6858       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.8447       1.0000         .10000E-03   10000.    
    23 'Prefactor '    25.071       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .84526       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .93730       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=   6492.144     FROM MIGRAD    STATUS=CONVERGED    609 CALLS     3052 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.109        5.2958        .97897E-07   -.56955E-04
   2  Prefactor     .10000E-03    80.922       -.49721E-06** at limit **
   3  norm          10.282        3.0021        .19449E-07   -.10110E-04
   4  Prefactor     77.407        50.116       -.33547E-05   -.40723E-03
   5  Prefactor     .10000E-03    4.0715        .12548E-07** at limit **
   6  Prefactor     10.035        27.545       -.69786E-06   -.38743E-04
   7  Prefactor     .10000E-03    26.890       -.55523E-06** at limit **
   8  Prefactor     2.8302        3.0325        .83166E-07   -.10420E-04
   9  norm          15.990        5.9481       -.33954E-07    .11379E-04
  10  Prefactor     4.2698        5.8885        .30293E-05   -.44560E-03
  11  Prefactor     27.623        30.496       -.21829E-07    .66961E-07
  12  Prefactor     .10000E-03    5.1465        .70001E-07** at limit **
  13  Prefactor     10.563        5.0914        .64877E-07    .20346E-04
  14  Prefactor     61.893        74.501        .48444E-06    .23390E-04
  15  norm          .10000E-03    4.5281        .48130E-07** at limit **
  16  Prefactor     .90443        2.2355        .60865E-06    .26266E-04
  17  Prefactor     .10000E-03    7.4270       -.23754E-07** at limit **
  18  Prefactor     4.6268        4.4122       -.22868E-06   -.31366E-03
  19  Prefactor     .10000E-03    10.122       -.79805E-08** at limit **
  20  Prefactor     5.6864        9.6375        .13474E-06   -.33445E-04
  21  Prefactor     .10000E-03    42.542       -.71943E-07** at limit **
  22  Prefactor     4.8451        4.6858        .57625E-07    .22934E-05
  23  Prefactor     25.074        30.721        .12646E-06    .96030E-05
  24  Prefactor     .10000E-03    6.3341        .65567E-07** at limit **
  25  Normalizat    .84537        .18099       -.18638E-06   -.43096E-04
  26  Prefactor     .93710        .13797       -.55502E-07   -.31646E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1091
  Prefactor  = 0.000100001
  norm       = 10.2819
  Prefactor  = 77.4068
  Prefactor  = 0.0001
  Prefactor  = 10.0353
  Prefactor  = 0.0001
  Prefactor  = 2.83018
  norm       = 15.9897
  Prefactor  = 4.26985
  Prefactor  = 27.6225
  Prefactor  = 0.0001
  Prefactor  = 10.5634
  Prefactor  = 61.8933
  norm       = 0.0001
  Prefactor  = 0.904426
  Prefactor  = 0.0001
  Prefactor  = 4.62684
  Prefactor  = 0.0001
  Prefactor  = 5.68645
  Prefactor  = 0.0001
  Prefactor  = 4.8451
  Prefactor  = 25.0735
  Prefactor  = 0.0001
  Normalizat = 0.845367
  Prefactor  = 0.937103
 **********
 **   18 **HESSE 
 **********

 FCN=   6492.144     FROM HESSE     STATUS=OK           462 CALLS     3514 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.109        5.2925        .12017E-03   -1.5041    
   2  Prefactor     .10000E-03    84.570        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.282        3.0040        .72719E-04   -1.5067    
   4  Prefactor     77.407        53.188        .22815E-03   -1.3946    
   5  Prefactor     .10000E-03    4.1045        .15870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.035        27.530        .12644E-03   -1.5074    
   7  Prefactor     .10000E-03    27.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.8302        3.0265        .14010E-03   -1.5371    
   9  norm          15.990        5.9416        .10016E-03   -1.4908    
  10  Prefactor     4.2698        5.9811        .97497E-03   -1.5295    
  11  Prefactor     27.623        30.506        .76227E-04   -1.4656    
  12  Prefactor     .10000E-03    5.1750        .17828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.563        5.0971        .11782E-03   -1.5058    
  14  Prefactor     61.893        74.515        .51005E-04   -1.4133    
  15  norm          .10000E-03    4.6008        .16743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .90443        2.1088        .18089E-02   -1.5518    
  17  Prefactor     .10000E-03    7.4273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.6268        4.4271        .15811E-03   -1.5278    
  19  Prefactor     .10000E-03    10.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6864        9.6405        .16846E-03   -1.5231    
  21  Prefactor     .10000E-03    42.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.8451        4.6820        .16710E-03   -1.5268    
  23  Prefactor     25.074        30.726        .80003E-04   -1.4706    
  24  Prefactor     .10000E-03    6.3456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .84537        .20553        .27729E-03   -.98407    
  26  Prefactor     .93710        .15798        .21273E-03   -.94856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.62725e-10
Minuit parameter uncertainties:
  1  5.2927
  2  0.000474666
  3  3.00402
  4  53.2207
  5  1.79919e-06
  6  27.5647
  7  8.5034e-05
  8  3.02663
  9  5.94183
  10  5.98191
  11  30.5234
  12  4.12081e-06
  13  5.09735
  14  74.6278
  15  7.13186e-08
  16  2.10898
  17  3.70736e-06
  18  4.42741
  19  2.44294e-06
  20  9.64311
  21  2.28173e-05
  22  4.68234
  23  30.7449
  24  2.66699e-06
  25  0.205716
  26  0.158054
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  4.121e-06  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:  9.371e-01  1.581e-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:  8.454e-01  2.057e-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: 8.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/150902/likelihoodResults_601948801_602208001_4FGL_J2203.3-5009_daily_bin1399.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) = 6492.14487302
delta logL = -0.00092094320371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6492.14395209
delta logL = -1.79261405719e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7464       1.0000          .0000       10.000    
     3 'Normalizat'    .84535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93713       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=   6492.135     FROM MIGRAD    STATUS=CONVERGED    174 CALLS      324 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23745E-01    1.4845        .13161E-01   -.29459E-02
   2  Index         5.8977        4.0906        .50000        .21631E-04
   3  Normalizat    .83739        .18384E-01    .27729E-03   -.11049E-03
   4  Prefactor     .94079        .14778E-01    .21273E-03   -.21030E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0237452
  Index      = 5.89774
  Normalizat = 0.83739
  Prefactor  = 0.940789
 **********
 **   18 **HESSE 
 **********

 FCN=   6492.135     FROM HESSE     STATUS=OK            31 CALLS      355 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23745E-01    .77226        .46574E-03   -1.5739    
   2  Index         5.8977        7.8330        .18768E-01    .18053    
   3  Normalizat    .83739        .20147        .11092E-04   -.98696    
   4  Prefactor     .94079        .15803        .42546E-04   -.94730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49749e-10
Minuit parameter uncertainties:
  1  0.270266
  2  7.11123
  3  0.201652
  4  0.158106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/150902': 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) = 6492.13547111
delta logL = 0.00848096547998

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  2.375e-02  2.703e-01  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  5.898e+00  7.111e+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:  9.408e-01  1.581e-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:  8.374e-01  2.017e-01  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/150902/cmap_HighResolution_601948801_602208001_4FGL_J2203.3-5009_daily_bin1399.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2021-09-28 03:25:16.527613', job_id='150902', GAL2='0.94', fit_tolerance='1e-08', EG2='0.84', EG='0.85', time_epoch_completed='1632824716.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.48e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1399' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:25:16 PDT 2021


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

Job <4FGL_J2203.3-5009_daily_bin1399> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 03:10:37 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 03:10:39 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:39 2021
Terminated at Tue Sep 28 03:25:17 2021
Results reported at Tue Sep 28 03:25:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1399 330.832 -50.1512 601948801 602208001 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 :                                   743.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            880 sec.

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

