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


Performing analysis on: 4FGL_J1510.8-0542_daily_bin936
RA = 227.707, Dec = -5.7106
tmin = 481939201, tmax = 482198401
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='217477', job_status='RUN', time_executed='2021-09-11 09:21:20.004584', time_epoch_executed='1631377280.0' WHERE source_name='4FGL J1510.8-0542' and cadence='daily' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217477

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217477/ft1_4FGL_J1510.8-0542_daily_bin936.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217477/ft2_4FGL_J1510.8-0542_daily_bin936.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217477/ft1_4FGL_J1510.8-0542_daily_bin936.fits outfile=/scratch/kocevski/217477/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin936.fits ra=227.707 dec=-5.7106 rad=12.0 tmin=481939201.0 tmax=482198401.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.61
user 3.34
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217477/ft1_filtered_4FGL_J1510.8-0542_daily_bin936.fits" evtable="EVENTS" scfile=/scratch/kocevski/217477/ft2_4FGL_J1510.8-0542_daily_bin936.fits sctable="SC_DATA" outfile=/scratch/kocevski/217477/ltcube_481939201_482198401_4FGL_J1510.8-0542_daily_bin936.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/217477/ft2_4FGL_J1510.8-0542_daily_bin936.fits
.....................!
real 11.91
user 11.56
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217477/ft1_filtered_4FGL_J1510.8-0542_daily_bin936.fits evtable="EVENTS" scfile=/scratch/kocevski/217477/ft2_4FGL_J1510.8-0542_daily_bin936.fits sctable="SC_DATA" expcube=/scratch/kocevski/217477/ltcube_481939201_482198401_4FGL_J1510.8-0542_daily_bin936.fits outfile=/scratch/kocevski/217477/expmap_481939201_482198401_4FGL_J1510.8-0542_daily_bin936.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/217477/ltcube_481939201_482198401_4FGL_J1510.8-0542_daily_bin936.fits
.....................!
real 189.89
user 185.11
sys 4.45

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/217477/ft1_filtered_4FGL_J1510.8-0542_daily_bin936.fits scfile=/scratch/kocevski/217477/ft2_4FGL_J1510.8-0542_daily_bin936.fits outfile=/scratch/kocevski/217477/cmap_481939201_482198401_4FGL_J1510.8-0542_daily_bin936.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217477/ft1_filtered_4FGL_J1510.8-0542_daily_bin936.fits scfile=/scratch/kocevski/217477/ft2_4FGL_J1510.8-0542_daily_bin936.fits outfile=/scratch/kocevski/217477/cmap_HighResolution_481939201_482198401_4FGL_J1510.8-0542_daily_bin936.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.54
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217477/ft1_filtered_4FGL_J1510.8-0542_daily_bin936.fits evtable="EVENTS" scfile=/scratch/kocevski/217477/ft2_4FGL_J1510.8-0542_daily_bin936.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217477/Model_4FGL_J1510.8-0542_daily_bin936.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/217477/ft1_filtered_4FGL_J1510.8-0542_daily_bin936.fits.....................!
real 82.96
user 81.57
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    127.34       1.0000         .10000E-03   10000.    
     2 'norm      '    .10226E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.4500       1.0000         .10000E-03   10000.    
     4 'norm      '    4.1257       1.0000         .10000E-03   10000.    
     5 'norm      '    .82856       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .46174E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    54.169       1.0000         .10000E-03   10000.    
     8 'norm      '    .15763E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1104       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .68020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .29748E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.4552       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .82202       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=   9786.496     FROM MIGRAD    STATUS=CONVERGED    236 CALLS     1058 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     127.71        72.591        .13718E-03   -.60875E-05
   2  norm          .10000E-03    .75678        .27267E-06** at limit **
   3  norm          5.4668        4.4078       -.68277E-07   -.28008E-03
   4  norm          4.1198        2.8393        .11661E-05    .29550E-03
   5  norm          .82849        .13846        .94203E-08   -.25520E-02
   6  Prefactor     .10000E-03    11.905        .12437E-05** at limit **
   7  Prefactor     54.360        47.456       -.77791E-04   -.40655E-04
   8  norm          .10000E-03    5.7356       -.19214E-07** at limit **
   9  Prefactor     4.1268        3.5203        .11787E-05   -.72845E-05
  10  Prefactor     .10000E-03    11.969        .14463E-05** at limit **
  11  Prefactor     .10000E-03    12.951       -.44177E-05** at limit **
  12  Normalizat    1.4550        .22998       -.41106E-05    .14279E-03
  13  Prefactor     .82200        .81285E-01    .12802E-05   -.44063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 127.713
  norm       = 0.0001
  norm       = 5.46676
  norm       = 4.11978
  norm       = 0.828488
  Prefactor  = 0.0001
  Prefactor  = 54.3599
  norm       = 0.0001
  Prefactor  = 4.1268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.45495
  Prefactor  = 0.821997
 **********
 **   18 **HESSE 
 **********

 FCN=   9786.496     FROM HESSE     STATUS=OK           145 CALLS     1203 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     127.71        72.635        .17837E-03   -1.3443    
   2  norm          .10000E-03    .76652        .83984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.4668        4.4060        .17212E-03   -1.5240    
   4  norm          4.1198        2.8406        .13450E-03   -1.5302    
   5  norm          .82849        .13780        .13852E-04   -1.5526    
   6  Prefactor     .10000E-03    12.202        .42393E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     54.360        47.573        .27249E-03   -1.4232    
   8  norm          .10000E-03    5.8240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1268        3.5204        .16569E-03   -1.5302    
  10  Prefactor     .10000E-03    11.975        .20996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.968        .21393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4550        .26774        .37818E-03   -.79052    
  13  Prefactor     .82200        .94630E-01    .17589E-03   -.98923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.191e-10
