/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 93 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 = 7248
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0315.9-1033_daily_bin465
RA = 48.9922, Dec = -10.5522
tmin = 359856001, tmax = 360115201
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='300341', job_status='RUN', time_executed='2021-08-17 22:37:14.236051', time_epoch_executed='1629265034.24' WHERE source_name='4FGL J0315.9-1033' and cadence='daily' and bin_id='465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/300341

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/300341/ft1_4FGL_J0315.9-1033_daily_bin465.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/300341/ft2_4FGL_J0315.9-1033_daily_bin465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/300341/ft1_4FGL_J0315.9-1033_daily_bin465.fits outfile=/scratch/kocevski/300341/ft1_filteredMKT_4FGL_J0315.9-1033_daily_bin465.fits ra=48.9922 dec=-10.5522 rad=12.0 tmin=359856001.0 tmax=360115201.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.74
user 3.04
sys 1.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/300341/ft2_4FGL_J0315.9-1033_daily_bin465.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/300341/ft1_filteredMKT_4FGL_J0315.9-1033_daily_bin465.fits evtable="EVENTS" outfile="/scratch/kocevski/300341/ft1_filtered_4FGL_J0315.9-1033_daily_bin465.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 2.08
user 0.34
sys 1.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/300341/ft1_filtered_4FGL_J0315.9-1033_daily_bin465.fits" evtable="EVENTS" scfile=/scratch/kocevski/300341/ft2_4FGL_J0315.9-1033_daily_bin465.fits sctable="SC_DATA" outfile=/scratch/kocevski/300341/ltcube_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.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/300341/ft2_4FGL_J0315.9-1033_daily_bin465.fits
.....................!
real 14.69
user 12.54
sys 1.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/300341/ft1_filtered_4FGL_J0315.9-1033_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/300341/ft2_4FGL_J0315.9-1033_daily_bin465.fits sctable="SC_DATA" expcube=/scratch/kocevski/300341/ltcube_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.fits outfile=/scratch/kocevski/300341/expmap_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.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/300341/ltcube_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.fits
.....................!
real 195.59
user 185.75
sys 6.32

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/300341/ft1_filtered_4FGL_J0315.9-1033_daily_bin465.fits scfile=/scratch/kocevski/300341/ft2_4FGL_J0315.9-1033_daily_bin465.fits outfile=/scratch/kocevski/300341/cmap_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.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 1.83
user 0.37
sys 1.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/300341/ft1_filtered_4FGL_J0315.9-1033_daily_bin465.fits scfile=/scratch/kocevski/300341/ft2_4FGL_J0315.9-1033_daily_bin465.fits outfile=/scratch/kocevski/300341/cmap_HighResolution_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.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 1.74
user 0.40
sys 1.09

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/300341/ft1_filtered_4FGL_J0315.9-1033_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/300341/ft2_4FGL_J0315.9-1033_daily_bin465.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/300341/Model_4FGL_J0315.9-1033_daily_bin465.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/300341/ft1_filtered_4FGL_J0315.9-1033_daily_bin465.fits.....................!
real 83.22
user 77.74
sys 2.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/300341/ft1_filtered_4FGL_J0315.9-1033_daily_bin465.fits', '/scratch/kocevski/300341/ft2_4FGL_J0315.9-1033_daily_bin465.fits', expMap='/scratch/kocevski/300341/expmap_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.fits', expCube='/scratch/kocevski/300341/ltcube_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/300341/Model_4FGL_J0315.9-1033_daily_bin465.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/300341/ft1_filtered_4FGL_J0315.9-1033_daily_bin465.fits
Spacecraft file(s): /scratch/kocevski/300341/ft2_4FGL_J0315.9-1033_daily_bin465.fits
Exposure map: /scratch/kocevski/300341/expmap_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.fits
Exposure cube: /scratch/kocevski/300341/ltcube_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/300341/Model_4FGL_J0315.9-1033_daily_bin465.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) = 6883.82118778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5423       1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.344       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8953       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.919       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5626       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12040E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0085       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.424       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.3736       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.2479       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7782       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.056       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .88295E-01   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .84930       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0430       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=   6883.721     FROM MIGRAD    STATUS=CONVERGED    362 CALLS     1413 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5511        9.7442       -.11659E-05   -.13971E-03
   2  Prefactor     41.333        31.357        .17242E-04   -.62929E-03
   3  Prefactor     4.8927        8.3907        .15751E-05   -.31968E-03
   4  Prefactor     16.019        64.208       -.14586E-04    .39463E-04
   5  Prefactor     .10000E-03    3.1690       -.49418E-07** at limit **
   6  Prefactor     .10000E-03    4.1279        .10421E-07** at limit **
   7  Prefactor     6.5660        5.3727       -.45346E-06   -.36884E-03
   8  Prefactor     .10000E-03    78.683        .49766E-05** at limit **
   9  Prefactor     .99976        2.6913       -.39304E-06   -.93601E-03
  10  Prefactor     13.435        13.574       -.16089E-06   -.68106E-04
  11  Prefactor     9.3702        8.3272       -.79966E-07   -.85542E-04
  12  Prefactor     8.2497        57.294       -.71354E-05   -.16566E-04
  13  norm          1.7780        1.3771       -.14539E-06   -.38805E-03
  14  Prefactor     24.082        22.492       -.18038E-04   -.52236E-03
  15  Prefactor     .13250E-03    20.140        .11370E-04** at limit **
  16  Normalizat    .84933        .17584        .17793E-05   -.72669E-03
  17  Prefactor     1.0430        .12754        .41245E-06   -.67228E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.55106
  Prefactor  = 41.333
  Prefactor  = 4.8927
  Prefactor  = 16.0189
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.56604
  Prefactor  = 0.0001
  Prefactor  = 0.99976
  Prefactor  = 13.4351
  Prefactor  = 9.37019
  Prefactor  = 8.24967
  norm       = 1.77805
  Prefactor  = 24.0818
  Prefactor  = 0.000132498
  Normalizat = 0.84933
  Prefactor  = 1.04299
 **********
 **   18 **HESSE 
 **********

 FCN=   6883.721     FROM HESSE     STATUS=OK           235 CALLS     1648 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5511        9.7554        .14603E-03   -1.5158    
   2  Prefactor     41.333        30.849        .62343E-04   -1.4421    
   3  Prefactor     4.8927        8.3785        .18180E-03   -1.5266    
   4  Prefactor     16.019        64.452        .10038E-03   -1.4907    
   5  Prefactor     .10000E-03    3.1758        .14423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.1291        .16459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5660        5.3708        .15665E-03   -1.5195    
   8  Prefactor     .10000E-03    78.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .99976        2.4334        .20826E-02   -1.5508    
  10  Prefactor     13.435        13.300        .10932E-03   -1.4975    
  11  Prefactor     9.3702        8.3275        .13090E-03   -1.5096    
  12  Prefactor     8.2497        57.231        .13960E-03   -1.5133    
  13  norm          1.7780        1.3751        .81792E-04   -1.5441    
  14  Prefactor     24.082        23.937        .81671E-04   -1.4726    
  15  Prefactor     .13250E-03    27.162        .96221E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .84933        .20010        .27677E-03   -.98264    
  17  Prefactor     1.0430        .14559        .19635E-03   -.91310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99953e-09
