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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin791
RA = 138.986, Dec = 29.553
tmin = 444355201, tmax = 444614401
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='108245', job_status='RUN', time_executed='2021-08-31 05:49:57.809342', time_epoch_executed='1630414197.81' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='791'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108245

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108245/ft1_4FGL_J0915.9+2933_daily_bin791.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108245/ft2_4FGL_J0915.9+2933_daily_bin791.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108245/ft1_4FGL_J0915.9+2933_daily_bin791.fits outfile=/scratch/kocevski/108245/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin791.fits ra=138.986 dec=29.553 rad=12.0 tmin=444355201.0 tmax=444614401.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 8.51
user 6.29
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108245/ft1_filtered_4FGL_J0915.9+2933_daily_bin791.fits" evtable="EVENTS" scfile=/scratch/kocevski/108245/ft2_4FGL_J0915.9+2933_daily_bin791.fits sctable="SC_DATA" outfile=/scratch/kocevski/108245/ltcube_444355201_444614401_4FGL_J0915.9+2933_daily_bin791.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/108245/ft2_4FGL_J0915.9+2933_daily_bin791.fits
.....................!
real 13.52
user 11.21
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108245/ft1_filtered_4FGL_J0915.9+2933_daily_bin791.fits evtable="EVENTS" scfile=/scratch/kocevski/108245/ft2_4FGL_J0915.9+2933_daily_bin791.fits sctable="SC_DATA" expcube=/scratch/kocevski/108245/ltcube_444355201_444614401_4FGL_J0915.9+2933_daily_bin791.fits outfile=/scratch/kocevski/108245/expmap_444355201_444614401_4FGL_J0915.9+2933_daily_bin791.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/108245/ltcube_444355201_444614401_4FGL_J0915.9+2933_daily_bin791.fits
.....................!
real 195.73
user 185.63
sys 4.69

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/108245/ft1_filtered_4FGL_J0915.9+2933_daily_bin791.fits scfile=/scratch/kocevski/108245/ft2_4FGL_J0915.9+2933_daily_bin791.fits outfile=/scratch/kocevski/108245/cmap_444355201_444614401_4FGL_J0915.9+2933_daily_bin791.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 5.67
user 0.36
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108245/ft1_filtered_4FGL_J0915.9+2933_daily_bin791.fits scfile=/scratch/kocevski/108245/ft2_4FGL_J0915.9+2933_daily_bin791.fits outfile=/scratch/kocevski/108245/cmap_HighResolution_444355201_444614401_4FGL_J0915.9+2933_daily_bin791.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.63
user 0.39
sys 0.36

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4416       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12088E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    3.2304       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.720       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    15.106       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1219       1.0000         .10000E-03   10000.    
    10 'norm      '    2.0969       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .59468E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4406       1.0000         .10000E-03   10000.    
    13 'norm      '    8.5346       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8253       1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.805       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.226       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9866       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99776       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0244       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=   3883.710     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2779 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4417        1.6758        .18416E-06    .36962E-03
   2  Prefactor     .10082E-03    16.177       -.12960E-05** at limit **
   3  norm          3.2304        1.3537        .78735E-07    .17236E-03
   4  Prefactor     11.719        13.716       -.36097E-06   -.14328E-03
   5  Prefactor     .10000E-03    5.9963       -.12714E-06** at limit **
   6  norm          15.107        36.784        .33414E-06   -.81196E-05
   7  Prefactor     .10000E-03    4.1742        .12976E-06** at limit **
   8  Prefactor     .10000E-03    25.188        .40745E-06** at limit **
   9  Prefactor     5.1202        4.9470       -.11392E-05   -.17177E-02
  10  norm          2.0970        1.9760        .19051E-07   -.62481E-04
  11  Prefactor     .10318E-03    38.091        .82279E-05** at limit **
  12  Prefactor     1.4018        324.59       -.34512E-05   -.19339E-04
  13  norm          8.5418        11.625       -.22013E-06   -.72397E-03
  14  Prefactor     .10000E-03    2.9807        .10523E-05** at limit **
  15  Prefactor     4.8250        5.0468        .60353E-07   -.28749E-03
  16  Prefactor     28.792        43.331       -.54069E-06   -.10541E-03
  17  Prefactor     .10000E-03    120.80        .63455E-06** at limit **
  18  Prefactor     24.226        12.920        .57238E-06    .19419E-03
  19  Prefactor     .10000E-03    7.7611        .38801E-07** at limit **
  20  Prefactor     2.9864        3.5988        .29250E-06    .86141E-04
  21  Normalizat    .99786        .23653       -.34304E-05   -.70473E-03
  22  Prefactor     1.0244        .22187        .14310E-05   -.56873E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.44166
  Prefactor  = 0.000100822
  norm       = 3.23041
  Prefactor  = 11.7192
  Prefactor  = 0.0001
  norm       = 15.107
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.12023
  norm       = 2.09696
  Prefactor  = 0.000103183
  Prefactor  = 1.40177
  norm       = 8.54185
  Prefactor  = 0.0001
  Prefactor  = 4.82498
  Prefactor  = 28.7921
  Prefactor  = 0.0001
  Prefactor  = 24.2263
  Prefactor  = 0.0001
  Prefactor  = 2.9864
  Normalizat = 0.997864
  Prefactor  = 1.02438
 **********
 **   18 **HESSE 
 **********

 FCN=   3883.710     FROM HESSE     STATUS=OK           358 CALLS     3137 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4417        1.6509        .82315E-04   -1.5468    
   2  Prefactor     .10082E-03    20.062        .75186E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2304        1.3533        .44198E-04   -1.5348    
   4  Prefactor     11.719        13.730        .11702E-03   -1.5023    
   5  Prefactor     .10000E-03    5.9989        .14902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          15.107        36.781        .10305E-03   -1.4930    
   7  Prefactor     .10000E-03    9.0318        .24635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    25.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.1202        5.1082        .13480E-03   -1.5255    
  10  norm          2.0970        1.9759        .82273E-04   -1.5418    
  11  Prefactor     .10318E-03    183.08        .51847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4018        332.54        .35943E-03   -1.5471    
  13  norm          8.5418        11.677        .13722E-03   -1.5123    
  14  Prefactor     .10000E-03    5.5532        .20453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.8250        5.0498        .13468E-03   -1.5269    
  16  Prefactor     28.792        43.395        .74649E-04   -1.4634    
  17  Prefactor     .10000E-03    121.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     24.226        12.935        .81384E-04   -1.4723    
  19  Prefactor     .10000E-03    7.7998        .16957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.9864        3.5873        .12316E-03   -1.5362    
  21  Normalizat    .99786        .26400        .25171E-03   -.93102    
  22  Prefactor     1.0244        .25031        .24888E-03   -.91921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83491e-08
