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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1320
RA = 330.832, Dec = -50.1512
tmin = 581472001, tmax = 581731201
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='150763', job_status='RUN', time_executed='2021-09-28 03:11:12.398228', time_epoch_executed='1632823872.4' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/150763

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/150763/ft1_4FGL_J2203.3-5009_daily_bin1320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/150763/ft2_4FGL_J2203.3-5009_daily_bin1320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/150763/ft1_4FGL_J2203.3-5009_daily_bin1320.fits outfile=/scratch/kocevski/150763/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1320.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=581472001.0 tmax=581731201.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.26
user 2.56
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/150763/ft2_4FGL_J2203.3-5009_daily_bin1320.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/150763/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1320.fits evtable="EVENTS" outfile="/scratch/kocevski/150763/ft1_filtered_4FGL_J2203.3-5009_daily_bin1320.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/150763/ft1_filtered_4FGL_J2203.3-5009_daily_bin1320.fits" evtable="EVENTS" scfile=/scratch/kocevski/150763/ft2_4FGL_J2203.3-5009_daily_bin1320.fits sctable="SC_DATA" outfile=/scratch/kocevski/150763/ltcube_581472001_581731201_4FGL_J2203.3-5009_daily_bin1320.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/150763/ft2_4FGL_J2203.3-5009_daily_bin1320.fits
.....................!
real 12.70
user 12.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/150763/ft1_filtered_4FGL_J2203.3-5009_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/150763/ft2_4FGL_J2203.3-5009_daily_bin1320.fits sctable="SC_DATA" expcube=/scratch/kocevski/150763/ltcube_581472001_581731201_4FGL_J2203.3-5009_daily_bin1320.fits outfile=/scratch/kocevski/150763/expmap_581472001_581731201_4FGL_J2203.3-5009_daily_bin1320.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/150763/ltcube_581472001_581731201_4FGL_J2203.3-5009_daily_bin1320.fits
.....................!
real 192.87
user 187.12
sys 5.34

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/150763/ft1_filtered_4FGL_J2203.3-5009_daily_bin1320.fits scfile=/scratch/kocevski/150763/ft2_4FGL_J2203.3-5009_daily_bin1320.fits outfile=/scratch/kocevski/150763/cmap_581472001_581731201_4FGL_J2203.3-5009_daily_bin1320.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/150763/ft1_filtered_4FGL_J2203.3-5009_daily_bin1320.fits scfile=/scratch/kocevski/150763/ft2_4FGL_J2203.3-5009_daily_bin1320.fits outfile=/scratch/kocevski/150763/cmap_HighResolution_581472001_581731201_4FGL_J2203.3-5009_daily_bin1320.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/150763/ft1_filtered_4FGL_J2203.3-5009_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/150763/ft2_4FGL_J2203.3-5009_daily_bin1320.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/150763/Model_4FGL_J2203.3-5009_daily_bin1320.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/150763/ft1_filtered_4FGL_J2203.3-5009_daily_bin1320.fits.....................!
real 55.74
user 54.39
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2438       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2059       1.0000         .10000E-03   10000.    
     3 'norm      '    21.261       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8414       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3478       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8139       1.0000         .10000E-03   10000.    
     9 'norm      '    8.5581       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.651       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7166       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11413E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    91.377       1.0000         .10000E-03   10000.    
    15 'norm      '    5.2613       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.8234       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.803       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.580       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10469E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.1169       1.0000         .10000E-03   10000.    
    23 'Prefactor '    56.557       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.5723       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .88275       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=   7372.803     FROM MIGRAD    STATUS=CONVERGED    621 CALLS     3306 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2417        6.2334        .21052E-06   -.23080E-04
   2  Prefactor     5.3523        38.474        .13937E-06   -.72509E-06
   3  norm          21.260        4.6118       -.14919E-06    .17951E-03
   4  Prefactor     .10000E-03    18.730        .75595E-06** at limit **
   5  Prefactor     1.8453        10.600        .11336E-04   -.18763E-03
   6  Prefactor     .10000E-03    35.486       -.14774E-05** at limit **
   7  Prefactor     1.3425        55.596       -.75745E-07   -.20590E-04
   8  Prefactor     3.8156        4.5227       -.18155E-06   -.32833E-03
   9  norm          8.5590        4.8143        .13013E-06   -.91154E-04
  10  Prefactor     .10000E-03    3.1049       -.18443E-07** at limit **
  11  Prefactor     35.650        45.676       -.22878E-05   -.18900E-03
  12  Prefactor     1.7143        18.658        .10255E-04    .16347E-03
  13  Prefactor     .10000E-03    2.3477        .90552E-06** at limit **
  14  Prefactor     91.485        123.40       -.18391E-04   -.84509E-04
  15  norm          5.2612        4.9290       -.22951E-06    .53573E-04
  16  Prefactor     7.8238        5.3455        .52073E-06   -.49610E-03
  17  Prefactor     30.815        38.710       -.61635E-06    .21140E-04
  18  Prefactor     .10007E-03    4.9067        .34475E-05** at limit **
  19  Prefactor     18.596        29.050        .39190E-06   -.26059E-03
  20  Prefactor     .10000E-03    6.5721        .64638E-07** at limit **
  21  Prefactor     .10000E-03    30.844        .13618E-05** at limit **
  22  Prefactor     8.1175        7.4766        .16805E-06   -.57209E-04
  23  Prefactor     56.568        43.903       -.20904E-06   -.48779E-04
  24  Prefactor     .10000E-03    6.1497        .16415E-07** at limit **
  25  Normalizat    1.5725        .22085       -.23383E-05   -.72972E-03
  26  Prefactor     .88267        .15764        .57182E-06   -.56832E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.24172
  Prefactor  = 5.35231
  norm       = 21.2599
  Prefactor  = 0.0001
  Prefactor  = 1.84532
  Prefactor  = 0.0001
  Prefactor  = 1.34255
  Prefactor  = 3.8156
  norm       = 8.559
  Prefactor  = 0.0001
  Prefactor  = 35.6497
  Prefactor  = 1.71432
  Prefactor  = 0.000100001
  Prefactor  = 91.485
  norm       = 5.26119
  Prefactor  = 7.82385
  Prefactor  = 30.8154
  Prefactor  = 0.000100065
  Prefactor  = 18.5962
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.1175
  Prefactor  = 56.5682
  Prefactor  = 0.0001
  Normalizat = 1.57247
  Prefactor  = 0.882669
 **********
 **   18 **HESSE 
 **********

 FCN=   7372.803     FROM HESSE     STATUS=OK           456 CALLS     3762 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2417        6.2047        .14903E-03   -1.5170    
   2  Prefactor     5.3523        38.071        .17618E-03   -1.5245    
   3  norm          21.260        4.6078        .82394E-04   -1.4785    
   4  Prefactor     .10000E-03    18.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8453        10.921        .15369E-02   -1.5436    
   6  Prefactor     .10000E-03    35.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.3425        56.499        .37705E-03   -1.5476    
   8  Prefactor     3.8156        4.5091        .18921E-03   -1.5317    
   9  norm          8.5590        4.8153        .13696E-03   -1.5123    
  10  Prefactor     .10000E-03    3.1100        .14776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.650        45.604        .67118E-04   -1.4513    
  12  Prefactor     1.7143        18.379        .32071E-03   -1.5446    
  13  Prefactor     .10000E-03    8.1072        .24394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     91.485        124.07        .21019E-03   -1.3792    
  15  norm          5.2612        4.9299        .17523E-03   -1.5249    
  16  Prefactor     7.8238        5.3604        .14336E-03   -1.5148    
  17  Prefactor     30.815        38.672        .72193E-04   -1.4597    
  18  Prefactor     .10007E-03    19.197        .33305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.596        28.733        .92918E-04   -1.4845    
  20  Prefactor     .10000E-03    6.6352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    30.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.1175        7.4764        .14072E-03   -1.5138    
  23  Prefactor     56.568        43.785        .53341E-04   -1.4202    
  24  Prefactor     .10000E-03    6.1607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.5725        .25936        .27138E-03   -.75762    
  26  Prefactor     .88267        .18499        .26697E-03   -.96749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.90538e-09
