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


Performing analysis on: 4FGL_J0303.3-7913_daily_bin1701
RA = 45.8409, Dec = -79.2236
tmin = 680227201, tmax = 680486401
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='158089', job_status='RUN', time_executed='2022-07-26 00:22:54.832253', time_epoch_executed='1658820174.83' WHERE source_name='4FGL J0303.3-7913' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158089

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158089/ft1_4FGL_J0303.3-7913_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158089/ft1_4FGL_J0303.3-7913_daily_bin1701.fits outfile=/scratch/kocevski/158089/ft1_filteredMKT_4FGL_J0303.3-7913_daily_bin1701.fits ra=45.8409 dec=-79.2236 rad=12.0 tmin=680227201.0 tmax=680486401.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 2.97
user 2.69
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.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/158089/ft1_filteredMKT_4FGL_J0303.3-7913_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/158089/ft1_filtered_4FGL_J0303.3-7913_daily_bin1701.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.34
sys 0.16

Number of photons that the gtmktime cut: 1046

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158089/ft1_filtered_4FGL_J0303.3-7913_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/158089/ltcube_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.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/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.fits
.....................!
real 16.98
user 16.53
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158089/ft1_filtered_4FGL_J0303.3-7913_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/158089/ltcube_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.fits outfile=/scratch/kocevski/158089/expmap_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.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/158089/ltcube_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.fits
.....................!
real 193.89
user 187.67
sys 5.60

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
Extended source SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-North.fits is the correct path to the extended template.
Added 180 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0303.3-7913 @ 45.8409 -79.2236

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158089/ft1_filtered_4FGL_J0303.3-7913_daily_bin1701.fits scfile=/scratch/kocevski/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.fits outfile=/scratch/kocevski/158089/cmap_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.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=45.8409 yref=-79.2236 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.58
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158089/ft1_filtered_4FGL_J0303.3-7913_daily_bin1701.fits scfile=/scratch/kocevski/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.fits outfile=/scratch/kocevski/158089/cmap_HighResolution_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.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=45.8409 yref=-79.2236 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158089/ft1_filtered_4FGL_J0303.3-7913_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158089/Model_4FGL_J0303.3-7913_daily_bin1701.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/scratch/kocevski/158089/ft1_filtered_4FGL_J0303.3-7913_daily_bin1701.fits.....................!
real 9369.84
user 9327.20
sys 2.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158089/ft1_filtered_4FGL_J0303.3-7913_daily_bin1701.fits', '/scratch/kocevski/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.fits', expMap='/scratch/kocevski/158089/expmap_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.fits', expCube='/scratch/kocevski/158089/ltcube_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158089/Model_4FGL_J0303.3-7913_daily_bin1701.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0303.3-7913'

4FGL J0303.3-7913
   Spectrum: PowerLaw
139    Prefactor:  4.497e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
140        Index:  2.466e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
141        Scale:  9.554e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158089/ft1_filtered_4FGL_J0303.3-7913_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/158089/ft2_4FGL_J0303.3-7913_daily_bin1701.fits
Exposure map: /scratch/kocevski/158089/expmap_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.fits
Exposure cube: /scratch/kocevski/158089/ltcube_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158089/Model_4FGL_J0303.3-7913_daily_bin1701.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) = 11126.7425139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4177       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7731       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .89458       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0224       1.0000         .10000E-03   10000.    
     5 'Prefactor '    82.425       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.710       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17470E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.125       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .19692E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.9529       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0368       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1580       1.0000         .10000E-03   10000.    
    14 'norm      '    3.0251       1.0000         .10000E-03   10000.    
    15 'Prefactor '    34.082       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .76724       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11126.69     FROM MIGRAD    STATUS=CONVERGED    399 CALLS     1934 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4180        4.1830        .23442E-05    .26228E-03
   2  Prefactor     5.7258        90.785       -.12440E-03    .27684E-04
   3  Prefactor     .87385        4.8361       -.50171E-05    .27716E-03
   4  Prefactor     5.0204        7.2058       -.76353E-05   -.28995E-04
   5  Prefactor     82.389        35.106       -.20680E-04    .29897E-03
   6  Prefactor     13.699        22.990       -.81959E-05    .11233E-03
   7  Prefactor     .10000E-03    17.944        .35579E-05** at limit **
   8  Prefactor     .10002E-03    2.3559       -.24391E-05** at limit **
   9  Prefactor     24.137        17.546       -.30404E-05   -.74351E-04
  10  Prefactor     .10000E-03    73.425        .23725E-04** at limit **
  11  norm          7.9538        23.721       -.27814E-05    .25800E-04
  12  Prefactor     2.0378        3.1652       -.10150E-05   -.66904E-03
  13  Prefactor     5.1567        9.4372       -.23429E-05   -.58494E-04
  14  norm          3.0301        5.1219        .89739E-05    .20898E-03
  15  Prefactor     33.995        49.036       -.10245E-03    .75636E-05
  16  Prefactor     .10000E-03    4.2981       -.80427E-07** at limit **
  17  Prefactor     .10000E-03    27.698       -.12534E-05** at limit **
  18  Normalizat    .76791        .19294        .21443E-04    .64639E-03
  19  Prefactor     1.1296        .86568E-01    .48470E-06    .15547E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.41804
  Prefactor  = 5.72584
  Prefactor  = 0.873847
  Prefactor  = 5.02043
  Prefactor  = 82.3893
  Prefactor  = 13.6987
  Prefactor  = 0.000100001
  Prefactor  = 0.00010002
  Prefactor  = 24.1368
  Prefactor  = 0.000100002
  norm       = 7.95382
  Prefactor  = 2.03779
  Prefactor  = 5.15665
  norm       = 3.0301
  Prefactor  = 33.9952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.76791
  Prefactor  = 1.1296
 **********
 **   18 **HESSE 
 **********

 FCN=   11126.69     FROM HESSE     STATUS=OK           276 CALLS     2210 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4180        4.1753        .21882E-03   -1.5338    
   2  Prefactor     5.7258        90.772        .16716E-03   -1.5229    
   3  Prefactor     .87385        14.108        .43558E-02   -1.5521    
   4  Prefactor     5.0204        7.1690        .17943E-03   -1.5260    
   5  Prefactor     82.389        35.267        .44242E-04   -1.3890    
   6  Prefactor     13.699        22.930        .10817E-03   -1.4968    
   7  Prefactor     .10000E-03    18.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10002E-03    23.052        .31170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.137        17.556        .81554E-04   -1.4725    
  10  Prefactor     .10000E-03    75.521        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.9538        23.677        .14218E-03   -1.5144    
  12  Prefactor     2.0378        3.1335        .22246E-03   -1.5422    
  13  Prefactor     5.1567        9.4005        .17701E-03   -1.5254    
  14  norm          3.0301        5.0960        .23332E-03   -1.5360    
  15  Prefactor     33.995        49.009        .68642E-04   -1.4541    
  16  Prefactor     .10000E-03    4.3230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    27.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .76791        .21173        .40271E-03   -1.0127    
  19  Prefactor     1.1296        .96522E-01    .16350E-03   -.88526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74016e-09
