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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin598
RA = 138.986, Dec = 29.553
tmin = 394329601, tmax = 394588801
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='106645', job_status='RUN', time_executed='2021-08-31 05:45:54.153072', time_epoch_executed='1630413954.15' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106645

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106645/ft1_4FGL_J0915.9+2933_daily_bin598.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106645/ft2_4FGL_J0915.9+2933_daily_bin598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106645/ft1_4FGL_J0915.9+2933_daily_bin598.fits outfile=/scratch/kocevski/106645/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin598.fits ra=138.986 dec=29.553 rad=12.0 tmin=394329601.0 tmax=394588801.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 13.15
user 7.08
sys 5.98

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106645/ft2_4FGL_J0915.9+2933_daily_bin598.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/106645/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin598.fits evtable="EVENTS" outfile="/scratch/kocevski/106645/ft1_filtered_4FGL_J0915.9+2933_daily_bin598.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.28
user 0.34
sys 5.85

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106645/ft1_filtered_4FGL_J0915.9+2933_daily_bin598.fits" evtable="EVENTS" scfile=/scratch/kocevski/106645/ft2_4FGL_J0915.9+2933_daily_bin598.fits sctable="SC_DATA" outfile=/scratch/kocevski/106645/ltcube_394329601_394588801_4FGL_J0915.9+2933_daily_bin598.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/106645/ft2_4FGL_J0915.9+2933_daily_bin598.fits
.....................!
real 18.34
user 11.46
sys 6.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106645/ft1_filtered_4FGL_J0915.9+2933_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/106645/ft2_4FGL_J0915.9+2933_daily_bin598.fits sctable="SC_DATA" expcube=/scratch/kocevski/106645/ltcube_394329601_394588801_4FGL_J0915.9+2933_daily_bin598.fits outfile=/scratch/kocevski/106645/expmap_394329601_394588801_4FGL_J0915.9+2933_daily_bin598.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/106645/ltcube_394329601_394588801_4FGL_J0915.9+2933_daily_bin598.fits
.....................!
real 200.27
user 186.55
sys 13.14

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/106645/ft1_filtered_4FGL_J0915.9+2933_daily_bin598.fits scfile=/scratch/kocevski/106645/ft2_4FGL_J0915.9+2933_daily_bin598.fits outfile=/scratch/kocevski/106645/cmap_394329601_394588801_4FGL_J0915.9+2933_daily_bin598.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.13
user 0.38
sys 5.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106645/ft1_filtered_4FGL_J0915.9+2933_daily_bin598.fits scfile=/scratch/kocevski/106645/ft2_4FGL_J0915.9+2933_daily_bin598.fits outfile=/scratch/kocevski/106645/cmap_HighResolution_394329601_394588801_4FGL_J0915.9+2933_daily_bin598.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.20
user 0.37
sys 5.77

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4628       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.984       1.0000         .10000E-03   10000.    
     3 'norm      '    3.0473       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.3586       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    43.770       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7015       1.0000         .10000E-03   10000.    
    10 'norm      '    2.9426       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    68.587       1.0000         .10000E-03   10000.    
    13 'norm      '    6.0782       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7531       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16028       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5528       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.905       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.208       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0470       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94891       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=   5434.815     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     2363 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4621        1.7107        .88998E-06    .30490E-04
   2  Prefactor     26.983        2.2080       -.41039E-06    .10806E-02
   3  norm          3.0470        1.1705        .12134E-06   -.90315E-04
   4  Prefactor     8.3583        1.0040        .12077E-07    .35873E-03
   5  Prefactor     .10000E-03    27.295        .16095E-04** at limit **
   6  norm          .10000E-03    12.837        .52742E-05** at limit **
   7  Prefactor     .10000E-03    1.5582        .74326E-06** at limit **
   8  Prefactor     43.642        27.122        .22408E-05   -.19451E-01
   9  Prefactor     1.7063        4.7545       -.16348E-05    .32044E-03
  10  norm          2.9428        2.0244       -.95753E-06   -.27339E-03
  11  Prefactor     .10000E-03    12.441        .50362E-05** at limit **
  12  Prefactor     68.418        33.614        .11217E-05   -.11169E-01
  13  norm          6.0740        4.2526       -.17928E-05   -.69566E-02
  14  Prefactor     .10000E-03    1.7687        .10876E-05** at limit **
  15  Prefactor     .10000E-03    5.0673       -.11670E-05** at limit **
  16  Prefactor     1.7510        1.1381       -.84423E-07    .15897E-03
  17  Prefactor     .18934E-01    6226.2        .74882E-05    .11987E-02
  18  Prefactor     5.5527        5.2964        .18639E-06    .29756E-03
  19  Prefactor     19.901        11.953       -.29029E-05   -.11619E-01
  20  Prefactor     10.207        4.0127        .93392E-06   -.12595E-03
  21  Normalizat    1.0470        .23108        .16528E-05   -.12993E-03
  22  Prefactor     .94901        .21977       -.77213E-05   -.14720E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.46212
  Prefactor  = 26.9832
  norm       = 3.04705
  Prefactor  = 8.35828
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 43.6418
  Prefactor  = 1.7063
  norm       = 2.94282
  Prefactor  = 0.0001
  Prefactor  = 68.418
  norm       = 6.07399
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.75102
  Prefactor  = 0.0189344
  Prefactor  = 5.55275
  Prefactor  = 19.9008
  Prefactor  = 10.2075
  Normalizat = 1.04701
  Prefactor  = 0.949007
 **********
 **   18 **HESSE 
 **********

 FCN=   5434.815     FROM HESSE     STATUS=OK           400 CALLS     2763 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4621        1.8422        .88913E-02   -1.5466    
   2  Prefactor     26.983        19.362        .19280E-02   -1.4669    
   3  norm          3.0470        1.2133        .58105E-02   -1.5359    
   4  Prefactor     8.3583        12.367        .34665E-02   -1.5130    
   5  Prefactor     .10000E-03    26.968        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    12.878        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5405        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     43.642        53.137        .15149E-02   -1.4386    
   9  Prefactor     1.7063        5.0895        .80617E-02   -1.5447    
  10  norm          2.9428        2.0377        .59192E-02   -1.5365    
  11  Prefactor     .10000E-03    12.485        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     68.418        71.990        .12117E-02   -1.4052    
  13  norm          6.0740        9.4645        .40713E-02   -1.5215    
  14  Prefactor     .10000E-03    1.7582        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.6986        .41346E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7510        76.870        .79152E-02   -1.5443    
  17  Prefactor     .18934E-01    66.603        .16549       -1.5681    
  18  Prefactor     5.5527        5.3060        .42624E-02   -1.5237    
  19  Prefactor     19.901        13.413        .22443E-02   -1.4815    
  20  Prefactor     10.207        4.0501        .31353E-02   -1.5069    
  21  Normalizat    1.0470        .20427        .40763E-01   -.91472    
  22  Prefactor     .94901        .19149        .45625E-01   -.94449    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73649e-06
