/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 207 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 = 7420
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1510.8-0542_daily_bin544
RA = 227.707, Dec = -5.7106
tmin = 380332801, tmax = 380592001
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='215850', job_status='RUN', time_executed='2021-09-11 09:19:40.875360', time_epoch_executed='1631377180.88' WHERE source_name='4FGL J1510.8-0542' and cadence='daily' and bin_id='544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215850

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215850/ft1_4FGL_J1510.8-0542_daily_bin544.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215850/ft2_4FGL_J1510.8-0542_daily_bin544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215850/ft1_4FGL_J1510.8-0542_daily_bin544.fits outfile=/scratch/kocevski/215850/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin544.fits ra=227.707 dec=-5.7106 rad=12.0 tmin=380332801.0 tmax=380592001.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.62
user 3.24
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/215850/ft2_4FGL_J1510.8-0542_daily_bin544.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/215850/ft2_4FGL_J1510.8-0542_daily_bin544.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/215850/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin544.fits evtable="EVENTS" outfile="/scratch/kocevski/215850/ft1_filtered_4FGL_J1510.8-0542_daily_bin544.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215850/ft1_filtered_4FGL_J1510.8-0542_daily_bin544.fits" evtable="EVENTS" scfile=/scratch/kocevski/215850/ft2_4FGL_J1510.8-0542_daily_bin544.fits sctable="SC_DATA" outfile=/scratch/kocevski/215850/ltcube_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.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/215850/ft2_4FGL_J1510.8-0542_daily_bin544.fits
.....................!
real 12.73
user 12.25
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215850/ft1_filtered_4FGL_J1510.8-0542_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/215850/ft2_4FGL_J1510.8-0542_daily_bin544.fits sctable="SC_DATA" expcube=/scratch/kocevski/215850/ltcube_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.fits outfile=/scratch/kocevski/215850/expmap_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.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/215850/ltcube_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.fits
.....................!
real 194.42
user 188.04
sys 5.91

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

Setting source of interest to:
4FGL J1510.8-0542 @ 227.707 -5.7106

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/215850/ft1_filtered_4FGL_J1510.8-0542_daily_bin544.fits scfile=/scratch/kocevski/215850/ft2_4FGL_J1510.8-0542_daily_bin544.fits outfile=/scratch/kocevski/215850/cmap_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.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=227.707 yref=-5.7106 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215850/ft1_filtered_4FGL_J1510.8-0542_daily_bin544.fits scfile=/scratch/kocevski/215850/ft2_4FGL_J1510.8-0542_daily_bin544.fits outfile=/scratch/kocevski/215850/cmap_HighResolution_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.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=227.707 yref=-5.7106 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215850/ft1_filtered_4FGL_J1510.8-0542_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/215850/ft2_4FGL_J1510.8-0542_daily_bin544.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215850/Model_4FGL_J1510.8-0542_daily_bin544.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/215850/ft1_filtered_4FGL_J1510.8-0542_daily_bin544.fits.....................!
real 105.76
user 104.21
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/215850/ft1_filtered_4FGL_J1510.8-0542_daily_bin544.fits', '/scratch/kocevski/215850/ft2_4FGL_J1510.8-0542_daily_bin544.fits', expMap='/scratch/kocevski/215850/expmap_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.fits', expCube='/scratch/kocevski/215850/ltcube_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/215850/Model_4FGL_J1510.8-0542_daily_bin544.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.8-0542'

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  3.024e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.402e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
235         beta:  1.122e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
236           Eb:  8.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/215850/ft1_filtered_4FGL_J1510.8-0542_daily_bin544.fits
Spacecraft file(s): /scratch/kocevski/215850/ft2_4FGL_J1510.8-0542_daily_bin544.fits
Exposure map: /scratch/kocevski/215850/expmap_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.fits
Exposure cube: /scratch/kocevski/215850/ltcube_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/215850/Model_4FGL_J1510.8-0542_daily_bin544.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 13594.6849975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11227E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .42963       1.0000         .10000E-03   10000.    
     3 'norm      '    .74254       1.0000         .10000E-03   10000.    
     4 'norm      '    7.6170       1.0000         .10000E-03   10000.    
     5 'norm      '    .63752       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.8243       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11600E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.9591       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.3558       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .94618       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13594.07     FROM MIGRAD    STATUS=CONVERGED    247 CALLS      879 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.825       -.22956E-05** at limit **
   2  norm          .43411        1.3913        .33278E-06   -.60843E-03
   3  norm          .74904        2.6259        .22411E-05   -.52361E-03
   4  norm          7.6171        3.6971        .39205E-07    .13773E-03
   5  norm          .63745        .94251E-01   -.76609E-08   -.20540E-02
   6  Prefactor     .10000E-03    3.5777        .31882E-07** at limit **
   7  Prefactor     .10000E-03    12.721       -.14763E-05** at limit **
   8  norm          9.8401        5.0746        .17574E-06    .15479E-03
   9  Prefactor     .10000E-03    1.6910        .13001E-06** at limit **
  10  Prefactor     .10000E-03    14.634        .32936E-05** at limit **
  11  Prefactor     6.9489        11.587       -.64079E-06   -.16244E-03
  12  Normalizat    1.3554        .19301       -.97124E-06   -.16873E-03
  13  Prefactor     .94624        .71106E-01    .14450E-07   -.39832E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  norm       = 0.434113
  norm       = 0.749039
  norm       = 7.6171
  norm       = 0.637454
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 9.84015
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 6.94886
  Normalizat = 1.35539
  Prefactor  = 0.94624
 **********
 **   18 **HESSE 
 **********

 FCN=   13594.07     FROM HESSE     STATUS=OK           149 CALLS     1028 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .43411        2.2303        .22507E-02   -1.5576    
   3  norm          .74904        2.7589        .35450E-03   -1.5535    
   4  norm          7.6171        3.6894        .14530E-03   -1.5156    
   5  norm          .63745        .93994E-01    .12959E-04   -1.5548    
   6  Prefactor     .10000E-03    3.6145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.8401        5.0846        .12785E-03   -1.5080    
   9  Prefactor     .10000E-03    4.9279        .29261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.9489        11.671        .15208E-03   -1.5181    
  12  Normalizat    1.3554        .22201        .38052E-03   -.81928    
  13  Prefactor     .94624        .82940E-01    .17018E-03   -.94544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18031e-08
