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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin235
RA = 138.986, Dec = 29.553
tmin = 300240001, tmax = 300499201
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='103507', job_status='RUN', time_executed='2021-08-31 05:35:15.169631', time_epoch_executed='1630413315.17' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103507

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103507/ft1_4FGL_J0915.9+2933_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103507/ft2_4FGL_J0915.9+2933_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103507/ft1_4FGL_J0915.9+2933_daily_bin235.fits outfile=/scratch/kocevski/103507/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin235.fits ra=138.986 dec=29.553 rad=12.0 tmin=300240001.0 tmax=300499201.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 9.48
user 3.19
sys 6.24

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103507/ft1_filtered_4FGL_J0915.9+2933_daily_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/103507/ft2_4FGL_J0915.9+2933_daily_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/103507/ltcube_300240001_300499201_4FGL_J0915.9+2933_daily_bin235.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/103507/ft2_4FGL_J0915.9+2933_daily_bin235.fits
.....................!
real 18.62
user 11.42
sys 7.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103507/ft1_filtered_4FGL_J0915.9+2933_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/103507/ft2_4FGL_J0915.9+2933_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/103507/ltcube_300240001_300499201_4FGL_J0915.9+2933_daily_bin235.fits outfile=/scratch/kocevski/103507/expmap_300240001_300499201_4FGL_J0915.9+2933_daily_bin235.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/103507/ltcube_300240001_300499201_4FGL_J0915.9+2933_daily_bin235.fits
.....................!
real 197.68
user 184.80
sys 11.91

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

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

This is gtbin version HEAD
real 6.52
user 0.39
sys 6.05

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

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

This is gtbin version HEAD
real 6.57
user 0.39
sys 6.10

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .57790       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0793       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.7339       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .94717       1.0000         .10000E-03   10000.    
    10 'norm      '    .88374       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6991       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .47349       1.0000         .10000E-03   10000.    
    13 'norm      '    3.2271       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.6686       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.924       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0732       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.2740       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0936       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88438       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=   5288.916     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2490 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .95871       -.60023E-08** at limit **
   2  Prefactor     .10000E-03    5.6190        .70547E-09** at limit **
   3  norm          .57795        .67548        .42702E-07   -.51842E-04
   4  Prefactor     5.0793        9.0889        .32123E-06    .22982E-04
   5  Prefactor     .10000E-03    8.9144       -.57765E-08** at limit **
   6  norm          .10000E-03    83.700       -.50747E-06** at limit **
   7  Prefactor     .10000E-03    1.7406        .63856E-08** at limit **
   8  Prefactor     6.7743        31.608        .47066E-05    .56104E-04
   9  Prefactor     .95394        2.8871        .17535E-05   -.12508E-03
  10  norm          .88358        1.1932        .11525E-07    .26421E-04
  11  Prefactor     1.6663        93.233       -.70128E-06   -.72692E-05
  12  Prefactor     .19765        51.416       -.37212E-06    .26003E-04
  13  norm          3.2341        6.2826        .36464E-06   -.22073E-03
  14  Prefactor     4.6682        4.1026       -.22772E-06   -.31867E-03
  15  Prefactor     .10000E-03    1.6603       -.13497E-07** at limit **
  16  Prefactor     .10000E-03    7.2454        .10258E-07** at limit **
  17  Prefactor     32.918        86.817       -.20015E-05   -.24558E-04
  18  Prefactor     7.0732        6.3258        .29961E-06    .64161E-04
  19  Prefactor     9.2737        8.8543        .28287E-06    .56791E-04
  20  Prefactor     .10000E-03    1.5817        .20783E-08** at limit **
  21  Normalizat    1.0936        .17419       -.80835E-06   -.62158E-04
  22  Prefactor     .88448        .16899        .54496E-06   -.77695E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.577945
  Prefactor  = 5.07934
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.7743
  Prefactor  = 0.953938
  norm       = 0.883584
  Prefactor  = 1.66625
  Prefactor  = 0.19765
  norm       = 3.23415
  Prefactor  = 4.66817
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.9179
  Prefactor  = 7.07322
  Prefactor  = 9.2737
  Prefactor  = 0.0001
  Normalizat = 1.09358
  Prefactor  = 0.884481
 **********
 **   18 **HESSE 
 **********

 FCN=   5288.916     FROM HESSE     STATUS=OK           366 CALLS     2856 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2199        .13748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.6380        .16831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .57795        .63566        .60578E-03   -1.5556    
   4  Prefactor     5.0793        9.0157        .17840E-03   -1.5257    
   5  Prefactor     .10000E-03    8.9779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    85.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.7595        .93667E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.7743        30.186        .15463E-03   -1.5187    
   9  Prefactor     .95394        2.8883        .20830E-02   -1.5513    
  10  norm          .88358        1.0613        .89516E-03   -1.5520    
  11  Prefactor     1.6663        86.471        .32275E-03   -1.5450    
  12  Prefactor     .19765        54.943        .14593       -1.5619    
  13  norm          3.2341        6.1755        .21826E-03   -1.5348    
  14  Prefactor     4.6682        4.0509        .12463E-03   -1.5276    
  15  Prefactor     .10000E-03    2.8543        .18100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.2489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     32.918        87.054        .69835E-04   -1.4560    
  18  Prefactor     7.0732        6.3215        .15083E-03   -1.5176    
  19  Prefactor     9.2737        8.8691        .13160E-03   -1.5099    
  20  Prefactor     .10000E-03    2.8122        .17596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0936        .19657        .21688E-03   -.89958    
  22  Prefactor     .88448        .19344        .24084E-03   -.96685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04609e-08
