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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin521
RA = 138.986, Dec = 29.553
tmin = 374371201, tmax = 374630401
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='106508', job_status='RUN', time_executed='2021-08-31 05:44:55.489152', time_epoch_executed='1630413895.49' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='521'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106508

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106508/ft1_4FGL_J0915.9+2933_daily_bin521.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106508/ft2_4FGL_J0915.9+2933_daily_bin521.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106508/ft1_4FGL_J0915.9+2933_daily_bin521.fits outfile=/scratch/kocevski/106508/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin521.fits ra=138.986 dec=29.553 rad=12.0 tmin=374371201.0 tmax=374630401.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.05
user 2.98
sys 1.05

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106508/ft1_filtered_4FGL_J0915.9+2933_daily_bin521.fits" evtable="EVENTS" scfile=/scratch/kocevski/106508/ft2_4FGL_J0915.9+2933_daily_bin521.fits sctable="SC_DATA" outfile=/scratch/kocevski/106508/ltcube_374371201_374630401_4FGL_J0915.9+2933_daily_bin521.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/106508/ft2_4FGL_J0915.9+2933_daily_bin521.fits
.....................!
real 13.02
user 11.70
sys 1.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106508/ft1_filtered_4FGL_J0915.9+2933_daily_bin521.fits evtable="EVENTS" scfile=/scratch/kocevski/106508/ft2_4FGL_J0915.9+2933_daily_bin521.fits sctable="SC_DATA" expcube=/scratch/kocevski/106508/ltcube_374371201_374630401_4FGL_J0915.9+2933_daily_bin521.fits outfile=/scratch/kocevski/106508/expmap_374371201_374630401_4FGL_J0915.9+2933_daily_bin521.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/106508/ltcube_374371201_374630401_4FGL_J0915.9+2933_daily_bin521.fits
.....................!
real 190.77
user 184.81
sys 5.44

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/106508/ft1_filtered_4FGL_J0915.9+2933_daily_bin521.fits scfile=/scratch/kocevski/106508/ft2_4FGL_J0915.9+2933_daily_bin521.fits outfile=/scratch/kocevski/106508/cmap_374371201_374630401_4FGL_J0915.9+2933_daily_bin521.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.38
user 0.36
sys 0.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106508/ft1_filtered_4FGL_J0915.9+2933_daily_bin521.fits scfile=/scratch/kocevski/106508/ft2_4FGL_J0915.9+2933_daily_bin521.fits outfile=/scratch/kocevski/106508/cmap_HighResolution_374371201_374630401_4FGL_J0915.9+2933_daily_bin521.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.45
user 0.38
sys 0.97

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.0756       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.7717       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.490       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    20.347       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.0350       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    17.732       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9712       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.544       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .81729       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81524       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=   4981.092     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     1988 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.0755        2.0534       -.12095E-07   -.49957E-04
   2  Prefactor     .10000E-03    6.7582        .12238E-06** at limit **
   3  norm          1.7718        .74301       -.11615E-07    .22485E-04
   4  Prefactor     22.492        12.623        .54480E-06    .82139E-06
   5  Prefactor     .10000E-03    4.4794        .37780E-08** at limit **
   6  norm          20.289        30.275       -.16409E-05    .38530E-05
   7  Prefactor     .10000E-03    1.7574        .37018E-08** at limit **
   8  Prefactor     .10000E-03    14.399        .82179E-05** at limit **
   9  Prefactor     .10000E-03    1.6280        .60047E-08** at limit **
  10  norm          1.0336        1.8021       -.18617E-06   -.78552E-03
  11  Prefactor     .10000E-03    11.568       -.15401E-05** at limit **
  12  Prefactor     .10000E-03    16.372       -.93698E-05** at limit **
  13  norm          17.733        9.8519       -.15134E-06   -.41053E-04
  14  Prefactor     .10000E-03    1.4639        .93427E-08** at limit **
  15  Prefactor     2.9718        3.3324       -.75868E-07   -.26204E-03
  16  Prefactor     .10000E-03    15.210       -.82245E-06** at limit **
  17  Prefactor     .10000E-03    19.535        .36526E-05** at limit **
  18  Prefactor     13.543        6.6861       -.70343E-07   -.44559E-04
  19  Prefactor     .10000E-03    6.0750       -.73726E-07** at limit **
  20  Prefactor     .10000E-03    .87238       -.62300E-08** at limit **
  21  Normalizat    .81741        .16108        .12258E-06    .12387E-04
  22  Prefactor     .81515        .16151        .89924E-07    .10260E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.07547
  Prefactor  = 0.0001
  norm       = 1.77184
  Prefactor  = 22.4915
  Prefactor  = 0.0001
  norm       = 20.2889
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.03363
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.7334
  Prefactor  = 0.0001
  Prefactor  = 2.97179
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.5434
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.817406
  Prefactor  = 0.815149
 **********
 **   18 **HESSE 
 **********

 FCN=   4981.092     FROM HESSE     STATUS=OK           342 CALLS     2330 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.0755        2.0533        .52299E-04   -1.5176    
   2  Prefactor     .10000E-03    6.7908        .17914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7718        .74266        .37783E-04   -1.5442    
   4  Prefactor     22.492        12.619        .84463E-04   -1.4759    
   5  Prefactor     .10000E-03    4.4950        .14587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          20.289        30.290        .88795E-04   -1.4807    
   7  Prefactor     .10000E-03    1.7767        .91333E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.6386        .87903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0336        1.5865        .11886E-02   -1.5505    
  11  Prefactor     .10000E-03    11.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.733        9.8717        .95112E-04   -1.4865    
  14  Prefactor     .10000E-03    1.4734        .83299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9718        3.2968        .12730E-03   -1.5363    
  16  Prefactor     .10000E-03    15.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.543        6.6920        .10884E-03   -1.4972    
  19  Prefactor     .10000E-03    6.1081        .16985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .88964        .64330E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .81741        .18736        .22567E-03   -.99426    
  22  Prefactor     .81515        .18787        .23049E-03   -.99172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31788e-10
