aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 65 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 = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1769
RA = 330.832, Dec = -50.1512
tmin = 697852801, tmax = 698112001
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='445265', job_status='RUN', time_executed='2023-02-15 01:31:47.765197', time_epoch_executed='1676453507.77' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445265

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445265/ft1_4FGL_J2203.3-5009_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445265/ft2_4FGL_J2203.3-5009_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445265/ft1_4FGL_J2203.3-5009_daily_bin1769.fits outfile=/scratch/kocevski/445265/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1769.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.41
user 4.16
sys 0.21

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

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

Number of photons that the gtmktime cut: 574

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445265/ft1_filtered_4FGL_J2203.3-5009_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/445265/ft2_4FGL_J2203.3-5009_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/445265/ltcube_697852801_698112001_4FGL_J2203.3-5009_daily_bin1769.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/445265/ft2_4FGL_J2203.3-5009_daily_bin1769.fits
.....................!
real 11.99
user 11.66
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445265/ft1_filtered_4FGL_J2203.3-5009_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/445265/ft2_4FGL_J2203.3-5009_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/445265/ltcube_697852801_698112001_4FGL_J2203.3-5009_daily_bin1769.fits outfile=/scratch/kocevski/445265/expmap_697852801_698112001_4FGL_J2203.3-5009_daily_bin1769.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/445265/ltcube_697852801_698112001_4FGL_J2203.3-5009_daily_bin1769.fits
.....................!
real 190.95
user 186.22
sys 4.19

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445265/ft1_filtered_4FGL_J2203.3-5009_daily_bin1769.fits scfile=/scratch/kocevski/445265/ft2_4FGL_J2203.3-5009_daily_bin1769.fits outfile=/scratch/kocevski/445265/cmap_HighResolution_697852801_698112001_4FGL_J2203.3-5009_daily_bin1769.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/445265/ft1_filtered_4FGL_J2203.3-5009_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/445265/ft2_4FGL_J2203.3-5009_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/445265/Model_4FGL_J2203.3-5009_daily_bin1769.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/445265/ft1_filtered_4FGL_J2203.3-5009_daily_bin1769.fits.....................!
real 48.90
user 47.71
sys 1.05

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34580E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.010       1.0000          .0000       .10000E+07
     3 'norm      '    4.4356       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24107E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .15856E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .64090E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.8276       1.0000          .0000       .10000E+07
     8 'norm      '    7.0589       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4580       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11023E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1308       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1474       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.0391       1.0000          .0000       .10000E+07
    14 'norm      '    4.2221       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12498E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .47995E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .15566E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .14484E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .23296E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .33909E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    .77060       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0207       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=   6268.316     FROM MIGRAD    STATUS=CONVERGED    620 CALLS     2305 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9802        .76317E-09** at limit **
   2  Prefactor     11.983        17.952        .42147E-06    .40333E-02
   3  norm          4.4358        1.9716       -.10410E-08   -.45922E-03
   4  Prefactor      .0000        4.9476       -.13534E-10** at limit **
   5  Prefactor      .0000        30.863       -.24938E-08** at limit **
   6  Prefactor      .0000        7.7383       -.35438E-08** at limit **
   7  Prefactor     2.8417        4.4308        .25484E-07   -.21649E-02
   8  norm          7.0110        4.2431        .75541E-09   -.14017E-03
   9  Prefactor     4.4573        5.1268        .14446E-06   -.12520E-01
  10  Prefactor      .0000        13.915        .18184E-09** at limit **
  11  Prefactor     9.3596        8.2851        .14172E-07   -.10681E-03
  12  Prefactor     3.1516        3.1946        .72812E-08   -.94494E-03
  13  Prefactor     .10547E-08    3698.2        .31879E-07** at limit **
  14  norm          4.2554        4.7769        .49723E-09    .35908E-04
  15  Prefactor      .0000        1.8484       -.17414E-09** at limit **
  16  Prefactor      .0000        26.278        .51462E-08** at limit **
  17  Prefactor      .0000        1.4815       -.92819E-10** at limit **
  18  Prefactor     21.993        23.996        .13130E-06    .12876E-02
  19  Prefactor      .0000        3.1527        .11290E-08** at limit **
  20  Prefactor      .0000        10.223        .56394E-08** at limit **
  21  Prefactor      .0000        7.5098        .32953E-08** at limit **
  22  Normalizat    .77049        .17000       -.38542E-06   -.18675E-04
  23  Prefactor     1.0210        .13337       -.43828E-06    .25636E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.9834
  norm       = 4.43577
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.84173
  norm       = 7.01103
  Prefactor  = 4.45732
  Prefactor  = 0
  Prefactor  = 9.35962
  Prefactor  = 3.15162
  Prefactor  = 1.05471e-09
  norm       = 4.25537
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 21.9929
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.770488
  Prefactor  = 1.021
 **********
 **   18 **HESSE 
 **********

 FCN=   6268.316     FROM HESSE     STATUS=OK           368 CALLS     2673 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9892        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.983        19.137        .11552E-04   -1.5639    
   3  norm          4.4358        1.9721        .71868E-05   -1.5666    
   4  Prefactor      .0000        4.9650        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        30.913        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        7.7413        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8417        4.4329        .19582E-04   -1.5674    
   8  norm          7.0110        4.2460        .12262E-04   -1.5655    
   9  Prefactor     4.4573        6.3636        .95334E-04   -1.5666    
  10  Prefactor      .0000        13.919        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.3596        8.2372        .13258E-04   -1.5647    
  12  Prefactor     3.1516        3.1847        .13554E-04   -1.5672    
  13  Prefactor     .10547E-08    3739.9        .10030E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.2554        4.7751        .17864E-04   -1.5667    
  15  Prefactor      .0000        1.8582        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        26.392        .31243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.4828        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.993        24.290        .85564E-05   -1.5614    
  19  Prefactor      .0000        3.1552        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        10.224        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        7.5201        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .77049        .19668        .27006E-03   -1.0117    
  23  Prefactor     1.0210        .15445        .19253E-03   -.92033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95744e-09
