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


Performing analysis on: 4FGL_J0315.9-1033_daily_bin1684
RA = 48.9922, Dec = -10.5522
tmin = 675820801, tmax = 676080001
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='181189', job_status='RUN', time_executed='2022-06-05 00:12:14.236807', time_epoch_executed='1654413134.24' WHERE source_name='4FGL J0315.9-1033' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/181189

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/181189/ft1_4FGL_J0315.9-1033_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/181189/ft1_4FGL_J0315.9-1033_daily_bin1684.fits outfile=/scratch/kocevski/181189/ft1_filteredMKT_4FGL_J0315.9-1033_daily_bin1684.fits ra=48.9922 dec=-10.5522 rad=12.0 tmin=675820801.0 tmax=676080001.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.51
user 4.23
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.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/181189/ft1_filteredMKT_4FGL_J0315.9-1033_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/181189/ft1_filtered_4FGL_J0315.9-1033_daily_bin1684.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.17

Number of photons that the gtmktime cut: 538

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/181189/ft1_filtered_4FGL_J0315.9-1033_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/181189/ltcube_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.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/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.fits
.....................!
real 14.95
user 14.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/181189/ft1_filtered_4FGL_J0315.9-1033_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/181189/ltcube_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.fits outfile=/scratch/kocevski/181189/expmap_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.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/181189/ltcube_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.fits
.....................!
real 191.97
user 186.53
sys 4.75

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 172 point sources and 0 extended sources

Setting source of interest to:
4FGL J0315.9-1033 @ 48.9922 -10.5522

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/181189/ft1_filtered_4FGL_J0315.9-1033_daily_bin1684.fits scfile=/scratch/kocevski/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.fits outfile=/scratch/kocevski/181189/cmap_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.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=48.9922 yref=-10.5522 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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/181189/ft1_filtered_4FGL_J0315.9-1033_daily_bin1684.fits scfile=/scratch/kocevski/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.fits outfile=/scratch/kocevski/181189/cmap_HighResolution_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.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=48.9922 yref=-10.5522 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/181189/ft1_filtered_4FGL_J0315.9-1033_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/181189/Model_4FGL_J0315.9-1033_daily_bin1684.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/181189/ft1_filtered_4FGL_J0315.9-1033_daily_bin1684.fits.....................!
real 69.71
user 68.23
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/181189/ft1_filtered_4FGL_J0315.9-1033_daily_bin1684.fits', '/scratch/kocevski/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.fits', expMap='/scratch/kocevski/181189/expmap_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.fits', expCube='/scratch/kocevski/181189/ltcube_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/181189/Model_4FGL_J0315.9-1033_daily_bin1684.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0315.9-1033'

4FGL J0315.9-1033
   Spectrum: PowerLaw
289    Prefactor:  2.107e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
290        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  6.885e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/181189/ft1_filtered_4FGL_J0315.9-1033_daily_bin1684.fits
Spacecraft file(s): /scratch/kocevski/181189/ft2_4FGL_J0315.9-1033_daily_bin1684.fits
Exposure map: /scratch/kocevski/181189/expmap_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.fits
Exposure cube: /scratch/kocevski/181189/ltcube_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/181189/Model_4FGL_J0315.9-1033_daily_bin1684.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) = 6022.60469872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2363       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4740       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.9816       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.8781       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10532E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.665       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5009       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10394E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    50.519       1.0000         .10000E-03   10000.    
    13 'norm      '    .56367       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10810E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .61684       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2485       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6022.600     FROM MIGRAD    STATUS=CONVERGED    315 CALLS     1566 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2307        12.533        .23332E-06   -.16166E-04
   2  Prefactor     .10000E-03    12.808        .71015E-08** at limit **
   3  Prefactor     1.4704        8.4792        .25315E-05   -.56432E-04
   4  Prefactor     9.9691        65.467        .35198E-06   -.28052E-05
   5  Prefactor     7.8603        11.590        .10417E-06   -.21278E-04
   6  Prefactor     .10000E-03    6.0365       -.18402E-06** at limit **
   7  Prefactor     .10000E-03    3.9260        .27208E-06** at limit **
   8  Prefactor     17.423        92.479       -.27322E-05    .81192E-06
   9  Prefactor     2.5008        2.8024        .35364E-07    .64965E-05
  10  Prefactor     .10000E-03    5.8789       -.28973E-06** at limit **
  11  Prefactor     .10000E-03    9.8672        .46454E-06** at limit **
  12  Prefactor     50.507        42.728        .88135E-07    .13970E-05
  13  norm          .56335        1.0161        .53069E-06    .28401E-03
  14  Prefactor     .10000E-03    8.9947        .20087E-07** at limit **
  15  Prefactor     .10000E-03    5.2845        .26582E-07** at limit **
  16  Normalizat    .61685        .17946       -.17348E-05   -.32168E-04
  17  Prefactor     1.2486        .13903        .31836E-06   -.13514E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.23071
  Prefactor  = 0.0001
  Prefactor  = 1.47038
  Prefactor  = 9.96907
  Prefactor  = 7.86032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4229
  Prefactor  = 2.50078
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.507
  norm       = 0.56335
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.616847
  Prefactor  = 1.24859
 **********
 **   18 **HESSE 
 **********

 FCN=   6022.600     FROM HESSE     STATUS=OK           223 CALLS     1789 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2307        12.546        .13969E-03   -1.5134    
   2  Prefactor     .10000E-03    12.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.4704        8.2688        .35380E-03   -1.5465    
   4  Prefactor     9.9691        65.502        .12683E-03   -1.5076    
   5  Prefactor     7.8603        11.584        .14286E-03   -1.5147    
   6  Prefactor     .10000E-03    6.0411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.0369        .29994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.423        93.422        .47647E-03   -1.4873    
   9  Prefactor     2.5008        2.7937        .13369E-03   -1.5392    
  10  Prefactor     .10000E-03    5.8866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.9703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     50.507        42.740        .56423E-04   -1.4285    
  13  norm          .56335        .99414        .10731E-02   -1.5558    
  14  Prefactor     .10000E-03    9.0082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.2870        .17424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .61685        .19836        .31056E-03   -1.0727    
  17  Prefactor     1.2486        .15577        .18110E-03   -.84849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03548e-11