Minuit parameter uncertainties:
  1  1.84227
  2  19.3668
  3  1.21327
  4  12.371
  5  0.00011052
  6  0.000225439
  7  2.32779e-06
  8  53.1944
  9  5.09078
  10  2.03778
  11  8.97809e-05
  12  72.0822
  13  9.4668
  14  3.13737e-06
  15  4.87522e-06
  16  23.2347
  17  2.24252
  18  5.30648
  19  13.415
  20  4.0502
  21  0.204421
  22  0.191623
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.943e+00  2.038e+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:  9.490e-01  1.916e-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.047e+00  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.30
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.98e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 3.42e-05 +/- 2.37e-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) = 5434.81534557
delta logL = 3.92160582123e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5434.81534533
delta logL = 3.94572689402e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9428       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7451       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94906       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5434.815     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      219 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9430        2.0244        .84316E-04   -.20956E-02
   2  alpha         1.7451        .55462        .13374E-01   -.12850E-03
   3  Normalizat    1.0472        .22245        .25533E-03    .67190E-04
   4  Prefactor     .94894        .21706        .25989E-03    .15700E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.94297
  alpha      = 1.74507
  Normalizat = 1.0472
  Prefactor  = 0.948936
 **********
 **   18 **HESSE 
 **********

 FCN=   5434.815     FROM HESSE     STATUS=OK            23 CALLS      242 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9430        2.0232        .16863E-04   -1.5365    
   2  alpha         1.7451        .55413        .53497E-03   -.30676    
   3  Normalizat    1.0472        .22259        .10213E-04   -.91465    
   4  Prefactor     .94894        .21724        .10396E-04   -.94452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60501e-09
Minuit parameter uncertainties:
  1  2.02329
  2  0.559251
  3  0.222791
  4  0.217443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106645': 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) = 5434.81534513
delta logL = 3.96494397137e-05

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.943e+00  2.023e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.745e+00  5.593e-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:  9.489e-01  2.174e-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.047e+00  2.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.29
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.75 +/- 0.56
Photon Flux (Free Index): 2.96e-08 +/- 2.85e-08
Energy Flux (Free Index): 3.44e-05 +/- 3.34e-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/106645/cmap_HighResolution_394329601_394588801_4FGL_J0915.9+2933_daily_bin598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.98e-08', energy_flux2='3.44e-05', photon_flux_error='2.06e-08', dlogl='3.96e-05', energy_flux='3.42e-05', photon_flux2='2.96e-08', job_status='DONE', time_completed='2021-08-31 05:56:35.954924', photon_index_error2='0.56', photon_index2='1.75', ts='5.30', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='3.34e-05', EG='1.05', time_epoch_completed='1630414595.95', return_code='0', job_id='106645', GAL2='0.95', EG2='1.05', return_code2='0', energy_flux_error='2.37e-05', photon_flux_error2='2.85e-08', ts2='5.29', photon_index='1.75' WHERE bin_id='598' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:56:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 106645: <4FGL_J0915.9+2933_daily_bin598> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin598 138.986 29.553 394329601 394588801 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 :                                   728.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             227.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            944 sec.

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

