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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin500
RA = 138.986, Dec = 29.553
tmin = 368928001, tmax = 369187201
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='106473', job_status='RUN', time_executed='2021-08-31 05:44:23.178788', time_epoch_executed='1630413863.18' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106473

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106473/ft1_4FGL_J0915.9+2933_daily_bin500.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106473/ft2_4FGL_J0915.9+2933_daily_bin500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106473/ft1_4FGL_J0915.9+2933_daily_bin500.fits outfile=/scratch/kocevski/106473/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin500.fits ra=138.986 dec=29.553 rad=12.0 tmin=368928001.0 tmax=369187201.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 9.26
user 3.11
sys 6.10

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/106473/ft2_4FGL_J0915.9+2933_daily_bin500.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106473/ft2_4FGL_J0915.9+2933_daily_bin500.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/106473/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin500.fits evtable="EVENTS" outfile="/scratch/kocevski/106473/ft1_filtered_4FGL_J0915.9+2933_daily_bin500.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 6.41
user 0.35
sys 6.03

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106473/ft1_filtered_4FGL_J0915.9+2933_daily_bin500.fits" evtable="EVENTS" scfile=/scratch/kocevski/106473/ft2_4FGL_J0915.9+2933_daily_bin500.fits sctable="SC_DATA" outfile=/scratch/kocevski/106473/ltcube_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.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/106473/ft2_4FGL_J0915.9+2933_daily_bin500.fits
.....................!
real 18.89
user 11.74
sys 7.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106473/ft1_filtered_4FGL_J0915.9+2933_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/106473/ft2_4FGL_J0915.9+2933_daily_bin500.fits sctable="SC_DATA" expcube=/scratch/kocevski/106473/ltcube_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.fits outfile=/scratch/kocevski/106473/expmap_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.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/106473/ltcube_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.fits
.....................!
real 200.95
user 188.00
sys 12.50

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

Setting source of interest to:
4FGL J0915.9+2933 @ 138.986 29.553

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/106473/ft1_filtered_4FGL_J0915.9+2933_daily_bin500.fits scfile=/scratch/kocevski/106473/ft2_4FGL_J0915.9+2933_daily_bin500.fits outfile=/scratch/kocevski/106473/cmap_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.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=138.986 yref=29.553 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 6.77
user 0.36
sys 5.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106473/ft1_filtered_4FGL_J0915.9+2933_daily_bin500.fits scfile=/scratch/kocevski/106473/ft2_4FGL_J0915.9+2933_daily_bin500.fits outfile=/scratch/kocevski/106473/cmap_HighResolution_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.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=138.986 yref=29.553 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 6.53
user 0.40
sys 5.89

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/106473/ft1_filtered_4FGL_J0915.9+2933_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/106473/ft2_4FGL_J0915.9+2933_daily_bin500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/106473/Model_4FGL_J0915.9+2933_daily_bin500.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/106473/ft1_filtered_4FGL_J0915.9+2933_daily_bin500.fits.....................!
real 68.68
user 52.37
sys 8.83

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/106473/ft1_filtered_4FGL_J0915.9+2933_daily_bin500.fits', '/scratch/kocevski/106473/ft2_4FGL_J0915.9+2933_daily_bin500.fits', expMap='/scratch/kocevski/106473/expmap_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.fits', expCube='/scratch/kocevski/106473/ltcube_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/106473/Model_4FGL_J0915.9+2933_daily_bin500.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0915.9+2933'

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.063e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/106473/ft1_filtered_4FGL_J0915.9+2933_daily_bin500.fits
Spacecraft file(s): /scratch/kocevski/106473/ft2_4FGL_J0915.9+2933_daily_bin500.fits
Exposure map: /scratch/kocevski/106473/expmap_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.fits
Exposure cube: /scratch/kocevski/106473/ltcube_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/106473/Model_4FGL_J0915.9+2933_daily_bin500.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) = 5970.93352416

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3349       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .54021       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.777       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5418       1.0000         .10000E-03   10000.    
     6 'norm      '    59.055       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7166       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1146       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9403       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9219       1.0000         .10000E-03   10000.    
    17 'Prefactor '    43.551       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8337       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.043       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1555       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1224       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .73640       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5970.933     FROM MIGRAD    STATUS=CONVERGED     57 CALLS     1917 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3345        1.8319       -.74131E-06    .87916E-04
   2  Prefactor     .10000E-03    9.1653        .32032E-04** at limit **
   3  norm          .54046        .66302        .76002E-06    .11610E-03
   4  Prefactor     11.775        1.1379       -.11544E-05    .23408E-02
   5  Prefactor     5.5415        1.0086       -.29704E-06    .21618E-03
   6  norm          59.055        1.0004       -.25321E-07    .27854E-03
   7  Prefactor     5.7167        1.0049       -.10860E-06   -.36247E-03
   8  Prefactor     .10000E-03    11.381       -.33689E-04** at limit **
   9  Prefactor     .10000E-03    .91636        .27242E-05** at limit **
  10  norm          2.1145        1.3380       -.24928E-06   -.73966E-04
  11  Prefactor     .10000E-03    5.5623       -.76223E-05** at limit **
  12  Prefactor     7.9401        1.0058       -.22637E-06    .41539E-03
  13  norm          .10000E-03    2.7943       -.11255E-05** at limit **
  14  Prefactor     .10000E-03    1.2769        .78321E-06** at limit **
  15  Prefactor     .10000E-03    1.0018        .24158E-05** at limit **
  16  Prefactor     2.9187        1.4670       -.45498E-05    .28836E-02
  17  Prefactor     43.551        1.0025       -.77235E-07    .77638E-03
  18  Prefactor     1.8317        1.0449        .93669E-07   -.75738E-04
  19  Prefactor     12.043        1.0056       -.20377E-06    .38576E-03
  20  Prefactor     1.1553        1.4999       -.62142E-06    .16415E-04
  21  Normalizat    1.1224        .17863        .11638E-04    .11661E-03
  22  Prefactor     .73638        .17864       -.98246E-05    .14959E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.33446
  Prefactor  = 0.000100001
  norm       = 0.540456
  Prefactor  = 11.7754
  Prefactor  = 5.54154
  norm       = 59.0547
  Prefactor  = 5.71668
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 2.11451
  Prefactor  = 0.0001
  Prefactor  = 7.9401
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.91871
  Prefactor  = 43.5512
  Prefactor  = 1.83172
  Prefactor  = 12.0427
  Prefactor  = 1.1553
  Normalizat = 1.12238
  Prefactor  = 0.736378
 **********
 **   18 **HESSE 
 **********

 FCN=   5970.933     FROM HESSE     STATUS=OK           392 CALLS     2309 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3345        1.8404        .43500E-02   -1.5246    
   2  Prefactor     .10000E-03    9.1016        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .54046        .74386        .11434E-01   -1.5561    
   4  Prefactor     11.775        13.849        .29183E-02   -1.5022    
   5  Prefactor     5.5415        9.6147        .42667E-02   -1.5237    
   6  norm          59.055        35.276        .13052E-02   -1.4170    
   7  Prefactor     5.7167        3.4243        .41999E-02   -1.5230    
   8  Prefactor     .10000E-03    11.394        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .91427        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1145        1.3336        .70917E-02   -1.5417    
  11  Prefactor     .10000E-03    5.5553        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.9401        59.978        .35573E-02   -1.5144    
  13  norm          .10000E-03    2.7777        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.2488        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .99670        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9187        98.691        .59415E-02   -1.5366    
  17  Prefactor     43.551        51.056        .15187E-02   -1.4387    
  18  Prefactor     1.8317        7.7466        .77037E-02   -1.5437    
  19  Prefactor     12.043        10.076        .28859E-02   -1.5014    
  20  Prefactor     1.1553        1.7045        .24288E-01   -1.5493    
  21  Normalizat    1.1224        .16852        .37155E-01   -.89036    
  22  Prefactor     .73638        .15969        .42884E-01   -1.0212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.04501e-07
