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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin987
RA = 138.986, Dec = 29.553
tmin = 495158401, tmax = 495417601
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='108497', job_status='RUN', time_executed='2021-08-31 05:50:06.879585', time_epoch_executed='1630414206.88' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='987'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108497

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108497/ft1_4FGL_J0915.9+2933_daily_bin987.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108497/ft2_4FGL_J0915.9+2933_daily_bin987.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108497/ft1_4FGL_J0915.9+2933_daily_bin987.fits outfile=/scratch/kocevski/108497/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin987.fits ra=138.986 dec=29.553 rad=12.0 tmin=495158401.0 tmax=495417601.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 6.11
user 3.79
sys 0.74

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108497/ft2_4FGL_J0915.9+2933_daily_bin987.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/108497/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin987.fits evtable="EVENTS" outfile="/scratch/kocevski/108497/ft1_filtered_4FGL_J0915.9+2933_daily_bin987.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 2.44
user 0.33
sys 0.68

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108497/ft1_filtered_4FGL_J0915.9+2933_daily_bin987.fits" evtable="EVENTS" scfile=/scratch/kocevski/108497/ft2_4FGL_J0915.9+2933_daily_bin987.fits sctable="SC_DATA" outfile=/scratch/kocevski/108497/ltcube_495158401_495417601_4FGL_J0915.9+2933_daily_bin987.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/108497/ft2_4FGL_J0915.9+2933_daily_bin987.fits
.....................!
real 13.50
user 11.31
sys 0.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108497/ft1_filtered_4FGL_J0915.9+2933_daily_bin987.fits evtable="EVENTS" scfile=/scratch/kocevski/108497/ft2_4FGL_J0915.9+2933_daily_bin987.fits sctable="SC_DATA" expcube=/scratch/kocevski/108497/ltcube_495158401_495417601_4FGL_J0915.9+2933_daily_bin987.fits outfile=/scratch/kocevski/108497/expmap_495158401_495417601_4FGL_J0915.9+2933_daily_bin987.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/108497/ltcube_495158401_495417601_4FGL_J0915.9+2933_daily_bin987.fits
.....................!
real 194.55
user 184.34
sys 7.09

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/108497/ft1_filtered_4FGL_J0915.9+2933_daily_bin987.fits scfile=/scratch/kocevski/108497/ft2_4FGL_J0915.9+2933_daily_bin987.fits outfile=/scratch/kocevski/108497/cmap_495158401_495417601_4FGL_J0915.9+2933_daily_bin987.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 4.08
user 0.37
sys 0.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108497/ft1_filtered_4FGL_J0915.9+2933_daily_bin987.fits scfile=/scratch/kocevski/108497/ft2_4FGL_J0915.9+2933_daily_bin987.fits outfile=/scratch/kocevski/108497/cmap_HighResolution_495158401_495417601_4FGL_J0915.9+2933_daily_bin987.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 3.83
user 0.39
sys 0.65

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .43143       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0214       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10359E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.249       1.0000         .10000E-03   10000.    
    10 'norm      '    1.5116       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .19017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    66.131       1.0000         .10000E-03   10000.    
    13 'norm      '    10.263       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10313E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16765       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.812       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.2688       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9326       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .93356       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0476       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=   5935.549     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2092 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50715        .62110E-07** at limit **
   2  Prefactor     .32362        8.8869       -.91949E-06   -.58368E-04
   3  norm          1.0216        .63057       -.69654E-08    .17661E-03
   4  Prefactor     .10000E-03    9.2768       -.20150E-06** at limit **
   5  Prefactor     .10000E-03    4.3760        .40280E-07** at limit **
   6  norm          .10000E-03    49.187       -.47941E-05** at limit **
   7  Prefactor     .10000E-03    1.3150        .47092E-07** at limit **
   8  Prefactor     .10000E-03    22.264        .26105E-05** at limit **
   9  Prefactor     14.245        6.3005        .95379E-06   -.21322E-03
  10  norm          1.5118        1.5803       -.14439E-06   -.69586E-03
  11  Prefactor     .10000E-03    30.865        .59245E-05** at limit **
  12  Prefactor     66.122        49.153       -.88320E-05   -.14109E-04
  13  norm          10.250        10.109        .65071E-07   -.20420E-03
  14  Prefactor     .10000E-03    3.1141       -.30030E-06** at limit **
  15  Prefactor     .15906        1.8512        .90818E-06   -.14016E-02
  16  Prefactor     .10000E-03    22.716       -.41544E-06** at limit **
  17  Prefactor     .10000E-03    24.377       -.53530E-05** at limit **
  18  Prefactor     13.805        9.7736       -.44593E-06   -.90364E-04
  19  Prefactor     9.2655        8.3557       -.11836E-06   -.35491E-04
  20  Prefactor     1.9307        2.8207       -.31097E-06   -.74827E-03
  21  Normalizat    .93409        .18089       -.47685E-07   -.13186E-03
  22  Prefactor     1.0472        .16871        .52575E-06   -.10734E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.323619
  norm       = 1.02163
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.2446
  norm       = 1.51176
  Prefactor  = 0.0001
  Prefactor  = 66.1223
  norm       = 10.2503
  Prefactor  = 0.0001
  Prefactor  = 0.159063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.805
  Prefactor  = 9.26547
  Prefactor  = 1.93067
  Normalizat = 0.934091
  Prefactor  = 1.04722
 **********
 **   18 **HESSE 
 **********

 FCN=   5935.549     FROM HESSE     STATUS=OK           350 CALLS     2442 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .87283        .10528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .32362        73.325        .43439E-02   -1.5594    
   3  norm          1.0216        .62792        .46387E-04   -1.5506    
   4  Prefactor     .10000E-03    9.4032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.3868        .15739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    49.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.3211        .86256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.245        6.2583        .10611E-03   -1.4953    
  10  norm          1.5118        1.5626        .95050E-04   -1.5462    
  11  Prefactor     .10000E-03    30.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     66.122        49.030        .24676E-03   -1.4080    
  13  norm          10.250        10.097        .12507E-03   -1.5068    
  14  Prefactor     .10000E-03    3.1964        .26481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .15906        12.679        .19347E-02   -1.5628    
  16  Prefactor     .10000E-03    22.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.805        9.7893        .10777E-03   -1.4965    
  19  Prefactor     9.2655        8.3655        .13164E-03   -1.5099    
  20  Prefactor     1.9307        2.8320        .14918E-03   -1.5430    
  21  Normalizat    .93409        .20828        .25155E-03   -.95272    
  22  Prefactor     1.0472        .19461        .23522E-03   -.91172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08785e-08
