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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1410
RA = 330.832, Dec = -50.1512
tmin = 604800001, tmax = 605059201
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='150921', job_status='RUN', time_executed='2021-09-28 03:12:29.306655', time_epoch_executed='1632823949.31' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/150921

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/150921/ft1_4FGL_J2203.3-5009_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/150921/ft2_4FGL_J2203.3-5009_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/150921/ft1_4FGL_J2203.3-5009_daily_bin1410.fits outfile=/scratch/kocevski/150921/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1410.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=604800001.0 tmax=605059201.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 5.16
user 4.85
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/150921/ft2_4FGL_J2203.3-5009_daily_bin1410.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/150921/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1410.fits evtable="EVENTS" outfile="/scratch/kocevski/150921/ft1_filtered_4FGL_J2203.3-5009_daily_bin1410.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/150921/ft1_filtered_4FGL_J2203.3-5009_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/150921/ft2_4FGL_J2203.3-5009_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/150921/ltcube_604800001_605059201_4FGL_J2203.3-5009_daily_bin1410.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/150921/ft2_4FGL_J2203.3-5009_daily_bin1410.fits
.....................!
real 12.01
user 11.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/150921/ft1_filtered_4FGL_J2203.3-5009_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/150921/ft2_4FGL_J2203.3-5009_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/150921/ltcube_604800001_605059201_4FGL_J2203.3-5009_daily_bin1410.fits outfile=/scratch/kocevski/150921/expmap_604800001_605059201_4FGL_J2203.3-5009_daily_bin1410.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/150921/ltcube_604800001_605059201_4FGL_J2203.3-5009_daily_bin1410.fits
.....................!
real 190.33
user 185.75
sys 4.15

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/150921/ft1_filtered_4FGL_J2203.3-5009_daily_bin1410.fits scfile=/scratch/kocevski/150921/ft2_4FGL_J2203.3-5009_daily_bin1410.fits outfile=/scratch/kocevski/150921/cmap_604800001_605059201_4FGL_J2203.3-5009_daily_bin1410.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=330.832 yref=-50.1512 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/150921/ft1_filtered_4FGL_J2203.3-5009_daily_bin1410.fits scfile=/scratch/kocevski/150921/ft2_4FGL_J2203.3-5009_daily_bin1410.fits outfile=/scratch/kocevski/150921/cmap_HighResolution_604800001_605059201_4FGL_J2203.3-5009_daily_bin1410.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/150921/ft1_filtered_4FGL_J2203.3-5009_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/150921/ft2_4FGL_J2203.3-5009_daily_bin1410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/150921/Model_4FGL_J2203.3-5009_daily_bin1410.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/150921/ft1_filtered_4FGL_J2203.3-5009_daily_bin1410.fits.....................!
real 52.11
user 50.82
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.831       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.2439       1.0000         .10000E-03   10000.    
     3 'norm      '    39.665       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3035       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3016       1.0000         .10000E-03   10000.    
     9 'norm      '    20.688       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3188       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.4622       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1920       1.0000         .10000E-03   10000.    
    17 'Prefactor '    54.874       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.4534       1.0000         .10000E-03   10000.    
    21 'Prefactor '    73.721       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.6955       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.1667       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.5656       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .75870       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=   6375.759     FROM MIGRAD    STATUS=CONVERGED    605 CALLS     3079 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.831        5.1637       -.24587E-07   -.24943E-04
   2  Prefactor     9.2425        14.553       -.67702E-07   -.85325E-05
   3  norm          39.665        5.3682       -.49457E-07   -.14520E-03
   4  Prefactor     .10000E-03    33.349        .36206E-05** at limit **
   5  Prefactor     7.3014        11.757        .23398E-06   -.46878E-03
   6  Prefactor     .10000E-03    67.490        .40138E-04** at limit **
   7  Prefactor     .10000E-03    8.1626        .33755E-07** at limit **
   8  Prefactor     2.3028        5.6390       -.34377E-06   -.12976E-03
   9  norm          20.688        7.6608       -.28373E-06   -.46210E-03
  10  Prefactor     .10000E-03    4.3058        .14622E-07** at limit **
  11  Prefactor     .10000E-03    12.842       -.16332E-06** at limit **
  12  Prefactor     1.3159        3.8435        .19654E-05   -.15559E-02
  13  Prefactor     .10000E-03    5.5429       -.20710E-06** at limit **
  14  Prefactor     .10000E-03    110.68       -.29338E-04** at limit **
  15  norm          6.4628        6.2393        .20216E-07    .70677E-04
  16  Prefactor     2.1924        4.1148        .35527E-07   -.87973E-04
  17  Prefactor     54.874        52.727       -.28462E-06    .15748E-06
  18  Prefactor     .10000E-03    5.8316       -.24193E-07** at limit **
  19  Prefactor     .10000E-03    48.996       -.22892E-04** at limit **
  20  Prefactor     4.4479        15.336       -.51915E-05    .10671E-03
  21  Prefactor     73.747        121.28        .24464E-04    .79506E-04
  22  Prefactor     .10000E-03    4.4632        .28899E-07** at limit **
  23  Prefactor     7.6962        35.010        .43054E-06    .12655E-04
  24  Prefactor     3.1670        25.095       -.14633E-06   -.24855E-05
  25  Normalizat    1.5655        .22346        .26059E-06   -.15414E-04
  26  Prefactor     .75883        .16268       -.66605E-06    .97688E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8308
  Prefactor  = 9.24246
  norm       = 39.6651
  Prefactor  = 0.0001
  Prefactor  = 7.30139
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.30284
  norm       = 20.688
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.31593
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 6.46283
  Prefactor  = 2.19244
  Prefactor  = 54.8736
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.44787
  Prefactor  = 73.7474
  Prefactor  = 0.0001
  Prefactor  = 7.69625
  Prefactor  = 3.16698
  Normalizat = 1.56548
  Prefactor  = 0.758835
 **********
 **   18 **HESSE 
 **********

 FCN=   6375.759     FROM HESSE     STATUS=OK           456 CALLS     3535 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.831        5.1650        .12061E-03   -1.5050    
   2  Prefactor     9.2425        14.561        .13182E-03   -1.5100    
   3  norm          39.665        5.3665        .63643E-04   -1.4448    
   4  Prefactor     .10000E-03    33.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.3014        11.835        .74208E-03   -1.5167    
   6  Prefactor     .10000E-03    67.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.1666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3028        5.6228        .27050E-03   -1.5404    
   9  norm          20.688        7.6681        .88059E-04   -1.4798    
  10  Prefactor     .10000E-03    4.3132        .16181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3159        19.060        .19165E-02   -1.5479    
  13  Prefactor     .10000E-03    5.7265        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    110.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.4628        6.2436        .15788E-03   -1.5199    
  16  Prefactor     2.1924        4.1009        .21169E-03   -1.5412    
  17  Prefactor     54.874        52.722        .54149E-04   -1.4225    
  18  Prefactor     .10000E-03    6.0214        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    49.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4479        15.173        .19081E-03   -1.5286    
  21  Prefactor     73.747        120.66        .46761E-04   -1.3988    
  22  Prefactor     .10000E-03    4.4742        .16474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.6962        35.061        .14455E-03   -1.5153    
  24  Prefactor     3.1670        25.236        .22775E-03   -1.5352    
  25  Normalizat    1.5655        .27173        .27139E-03   -.75955    
  26  Prefactor     .75883        .19271        .27871E-03   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87655e-08
