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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1777
RA = 330.832, Dec = -50.1512
tmin = 699926401, tmax = 700185601
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='925557', job_status='RUN', time_executed='2023-03-11 01:26:14.802987', time_epoch_executed='1678526774.8' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925557

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925557/ft1_4FGL_J2203.3-5009_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925557/ft2_4FGL_J2203.3-5009_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925557/ft1_4FGL_J2203.3-5009_daily_bin1777.fits outfile=/scratch/kocevski/925557/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1777.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=699926401.0 tmax=700185601.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.69
user 3.47
sys 0.19

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

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

Number of photons that the gtmktime cut: 709

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925557/ft1_filtered_4FGL_J2203.3-5009_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/925557/ft2_4FGL_J2203.3-5009_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/925557/ltcube_699926401_700185601_4FGL_J2203.3-5009_daily_bin1777.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/925557/ft2_4FGL_J2203.3-5009_daily_bin1777.fits
.....................!
real 13.74
user 13.34
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925557/ft1_filtered_4FGL_J2203.3-5009_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/925557/ft2_4FGL_J2203.3-5009_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/925557/ltcube_699926401_700185601_4FGL_J2203.3-5009_daily_bin1777.fits outfile=/scratch/kocevski/925557/expmap_699926401_700185601_4FGL_J2203.3-5009_daily_bin1777.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/925557/ltcube_699926401_700185601_4FGL_J2203.3-5009_daily_bin1777.fits
.....................!
real 191.66
user 185.24
sys 5.58

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/925557/ft1_filtered_4FGL_J2203.3-5009_daily_bin1777.fits scfile=/scratch/kocevski/925557/ft2_4FGL_J2203.3-5009_daily_bin1777.fits outfile=/scratch/kocevski/925557/cmap_699926401_700185601_4FGL_J2203.3-5009_daily_bin1777.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925557/ft1_filtered_4FGL_J2203.3-5009_daily_bin1777.fits scfile=/scratch/kocevski/925557/ft2_4FGL_J2203.3-5009_daily_bin1777.fits outfile=/scratch/kocevski/925557/cmap_HighResolution_699926401_700185601_4FGL_J2203.3-5009_daily_bin1777.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/925557/ft1_filtered_4FGL_J2203.3-5009_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/925557/ft2_4FGL_J2203.3-5009_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925557/Model_4FGL_J2203.3-5009_daily_bin1777.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/925557/ft1_filtered_4FGL_J2203.3-5009_daily_bin1777.fits.....................!
real 55.78
user 54.26
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14127       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.371       1.0000          .0000       .10000E+07
     3 'norm      '    1.1132       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11158E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .39641E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .17926E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4377       1.0000          .0000       .10000E+07
     8 'norm      '    20.688       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.0457       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30055E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10132E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.193       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.405       1.0000          .0000       .10000E+07
    14 'norm      '    .24832E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16043E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.7683       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9847       1.0000          .0000       .10000E+07
    18 'Prefactor '    59.021       1.0000          .0000       .10000E+07
    19 'Prefactor '    .41558E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.301       1.0000          .0000       .10000E+07
    21 'Prefactor '    .66920E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    .69742       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2570       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=   7600.928     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1893 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15112        14.302       -.14752E-05** at limit **
   2  Prefactor     15.088        17.150       -.38619E-05    .68762E-02
   3  norm          1.1143        1.3723        .23792E-06    .14529E-02
   4  Prefactor      .0000        6.8405        .20425E-05** at limit **
   5  Prefactor     .49960E-09    9.5747        .13327E-06** at limit **
   6  Prefactor     .13484E-05    65.504        .11316E-04** at limit **
   7  Prefactor     3.4392        3.0894       -.52775E-08   -.17865E-02
   8  norm          20.706        5.8751       -.37972E-06   -.31639E-02
   9  Prefactor     2.0195        7.7795       -.18003E-05    .33127E-03
  10  Prefactor     .55511E-10    41.732        .14376E-05** at limit **
  11  Prefactor     .11474E-06    2.3923       -.14514E-05** at limit **
  12  Prefactor     13.194        4.6243        .24085E-06   -.18262E-02
  13  Prefactor     18.269        1.6799       -.13083E-06   -.58955E-02
  14  norm           .0000        1.8290        .15625E-06** at limit **
  15  Prefactor      .0000        1.3160       -.35520E-06** at limit **
  16  Prefactor     7.8155        60.625        .10974E-04   -.35872E-03
  17  Prefactor     4.9508        5.8142        .28337E-06   -.81433E-03
  18  Prefactor     59.108        2.3659        .27430E-06   -.20775E-01
  19  Prefactor     .91871E-07    2.7037        .14177E-05** at limit **
  20  Prefactor     11.236        1.3419        .15972E-06   -.99040E-02
  21  Prefactor     .12212E-08    3.6437       -.36768E-06** at limit **
  22  Normalizat    .69687        .20571       -.14650E-04    .58068E-04
  23  Prefactor     1.2574        .16245        .96543E-05    .11501E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.151117
  Prefactor  = 15.0879
  norm       = 1.11426
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Prefactor  = 1.34837e-06
  Prefactor  = 3.43924
  norm       = 20.7059
  Prefactor  = 2.01945
  Prefactor  = 5.55112e-11
  Prefactor  = 1.14742e-07
  Prefactor  = 13.1935
  Prefactor  = 18.2688
  norm       = 0
  Prefactor  = 0
  Prefactor  = 7.8155
  Prefactor  = 4.95079
  Prefactor  = 59.108
  Prefactor  = 9.1871e-08
  Prefactor  = 11.2363
  Prefactor  = 1.22125e-09
  Normalizat = 0.696871
  Prefactor  = 1.25742
 **********
 **   18 **HESSE 
 **********

 FCN=   7600.928     FROM HESSE     STATUS=OK           430 CALLS     2323 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15112        1.5266        .66732E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.088        17.266        .25520E-03   -1.5630    
   3  norm          1.1143        1.4069        .11172E-02   -1.5687    
   4  Prefactor      .0000        6.7936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    9.5807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13484E-05    16.308        .12041E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4392        3.1118        .54527E-03   -1.5671    
   8  norm          20.706        5.8841        .21992E-03   -1.5617    
   9  Prefactor     2.0195        7.7737        .72260E-03   -1.5680    
  10  Prefactor     .55511E-10    41.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11474E-06    4.0268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.194        4.6331        .27551E-03   -1.5635    
  13  Prefactor     18.269        41.343        .23318E-03   -1.5622    
  14  norm           .0000        1.8301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.3130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.8155        59.988        .38544E-03   -1.5652    
  17  Prefactor     4.9508        5.9973        .45019E-03   -1.5663    
  18  Prefactor     59.108        30.076        .13017E-03   -1.5554    
  19  Prefactor     .91871E-07    4.0050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.236        30.591        .29776E-03   -1.5641    
  21  Prefactor     .12212E-08    3.6602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .69687        .18639        .73231E-01   -1.0402    
  23  Prefactor     1.2574        .14287        .33404E-01   -.84582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68965e-07
