/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 4 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 = 7422
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin158
RA = 138.986, Dec = 29.553
tmin = 280281601, tmax = 280540801
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='103364', job_status='RUN', time_executed='2021-08-31 05:31:21.628159', time_epoch_executed='1630413081.63' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='158'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103364

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103364/ft1_4FGL_J0915.9+2933_daily_bin158.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103364/ft2_4FGL_J0915.9+2933_daily_bin158.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103364/ft1_4FGL_J0915.9+2933_daily_bin158.fits outfile=/scratch/kocevski/103364/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin158.fits ra=138.986 dec=29.553 rad=12.0 tmin=280281601.0 tmax=280540801.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.27
user 4.04
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103364/ft2_4FGL_J0915.9+2933_daily_bin158.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/103364/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin158.fits evtable="EVENTS" outfile="/scratch/kocevski/103364/ft1_filtered_4FGL_J0915.9+2933_daily_bin158.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.32
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103364/ft1_filtered_4FGL_J0915.9+2933_daily_bin158.fits" evtable="EVENTS" scfile=/scratch/kocevski/103364/ft2_4FGL_J0915.9+2933_daily_bin158.fits sctable="SC_DATA" outfile=/scratch/kocevski/103364/ltcube_280281601_280540801_4FGL_J0915.9+2933_daily_bin158.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/103364/ft2_4FGL_J0915.9+2933_daily_bin158.fits
.....................!
real 11.87
user 11.45
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103364/ft1_filtered_4FGL_J0915.9+2933_daily_bin158.fits evtable="EVENTS" scfile=/scratch/kocevski/103364/ft2_4FGL_J0915.9+2933_daily_bin158.fits sctable="SC_DATA" expcube=/scratch/kocevski/103364/ltcube_280281601_280540801_4FGL_J0915.9+2933_daily_bin158.fits outfile=/scratch/kocevski/103364/expmap_280281601_280540801_4FGL_J0915.9+2933_daily_bin158.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/103364/ltcube_280281601_280540801_4FGL_J0915.9+2933_daily_bin158.fits
.....................!
real 190.08
user 185.26
sys 3.83

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/103364/ft1_filtered_4FGL_J0915.9+2933_daily_bin158.fits scfile=/scratch/kocevski/103364/ft2_4FGL_J0915.9+2933_daily_bin158.fits outfile=/scratch/kocevski/103364/cmap_280281601_280540801_4FGL_J0915.9+2933_daily_bin158.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 0.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103364/ft1_filtered_4FGL_J0915.9+2933_daily_bin158.fits scfile=/scratch/kocevski/103364/ft2_4FGL_J0915.9+2933_daily_bin158.fits outfile=/scratch/kocevski/103364/cmap_HighResolution_280281601_280540801_4FGL_J0915.9+2933_daily_bin158.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 0.50
user 0.38
sys 0.11

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0432       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .67773E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .37328       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17602       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8930       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .99557       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7242       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    91.464       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.2359       1.0000         .10000E-03   10000.    
    16 'Prefactor '    45.964       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.435       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.4370       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.7217       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1347       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86559       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=   5514.537     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2425 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0422        1.6246       -.80169E-07    .10946E-03
   2  Prefactor     .10000E-03    9.4965        .74629E-08** at limit **
   3  norm          .37420        .86954       -.42066E-06   -.19705E-02
   4  Prefactor     .10097E-03    14.171        .18804E-06** at limit **
   5  Prefactor     2.8914        43.237       -.16913E-04   -.73739E-04
   6  norm          .10000E-03    15.481       -.59839E-06** at limit **
   7  Prefactor     .10000E-03    1.3464       -.19949E-07** at limit **
   8  Prefactor     .10000E-03    11.863        .31161E-06** at limit **
   9  Prefactor     .99539        2.8871       -.13220E-05   -.11061E-02
  10  norm          1.7240        1.8150       -.53505E-06   -.25005E-03
  11  Prefactor     .10000E-03    4.2286       -.12683E-06** at limit **
  12  Prefactor     91.470        71.580        .67651E-05    .25428E-04
  13  norm          .10000E-03    1.8884       -.33988E-07** at limit **
  14  Prefactor     .10000E-03    1.4241       -.61364E-07** at limit **
  15  Prefactor     9.2340        5.6016        .38844E-05    .61973E-04
  16  Prefactor     45.959        32.640       -.99354E-05    .12274E-04
  17  Prefactor     16.365        56.882       -.60648E-04    .44617E-05
  18  Prefactor     8.4352        7.9751       -.10429E-05   -.63132E-04
  19  Prefactor     1.7209        6.1984        .60125E-05   -.57658E-03
  20  Prefactor     .10000E-03    .68976        .26103E-07** at limit **
  21  Normalizat    1.1348        .19031        .55905E-06    .23802E-03
  22  Prefactor     .86571        .17396        .28094E-05    .69975E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0422
  Prefactor  = 0.0001
  norm       = 0.3742
  Prefactor  = 0.000100971
  Prefactor  = 2.89143
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.995388
  norm       = 1.724
  Prefactor  = 0.0001
  Prefactor  = 91.4703
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.23397
  Prefactor  = 45.959
  Prefactor  = 16.3647
  Prefactor  = 8.43518
  Prefactor  = 1.72093
  Prefactor  = 0.0001
  Normalizat = 1.13477
  Prefactor  = 0.865707
 **********
 **   18 **HESSE 
 **********

 FCN=   5514.537     FROM HESSE     STATUS=OK           358 CALLS     2783 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0422        1.6026        .65845E-04   -1.5359    
   2  Prefactor     .10000E-03    51.488        .43129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .37420        .78765        .89784E-03   -1.5586    
   4  Prefactor     .10097E-03    20.960        .72546E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8914        43.601        .23892E-03   -1.5368    
   6  norm          .10000E-03    15.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.3540        .84134E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .99539        2.7452        .20863E-02   -1.5508    
  10  norm          1.7240        1.8021        .98110E-04   -1.5445    
  11  Prefactor     .10000E-03    4.2302        .14914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     91.470        71.552        .42018E-04   -1.3792    
  13  norm          .10000E-03    1.8908        .99657E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.4499        .86493E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.2340        5.5869        .12537E-03   -1.5100    
  16  Prefactor     45.959        32.730        .59140E-04   -1.4351    
  17  Prefactor     16.365        56.884        .98796E-04   -1.4899    
  18  Prefactor     8.4352        7.9762        .13801E-03   -1.5127    
  19  Prefactor     1.7209        6.0927        .32013E-03   -1.5446    
  20  Prefactor     .10000E-03    .69327        .60218E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1348        .22270        .23823E-03   -.88643    
  22  Prefactor     .86571        .20356        .25754E-03   -.97350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51212e-09
