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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin519
RA = 138.986, Dec = 29.553
tmin = 373852801, tmax = 374112001
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='106505', job_status='RUN', time_executed='2021-08-31 05:44:51.724600', time_epoch_executed='1630413891.72' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106505

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106505/ft1_4FGL_J0915.9+2933_daily_bin519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106505/ft2_4FGL_J0915.9+2933_daily_bin519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106505/ft1_4FGL_J0915.9+2933_daily_bin519.fits outfile=/scratch/kocevski/106505/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin519.fits ra=138.986 dec=29.553 rad=12.0 tmin=373852801.0 tmax=374112001.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 4.99
user 4.22
sys 0.56

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106505/ft2_4FGL_J0915.9+2933_daily_bin519.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/106505/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin519.fits evtable="EVENTS" outfile="/scratch/kocevski/106505/ft1_filtered_4FGL_J0915.9+2933_daily_bin519.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 1.04
user 0.32
sys 0.51

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106505/ft1_filtered_4FGL_J0915.9+2933_daily_bin519.fits" evtable="EVENTS" scfile=/scratch/kocevski/106505/ft2_4FGL_J0915.9+2933_daily_bin519.fits sctable="SC_DATA" outfile=/scratch/kocevski/106505/ltcube_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.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/106505/ft2_4FGL_J0915.9+2933_daily_bin519.fits
.....................!
real 12.34
user 11.54
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106505/ft1_filtered_4FGL_J0915.9+2933_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/106505/ft2_4FGL_J0915.9+2933_daily_bin519.fits sctable="SC_DATA" expcube=/scratch/kocevski/106505/ltcube_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.fits outfile=/scratch/kocevski/106505/expmap_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.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/106505/ltcube_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.fits
.....................!
real 190.73
user 185.45
sys 4.46

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/106505/ft1_filtered_4FGL_J0915.9+2933_daily_bin519.fits scfile=/scratch/kocevski/106505/ft2_4FGL_J0915.9+2933_daily_bin519.fits outfile=/scratch/kocevski/106505/cmap_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.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 1.16
user 0.37
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106505/ft1_filtered_4FGL_J0915.9+2933_daily_bin519.fits scfile=/scratch/kocevski/106505/ft2_4FGL_J0915.9+2933_daily_bin519.fits outfile=/scratch/kocevski/106505/cmap_HighResolution_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.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 1.05
user 0.39
sys 0.47

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/106505/ft1_filtered_4FGL_J0915.9+2933_daily_bin519.fits', '/scratch/kocevski/106505/ft2_4FGL_J0915.9+2933_daily_bin519.fits', expMap='/scratch/kocevski/106505/expmap_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.fits', expCube='/scratch/kocevski/106505/ltcube_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/106505/Model_4FGL_J0915.9+2933_daily_bin519.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/106505/ft1_filtered_4FGL_J0915.9+2933_daily_bin519.fits
Spacecraft file(s): /scratch/kocevski/106505/ft2_4FGL_J0915.9+2933_daily_bin519.fits
Exposure map: /scratch/kocevski/106505/expmap_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.fits
Exposure cube: /scratch/kocevski/106505/ltcube_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/106505/Model_4FGL_J0915.9+2933_daily_bin519.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) = 6474.47846954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.326       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .17672       1.0000         .10000E-03   10000.    
     4 'Prefactor '    46.615       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4236       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.754       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1977       1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.269       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.7659       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.9882       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .26877       1.0000         .10000E-03   10000.    
    16 'Prefactor '    47.643       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.345       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.2358       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .22564E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1033       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78741       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6474.477     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2422 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.326        2.1684        .79399E-08   -.22008E-03
   2  Prefactor     .10000E-03    3.3441       -.42941E-07** at limit **
   3  norm          .17638        .51883        .63316E-06    .14431E-02
   4  Prefactor     46.611        18.348       -.47348E-06   -.43652E-03
   5  Prefactor     4.4159        13.746        .13689E-05    .11974E-03
   6  norm          .10000E-03    9.5931       -.46589E-06** at limit **
   7  Prefactor     .10000E-03    1.3944        .24633E-06** at limit **
   8  Prefactor     29.752        28.785        .93155E-07    .26269E-04
   9  Prefactor     .10000E-03    1.0473       -.10045E-06** at limit **
  10  norm          1.1978        1.1164       -.83590E-08   -.67550E-03
  11  Prefactor     39.251        28.894       -.77441E-07    .13453E-03
  12  Prefactor     .10000E-03    11.194        .16295E-06** at limit **
  13  norm          5.7656        11.529        .73437E-06    .46964E-03
  14  Prefactor     2.9876        2.9349        .35447E-06    .10734E-02
  15  Prefactor     .26252        7.8331       -.62340E-05    .57474E-03
  16  Prefactor     47.650        26.536        .35914E-06    .47928E-04
  17  Prefactor     22.330        49.746       -.17401E-05   -.19376E-03
  18  Prefactor     .10000E-03    8.0258        .70355E-06** at limit **
  19  Prefactor     5.2345        7.5086        .58457E-06    .31051E-03
  20  Prefactor     .10000E-03    1.0815        .26144E-06** at limit **
  21  Normalizat    1.1039        .16909       -.16750E-05   -.71242E-03
  22  Prefactor     .78712        .16143        .11183E-05   -.36510E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.3256
  Prefactor  = 0.0001
  norm       = 0.176376
  Prefactor  = 46.6111
  Prefactor  = 4.41587
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.7523
  Prefactor  = 0.0001
  norm       = 1.19781
  Prefactor  = 39.2512
  Prefactor  = 0.0001
  norm       = 5.76564
  Prefactor  = 2.98757
  Prefactor  = 0.26252
  Prefactor  = 47.6495
  Prefactor  = 22.3302
  Prefactor  = 0.000100001
  Prefactor  = 5.23448
  Prefactor  = 0.0001
  Normalizat = 1.10387
  Prefactor  = 0.787117
 **********
 **   18 **HESSE 
 **********

 FCN=   6474.477     FROM HESSE     STATUS=OK           352 CALLS     2774 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.326        2.1704        .50095E-04   -1.5035    
   2  Prefactor     .10000E-03    3.3472        .14370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17638        .64237        .88524E-03   -1.5624    
   4  Prefactor     46.611        18.025        .58727E-04   -1.4341    
   5  Prefactor     4.4159        13.806        .19147E-03   -1.5288    
   6  norm          .10000E-03    9.6210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.5724        .18487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.752        28.783        .73450E-04   -1.4617    
   9  Prefactor     .10000E-03    1.0507        .80428E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1978        1.1191        .41517E-04   -1.5489    
  11  Prefactor     39.251        28.745        .63963E-04   -1.4454    
  12  Prefactor     .10000E-03    11.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.7656        11.493        .16727E-03   -1.5228    
  14  Prefactor     2.9876        2.9419        .12842E-03   -1.5362    
  15  Prefactor     .26252        8.9228        .19332E-02   -1.5606    
  16  Prefactor     47.650        26.586        .58093E-04   -1.4326    
  17  Prefactor     22.330        50.217        .84735E-04   -1.4763    
  18  Prefactor     .10000E-03    8.3653        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.2345        7.5642        .17567E-03   -1.5250    
  20  Prefactor     .10000E-03    4.0373        .27052E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1039        .20273        .22902E-03   -.89628    
  22  Prefactor     .78712        .18600        .26423E-03   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.76989e-09
