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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1442
RA = 330.832, Dec = -50.1512
tmin = 613094401, tmax = 613353601
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='150971', job_status='RUN', time_executed='2021-09-28 03:11:03.960396', time_epoch_executed='1632823863.96' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1442'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/150971

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/150971/ft1_4FGL_J2203.3-5009_daily_bin1442.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/150971/ft2_4FGL_J2203.3-5009_daily_bin1442.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/150971/ft1_4FGL_J2203.3-5009_daily_bin1442.fits outfile=/scratch/kocevski/150971/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1442.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=613094401.0 tmax=613353601.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 2.95
user 2.72
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/150971/ft2_4FGL_J2203.3-5009_daily_bin1442.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/150971/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1442.fits evtable="EVENTS" outfile="/scratch/kocevski/150971/ft1_filtered_4FGL_J2203.3-5009_daily_bin1442.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/150971/ft1_filtered_4FGL_J2203.3-5009_daily_bin1442.fits" evtable="EVENTS" scfile=/scratch/kocevski/150971/ft2_4FGL_J2203.3-5009_daily_bin1442.fits sctable="SC_DATA" outfile=/scratch/kocevski/150971/ltcube_613094401_613353601_4FGL_J2203.3-5009_daily_bin1442.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/150971/ft2_4FGL_J2203.3-5009_daily_bin1442.fits
.....................!
real 12.40
user 12.05
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/150971/ft1_filtered_4FGL_J2203.3-5009_daily_bin1442.fits evtable="EVENTS" scfile=/scratch/kocevski/150971/ft2_4FGL_J2203.3-5009_daily_bin1442.fits sctable="SC_DATA" expcube=/scratch/kocevski/150971/ltcube_613094401_613353601_4FGL_J2203.3-5009_daily_bin1442.fits outfile=/scratch/kocevski/150971/expmap_613094401_613353601_4FGL_J2203.3-5009_daily_bin1442.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/150971/ltcube_613094401_613353601_4FGL_J2203.3-5009_daily_bin1442.fits
.....................!
real 189.01
user 185.02
sys 3.45

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/150971/ft1_filtered_4FGL_J2203.3-5009_daily_bin1442.fits scfile=/scratch/kocevski/150971/ft2_4FGL_J2203.3-5009_daily_bin1442.fits outfile=/scratch/kocevski/150971/cmap_613094401_613353601_4FGL_J2203.3-5009_daily_bin1442.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/150971/ft1_filtered_4FGL_J2203.3-5009_daily_bin1442.fits scfile=/scratch/kocevski/150971/ft2_4FGL_J2203.3-5009_daily_bin1442.fits outfile=/scratch/kocevski/150971/cmap_HighResolution_613094401_613353601_4FGL_J2203.3-5009_daily_bin1442.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/150971/ft1_filtered_4FGL_J2203.3-5009_daily_bin1442.fits evtable="EVENTS" scfile=/scratch/kocevski/150971/ft2_4FGL_J2203.3-5009_daily_bin1442.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/150971/Model_4FGL_J2203.3-5009_daily_bin1442.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/150971/ft1_filtered_4FGL_J2203.3-5009_daily_bin1442.fits.....................!
real 58.95
user 57.61
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.081       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.848       1.0000         .10000E-03   10000.    
     3 'norm      '    10.987       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.674       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4820       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.683       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.4678       1.0000         .10000E-03   10000.    
     9 'norm      '    .60951       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.802       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.6014       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .29849E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.4175       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.9125       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10757E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.4853       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.9620       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.662       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12221E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    22.094       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1282       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1339       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=   8083.285     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     2591 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.082        6.2326       -.10876E-05   -.17158E-02
   2  Prefactor     16.855        1.1066       -.65723E-07    .24113E-03
   3  norm          10.985        3.5875       -.33903E-07   -.20156E-03
   4  Prefactor     31.664        2.0050       -.45261E-06    .34730E-02
   5  Prefactor     8.4815        1.1540        .23718E-06   -.28603E-03
   6  Prefactor     .10000E-03    17.723        .81123E-06** at limit **
   7  Prefactor     24.666        1.7727       -.26401E-06    .96205E-03
   8  Prefactor     3.4678        2.8072        .22142E-05    .21542E-02
   9  norm          .61061        3.5080        .76215E-06    .84267E-04
  10  Prefactor     .10000E-03    2.9495        .11192E-06** at limit **
  11  Prefactor     53.763        5.1433       -.83412E-06    .95979E-02
  12  Prefactor     8.6063        1.0929        .16046E-06    .16613E-03
  13  Prefactor     .10360E-03    131.61       -.85598E-05** at limit **
  14  Prefactor     .10021E-03    46.490        .18918E-05** at limit **
  15  norm          2.4192        4.3644        .55603E-05    .56088E-03
  16  Prefactor     5.9119        3.2619        .86500E-06    .19839E-02
  17  Prefactor     .10000E-03    12.081        .49785E-07** at limit **
  18  Prefactor     5.4883        5.0863        .22938E-05    .71118E-03
  19  Prefactor     4.8860        7.6216       -.31336E-05    .26970E-02
  20  Prefactor     16.673        2.1581        .57525E-06   -.17065E-02
  21  Prefactor     .10007E-03    15.538       -.84126E-06** at limit **
  22  Prefactor     .10000E-03    3.4825       -.23051E-06** at limit **
  23  Prefactor     .10001E-03    14.471       -.22080E-05** at limit **
  24  Prefactor     22.106        1.4209       -.33854E-07   -.26067E-03
  25  Normalizat    1.1283        .22143       -.10364E-05    .50940E-03
  26  Prefactor     1.1340        .17635        .16147E-07    .51780E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.0824
  Prefactor  = 16.8553
  norm       = 10.9852
  Prefactor  = 31.6641
  Prefactor  = 8.4815
  Prefactor  = 0.000100001
  Prefactor  = 24.6664
  Prefactor  = 3.4678
  norm       = 0.610615
  Prefactor  = 0.0001
  Prefactor  = 53.7634
  Prefactor  = 8.60631
  Prefactor  = 0.000103596
  Prefactor  = 0.000100213
  norm       = 2.4192
  Prefactor  = 5.91192
  Prefactor  = 0.0001
  Prefactor  = 5.48828
  Prefactor  = 4.88605
  Prefactor  = 16.6726
  Prefactor  = 0.000100069
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 22.1063
  Normalizat = 1.12833
  Prefactor  = 1.134
 **********
 **   18 **HESSE 
 **********

 FCN=   8083.285     FROM HESSE     STATUS=OK           526 CALLS     3117 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.082        6.3561        .22922E-02   -1.4834    
   2  Prefactor     16.855        27.346        .24394E-02   -1.4887    
   3  norm          10.985        3.6056        .30217E-02   -1.5045    
   4  Prefactor     31.664        59.688        .17799E-02   -1.4582    
   5  Prefactor     8.4815        8.2090        .34411E-02   -1.5125    
   6  Prefactor     .10000E-03    17.686        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.666        29.155        .20157E-02   -1.4714    
   8  Prefactor     3.4678        3.8918        .54289E-02   -1.5336    
   9  norm          .61061        3.4603        .11710E-01   -1.5552    
  10  Prefactor     .10000E-03    2.9417        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.763        35.347        .13671E-02   -1.4240    
  12  Prefactor     8.6063        8.1892        .34170E-02   -1.5121    
  13  Prefactor     .10360E-03    1.9808        .73955E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10021E-03    47.497        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.4192        4.8458        .65816E-02   -1.5397    
  16  Prefactor     5.9119        3.8268        .41287E-02   -1.5222    
  17  Prefactor     .10000E-03    12.083        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.4883        5.2690        .42889E-02   -1.5239    
  19  Prefactor     4.8860        45.047        .45136E-02   -1.5266    
  20  Prefactor     16.673        13.518        .24530E-02   -1.4891    
  21  Prefactor     .10007E-03    29.348        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.4605        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10001E-03    29.925        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     22.106        15.443        .21304E-02   -1.4767    
  25  Normalizat    1.1283        .19810        .67316E-01   -.88847    
  26  Prefactor     1.1340        .15076        .53733E-01   -.88387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24771e-07
