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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1746
RA = 330.832, Dec = -50.1512
tmin = 691891201, tmax = 692150401
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='740648', job_status='RUN', time_executed='2022-12-08 01:47:35.787214', time_epoch_executed='1670492855.79' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/740648

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/740648/ft1_4FGL_J2203.3-5009_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/740648/ft2_4FGL_J2203.3-5009_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/740648/ft1_4FGL_J2203.3-5009_daily_bin1746.fits outfile=/scratch/kocevski/740648/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1746.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=691891201.0 tmax=692150401.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.75
user 4.46
sys 0.25

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

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

Number of photons that the gtmktime cut: 469

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/740648/ft1_filtered_4FGL_J2203.3-5009_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/740648/ft2_4FGL_J2203.3-5009_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/740648/ltcube_691891201_692150401_4FGL_J2203.3-5009_daily_bin1746.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/740648/ft2_4FGL_J2203.3-5009_daily_bin1746.fits
.....................!
real 11.81
user 11.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/740648/ft1_filtered_4FGL_J2203.3-5009_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/740648/ft2_4FGL_J2203.3-5009_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/740648/ltcube_691891201_692150401_4FGL_J2203.3-5009_daily_bin1746.fits outfile=/scratch/kocevski/740648/expmap_691891201_692150401_4FGL_J2203.3-5009_daily_bin1746.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/740648/ltcube_691891201_692150401_4FGL_J2203.3-5009_daily_bin1746.fits
.....................!
real 189.65
user 184.62
sys 4.70

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/740648/ft1_filtered_4FGL_J2203.3-5009_daily_bin1746.fits scfile=/scratch/kocevski/740648/ft2_4FGL_J2203.3-5009_daily_bin1746.fits outfile=/scratch/kocevski/740648/cmap_691891201_692150401_4FGL_J2203.3-5009_daily_bin1746.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/740648/ft1_filtered_4FGL_J2203.3-5009_daily_bin1746.fits scfile=/scratch/kocevski/740648/ft2_4FGL_J2203.3-5009_daily_bin1746.fits outfile=/scratch/kocevski/740648/cmap_HighResolution_691891201_692150401_4FGL_J2203.3-5009_daily_bin1746.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/740648/ft1_filtered_4FGL_J2203.3-5009_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/740648/ft2_4FGL_J2203.3-5009_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/740648/Model_4FGL_J2203.3-5009_daily_bin1746.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/740648/ft1_filtered_4FGL_J2203.3-5009_daily_bin1746.fits.....................!
real 43.64
user 41.67
sys 1.43

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12114E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30310       1.0000          .0000       .10000E+07
     3 'norm      '    3.8864       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18149E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    133.20       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4860       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1043       1.0000          .0000       .10000E+07
     8 'norm      '    28.036       1.0000          .0000       .10000E+07
     9 'Prefactor '    12.838       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35890       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72730E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.810       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6754       1.0000          .0000       .10000E+07
    14 'norm      '    2.3309       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14105E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    43.342       1.0000          .0000       .10000E+07
    17 'Prefactor '    .51358E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    3.1641       1.0000          .0000       .10000E+07
    19 'Prefactor '    .51573E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    31.495       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.1856       1.0000          .0000       .10000E+07
    22 'Normalizat'    .86000       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1211       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=   5242.472     FROM MIGRAD    STATUS=CONVERGED    206 CALLS     1924 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    20.624        .40815E-06** at limit **
   2  Prefactor     .83267E-09    67.215        .17557E-06** at limit **
   3  norm          3.8916        2.6513        .10690E-07   -.16217E-03
   4  Prefactor     .55511E-10    27.041        .52996E-06** at limit **
   5  Prefactor     136.32        62.175       -.90215E-06    .78067E-01
   6  Prefactor     4.8557        35.410       -.11349E-05    .31443E-01
   7  Prefactor     3.0777        5.7224       -.54984E-07   -.78562E-03
   8  norm          27.851        9.8824        .96077E-07   -.33945E-02
   9  Prefactor     12.969        11.522        .70248E-07   -.84992E-03
  10  Prefactor     .32847E-03    199.16       -.33293E-05** at limit **
  11  Prefactor     .61062E-09    15.300       -.10419E-05** at limit **
  12  Prefactor     13.851        6.9593       -.53479E-07    .22352E-03
  13  Prefactor     11.663        240.09        .70752E-05   -.88560E-02
  14  norm          2.3595        5.8921       -.75076E-08    .36222E-03
  15  Prefactor      .0000        2.3557        .41485E-08** at limit **
  16  Prefactor     43.734        9.1170       -.22133E-06   -.72681E-01
  17  Prefactor      .0000        3.9438       -.35098E-08** at limit **
  18  Prefactor     3.5991        43.714       -.52860E-06   -.56560E-01
  19  Prefactor      .0000        2.4213        .88530E-08** at limit **
  20  Prefactor     30.080        33.526        .24538E-06    .10283    
  21  Prefactor     1.2464        24.798        .82507E-07   -.13006E-03
  22  Normalizat    .85649        .28518       -.23723E-05   -.80251E-05
  23  Prefactor     1.1219        .20836        .11048E-05   -.12363E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 8.32667e-10
  norm       = 3.89155
  Prefactor  = 5.55112e-11
  Prefactor  = 136.321
  Prefactor  = 4.8557
  Prefactor  = 3.07774
  norm       = 27.8514
  Prefactor  = 12.969
  Prefactor  = 0.000328473
  Prefactor  = 6.10623e-10
  Prefactor  = 13.8514
  Prefactor  = 11.6634
  norm       = 2.35952
  Prefactor  = 0
  Prefactor  = 43.7339
  Prefactor  = 0
  Prefactor  = 3.5991
  Prefactor  = 0
  Prefactor  = 30.08
  Prefactor  = 1.24636
  Normalizat = 0.856487
  Prefactor  = 1.1219
 **********
 **   18 **HESSE 
 **********

 FCN=   5242.472     FROM HESSE     STATUS=OK           430 CALLS     2354 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    19.843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .83267E-09    66.209        .10170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8916        2.6582        .51158E-03   -1.5669    
   4  Prefactor     .55511E-10    5.9555        .10025E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     136.32        64.774        .86651E-04   -1.5474    
   6  Prefactor     4.8557        36.942        .47514E-03   -1.5664    
   7  Prefactor     3.0777        5.7605        .57529E-03   -1.5673    
   8  norm          27.851        9.9260        .18890E-03   -1.5602    
   9  Prefactor     12.969        11.512        .27931E-03   -1.5636    
  10  Prefactor     .32847E-03    303.01        .94412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61062E-09    15.090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.851        6.9410        .26928E-03   -1.5634    
  13  Prefactor     11.663        243.66        .38814E-03   -1.5640    
  14  norm          2.3595        5.9167        .67144E-03   -1.5677    
  15  Prefactor      .0000        2.3562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.734        45.294        .15191E-03   -1.5576    
  17  Prefactor      .0000        3.9343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5991        60.178        .56953E-03   -1.5670    
  19  Prefactor      .0000        2.4236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.080        39.958        .17821E-03   -1.5598    
  21  Prefactor     1.2464        24.398        .10476E-02   -1.5686    
  22  Normalizat    .85649        .24494        .71966E-01   -.98006    
  23  Prefactor     1.1219        .17780        .36834E-01   -.88770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93962e-06