Minuit parameter uncertainties:
  1  1.65097
  2  0.00812512
  3  1.35329
  4  13.7334
  5  1.00399e-05
  6  36.836
  7  7.56783e-05
  8  8.42819e-05
  9  5.10864
  10  1.976
  11  0.0484286
  12  43.4252
  13  11.6805
  14  1.87504e-05
  15  5.05024
  16  43.4424
  17  0.000383179
  18  12.9365
  19  1.3285e-05
  20  3.58752
  21  0.264351
  22  0.250594
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.097e+00  1.976e+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.024e+00  2.506e-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.979e-01  2.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.53
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.12e-08 +/- 2.00e-08
Energy Flux (Fixed Index): 2.44e-05 +/- 2.30e-05

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

Saving results to:
/scratch/kocevski/108245/likelihoodResults_444355201_444614401_4FGL_J0915.9+2933_daily_bin791.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) = 3883.68781092
delta logL = 0.0225794903977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3883.68689081
delta logL = 0.0234996027048

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0242       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8924       1.0000          .0000       5.0000    
     3 'Normalizat'    .99542       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0248       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=   3883.687     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      221 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0243        1.9594        .79165E-04   -.87971E-03
   2  alpha         1.8924        .65652        .13037E-01   -.63364E-04
   3  Normalizat    .99543        .24482        .25197E-03    .57798E-04
   4  Prefactor     1.0248        .24603        .24881E-03    .23326E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.02426
  alpha      = 1.89241
  Normalizat = 0.995431
  Prefactor  = 1.02479
 **********
 **   18 **HESSE 
 **********

 FCN=   3883.687     FROM HESSE     STATUS=OK            23 CALLS      244 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0243        1.9402        .15833E-04   -1.5423    
   2  alpha         1.8924        .65025        .52146E-03   -.24549    
   3  Normalizat    .99543        .24501        .10079E-04   -.93184    
   4  Prefactor     1.0248        .24623        .99525E-05   -.91908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62027e-10
Minuit parameter uncertainties:
  1  1.94026
  2  0.658302
  3  0.245284
  4  0.246504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108245': 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) = 3883.68689081
delta logL = 0.0234996061649

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.024e+00  1.940e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.892e+00  6.583e-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:  1.025e+00  2.465e-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.954e-01  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.57
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.89 +/- 0.66
Photon Flux (Free Index): 2.47e-08 +/- 2.77e-08
Energy Flux (Free Index): 2.05e-05 +/- 2.46e-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/108245/cmap_HighResolution_444355201_444614401_4FGL_J0915.9+2933_daily_bin791.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.08e-05', comment='SUCCESS', photon_flux='2.12e-08', energy_flux2='2.05e-05', photon_flux_error='2.00e-08', dlogl='2.35e-02', energy_flux='2.44e-05', photon_flux2='2.47e-08', job_status='DONE', time_completed='2021-08-31 05:59:43.690670', photon_index_error2='0.66', photon_index2='1.89', ts='3.53', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='7.90e-08', energy_flux_error2='2.46e-05', EG='1.00', time_epoch_completed='1630414783.69', return_code='0', job_id='108245', GAL2='1.02', EG2='1.00', return_code2='0', energy_flux_error='2.30e-05', photon_flux_error2='2.77e-08', ts2='3.57', photon_index='1.75' WHERE bin_id='791' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:59:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 108245: <4FGL_J0915.9+2933_daily_bin791> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin791 138.986 29.553 444355201 444614401 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 :                                   543.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            829 sec.

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