Minuit parameter uncertainties:
  1  12.5498
  2  2.16722e-06
  3  6.97498
  4  51.189
  5  11.5869
  6  4.69652e-06
  7  4.58048e-06
  8  80.886
  9  2.7938
  10  1.24454e-05
  11  3.69762e-07
  12  42.7662
  13  0.994172
  14  2.98848e-06
  15  7.57205e-07
  16  0.198592
  17  0.155829
Done.

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

Extracting fit parameters...

4FGL J0315.9-1033
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  4.580e-06  1.000e-04  1.000e+04 ( 1.000e-12)
290        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  6.885e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  1.249e+00  1.558e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  6.168e-01  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 48.992 -10.552
Photon Flux Upper Limit: 7.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/181189/likelihoodResults_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.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) = 6022.6007241
delta logL = -0.00118174192266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6022.5995434
delta logL = -1.04541959445e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10370E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4960       1.0000          .0000       10.000    
     3 'Normalizat'    .61664       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2488       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+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=   6022.598     FROM MIGRAD    STATUS=CONVERGED    162 CALLS      319 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16422E-01    .55973        .20287E-01   -.98976E-03
   2  Index         4.4678        2.3196        .50000        .19380E-05
   3  Normalizat    .61391        .86449E-02    .31055E-03   -.10367E-03
   4  Prefactor     1.2497        .69975E-02    .18110E-03    .59761E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0164221
  Index      = 4.46776
  Normalizat = 0.613914
  Prefactor  = 1.24974
 **********
 **   18 **HESSE 
 **********

 FCN=   6022.598     FROM HESSE     STATUS=OK            31 CALLS      350 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16422E-01    2.1721        .57425E-03   -1.5734    
   2  Index         4.4678        6.6709        .18628E-01   -.10665    
   3  Normalizat    .61391        .19857        .12422E-04   -1.0740    
   4  Prefactor     1.2497        .15593        .72441E-05   -.84814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71045e-08
Minuit parameter uncertainties:
  1  0.376598
  2  10.6816
  3  0.198801
  4  0.155984
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/181189': 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) = 6022.59823993
delta logL = 0.00130242230262

Extracting fit parameters...

4FGL J0315.9-1033
   Spectrum: PowerLaw
289    Prefactor:  1.642e-02  3.766e-01  1.000e-04  1.000e+04 ( 1.000e-12)
290        Index:  4.468e+00  1.068e+01  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  6.885e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  1.250e+00  1.560e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  6.139e-01  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 48.992 -10.552

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/181189/cmap_HighResolution_675820801_676080001_4FGL_J0315.9-1033_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.10e-03', job_status='DONE', photon_flux_upper_limit='7.85e-08', time_completed='2022-06-05 00:21:31.174137', job_id='181189', GAL2='1.25', fit_tolerance='1e-08', EG2='0.61', EG='0.62', time_epoch_completed='1654413691.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='1.30e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1684' AND source_name='4FGL J0315.9-1033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:21:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 181189: <4FGL_J0315.9-1033_daily_bin1684> in cluster <slac> Done

Job <4FGL_J0315.9-1033_daily_bin1684> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jun  5 00:05:06 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:08:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:08:25 2022
Terminated at Sun Jun  5 00:21:31 2022
Results reported at Sun Jun  5 00:21:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0315.9-1033_daily_bin1684 48.9922 -10.5522 675820801 676080001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0315.9-1033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   559.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            985 sec.

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