Minuit parameter uncertainties:
  1  0.96063
  2  17.2661
  3  1.40687
  4  5.45768e-06
  5  0.000135833
  6  0.00937874
  7  3.11178
  8  5.88411
  9  7.77375
  10  7.96921e-05
  11  0.00135932
  12  4.63315
  13  41.3437
  14  3.50965e-06
  15  7.4512e-06
  16  43.3059
  17  5.99726
  18  30.0766
  19  0.00121316
  20  30.591
  21  0.000133679
  22  0.18656
  23  0.142914
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.147e-07  1.359e-03  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.257e+00  1.429e-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:  6.969e-01  1.866e-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: 6.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925557/likelihoodResults_699926401_700185601_4FGL_J2203.3-5009_daily_bin1777.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) = 7600.92867309
delta logL = -0.000427312987995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7600.92824581
delta logL = -3.44789441442e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11219E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.7382       1.0000          .0000       10.000    
     3 'Normalizat'    .69683       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2575       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=   7600.928     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      239 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.1833       -.17178E-05** at limit **
   2  Index         3.9372        3.5898        .12773E-03     .0000    
   3  Normalizat    .69687        .19623       -.17870E-05   -.70323E-04
   4  Prefactor     1.2574        .15904        .12755E-05   -.27507E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.93722
  Normalizat = 0.696872
  Prefactor  = 1.25742
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7600.928     FROM HESSE     STATUS=FAILED        13 CALLS      252 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0769        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6874        2.2900        .12773E-03   -.21419    
   3  Normalizat    .69687        1.0365       -.17870E-05   -1.0402    
   4  Prefactor     1.2574        1.0868        .12755E-05   -.84582    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.23533e-11
Minuit parameter uncertainties:
  1  4.19603e-06
  2  1.34618
  3  1.06797
  4  1.10727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925557': 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) = 7600.92824576
delta logL = 1.41762939165e-08

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  0.000e+00  4.196e-06  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  3.937e+00  1.346e+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.257e+00  1.107e+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:  6.969e-01  1.068e+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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/925557/cmap_HighResolution_699926401_700185601_4FGL_J2203.3-5009_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', job_status='DONE', photon_flux_upper_limit='6.32e-08', time_completed='2023-03-11 01:37:13.896238', job_id='925557', GAL2='1.26', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1678527433.9', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='1.42e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1777' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:37:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 925557: <4FGL_J2203.3-5009_daily_bin1777> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1777> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Mar 11 01:25:13 2023
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 01:25:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 01:25:14 2023
Terminated at Sat Mar 11 01:37:17 2023
Results reported at Sat Mar 11 01:37:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1777 330.832 -50.1512 699926401 700185601 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 :                                   659.29 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             314.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            724 sec.

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

