/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 3 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1735
RA = 330.832, Dec = -50.1512
tmin = 689040001, tmax = 689299201
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='866598', job_status='RUN', time_executed='2022-11-05 00:35:33.344962', time_epoch_executed='1667633733.34' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866598

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866598/ft1_4FGL_J2203.3-5009_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866598/ft2_4FGL_J2203.3-5009_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866598/ft1_4FGL_J2203.3-5009_daily_bin1735.fits outfile=/scratch/kocevski/866598/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1735.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=689040001.0 tmax=689299201.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.68
user 3.45
sys 0.21

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

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

Number of photons that the gtmktime cut: 723

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866598/ft1_filtered_4FGL_J2203.3-5009_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866598/ft2_4FGL_J2203.3-5009_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866598/ltcube_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.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/866598/ft2_4FGL_J2203.3-5009_daily_bin1735.fits
.....................!
real 12.10
user 11.77
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866598/ft1_filtered_4FGL_J2203.3-5009_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866598/ft2_4FGL_J2203.3-5009_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866598/ltcube_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.fits outfile=/scratch/kocevski/866598/expmap_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.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/866598/ltcube_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.fits
.....................!
real 191.77
user 186.16
sys 5.17

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/866598/ft1_filtered_4FGL_J2203.3-5009_daily_bin1735.fits scfile=/scratch/kocevski/866598/ft2_4FGL_J2203.3-5009_daily_bin1735.fits outfile=/scratch/kocevski/866598/cmap_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.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/866598/ft1_filtered_4FGL_J2203.3-5009_daily_bin1735.fits scfile=/scratch/kocevski/866598/ft2_4FGL_J2203.3-5009_daily_bin1735.fits outfile=/scratch/kocevski/866598/cmap_HighResolution_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.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/866598/ft1_filtered_4FGL_J2203.3-5009_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866598/ft2_4FGL_J2203.3-5009_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866598/Model_4FGL_J2203.3-5009_daily_bin1735.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/866598/ft1_filtered_4FGL_J2203.3-5009_daily_bin1735.fits.....................!
real 56.65
user 55.26
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866598/ft1_filtered_4FGL_J2203.3-5009_daily_bin1735.fits', '/scratch/kocevski/866598/ft2_4FGL_J2203.3-5009_daily_bin1735.fits', expMap='/scratch/kocevski/866598/expmap_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.fits', expCube='/scratch/kocevski/866598/ltcube_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866598/Model_4FGL_J2203.3-5009_daily_bin1735.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  0.000e+00  1.000e+06 ( 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/866598/ft1_filtered_4FGL_J2203.3-5009_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866598/ft2_4FGL_J2203.3-5009_daily_bin1735.fits
Exposure map: /scratch/kocevski/866598/expmap_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866598/ltcube_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866598/Model_4FGL_J2203.3-5009_daily_bin1735.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) = 7815.37151038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5374       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82693E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .20356E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.9852       1.0000          .0000       .10000E+07
     5 'Prefactor '    .20499E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .24875E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.6970       1.0000          .0000       .10000E+07
     8 'norm      '    13.677       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18407E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    41.613       1.0000          .0000       .10000E+07
    11 'Prefactor '    .76415E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    9.3876       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10280       1.0000          .0000       .10000E+07
    14 'norm      '    .73419E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12938E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4420       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.6579       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.4085       1.0000          .0000       .10000E+07
    20 'Prefactor '    5.3116       1.0000          .0000       .10000E+07
    21 'Prefactor '    .12402E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    .53396       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2577       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7815.256     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1506 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5496        3.6536       -.56331E-07    .31887E-03
   2  Prefactor     .68334E-07    15.001        .45964E-05** at limit **
   3  norm           .0000        1.8294       -.11018E-05** at limit **
   4  Prefactor     6.0009        5.7545        .41859E-06    .85093E-03
   5  Prefactor     .33307E-08    5.5620       -.45141E-06** at limit **
   6  Prefactor     .19595E-07    2.6957       -.15210E-05** at limit **
   7  Prefactor     6.7306        4.3653       -.23755E-06    .17273E-02
   8  norm          13.694        5.0887       -.18339E-06   -.10539E-03
   9  Prefactor     .10936E-06    3.2788       -.25142E-05** at limit **
  10  Prefactor     40.350        29.808       -.74237E-06    .48725E-02
  11  Prefactor     .23892E-06    7.5978        .47909E-05** at limit **
  12  Prefactor     9.3876        3.7907        .17939E-06    .65726E-03
  13  Prefactor     .64782E-07    49.185       -.46431E-05** at limit **
  14  norm           .0000        1.6463       -.44247E-07** at limit **
  15  Prefactor     .24980E-08    5.4597       -.12048E-05** at limit **
  16  Prefactor     .20373E-06    6.0506       -.13974E-05** at limit **
  17  Prefactor     1.4253        4.0748        .23845E-06    .56542E-03
  18  Prefactor     4.4623        1.5491       -.28983E-06    .22224E-02
  19  Prefactor     7.4746        7.1841       -.27316E-06   -.30386E-03
  20  Prefactor     5.4832        1.2196       -.28847E-06   -.57904E-03
  21  Prefactor     .44137E-06    3.2772        .20897E-05** at limit **
  22  Normalizat    .53538        .17917        .12151E-04    .23161E-04
  23  Prefactor     1.2570        .14522       -.47022E-05    .45454E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.54956
  Prefactor  = 6.83342e-08
  norm       = 0
  Prefactor  = 6.00094
  Prefactor  = 3.33067e-09
  Prefactor  = 1.95954e-08
  Prefactor  = 6.73062
  norm       = 13.6943
  Prefactor  = 1.09357e-07
  Prefactor  = 40.3496
  Prefactor  = 2.3892e-07
  Prefactor  = 9.38761
  Prefactor  = 6.47815e-08
  norm       = 0
  Prefactor  = 2.498e-09
  Prefactor  = 2.03726e-07
  Prefactor  = 1.42527
  Prefactor  = 4.46227
  Prefactor  = 7.47462
  Prefactor  = 5.48315
  Prefactor  = 4.41369e-07
  Normalizat = 0.53538
  Prefactor  = 1.25697
 **********
 **   18 **HESSE 
 **********

 FCN=   7815.256     FROM HESSE     STATUS=OK           420 CALLS     1926 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5496        3.6624        .53720E-03   -1.5670    
   2  Prefactor     .68334E-07    15.552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .59686        .25559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.0009        5.7616        .41020E-03   -1.5659    
   5  Prefactor     .33307E-08    11.544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .19595E-07    6.7423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.7306        4.3794        .38751E-03   -1.5656    
   8  norm          13.694        5.0926        .27058E-03   -1.5634    
   9  Prefactor     .10936E-06    6.8193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     40.350        29.858        .15503E-03   -1.5581    
  11  Prefactor     .23892E-06    10.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.3876        3.7938        .32685E-03   -1.5647    
  13  Prefactor     .64782E-07    49.531        .13854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.6453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .24980E-08    5.3787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .20373E-06    12.235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.4253        4.1611        .89786E-03   -1.5684    
  18  Prefactor     4.4623        15.864        .46607E-03   -1.5666    
  19  Prefactor     7.4746        7.1878        .36824E-03   -1.5653    
  20  Prefactor     5.4832        14.749        .43585E-03   -1.5661    
  21  Prefactor     .44137E-06    7.0723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .53538        .16609        .74487E-01   -1.1080    
  23  Prefactor     1.2570        .13127        .33390E-01   -.84596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45209e-07