Minuit parameter uncertainties:
  1  72.6858
  2  2.20695e-05
  3  4.40627
  4  2.84074
  5  0.137796
  6  7.7122e-06
  7  47.606
  8  7.471e-06
  9  3.52054
  10  1.89446e-06
  11  2.61846e-06
  12  0.268003
  13  0.0946485
Done.

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

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  5.467e+00  4.406e+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:  8.220e-01  9.465e-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.455e+00  2.680e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.22
Ra Dec: 227.707 -5.711
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 5.44e-08 +/- 4.38e-08
Energy Flux (Fixed Index): 1.83e-05 +/- 1.47e-05

TS (Fixed Index): 3.22
Ra Dec: 227.707 -5.711
Photon Flux Upper Limit: 1.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217477/likelihoodResults_481939201_482198401_4FGL_J1510.8-0542_daily_bin936.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) = 9786.49592884
delta logL = 0.000196950872123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9786.49590203
delta logL = 0.000223769429795

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4446       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4185       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4540       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82201       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=   9786.496     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      226 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4412        114.18        .43052E-02    .32570E-03
   2  alpha         2.4179        3.1929        .41179        .51746E-04
   3  Normalizat    1.4542        .12806        .85438E-01    .73312E-04
   4  Prefactor     .82213        .33109E-01    .44003E-01    .13932E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.44118
  alpha      = 2.41786
  Normalizat = 1.45417
  Prefactor  = 0.822129
 **********
 **   18 **HESSE 
 **********

 FCN=   9786.496     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4412        4.5915        .17221E-03   -1.5241    
   2  alpha         2.4179        .75084        .20373E-01   -.32861E-01
   3  Normalizat    1.4542        .26269        .37825E-03   -.79074    
   4  Prefactor     .82213        .94696E-01    .17587E-03   -.98918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62386e-11
Minuit parameter uncertainties:
  1  4.59184
  2  0.762622
  3  0.262934
  4  0.0947146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217477': 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) = 9786.49589674
delta logL = 0.000229050361668

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  5.441e+00  4.592e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.418e+00  7.626e-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:  8.221e-01  9.471e-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.454e+00  2.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.24
Ra Dec: 227.707 -5.711
Photon Index (Free Index): 2.42 +/- 0.76
Photon Flux (Free Index): 5.53e-08 +/- 6.11e-08
Energy Flux (Free Index): 1.83e-05 +/- 1.45e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/217477/cmap_HighResolution_481939201_482198401_4FGL_J1510.8-0542_daily_bin936.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.15e-05', comment='SUCCESS', photon_flux='5.44e-08', energy_flux2='1.83e-05', photon_flux_error='4.38e-08', dlogl='2.29e-04', energy_flux='1.83e-05', photon_flux2='5.53e-08', job_status='DONE', time_completed='2021-09-11 09:30:42.604994', photon_index_error2='0.76', photon_index2='2.42', ts='3.22', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.53e-07', energy_flux_error2='1.45e-05', EG='1.45', time_epoch_completed='1631377842.61', return_code='0', job_id='217477', GAL2='0.82', EG2='1.45', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='6.11e-08', ts2='3.24', photon_index='2.40' WHERE bin_id='936' AND source_name='4FGL J1510.8-0542' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:30:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 217477: <4FGL_J1510.8-0542_daily_bin936> in cluster <slac> Done

Job <4FGL_J1510.8-0542_daily_bin936> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 11 09:21:03 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:21:06 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:21:06 2021
Terminated at Sat Sep 11 09:30:43 2021
Results reported at Sat Sep 11 09:30:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8-0542_daily_bin936 227.707 -5.7106 481939201 482198401 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 :                                   557.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   576 sec.
    Turnaround time :                            580 sec.

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