Minuit parameter uncertainties:
  1  1.60267
  2  0.000294311
  3  0.787671
  4  0.009028
  5  22.4752
  6  2.49768e-05
  7  3.81719e-06
  8  2.05148e-06
  9  2.74552
  10  1.80212
  11  1.10391e-06
  12  71.6195
  13  1.53464e-06
  14  3.02208e-07
  15  5.58718
  16  32.7432
  17  57.0737
  18  7.97721
  19  6.09491
  20  9.69473e-07
  21  0.222882
  22  0.203741
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.724e+00  1.802e+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:  8.657e-01  2.037e-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.135e+00  2.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.84
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.75e-08 +/- 1.82e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 2.10e-05

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

Saving results to:
/scratch/kocevski/103364/likelihoodResults_280281601_280540801_4FGL_J0915.9+2933_daily_bin158.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) = 5514.19853729
delta logL = 0.33824008101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5514.18825231
delta logL = 0.348525058724

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2872       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6315       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88631       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=   5514.188     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      242 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2868        20.029        .97657E-02    .10318E-02
   2  alpha         2.6325        3.7423        .23477        .81820E-04
   3  Normalizat    1.0940        .70078E-01    .54686E-01   -.28097E-05
   4  Prefactor     .88634        .52140E-01    .44830E-01    .28140E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.2868
  alpha      = 2.63246
  Normalizat = 1.09404
  Prefactor  = 0.886341
 **********
 **   18 **HESSE 
 **********

 FCN=   5514.188     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2868        2.7874        .65479E-04   -1.5481    
   2  alpha         2.6325        1.6498        .14339E-01    .53007E-01
   3  Normalizat    1.0940        .24022        .24180E-03   -.89943    
   4  Prefactor     .88634        .21582        .25469E-03   -.96620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0777e-10
Minuit parameter uncertainties:
  1  2.7877
  2  1.80237
  3  0.240464
  4  0.216028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103364': 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) = 5514.18825151
delta logL = 0.348525861094

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.287e+00  2.788e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.632e+00  1.802e+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:  8.863e-01  2.160e-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.094e+00  2.405e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.53
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.63 +/- 1.80
Photon Flux (Free Index): 5.50e-08 +/- 9.07e-08
Energy Flux (Free Index): 1.56e-05 +/- 1.27e-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/103364/cmap_HighResolution_280281601_280540801_4FGL_J0915.9+2933_daily_bin158.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.45e-05', comment='SUCCESS', photon_flux='1.75e-08', energy_flux2='1.56e-05', photon_flux_error='1.82e-08', dlogl='3.49e-01', energy_flux='2.01e-05', photon_flux2='5.50e-08', job_status='DONE', time_completed='2021-08-31 05:41:06.503604', photon_index_error2='1.80', photon_index2='2.63', ts='1.84', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='6.48e-08', energy_flux_error2='1.27e-05', EG='1.13', time_epoch_completed='1630413666.5', return_code='0', job_id='103364', GAL2='0.89', EG2='1.09', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='9.07e-08', ts2='2.53', photon_index='1.75' WHERE bin_id='158' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:41:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 103364: <4FGL_J0915.9+2933_daily_bin158> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin158 138.986 29.553 280281601 280540801 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 :                                   576.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            610 sec.

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