Minuit parameter uncertainties:
  1  9.75745
  2  30.861
  3  8.38049
  4  64.3846
  5  6.59773e-06
  6  1.42298e-05
  7  5.37124
  8  0.000371209
  9  2.43368
  10  13.3029
  11  8.32854
  12  43.5167
  13  1.37511
  14  23.9468
  15  0.0594481
  16  0.20027
  17  0.145649
Done.

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

Extracting fit parameters...

4FGL J0315.9-1033
   Spectrum: PowerLaw
289    Prefactor:  6.566e+00  5.371e+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

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  1.043e+00  1.456e-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:  8.493e-01  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.00
Ra Dec: 48.992 -10.552
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 5.28e-08 +/- 4.32e-08
Energy Flux (Fixed Index): 1.58e-05 +/- 1.29e-05

TS (Fixed Index): 2.00
Ra Dec: 48.992 -10.552
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/300341/likelihoodResults_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.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) = 6882.74278566
delta logL = 0.978702870418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6882.71232803
delta logL = 1.00916049617

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4194       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6559       1.0000          .0000       10.000    
     3 'Normalizat'    .78385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0742       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.

 FCN=   6882.712     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      246 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4128        20.242        .65787E-02    .38888E-03
   2  Index         3.6576        2.9379        .13241        .12174E-03
   3  Normalizat    .78396        .55950E-01    .64864E-01    .29001E-05
   4  Prefactor     1.0741        .42485E-01    .38661E-01   -.16877E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.41278
  Index      = 3.65755
  Normalizat = 0.78396
  Prefactor  = 1.07409
 **********
 **   18 **HESSE 
 **********

 FCN=   6882.712     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4128        7.8366        .68232E-04   -1.5397    
   2  Index         3.6576        2.0477        .49660E-02   -.27182    
   3  Normalizat    .78396        .19349        .28695E-03   -1.0067    
   4  Prefactor     1.0741        .14849        .19373E-03   -.90299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.55925e-08
Minuit parameter uncertainties:
  1  7.83993
  2  2.11498
  3  0.193657
  4  0.148547
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/300341': 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) = 6882.71232607
delta logL = 1.00916245182

Extracting fit parameters...

4FGL J0315.9-1033
   Spectrum: PowerLaw
289    Prefactor:  2.413e+00  7.840e+00  1.000e-04  1.000e+04 ( 1.000e-12)
290        Index:  3.658e+00  2.115e+00  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.074e+00  1.485e-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:  7.840e-01  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.19
Ra Dec: 48.992 -10.552
Photon Index (Free Index): 3.66 +/- 2.11
Photon Flux (Free Index): 1.06e-07 +/- 6.09e-08
Energy Flux (Free Index): 1.69e-05 +/- 1.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/300341/cmap_HighResolution_359856001_360115201_4FGL_J0315.9-1033_daily_bin465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', photon_flux='5.28e-08', energy_flux2='1.69e-05', photon_flux_error='4.32e-08', dlogl='1.01e+00', energy_flux='1.58e-05', photon_flux2='1.06e-07', job_status='DONE', time_completed='2021-08-17 22:48:08.810876', photon_index_error2='2.11', photon_index2='3.66', ts='2.00', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='1.17e-05', EG='0.85', time_epoch_completed='1629265688.81', return_code='0', job_id='300341', GAL2='1.07', EG2='0.78', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='6.09e-08', ts2='4.19', photon_index='2.48' WHERE bin_id='465' AND source_name='4FGL J0315.9-1033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 22:48:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 300341: <4FGL_J0315.9-1033_daily_bin465> in cluster <slac> Done

Job <4FGL_J0315.9-1033_daily_bin465> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 17 22:32:27 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 22:32:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 17 22:32:57 2021
Terminated at Tue Aug 17 22:48:09 2021
Results reported at Tue Aug 17 22:48:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0315.9-1033_daily_bin465 48.9922 -10.5522 359856001 360115201 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 :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            942 sec.

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