Minuit parameter uncertainties:
  1  9.11475e-07
  2  9.75313
  3  0.627919
  4  1.23352e-05
  5  6.60834e-08
  6  0.000200801
  7  1.38518e-06
  8  4.72216e-05
  9  6.25863
  10  1.56269
  11  0.000234286
  12  49.0598
  13  10.0988
  14  3.38858e-05
  15  2.83999
  16  1.28817e-05
  17  7.8069e-06
  18  9.79039
  19  8.36653
  20  2.83218
  21  0.208465
  22  0.194738
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.512e+00  1.563e+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:  1.047e+00  1.947e-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:  9.341e-01  2.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.53e-08 +/- 1.58e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 1.82e-05

TS (Fixed Index): 1.54
Ra Dec: 138.986 29.553
Photon Flux Upper Limit: 5.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/108497/likelihoodResults_495158401_495417601_4FGL_J0915.9+2933_daily_bin987.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5935.15997724
delta logL = 0.388649665559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5935.15324417
delta logL = 0.395382730384

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0355       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4877       1.0000          .0000       5.0000    
     3 'Normalizat'    .91153       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0591       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=   5935.153     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      241 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0345        18.301        .12386E-01    .49304E-03
   2  alpha         2.4880        3.7070        .26492        .53700E-04
   3  Normalizat    .91150        .52838E-01    .45049E-01    .93651E-05
   4  Prefactor     1.0592        .47625E-01    .39405E-01    .26334E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.03446
  alpha      = 2.48796
  Normalizat = 0.911497
  Prefactor  = 1.05921
 **********
 **   18 **HESSE 
 **********

 FCN=   5935.153     FROM HESSE     STATUS=OK            35 CALLS      276 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0345        1.8429        .66100E-03   -1.5505    
   2  alpha         2.4880        1.1727        .13957E-01   -.48166E-02
   3  Normalizat    .91150        .20094        .25435E-03   -.96057    
   4  Prefactor     1.0592        .19604        .23398E-03   -.90781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.7776e-12
Minuit parameter uncertainties:
  1  1.84297
  2  1.2206
  3  0.201109
  4  0.196172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108497': 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) = 5935.15324333
delta logL = 0.395383567099

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.034e+00  1.843e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.488e+00  1.221e+00  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:  1.059e+00  1.962e-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:  9.115e-01  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.33
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.49 +/- 1.22
Photon Flux (Free Index): 3.37e-08 +/- 3.68e-08
Energy Flux (Free Index): 1.10e-05 +/- 1.14e-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/108497/cmap_HighResolution_495158401_495417601_4FGL_J0915.9+2933_daily_bin987.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-05', comment='SUCCESS', photon_flux='1.53e-08', energy_flux2='1.10e-05', photon_flux_error='1.58e-08', dlogl='3.95e-01', energy_flux='1.76e-05', photon_flux2='3.37e-08', job_status='DONE', time_completed='2021-08-31 06:00:37.301822', photon_index_error2='1.22', photon_index2='2.49', ts='1.54', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='5.50e-08', energy_flux_error2='1.14e-05', EG='0.93', time_epoch_completed='1630414837.3', return_code='0', job_id='108497', GAL2='1.06', EG2='0.91', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='3.68e-08', ts2='2.33', photon_index='1.75' WHERE bin_id='987' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:00:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 108497: <4FGL_J0915.9+2933_daily_bin987> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin987> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:46:13 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:46:15 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:46:15 2021
Terminated at Tue Aug 31 06:00:38 2021
Results reported at Tue Aug 31 06:00:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin987 138.986 29.553 495158401 495417601 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.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            865 sec.

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

