/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 115 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 = 7486
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1510.8-0542_daily_bin70
RA = 227.707, Dec = -5.7106
tmin = 257472001, tmax = 257731201
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='210848', job_status='RUN', time_executed='2021-09-11 09:03:20.047194', time_epoch_executed='1631376200.05' WHERE source_name='4FGL J1510.8-0542' and cadence='daily' and bin_id='70'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/210848

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/210848/ft1_4FGL_J1510.8-0542_daily_bin70.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/210848/ft2_4FGL_J1510.8-0542_daily_bin70.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/210848/ft1_4FGL_J1510.8-0542_daily_bin70.fits outfile=/scratch/kocevski/210848/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin70.fits ra=227.707 dec=-5.7106 rad=12.0 tmin=257472001.0 tmax=257731201.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 1.98
user 1.79
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/210848/ft2_4FGL_J1510.8-0542_daily_bin70.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/210848/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin70.fits evtable="EVENTS" outfile="/scratch/kocevski/210848/ft1_filtered_4FGL_J1510.8-0542_daily_bin70.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/210848/ft1_filtered_4FGL_J1510.8-0542_daily_bin70.fits" evtable="EVENTS" scfile=/scratch/kocevski/210848/ft2_4FGL_J1510.8-0542_daily_bin70.fits sctable="SC_DATA" outfile=/scratch/kocevski/210848/ltcube_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.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/210848/ft2_4FGL_J1510.8-0542_daily_bin70.fits
.....................!
real 12.56
user 12.17
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/210848/ft1_filtered_4FGL_J1510.8-0542_daily_bin70.fits evtable="EVENTS" scfile=/scratch/kocevski/210848/ft2_4FGL_J1510.8-0542_daily_bin70.fits sctable="SC_DATA" expcube=/scratch/kocevski/210848/ltcube_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.fits outfile=/scratch/kocevski/210848/expmap_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.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/210848/ltcube_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.fits
.....................!
real 191.84
user 186.44
sys 5.05

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/210848/ft1_filtered_4FGL_J1510.8-0542_daily_bin70.fits scfile=/scratch/kocevski/210848/ft2_4FGL_J1510.8-0542_daily_bin70.fits outfile=/scratch/kocevski/210848/cmap_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/210848/ft1_filtered_4FGL_J1510.8-0542_daily_bin70.fits scfile=/scratch/kocevski/210848/ft2_4FGL_J1510.8-0542_daily_bin70.fits outfile=/scratch/kocevski/210848/cmap_HighResolution_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.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.57
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/210848/ft1_filtered_4FGL_J1510.8-0542_daily_bin70.fits evtable="EVENTS" scfile=/scratch/kocevski/210848/ft2_4FGL_J1510.8-0542_daily_bin70.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/210848/Model_4FGL_J1510.8-0542_daily_bin70.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/210848/ft1_filtered_4FGL_J1510.8-0542_daily_bin70.fits.....................!
real 90.51
user 89.12
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/210848/ft1_filtered_4FGL_J1510.8-0542_daily_bin70.fits', '/scratch/kocevski/210848/ft2_4FGL_J1510.8-0542_daily_bin70.fits', expMap='/scratch/kocevski/210848/expmap_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.fits', expCube='/scratch/kocevski/210848/ltcube_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/210848/Model_4FGL_J1510.8-0542_daily_bin70.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/210848/ft1_filtered_4FGL_J1510.8-0542_daily_bin70.fits
Spacecraft file(s): /scratch/kocevski/210848/ft2_4FGL_J1510.8-0542_daily_bin70.fits
Exposure map: /scratch/kocevski/210848/expmap_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.fits
Exposure cube: /scratch/kocevski/210848/ltcube_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/210848/Model_4FGL_J1510.8-0542_daily_bin70.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) = 11077.3068416

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .12998E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.7580       1.0000         .10000E-03   10000.    
     5 'norm      '    .69909       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .85461E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .31301E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11379E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.9524       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .84622       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=   11077.28     FROM MIGRAD    STATUS=CONVERGED    252 CALLS      980 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.514        .11709E-04** at limit **
   2  norm          .10000E-03    .96462       -.37812E-07** at limit **
   3  norm          .10000E-03    1.5548        .23120E-07** at limit **
   4  norm          3.7593        2.8506        .14237E-07    .88933E-04
   5  norm          .69878        .13361       -.85899E-08   -.46555E-02
   6  Prefactor     .10001E-03    5.6511        .46093E-06** at limit **
   7  Prefactor     .10000E-03    25.006       -.50513E-05** at limit **
   8  norm          .10000E-03    1.9668       -.46907E-07** at limit **
   9  Prefactor     .10000E-03    1.6783       -.77526E-07** at limit **
  10  Prefactor     .10000E-03    16.012       -.78845E-05** at limit **
  11  Prefactor     .10000E-03    8.8576        .34051E-06** at limit **
  12  Normalizat    1.9525        .22512        .49676E-07   -.39038E-04
  13  Prefactor     .84621        .81218E-01   -.16995E-07   -.49522E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.75929
  norm       = 0.698776
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.95245
  Prefactor  = 0.84621
 **********
 **   18 **HESSE 
 **********

 FCN=   11077.28     FROM HESSE     STATUS=OK           147 CALLS     1127 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.7216        .19882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.1404        .25417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.7593        2.8443        .15020E-03   -1.5320    
   5  norm          .69878        .11671        .13901E-04   -1.5541    
   6  Prefactor     .10001E-03    23.163        .41702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.9849        .14414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.0347        .26269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.8621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.9525        .25650        .35951E-03   -.65748    
  13  Prefactor     .84621        .93812E-01    .18847E-03   -.98047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74457e-10