Minuit parameter uncertainties:
  1  3.53328e-06
  2  19.1369
  3  1.97211
  4  2.03525e-06
  5  7.00245e-06
  6  3.22048e-06
  7  4.4329
  8  4.24599
  9  6.3636
  10  8.83643e-07
  11  8.2372
  12  3.18468
  13  0.00395525
  14  4.77507
  15  1.02204e-06
  16  2.5688e-05
  17  8.25028e-07
  18  24.2905
  19  1.43487e-06
  20  4.62764e-06
  21  3.37051e-06
  22  0.196865
  23  0.154519
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  9.360e+00  8.237e+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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.021e+00  1.545e-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:  7.705e-01  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.72
Ra Dec: 330.832 -50.151
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 4.60e-08 +/- 4.05e-08
Energy Flux (Fixed Index): 1.08e-05 +/- 9.46e-06

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

Saving results to:
/scratch/kocevski/445265/likelihoodResults_697852801_698112001_4FGL_J2203.3-5009_daily_bin1769.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) = 6268.17739026
delta logL = 0.138157272714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6268.1617452
delta logL = 0.153802332994

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0839       1.0000          .0000       .10000E+07
     2 'Index     '    3.4939       1.0000          .0000       10.000    
     3 'Normalizat'    .74808       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0349       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=   6268.162     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      268 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0831        35.275        .13352E-04   -.19182E-01
   2  Index         3.4940        3.8199        .76959E-02   -.33891E-03
   3  Normalizat    .74808        .20142        .27392E-03   -.47734E-03
   4  Prefactor     1.0349        .16230        .19140E-03   -.60396E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.08314
  Index      = 3.49395
  Normalizat = 0.748079
  Prefactor  = 1.03487
 **********
 **   18 **HESSE 
 **********

 FCN=   6268.162     FROM HESSE     STATUS=OK            23 CALLS      291 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0831        10.699        .53408E-06   -1.5663    
   2  Index         3.4940        1.7274        .30783E-03   -.30596    
   3  Normalizat    .74808        .19273        .54784E-04   -1.0202    
   4  Prefactor     1.0349        .15380        .38281E-04   -.91576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24164e-09
Minuit parameter uncertainties:
  1  10.6988
  2  1.76759
  3  0.192901
  4  0.15387
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445265': 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) = 6268.16174519
delta logL = 0.153802346906

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  5.083e+00  1.070e+01  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  3.494e+00  1.768e+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:  1.035e+00  1.539e-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:  7.481e-01  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.08
Ra Dec: 330.832 -50.151
Photon Index (Free Index): 3.49 +/- 1.77
Photon Flux (Free Index): 5.94e-08 +/- 4.92e-08
Energy Flux (Free Index): 9.91e-06 +/- 8.33e-06

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/445265/cmap_HighResolution_697852801_698112001_4FGL_J2203.3-5009_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', photon_flux='4.60e-08', energy_flux2='9.91e-06', photon_flux_error='4.05e-08', dlogl='1.54e-01', energy_flux='1.08e-05', photon_flux2='5.94e-08', job_status='DONE', time_completed='2023-02-15 01:41:58.934562', photon_index_error2='1.77', photon_index2='3.49', ts='1.72', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='8.33e-06', EG='0.77', time_epoch_completed='1676454118.93', return_code='0', job_id='445265', GAL2='1.03', EG2='0.75', return_code2='0', energy_flux_error='9.46e-06', photon_flux_error2='4.92e-08', ts2='2.08', photon_index='2.74' WHERE bin_id='1769' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:41:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 445265: <4FGL_J2203.3-5009_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1769> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Feb 15 01:30:23 2023
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:30:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:30:24 2023
Terminated at Wed Feb 15 01:41:59 2023
Results reported at Wed Feb 15 01:41:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1769 330.832 -50.1512 697852801 698112001 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 :                                   613.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            696 sec.

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