Minuit parameter uncertainties:
  1  6.2053
  2  28.5749
  3  4.60789
  4  9.42834e-05
  5  8.98073
  6  0.000148184
  7  17.4357
  8  4.50951
  9  4.81549
  10  5.04276e-06
  11  45.6491
  12  11.2305
  13  0.000195838
  14  124.422
  15  4.93028
  16  5.36076
  17  38.7034
  18  0.00224336
  19  28.7546
  20  6.92364e-06
  21  0.000193105
  22  7.47723
  23  43.8095
  24  4.95037e-06
  25  0.259584
  26  0.185117
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.714e+00  1.123e+01  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:  8.827e-01  1.851e-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.572e+00  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/150763/likelihoodResults_581472001_581731201_4FGL_J2203.3-5009_daily_bin1320.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) = 7372.08257645
delta logL = 0.720671766239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7372.08046094
delta logL = 0.722787276946

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6051       1.0000         .10000E-03   10000.    
     2 'Index     '    4.6196       1.0000          .0000       10.000    
     3 'Normalizat'    1.4886       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91998       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=   7372.080     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      223 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6064        23.295        .83624E-02    .92926E-03
   2  Index         4.6192        3.5805        .20198        .11228E-03
   3  Normalizat    1.4885        .51757E-01    .62679E-01    .94322E-05
   4  Prefactor     .92001        .39794E-01    .45259E-01    .13518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60636
  Index      = 4.6192
  Normalizat = 1.48852
  Prefactor  = 0.920014
 **********
 **   18 **HESSE 
 **********

 FCN=   7372.080     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      256 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6064        60.899        .91165E-04   -1.5454    
   2  Index         4.6192        7.2348        .75619E-02   -.76234E-01
   3  Normalizat    1.4885        .23637        .27722E-03   -.78102    
   4  Prefactor     .92001        .17580        .26206E-03   -.95445    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.1479e-10
Minuit parameter uncertainties:
  1  19.8025
  2  8.67345
  3  0.236545
  4  0.175912
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/150763': 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) = 7372.08046087
delta logL = 0.72278734768

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.606e+00  1.980e+01  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  4.619e+00  8.673e+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.200e-01  1.759e-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.489e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.58
Ra Dec: 330.832 -50.151
Photon Index (Free Index): 4.62 +/- 8.67
Photon Flux (Free Index): 8.07e-08 +/- 8.73e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.96e-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/150763/cmap_HighResolution_581472001_581731201_4FGL_J2203.3-5009_daily_bin1320.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.66e-03', comment='SUCCESS', energy_flux2='1.11e-05', dlogl='7.23e-01', photon_flux2='8.07e-08', job_status='DONE', time_completed='2021-09-28 03:25:11.636413', photon_index_error2='8.67', photon_index2='4.62', ts='0.03', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.96e-05', EG='1.57', time_epoch_completed='1632824711.64', return_code='0', job_id='150763', GAL2='0.92', EG2='1.49', return_code2='102', photon_flux_error2='8.73e-08', ts2='1.58', photon_index='2.74' WHERE bin_id='1320' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:25:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 150763: <4FGL_J2203.3-5009_daily_bin1320> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1320 330.832 -50.1512 581472001 581731201 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 :                                   830.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            889 sec.

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