Minuit parameter uncertainties:
  1  2.17046
  2  6.26841e-06
  3  0.642394
  4  18.0275
  5  13.8156
  6  0.000132954
  7  3.09549e-05
  8  28.7963
  9  7.36918e-06
  10  1.11912
  11  28.7548
  12  5.81189e-05
  13  11.4975
  14  2.94208
  15  3.0609
  16  26.5923
  17  50.3124
  18  0.00017523
  19  7.56561
  20  8.43164e-05
  21  0.202875
  22  0.186153
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.198e+00  1.119e+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.871e-01  1.862e-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.104e+00  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.34
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.21e-08 +/- 1.13e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.30e-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) = 6473.4024915
delta logL = 1.07476304692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6473.3295342
delta logL = 1.14772034622

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25563       1.0000         .10000E-03   10000.    
     2 'alpha     '    .51735       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1086       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79004       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=   6473.330     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      212 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25530        .25507        .89746E-02   -.78935E-03
   2  alpha         .51679        .51747        .45379       -.11612E-04
   3  Normalizat    1.1086        .16128        .37660E-01    .61855E-05
   4  Prefactor     .79013        .16063        .43587E-01    .15736E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.255296
  alpha      = 0.516788
  Normalizat = 1.10859
  Prefactor  = 0.790127
 **********
 **   18 **HESSE 
 **********

 FCN=   6473.330     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25530        .49997        .32770E-03   -1.5607    
   2  alpha         .51679        .72862        .22513E-01   -.91619    
   3  Normalizat    1.1086        .18380        .22857E-03   -.89476    
   4  Prefactor     .79013        .18300        .26379E-03   -1.0009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74387e-10
Minuit parameter uncertainties:
  1  0.499977
  2  0.759785
  3  0.183908
  4  0.183139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106505': 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) = 6473.32953375
delta logL = 1.14772078954

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.553e-01  5.000e-01  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  5.168e-01  7.598e-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.901e-01  1.831e-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.109e+00  1.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.63
Ra Dec: 138.986 29.553
Photon Index (Free Index): 0.52 +/- 0.76
Photon Flux (Free Index): 3.11e-09 +/- 3.22e-09
Energy Flux (Free Index): 6.78e-05 +/- 8.99e-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/106505/cmap_HighResolution_373852801_374112001_4FGL_J0915.9+2933_daily_bin519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-08', energy_flux2='6.78e-05', photon_flux_error='1.13e-08', dlogl='1.15e+00', energy_flux='1.39e-05', photon_flux2='3.11e-09', job_status='DONE', time_completed='2021-08-31 05:54:53.574961', photon_index_error2='0.76', photon_index2='0.52', ts='11.34', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='8.99e-05', EG='1.10', time_epoch_completed='1630414493.58', return_code='0', job_id='106505', GAL2='0.79', EG2='1.11', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.22e-09', ts2='13.63', photon_index='1.75' WHERE bin_id='519' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 106505: <4FGL_J0915.9+2933_daily_bin519> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin519> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:40:43 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:40:45 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:45 2021
Terminated at Tue Aug 31 05:54:57 2021
Results reported at Tue Aug 31 05:54:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin519 138.986 29.553 373852801 374112001 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 :                                   597.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             258.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            854 sec.

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

