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


Performing analysis on: 4FGL_J1518.0-2731_daily_bin1264
RA = 229.512, Dec = -27.5313
tmin = 566956801, tmax = 567216001
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='485852', job_status='RUN', time_executed='2021-09-12 01:04:09.598339', time_epoch_executed='1631433849.6' WHERE source_name='4FGL J1518.0-2731' and cadence='daily' and bin_id='1264'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/485852

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/485852/ft1_4FGL_J1518.0-2731_daily_bin1264.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/485852/ft1_4FGL_J1518.0-2731_daily_bin1264.fits outfile=/scratch/kocevski/485852/ft1_filteredMKT_4FGL_J1518.0-2731_daily_bin1264.fits ra=229.512 dec=-27.5313 rad=12.0 tmin=566956801.0 tmax=567216001.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 2.49
user 2.30
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.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/485852/ft1_filteredMKT_4FGL_J1518.0-2731_daily_bin1264.fits evtable="EVENTS" outfile="/scratch/kocevski/485852/ft1_filtered_4FGL_J1518.0-2731_daily_bin1264.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/485852/ft1_filtered_4FGL_J1518.0-2731_daily_bin1264.fits" evtable="EVENTS" scfile=/scratch/kocevski/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.fits sctable="SC_DATA" outfile=/scratch/kocevski/485852/ltcube_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.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/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.fits
.....................!
real 12.38
user 12.04
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/485852/ft1_filtered_4FGL_J1518.0-2731_daily_bin1264.fits evtable="EVENTS" scfile=/scratch/kocevski/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.fits sctable="SC_DATA" expcube=/scratch/kocevski/485852/ltcube_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.fits outfile=/scratch/kocevski/485852/expmap_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.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/485852/ltcube_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.fits
.....................!
real 189.28
user 185.03
sys 3.93

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
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 222 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1518.0-2731 @ 229.512 -27.5313

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/485852/ft1_filtered_4FGL_J1518.0-2731_daily_bin1264.fits scfile=/scratch/kocevski/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.fits outfile=/scratch/kocevski/485852/cmap_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.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=229.512 yref=-27.5313 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/485852/ft1_filtered_4FGL_J1518.0-2731_daily_bin1264.fits scfile=/scratch/kocevski/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.fits outfile=/scratch/kocevski/485852/cmap_HighResolution_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.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=229.512 yref=-27.5313 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/485852/ft1_filtered_4FGL_J1518.0-2731_daily_bin1264.fits evtable="EVENTS" scfile=/scratch/kocevski/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/485852/Model_4FGL_J1518.0-2731_daily_bin1264.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 FHES J1626.9-2431
adding source GAL_V02
Working on...
/scratch/kocevski/485852/ft1_filtered_4FGL_J1518.0-2731_daily_bin1264.fits.....................!
real 80.03
user 78.74
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/485852/ft1_filtered_4FGL_J1518.0-2731_daily_bin1264.fits', '/scratch/kocevski/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.fits', expMap='/scratch/kocevski/485852/expmap_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.fits', expCube='/scratch/kocevski/485852/ltcube_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/485852/Model_4FGL_J1518.0-2731_daily_bin1264.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1518.0-2731'

4FGL J1518.0-2731
   Spectrum: PowerLaw
351    Prefactor:  2.846e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
352        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/485852/ft1_filtered_4FGL_J1518.0-2731_daily_bin1264.fits
Spacecraft file(s): /scratch/kocevski/485852/ft2_4FGL_J1518.0-2731_daily_bin1264.fits
Exposure map: /scratch/kocevski/485852/expmap_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.fits
Exposure cube: /scratch/kocevski/485852/ltcube_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/485852/Model_4FGL_J1518.0-2731_daily_bin1264.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) = 7607.763781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.0453       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    161.76       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13633E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.960       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6079       1.0000         .10000E-03   10000.    
    11 'norm      '    4.3273       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.2281       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.620       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.125       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.7829       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83531       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7605.565     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     1959 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.230        .24462E-06** at limit **
   2  Prefactor     .10000E-03    12.958       -.18283E-06** at limit **
   3  Prefactor     3.0241        83.726       -.11955E-05   -.27308E-04
   4  Prefactor     .10000E-03    189.36        .33535E-06** at limit **
   5  Prefactor     162.01        229.75        .23229E-04    .22173E-03
   6  Prefactor     .10004E-03    5.3008       -.69426E-06** at limit **
   7  Prefactor     .10000E-03    8.2055        .44334E-07** at limit **
   8  norm          .10000E-03    .28444        .50196E-08** at limit **
   9  Prefactor     27.961        16.002       -.12565E-05   -.11517E-03
  10  Prefactor     3.6135        13.635       -.22003E-05   -.13301E-03
  11  norm          4.3278        8.0188        .79439E-05   -.29272E-03
  12  norm          .10000E-03    21.447        .33840E-06** at limit **
  13  norm          2.2282        1.0007        .10210E-06    .30471E-04
  14  Prefactor     .10000E-03    2.9605       -.92681E-07** at limit **
  15  norm          .10000E-03    1.6129       -.24413E-07** at limit **
  16  Prefactor     13.647        70.336        .69093E-05    .70051E-04
  17  Prefactor     19.126        33.568        .44424E-06    .36626E-05
  18  norm          .10000E-03    6.2478       -.11658E-08** at limit **
  19  Prefactor     .10000E-03    3.2750       -.46929E-07** at limit **
  20  Normalizat    1.7826        .34441       -.58423E-05    .12798E-03
  21  Prefactor     .83536        .85051E-01    .56244E-06   -.17343E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.02409
  Prefactor  = 0.000100001
  Prefactor  = 162.015
  Prefactor  = 0.000100038
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.9611
  Prefactor  = 3.61355
  norm       = 4.32779
  norm       = 0.0001
  norm       = 2.22824
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.6466
  Prefactor  = 19.1258
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.78261
  Prefactor  = 0.835355
 **********
 **   18 **HESSE 
 **********

 FCN=   7605.565     FROM HESSE     STATUS=OK           311 CALLS     2270 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0241        84.214        .23250E-03   -1.5360    
   4  Prefactor     .10000E-03    193.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     162.01        242.87        .15854E-03   -1.3155    
   6  Prefactor     .10004E-03    20.333        .38683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.2084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .28858        .45355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.961        15.996        .75765E-04   -1.4650    
  10  Prefactor     3.6135        13.669        .21272E-03   -1.5328    
  11  norm          4.3278        8.2824        .96823E-03   -1.5292    
  12  norm          .10000E-03    21.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2282        .99996        .55786E-04   -1.5409    
  14  Prefactor     .10000E-03    2.9650        .14651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.6224        .10814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.647        71.110        .10853E-03   -1.4969    
  17  Prefactor     19.126        33.576        .91585E-04   -1.4833    
  18  norm          .10000E-03    6.2489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.3653        .30781E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.7826        .39982        .44011E-03   -.70118    
  21  Prefactor     .83536        .10066        .15885E-03   -.98438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40689e-09