Minuit parameter uncertainties:
  1  3.66244
  2  0.00206178
  3  3.76602e-06
  4  5.76165
  5  0.00039296
  6  0.00072716
  7  4.37943
  8  5.09264
  9  0.00172693
  10  29.8583
  11  0.0031064
  12  3.7938
  13  0.00358187
  14  4.88217e-06
  15  0.000231111
  16  0.00315749
  17  4.16107
  18  15.8637
  19  7.18783
  20  14.7491
  21  0.00353348
  22  0.166239
  23  0.131306
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  2.389e-07  3.106e-03  0.000e+00  1.000e+06 ( 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.257e+00  1.313e-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:  5.354e-01  1.662e-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: 6.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866598/likelihoodResults_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.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) = 7814.97500711
delta logL = 0.281120618384

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7813.51612861
delta logL = 1.73999911697

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46583E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .46040       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2957       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=   7813.516     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      412 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46555E-03    .33202E-03    .30036E-04** at limit **
   2  Index        10.0000        .56550        .50000    ** at limit **
   3  Normalizat    .46042        .16595        .79833E-01    .62676E-03
   4  Prefactor     1.2958        .13518        .32684E-01    .69548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00046555
  Index      = 10
  Normalizat = 0.460425
  Prefactor  = 1.2958
 **********
 **   18 **HESSE 
 **********

 FCN=   7813.516     FROM HESSE     STATUS=OK            35 CALLS      447 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46555E-03    .36905E-03    .12706E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .87840        .39436        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .46042        .17602        .35357E-03   -1.1429    
   4  Prefactor     1.2958        .14577        .18339E-03   -.83432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55599e-09
Minuit parameter uncertainties:
  1  0.00036905
  2  4.69558e-05
  3  0.176231
  4  0.145816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866598': 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) = 7813.51612599
delta logL = 1.74000173923

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  4.656e-04  3.690e-04  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  1.000e+01  4.696e-05  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.296e+00  1.458e-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:  4.604e-01  1.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.66
Ra Dec: 330.832 -50.151
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.01e-08 +/- 4.62e-08
Energy Flux (Free Index): 6.72e-06 +/- 5.19e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/866598/cmap_HighResolution_689040001_689299201_4FGL_J2203.3-5009_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.47e-03', comment='SUCCESS', energy_flux2='6.72e-06', dlogl='1.74e+00', photon_flux2='6.01e-08', job_status='DONE', time_completed='2022-11-05 00:46:08.600586', photon_index_error2='0.00', photon_index2='10.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='6.93e-08', energy_flux_error2='5.19e-06', EG='0.54', time_epoch_completed='1667634368.6', return_code='0', job_id='866598', GAL2='1.30', EG2='0.46', return_code2='0', photon_flux_error2='4.62e-08', ts2='3.66', photon_index='2.74' WHERE bin_id='1735' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:46:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0137>
Subject: Job 866598: <4FGL_J2203.3-5009_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:19 2022
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:21 2022
Terminated at Sat Nov  5 00:46:09 2022
Results reported at Sat Nov  5 00:46:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1735 330.832 -50.1512 689040001 689299201 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 :                                   637.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             370.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            650 sec.

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