Minuit parameter uncertainties:
  1  0.000103748
  2  0.000468884
  3  2.65825
  4  4.05275e-05
  5  64.7742
  6  26.7868
  7  5.76051
  8  9.92598
  9  11.5121
  10  0.630997
  11  0.000190165
  12  6.94103
  13  106.625
  14  5.91672
  15  1.73173e-06
  16  45.2946
  17  6.87116e-06
  18  29.4341
  19  4.8776e-06
  20  39.9581
  21  11.0288
  22  0.245256
  23  0.177897
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  6.106e-10  1.902e-04  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.122e+00  1.779e-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:  8.565e-01  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 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/740648/likelihoodResults_691891201_692150401_4FGL_J2203.3-5009_daily_bin1746.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) = 5242.47441297
delta logL = -0.00214434437476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5242.47227213
delta logL = -3.50237223756e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25063E-04   1.0000          .0000       .10000E+07
     2 'Index     '    3.1129       1.0000          .0000       10.000    
     3 'Normalizat'    .85601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1224       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5242.472     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      236 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5549        .42118E-03** at limit **
   2  Index         1.8968        .85020       -.46404E-05     .0000    
   3  Normalizat    .85649        1.1935       -.97082E-05    .34547E-04
   4  Prefactor     1.1219        1.1352        .92558E-05   -.21810E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.89678
  Normalizat = 0.856488
  Prefactor  = 1.1219
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5242.472     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .37780        1.5928       -.46404E-05   -.66956    
   3  Normalizat    .85649        1.1935       -.97082E-05   -.98006    
   4  Prefactor     1.1219        1.1352        .92558E-05   -.88770    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.34319e-11
Minuit parameter uncertainties:
  1  5.44372e-06
  2  0.857012
  3  1.23348
  4  1.16118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/740648': 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): 101
logL (Free Index) = 5242.47226863
delta logL = 9.09494701773e-12

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  0.000e+00  5.444e-06  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  1.897e+00  8.570e-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.122e+00  1.161e+00  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:  8.565e-01  1.233e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/740648/cmap_HighResolution_691891201_692150401_4FGL_J2203.3-5009_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.28e-07', time_completed='2022-12-08 01:56:57.966888', job_id='740648', GAL2='1.12', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1670493417.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='9.09e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1746' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:56:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 740648: <4FGL_J2203.3-5009_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1746> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Dec  8 01:45:24 2022
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:45:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:45:25 2022
Terminated at Thu Dec  8 01:56:58 2022
Results reported at Thu Dec  8 01:56:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1746 330.832 -50.1512 691891201 692150401 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 :                                   563.46 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            694 sec.

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

