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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin829
RA = 330.832, Dec = -50.1512
tmin = 454204801, tmax = 454464001
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='147894', job_status='RUN', time_executed='2021-09-28 03:02:27.413923', time_epoch_executed='1632823347.41' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='829'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147894

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147894/ft1_4FGL_J2203.3-5009_daily_bin829.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147894/ft2_4FGL_J2203.3-5009_daily_bin829.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147894/ft1_4FGL_J2203.3-5009_daily_bin829.fits outfile=/scratch/kocevski/147894/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin829.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=454204801.0 tmax=454464001.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.53
user 3.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/147894/ft2_4FGL_J2203.3-5009_daily_bin829.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/147894/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin829.fits evtable="EVENTS" outfile="/scratch/kocevski/147894/ft1_filtered_4FGL_J2203.3-5009_daily_bin829.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147894/ft1_filtered_4FGL_J2203.3-5009_daily_bin829.fits" evtable="EVENTS" scfile=/scratch/kocevski/147894/ft2_4FGL_J2203.3-5009_daily_bin829.fits sctable="SC_DATA" outfile=/scratch/kocevski/147894/ltcube_454204801_454464001_4FGL_J2203.3-5009_daily_bin829.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/147894/ft2_4FGL_J2203.3-5009_daily_bin829.fits
.....................!
real 12.18
user 11.80
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147894/ft1_filtered_4FGL_J2203.3-5009_daily_bin829.fits evtable="EVENTS" scfile=/scratch/kocevski/147894/ft2_4FGL_J2203.3-5009_daily_bin829.fits sctable="SC_DATA" expcube=/scratch/kocevski/147894/ltcube_454204801_454464001_4FGL_J2203.3-5009_daily_bin829.fits outfile=/scratch/kocevski/147894/expmap_454204801_454464001_4FGL_J2203.3-5009_daily_bin829.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/147894/ltcube_454204801_454464001_4FGL_J2203.3-5009_daily_bin829.fits
.....................!
real 190.91
user 185.31
sys 5.26

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/147894/ft1_filtered_4FGL_J2203.3-5009_daily_bin829.fits scfile=/scratch/kocevski/147894/ft2_4FGL_J2203.3-5009_daily_bin829.fits outfile=/scratch/kocevski/147894/cmap_454204801_454464001_4FGL_J2203.3-5009_daily_bin829.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.37
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.937       1.0000         .10000E-03   10000.    
     3 'norm      '    6.3077       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.035       1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.848       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5993       1.0000         .10000E-03   10000.    
     9 'norm      '    3.8684       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.2099       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    64.207       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10386E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.8335       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9291       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10643E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.6256       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .43590E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.7706       1.0000         .10000E-03   10000.    
    23 'Prefactor '    80.698       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.0934       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1595       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0602       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=   6201.831     FROM MIGRAD    STATUS=CONVERGED   1083 CALLS     4015 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1393        .11194E-02** at limit **
   2  Prefactor     39.951        26.738        .63428E-04   -.35669E-04
   3  norm          6.3077        3.0629        .91650E-04    .13769E-03
   4  Prefactor     .10000E-03    19.855        .18142E-02** at limit **
   5  Prefactor     .10000E-03    3.0364        .13370E-02** at limit **
   6  Prefactor     16.041        23.968        .10002E-03    .32167E-04
   7  Prefactor     33.841        27.857        .68878E-04   -.79127E-04
   8  Prefactor     1.5991        3.5452        .21330E-03    .47560E-03
   9  norm          3.8682        3.3474        .12857E-03    .38818E-04
  10  Prefactor     6.2102        7.7687        .16109E-03    .86239E-04
  11  Prefactor     .10000E-03    20.707        .18142E-02** at limit **
  12  Prefactor     .10000E-03    3.0039        .13315E-02** at limit **
  13  Prefactor     .10000E-03    1.3144        .87959E-03** at limit **
  14  Prefactor     64.214        84.425        .50082E-04    .22337E-04
  15  norm          .10000E-03    5.8120        .18142E-02** at limit **
  16  Prefactor     .10001E-03    12.023        .30508E-02** at limit **
  17  Prefactor     4.8411        129.89        .18298E-03    .41504E-04
  18  Prefactor     3.9285        6.8915        .20352E-03    .32756E-03
  19  Prefactor     .10000E-03    78.657        .18142E-02** at limit **
  20  Prefactor     6.6241        13.451        .15590E-03   -.87727E-04
  21  Prefactor     .10047E-03    104.13        .24451    ** at limit **
  22  Prefactor     8.7708        8.1215        .13535E-03    .14246E-03
  23  Prefactor     80.695        48.638        .44709E-04   -.11748E-04
  24  Prefactor     1.0757        43.838        .45656E-03    .11559E-03
  25  Normalizat    1.1595        .24059        .28232E-03    .55728E-03
  26  Prefactor     1.0602        .17883        .22588E-03   -.57326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 39.9513
  norm       = 6.30767
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0408
  Prefactor  = 33.8412
  Prefactor  = 1.59911
  norm       = 3.86817
  Prefactor  = 6.21016
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 64.2141
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 4.84107
  Prefactor  = 3.92853
  Prefactor  = 0.0001
  Prefactor  = 6.62406
  Prefactor  = 0.000100473
  Prefactor  = 8.77077
  Prefactor  = 80.6952
  Prefactor  = 1.07565
  Normalizat = 1.15949
  Prefactor  = 1.06017
 **********
 **   18 **HESSE 
 **********

 FCN=   6201.831     FROM HESSE     STATUS=OK           440 CALLS     4455 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1395        .22388E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.951        26.736        .25371E-05   -1.4443    
   3  norm          6.3077        3.0628        .36660E-05   -1.5206    
   4  Prefactor     .10000E-03    19.855        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.0367        .26741E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.041        23.967        .40008E-05   -1.4907    
   7  Prefactor     33.841        27.856        .13776E-04   -1.4544    
   8  Prefactor     1.5991        3.5449        .85318E-05   -1.5455    
   9  norm          3.8682        3.3474        .51428E-05   -1.5315    
  10  Prefactor     6.2102        7.7687        .64437E-05   -1.5210    
  11  Prefactor     .10000E-03    20.708        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.0040        .26630E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.3144        .17592E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     64.214        84.428        .10016E-04   -1.4104    
  15  norm          .10000E-03    5.8134        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    12.118        .61017E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.8411        129.79        .73192E-05   -1.5268    
  18  Prefactor     3.9285        6.8904        .81409E-05   -1.5312    
  19  Prefactor     .10000E-03    78.687        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.6241        13.448        .62359E-05   -1.5193    
  21  Prefactor     .10047E-03    104.60        .24361       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.7708        8.1213        .54139E-05   -1.5116    
  23  Prefactor     80.695        48.639        .89418E-05   -1.3909    
  24  Prefactor     1.0757        43.833        .18263E-04   -1.5501    
  25  Normalizat    1.1595        .24067        .56464E-04   -.87864    
  26  Prefactor     1.0602        .17896        .90353E-05   -.90750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08088e-09