Minuit parameter uncertainties:
  1  6.3563
  2  27.3663
  3  3.60565
  4  59.8004
  5  8.21007
  6  0.000233142
  7  29.1722
  8  3.89203
  9  2.9072
  10  1.17371e-05
  11  35.3612
  12  8.19026
  13  0.00533789
  14  0.00636194
  15  4.84661
  16  3.82691
  17  4.63991e-05
  18  5.26948
  19  29.701
  20  13.5208
  21  0.00285196
  22  3.67424e-05
  23  0.00115716
  24  15.4454
  25  0.198233
  26  0.150821
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  8.606e+00  8.190e+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.134e+00  1.508e-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.128e+00  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.77
Ra Dec: 330.832 -50.151
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 4.23e-08 +/- 4.02e-08
Energy Flux (Fixed Index): 9.89e-06 +/- 9.41e-06

TS (Fixed Index): 1.77
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/150971/likelihoodResults_613094401_613353601_4FGL_J2203.3-5009_daily_bin1442.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) = 8082.3655037
delta logL = 0.919514462971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8082.35994467
delta logL = 0.925073493977

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5815       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8543       1.0000          .0000       10.000    
     3 'Normalizat'    1.1571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1180       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=   8082.360     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5757        7.9859        .32366E-02    .18359E-03
   2  Index         1.8539        .38607        .24180       -.12638E-03
   3  Normalizat    1.1571        .18278        .66575E-01    .49832E-04
   4  Prefactor     1.1180        .14653        .54030E-01   -.63695E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.57574
  Index      = 1.85387
  Normalizat = 1.15711
  Prefactor  = 1.11796
 **********
 **   18 **HESSE 
 **********

 FCN=   8082.360     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5757        9.2926        .12946E-03   -1.5089    
   2  Index         1.8539        .55610        .86280E-02   -.68056    
   3  Normalizat    1.1571        .21575        .29453E-03   -.87939    
   4  Prefactor     1.1180        .17288        .23889E-03   -.88895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.46289e-11