Minuit parameter uncertainties:
  1  0.000409467
  2  1.96783
  3  2.75939
  4  3.68956
  5  0.0939941
  6  2.94776e-06
  7  0.000213769
  8  5.08483
  9  1.33392e-06
  10  0.000524483
  11  11.675
  12  0.222167
  13  0.0829511
Done.

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

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  7.490e-01  2.759e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.402e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
235         beta:  1.122e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
236           Eb:  8.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  9.462e-01  8.295e-02  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.355e+00  2.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 227.707 -5.711
Photon Flux Upper Limit: 7.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/215850/likelihoodResults_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.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) = 13593.7574453
delta logL = 0.313356180664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13593.7448214
delta logL = 0.325980130074

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55609       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7494       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95317       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13593.74     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55546        8.8035        .11498E-01    .32993E-02
   2  alpha         3.7506        4.3137        .50000        .10155E-03
   3  Normalizat    1.3164        .35744E-01    .86937E-01    .27926E-04
   4  Prefactor     .95314        .13626E-01    .45679E-01   -.23495E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.555456
  alpha      = 3.75065
  Normalizat = 1.31638
  Prefactor  = 0.953142
 **********
 **   18 **HESSE 
 **********

 FCN=   13593.74     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      247 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55546        39.629        .10198E-03   -1.5559    
   2  alpha         3.7506        3.0843        .30569E-01    .52390    
   3  Normalizat    1.3164        .24437        .38495E-03   -.83079    
   4  Prefactor     .95314        .82554E-01    .16955E-03   -.94308    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.10007e-06
Minuit parameter uncertainties:
  1  9.3891
  2  10.783
  3  0.244583
  4  0.082565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215850': 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) = 13593.7448206
delta logL = 0.325980921576

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  5.555e-01  9.389e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  3.751e+00  1.078e+01  0.000e+00  5.000e+00 ( 1.000e+00)
235         beta:  1.122e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
236           Eb:  8.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  9.531e-01  8.256e-02  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.316e+00  2.446e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 227.707 -5.711

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/215850/cmap_HighResolution_380332801_380592001_4FGL_J1510.8-0542_daily_bin544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.66e-05', job_status='DONE', photon_flux_upper_limit='7.92e-08', time_completed='2021-09-11 09:30:32.867354', job_id='215850', GAL2='0.95', fit_tolerance='1e-08', EG2='1.32', EG='1.36', time_epoch_completed='1631377832.87', return_code2='102', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.26e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='544' AND source_name='4FGL J1510.8-0542' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:30:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 215850: <4FGL_J1510.8-0542_daily_bin544> in cluster <slac> Done

Job <4FGL_J1510.8-0542_daily_bin544> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 11 09:16:03 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:16:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 09:16:04 2021
Terminated at Sat Sep 11 09:30:33 2021
Results reported at Sat Sep 11 09:30:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8-0542_daily_bin544 227.707 -5.7106 380332801 380592001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1510.8-0542 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   649.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            870 sec.

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