Minuit parameter uncertainties:
  1  7.7938e-07
  2  3.86043e-06
  3  4.37561e-06
  4  2.84442
  5  0.116711
  6  0.000687452
  7  4.95285e-06
  8  2.5848e-08
  9  9.00142e-05
  10  2.44335e-06
  11  8.1047e-08
  12  0.256676
  13  0.0938298
Done.

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

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  1.000e-04  4.376e-06  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:  8.462e-01  9.383e-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.952e+00  2.567e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/210848/likelihoodResults_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.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) = 11077.2836332
delta logL = -0.00151453284889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11077.2821195
delta logL = -8.82339008967e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4021       1.0000          .0000       5.0000    
     3 'Normalizat'    1.9524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84618       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=   11077.28     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      216 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2349        .49137E-01** at limit **
   2  alpha         2.4024        2.8882        .41192       -.58047E-06
   3  Normalizat    1.9525        .55595E-02    .81246E-01   -.15108E-04
   4  Prefactor     .84621        .20516E-02    .44315E-01   -.24645E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.40243
  Normalizat = 1.95245
  Prefactor  = 0.84621
 **********
 **   18 **HESSE 
 **********

 FCN=   11077.28     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      249 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    498.85        .25414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4024        2.8008        .16477       -.39038E-01
   3  Normalizat    1.9525        .10405        .35951E-03   -.65748    
   4  Prefactor     .84621        .38427E-01    .18847E-03   -.98047    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.02596e-07
Minuit parameter uncertainties:
  1  0.000112019
  2  2667.71
  3  0.104059
  4  0.0384278
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/210848': 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) = 11077.2821186
delta logL = 1.34605215862e-10

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  1.000e-04  1.120e-04  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.402e+00  2.668e+03  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:  8.462e-01  3.843e-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.952e+00  1.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/210848/cmap_HighResolution_257472001_257731201_4FGL_J1510.8-0542_daily_bin70.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-05', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2021-09-11 09:13:03.864755', job_id='210848', GAL2='0.85', fit_tolerance='1e-08', EG2='1.95', EG='1.95', time_epoch_completed='1631376783.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.35e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='70' AND source_name='4FGL J1510.8-0542' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:13:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 210848: <4FGL_J1510.8-0542_daily_bin70> in cluster <slac> Done

Job <4FGL_J1510.8-0542_daily_bin70> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 11 09:01:14 2021
Job was executed on host(s) <bullet0136>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:01:16 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:01:16 2021
Terminated at Sat Sep 11 09:13:04 2021
Results reported at Sat Sep 11 09:13:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8-0542_daily_bin70 227.707 -5.7106 257472001 257731201 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 :                                   582.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            710 sec.

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