Minuit parameter uncertainties:
  1  1.24417e-05
  2  2.36449e-06
  3  0.635669
  4  9.0181
  5  5.2744e-06
  6  5.95902e-05
  7  8.81118e-09
  8  28.6238
  9  2.88873
  10  1.06137
  11  24.0429
  12  6.5952
  13  6.17667
  14  4.05113
  15  1.29625e-05
  16  2.21693e-06
  17  87.393
  18  6.32213
  19  8.87031
  20  5.49293e-06
  21  0.196699
  22  0.193592
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.836e-01  1.061e+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.845e-01  1.936e-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  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.61
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 8.94e-09 +/- 1.07e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 1.23e-05

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

Saving results to:
/scratch/kocevski/103507/likelihoodResults_300240001_300499201_4FGL_J0915.9+2933_daily_bin235.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) = 5288.9139172
delta logL = 0.00256631621232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5288.91388353
delta logL = 0.00259998915044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .87721       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8102       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0931       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88457       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=   5288.914     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87703        38.434        .18524E-01    .62102E-04
   2  alpha         1.8109        2.5973        .43330        .15161E-04
   3  Normalizat    1.0931        .50854E-01    .38289E-01    .12331E-03
   4  Prefactor     .88457        .49217E-01    .44808E-01    .11756E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.877027
  alpha      = 1.81093
  Normalizat = 1.09306
  Prefactor  = 0.884574
 **********
 **   18 **HESSE 
 **********

 FCN=   5288.914     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87703        1.0662        .88398E-03   -1.5521    
   2  alpha         1.8109        .83350        .18962E-01   -.27924    
   3  Normalizat    1.0931        .18778        .21692E-03   -.89975    
   4  Prefactor     .88457        .19042        .24082E-03   -.96682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4109e-11
Minuit parameter uncertainties:
  1  1.06623
  2  0.851189
  3  0.187899
  4  0.190559
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103507': 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) = 5288.91388318
delta logL = 0.0026003448429

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.770e-01  1.066e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.811e+00  8.512e-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:  8.846e-01  1.906e-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.093e+00  1.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.81 +/- 0.85
Photon Flux (Free Index): 9.58e-09 +/- 1.42e-08
Energy Flux (Free Index): 9.54e-06 +/- 1.54e-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/103507/cmap_HighResolution_300240001_300499201_4FGL_J0915.9+2933_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-05', comment='SUCCESS', photon_flux='8.94e-09', energy_flux2='9.54e-06', photon_flux_error='1.07e-08', dlogl='2.60e-03', energy_flux='1.03e-05', photon_flux2='9.58e-09', job_status='DONE', time_completed='2021-08-31 05:46:26.565706', photon_index_error2='0.85', photon_index2='1.81', ts='1.61', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='4.37e-08', energy_flux_error2='1.54e-05', EG='1.09', time_epoch_completed='1630413986.57', return_code='0', job_id='103507', GAL2='0.88', EG2='1.09', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='1.42e-08', ts2='1.62', photon_index='1.75' WHERE bin_id='235' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:46:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 103507: <4FGL_J0915.9+2933_daily_bin235> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin235 138.986 29.553 300240001 300499201 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 :                                   762.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             218.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            921 sec.

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