Minuit parameter uncertainties:
  1  1.53954e-05
  2  26.7443
  3  3.06292
  4  9.83599e-05
  5  2.29809e-05
  6  23.9816
  7  27.867
  8  3.54537
  9  3.34754
  10  7.76996
  11  9.92462e-06
  12  5.27954e-06
  13  7.71877e-06
  14  84.5857
  15  1.22795e-05
  16  0.0006137
  17  50.2535
  18  6.89176
  19  0.00017943
  20  13.4545
  21  0.0140945
  22  8.12235
  23  48.6627
  24  13.7432
  25  0.240901
  26  0.179064
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  5.280e-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:  1.060e+00  1.791e-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.159e+00  2.409e-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: 7.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/147894/likelihoodResults_454204801_454464001_4FGL_J2203.3-5009_daily_bin829.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) = 6201.83272219
delta logL = -0.00157576476522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6201.83114641
delta logL = 1.74413798959e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7315       1.0000          .0000       10.000    
     3 'Normalizat'    1.1595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0602       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=   6201.831     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      248 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.727        .13348E-01** at limit **
   2  Index         2.3484        8.4236        .50000       -.12893E-05
   3  Normalizat    1.1595        .15784E-01    .28232E-03    .55410E-04
   4  Prefactor     1.0602        .12206E-01    .22588E-03    .77810E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.34838
  Normalizat = 1.15948
  Prefactor  = 1.06018
 **********
 **   18 **HESSE 
 **********

 FCN=   6201.831     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      275 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    279.47        .13771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3484        8.5062        .50000       -.55898    
   3  Normalizat    1.1595        .54789E-01    .11293E-04   -.87864    
   4  Prefactor     1.0602        .42374E-01    .90353E-05   -.90750    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.33844e-07
Minuit parameter uncertainties:
  1  2.18656e-05
  2  1213.98
  3  0.0547921
  4  0.0423749
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147894': 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): 102
logL (Free Index) = 6201.83114534
delta logL = 1.08745189209e-06

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  2.187e-05  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.348e+00  1.214e+03  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.060e+00  4.237e-02  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.159e+00  5.479e-02  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/147894/cmap_HighResolution_454204801_454464001_4FGL_J2203.3-5009_daily_bin829.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', job_status='DONE', photon_flux_upper_limit='7.21e-08', time_completed='2021-09-28 03:15:41.516511', job_id='147894', GAL2='1.06', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1632824141.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.09e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='829' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:15:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 147894: <4FGL_J2203.3-5009_daily_bin829> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin829> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 03:00:28 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 03:00:30 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:00:30 2021
Terminated at Tue Sep 28 03:15:42 2021
Results reported at Tue Sep 28 03:15:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin829 330.832 -50.1512 454204801 454464001 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 :                                   793.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            914 sec.

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