Minuit parameter uncertainties:
  1  2.95425e-05
  2  1.63747e-05
  3  31.9661
  4  0.000857238
  5  244.393
  6  0.00176765
  7  6.07684e-06
  8  3.20792e-07
  9  15.998
  10  13.6804
  11  8.28461
  12  5.13098e-05
  13  0.999964
  14  3.5296e-06
  15  3.14619e-06
  16  62.4198
  17  33.6089
  18  5.12908e-07
  19  1.29868e-05
  20  0.400554
  21  0.100681
Done.

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

Extracting fit parameters...

4FGL J1518.0-2731
   Spectrum: PowerLaw
351    Prefactor:  1.000e-04  3.530e-06  1.000e-04  1.000e+04 ( 1.000e-13)
352        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
756    Prefactor:  8.354e-01  1.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
757        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
758        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
751   Normalization:  1.783e+00  4.006e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.512 -27.531
Photon Flux Upper Limit: 8.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/485852/likelihoodResults_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.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) = 7605.56639267
delta logL = -0.00160315539961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7605.56478946
delta logL = 5.68334144191e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0406       1.0000          .0000       10.000    
     3 'Normalizat'    1.7826       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83537       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7605.565     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.831        .90712E-02** at limit **
   2  Index         2.0296        8.9126        .50000        .29062E-04
   3  Normalizat    1.7826        .34269E-01    .99366E-01    .18167E-04
   4  Prefactor     .83536        .89773E-02    .44176E-01    .31201E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.02962
  Normalizat = 1.7826
  Prefactor  = 0.835357
 **********
 **   18 **HESSE 
 **********

 FCN=   7605.565     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    553.63        .14724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0296        5.9468        .50000       -.63612    
   3  Normalizat    1.7826        .17796        .44012E-03   -.70119    
   4  Prefactor     .83536        .46710E-01    .15885E-03   -.98438    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.66977e-07
Minuit parameter uncertainties:
  1  5.68508e-05
  2  55.2422
  3  0.178027
  4  0.0467125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/485852': 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) = 7605.56478935
delta logL = 1.62920514413e-07

Extracting fit parameters...

4FGL J1518.0-2731
   Spectrum: PowerLaw
351    Prefactor:  1.000e-04  5.685e-05  1.000e-04  1.000e+04 ( 1.000e-13)
352        Index:  2.030e+00  5.524e+01  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  2.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
756    Prefactor:  8.354e-01  4.671e-02  0.000e+00  1.000e+01 ( 1.000e+00)
757        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
758        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
751   Normalization:  1.783e+00  1.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.512 -27.531

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/485852/cmap_HighResolution_566956801_567216001_4FGL_J1518.0-2731_daily_bin1264.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.53e-03', job_status='DONE', photon_flux_upper_limit='8.67e-08', time_completed='2021-09-12 01:17:15.569856', job_id='485852', GAL2='0.84', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1631434635.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.63e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1264' AND source_name='4FGL J1518.0-2731' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 01:17:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 485852: <4FGL_J1518.0-2731_daily_bin1264> in cluster <slac> Done

Job <4FGL_J1518.0-2731_daily_bin1264> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 01:00:50 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 01:00:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 01:00:51 2021
Terminated at Sun Sep 12 01:17:16 2021
Results reported at Sun Sep 12 01:17:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1518.0-2731_daily_bin1264 229.512 -27.5313 566956801 567216001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1518.0-2731 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   773.04 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             262.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            986 sec.

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