Minuit parameter uncertainties:
  1  1.84045
  2  0.000201035
  3  0.743877
  4  13.8524
  5  9.61736
  6  35.2882
  7  3.42439
  8  0.000420171
  9  1.47316e-06
  10  1.33362
  11  6.22173e-05
  12  43.7063
  13  2.25806e-05
  14  2.34076e-06
  15  6.44527e-07
  16  34.0046
  17  51.1076
  18  7.53526
  19  10.0776
  20  1.70452
  21  0.168603
  22  0.159789
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.115e+00  1.334e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.364e-01  1.598e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.122e+00  1.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.44
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.14e-08 +/- 1.35e-08
Energy Flux (Fixed Index): 2.46e-05 +/- 1.55e-05

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) = 5970.795228
delta logL = 0.137671376562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5970.79404503
delta logL = 0.138854347514

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5970.794     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      195 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0502        1.7389        .72179E-02    .49041E-02
   2  alpha         1.4872        .54282        .35776       -.74007E-05
   3  Normalizat    1.1262        .15786        .37021E-01    .67512E-05
   4  Prefactor     .73627        .15756        .42882E-01    .15176E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.05015
  alpha      = 1.48717
  Normalizat = 1.12622
  Prefactor  = 0.73627
 **********
 **   18 **HESSE 
 **********

 FCN=   5970.794     FROM HESSE     STATUS=OK            31 CALLS      226 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0502        1.4044        .70758E-04   -1.5422    
   2  alpha         1.4872        .49548        .13907E-01   -.41712    
   3  Normalizat    1.1262        .17804        .21541E-03   -.88914    
   4  Prefactor     .73627        .17804        .25983E-03   -1.0212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32778e-09
Minuit parameter uncertainties:
  1  1.40445
  2  0.499441
  3  0.178131
  4  0.178181
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106473': 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) = 5970.79404499
delta logL = 0.138854391246

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.050e+00  1.404e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.487e+00  4.994e-01  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.363e-01  1.782e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.126e+00  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.71
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.49 +/- 0.50
Photon Flux (Free Index): 1.59e-08 +/- 1.40e-08
Energy Flux (Free Index): 3.61e-05 +/- 3.69e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/106473/cmap_HighResolution_368928001_369187201_4FGL_J0915.9+2933_daily_bin500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.14e-08', energy_flux2='3.61e-05', photon_flux_error='1.35e-08', dlogl='1.39e-01', energy_flux='2.46e-05', photon_flux2='1.59e-08', job_status='DONE', time_completed='2021-08-31 05:55:01.417918', photon_index_error2='0.50', photon_index2='1.49', ts='15.44', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='3.69e-05', EG='1.12', time_epoch_completed='1630414501.42', return_code='0', job_id='106473', GAL2='0.74', EG2='1.13', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='1.40e-08', ts2='15.71', photon_index='1.75' WHERE bin_id='500' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:55:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 106473: <4FGL_J0915.9+2933_daily_bin500> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin500> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:40:40 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:40:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 05:40:42 2021
Terminated at Tue Aug 31 05:55:03 2021
Results reported at Tue Aug 31 05:55:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin500 138.986 29.553 368928001 369187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0915.9+2933 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   715.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             254.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            863 sec.

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