Minuit parameter uncertainties:
  1  5.16524
  2  14.5663
  3  5.36653
  4  4.84042e-05
  5  11.8388
  6  0.000636964
  7  1.67697e-06
  8  5.62406
  9  7.6685
  10  5.49918e-07
  11  8.71429e-07
  12  10.0197
  13  1.51027e-05
  14  0.000661508
  15  6.24422
  16  4.10145
  17  52.7666
  18  8.23473e-06
  19  0.000181461
  20  15.1863
  21  121.068
  22  1.51525e-07
  23  32.8854
  24  17.8898
  25  0.271987
  26  0.192878
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.316e+00  1.002e+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:  7.588e-01  1.929e-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.565e+00  2.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/150921/likelihoodResults_604800001_605059201_4FGL_J2203.3-5009_daily_bin1410.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) = 6375.73053275
delta logL = 0.0283259081398

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6375.72863988
delta logL = 0.0302187829348

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5222       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4295       1.0000          .0000       10.000    
     3 'Normalizat'    1.5530       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76393       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=   6375.729     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      267 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5216        11.753        .33204E-03   -.35951E-04
   2  Index         3.4281        3.1483        .11082E-01   -.10333E-04
   3  Normalizat    1.5531        .26242        .27230E-03   -.10132E-03
   4  Prefactor     .76385        .19174        .27790E-03   -.70242E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.52164
  Index      = 3.42811
  Normalizat = 1.5531
  Prefactor  = 0.763851
 **********
 **   18 **HESSE 
 **********

 FCN=   6375.729     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5216        8.6820        .13281E-04   -1.5461    
   2  Index         3.4281        2.7691        .44329E-03   -.31980    
   3  Normalizat    1.5531        .26285        .54460E-04   -.76297    
   4  Prefactor     .76385        .19195        .11116E-04   -1.0107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04406e-11
Minuit parameter uncertainties:
  1  7.2707
  2  2.9566
  3  0.263085
  4  0.19212
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/150921': 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) = 6375.72863957
delta logL = 0.03021909375

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.522e+00  7.271e+00  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  3.428e+00  2.957e+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:  7.639e-01  1.921e-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.553e+00  2.631e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/150921/cmap_HighResolution_604800001_605059201_4FGL_J2203.3-5009_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.68e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2021-09-28 03:25:54.504591', job_id='150921', GAL2='0.76', fit_tolerance='1e-08', EG2='1.55', EG='1.57', time_epoch_completed='1632824754.5', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='3.02e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1410' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:25:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 150921: <4FGL_J2203.3-5009_daily_bin1410> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1410 330.832 -50.1512 604800001 605059201 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 :                                   776.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            915 sec.

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