Minuit parameter uncertainties:
  1  9.29403
  2  0.558012
  3  0.215919
  4  0.172965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/150971': 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) = 8082.35994438
delta logL = 0.925073788669

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  9.576e+00  9.294e+00  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  1.854e+00  5.580e-01  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.118e+00  1.730e-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.157e+00  2.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.62
Ra Dec: 330.832 -50.151
Photon Index (Free Index): 1.85 +/- 0.56
Photon Flux (Free Index): 2.27e-08 +/- 2.57e-08
Energy Flux (Free Index): 2.32e-05 +/- 2.71e-05

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/150971/cmap_HighResolution_613094401_613353601_4FGL_J2203.3-5009_daily_bin1442.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.23e-08', energy_flux2='2.32e-05', photon_flux_error='4.02e-08', dlogl='9.25e-01', energy_flux='9.89e-06', photon_flux2='2.27e-08', job_status='DONE', time_completed='2021-09-28 03:24:40.987871', photon_index_error2='0.56', photon_index2='1.85', ts='1.77', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='2.71e-05', EG='1.13', time_epoch_completed='1632824680.99', return_code='0', job_id='150971', GAL2='1.12', EG2='1.16', return_code2='0', energy_flux_error='9.41e-06', photon_flux_error2='2.57e-08', ts2='3.62', photon_index='2.74' WHERE bin_id='1442' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:24:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 150971: <4FGL_J2203.3-5009_daily_bin1442> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1442 330.832 -50.1512 613094401 613353601 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 :                                   812.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