Minuit parameter uncertainties:
  1  4.17566
  2  45.678
  3  7.02396
  4  7.17021
  5  35.2762
  6  22.9444
  7  0.000282851
  8  0.00136321
  9  17.5598
  10  0.000718421
  11  23.7047
  12  3.13379
  13  9.40318
  14  5.09672
  15  49.0669
  16  1.87975e-05
  17  0.000132128
  18  0.211961
  19  0.0965366
Done.

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

Extracting fit parameters...

4FGL J0303.3-7913
   Spectrum: PowerLaw
139    Prefactor:  1.370e+01  2.294e+01  1.000e-04  1.000e+04 ( 1.000e-13)
140        Index:  2.466e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
141        Scale:  9.554e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.130e+00  9.654e-02  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  7.679e-01  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.44
Ra Dec: 45.841 -79.224
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158089/likelihoodResults_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.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) = 11125.74189
delta logL = 0.951330922731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11125.7095259
delta logL = 0.983694985149

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80694       1.0000         .10000E-03   10000.    
     2 'Index     '    4.6470       1.0000          .0000       10.000    
     3 'Normalizat'    .69343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1514       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11125.71     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      283 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80398        7.1019        .12466E-01    .14078E-02
   2  Index         4.6496        2.2684        .11256        .25024E-03
   3  Normalizat    .69355        .42971E-01    .95236E-01    .67413E-04
   4  Prefactor     1.1512        .20857E-01    .35897E-01    .31366E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.803977
  Index      = 4.64961
  Normalizat = 0.693545
  Prefactor  = 1.15125
 **********
 **   18 **HESSE 
 **********

 FCN=   11125.71     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      318 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80398        18.681        .64843E-03   -1.5529    
   2  Index         4.6496        4.0669        .57425E-02   -.70136E-01
   3  Normalizat    .69355        .14992        .42198E-03   -1.0415    
   4  Prefactor     1.1512        .71760E-01    .16209E-03   -.87845    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.2402e-07
Minuit parameter uncertainties:
  1  7.75308
  2  4.75518
  3  0.150008
  4  0.0717664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158089': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11125.7095214
delta logL = 0.983699454113

Extracting fit parameters...

4FGL J0303.3-7913
   Spectrum: PowerLaw
139    Prefactor:  8.040e-01  7.753e+00  1.000e-04  1.000e+04 ( 1.000e-13)
140        Index:  4.650e+00  4.755e+00  0.000e+00  1.000e+01 (-1.000e+00)
141        Scale:  9.554e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.151e+00  7.177e-02  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  6.935e-01  1.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.60
Ra Dec: 45.841 -79.224
Photon Index (Free Index): 4.65 +/- 4.76
Photon Flux (Free Index): 7.99e-08 +/- 5.54e-08
Energy Flux (Free Index): 1.10e-05 +/- 1.05e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/158089/cmap_HighResolution_680227201_680486401_4FGL_J0303.3-7913_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.41e-03', comment='SUCCESS', energy_flux2='1.10e-05', dlogl='9.84e-01', photon_flux2='7.99e-08', job_status='DONE', time_completed='2022-07-26 03:12:30.221798', photon_index_error2='4.76', photon_index2='4.65', ts='0.44', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='1.05e-05', EG='0.77', time_epoch_completed='1658830350.22', return_code='0', job_id='158089', GAL2='1.15', EG2='0.69', return_code2='102', photon_flux_error2='5.54e-08', ts2='2.60', photon_index='2.47' WHERE bin_id='1701' AND source_name='4FGL J0303.3-7913' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 03:12:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 158089: <4FGL_J0303.3-7913_daily_bin1701> in cluster <slac> Done

Job <4FGL_J0303.3-7913_daily_bin1701> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jul 26 00:04:57 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 00:22:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 00:22:20 2022
Terminated at Tue Jul 26 03:12:31 2022
Results reported at Tue Jul 26 03:12:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0303.3-7913_daily_bin1701 45.8409 -79.2236 680227201 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0303.3-7913 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10142.00 sec.
    Max Memory :                                 628 MB
    Average Memory :                             596.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10210 sec.
    Turnaround time :                            11254 sec.

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