Minuit parameter uncertainties:
  1  2.05329
  2  9.86634e-07
  3  0.74266
  4  12.6209
  5  9.54125e-07
  6  30.3126
  7  4.59362e-08
  8  5.16216e-07
  9  1.31518e-07
  10  1.58653
  11  2.29725e-06
  12  5.07657e-06
  13  9.87259
  14  6.0579e-07
  15  3.29705
  16  1.7706e-06
  17  7.46666e-07
  18  6.69238
  19  9.62034e-07
  20  7.20278e-08
  21  0.187512
  22  0.188021
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.034e+00  1.587e+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.151e-01  1.880e-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:  8.174e-01  1.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/106508/likelihoodResults_374371201_374630401_4FGL_J0915.9+2933_daily_bin521.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) = 4980.76974971
delta logL = 0.322745564143

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4980.74510556
delta logL = 0.347389719932

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81304       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5930       1.0000          .0000       5.0000    
     3 'Normalizat'    .79096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82784       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=   4980.745     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81179        16.916        .12488E-01    .70398E-03
   2  alpha         2.5937        3.7866        .24207        .54788E-04
   3  Normalizat    .79092        .40749E-01    .43492E-01    .62089E-05
   4  Prefactor     .82787        .40166E-01    .44078E-01    .66709E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.811795
  alpha      = 2.59366
  Normalizat = 0.790919
  Prefactor  = 0.827874
 **********
 **   18 **HESSE 
 **********

 FCN=   4980.745     FROM HESSE     STATUS=OK            35 CALLS      250 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81179        2.1103        .64014E-03   -1.5528    
   2  alpha         2.5937        1.5082        .13498E-01    .37471E-01
   3  Normalizat    .79092        .18984        .22902E-03   -1.0041    
   4  Prefactor     .82787        .19060        .22877E-03   -.98709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52628e-09
Minuit parameter uncertainties:
  1  2.11045
  2  1.61917
  3  0.189998
  4  0.190752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106508': 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) = 4980.74510511
delta logL = 0.347390164612

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.118e-01  2.110e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.594e+00  1.619e+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.279e-01  1.908e-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:  7.909e-01  1.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.34
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.59 +/- 1.62
Photon Flux (Free Index): 3.22e-08 +/- 3.96e-08
Energy Flux (Free Index): 9.44e-06 +/- 1.23e-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/106508/cmap_HighResolution_374371201_374630401_4FGL_J0915.9+2933_daily_bin521.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.25e-05', comment='SUCCESS', energy_flux2='9.44e-06', dlogl='3.47e-01', photon_flux2='3.22e-08', job_status='DONE', time_completed='2021-08-31 05:54:13.022507', photon_index_error2='1.62', photon_index2='2.59', ts='0.64', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='5.44e-08', energy_flux_error2='1.23e-05', EG='0.82', time_epoch_completed='1630414453.02', return_code='0', job_id='106508', GAL2='0.83', EG2='0.79', return_code2='0', photon_flux_error2='3.96e-08', ts2='1.34', photon_index='1.75' WHERE bin_id='521' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 106508: <4FGL_J0915.9+2933_daily_bin521> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin521 138.986 29.553 374371201 374630401 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 :                                   560.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            810 sec.

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

