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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin197
RA = 138.986, Dec = 29.553
tmin = 290390401, tmax = 290649601
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='103425', job_status='RUN', time_executed='2021-08-31 05:34:57.325393', time_epoch_executed='1630413297.33' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='197'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103425/ft1_4FGL_J0915.9+2933_daily_bin197.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103425/ft2_4FGL_J0915.9+2933_daily_bin197.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103425/ft1_4FGL_J0915.9+2933_daily_bin197.fits outfile=/scratch/kocevski/103425/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin197.fits ra=138.986 dec=29.553 rad=12.0 tmin=290390401.0 tmax=290649601.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 3.89
user 3.23
sys 0.55

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103425/ft1_filtered_4FGL_J0915.9+2933_daily_bin197.fits" evtable="EVENTS" scfile=/scratch/kocevski/103425/ft2_4FGL_J0915.9+2933_daily_bin197.fits sctable="SC_DATA" outfile=/scratch/kocevski/103425/ltcube_290390401_290649601_4FGL_J0915.9+2933_daily_bin197.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/103425/ft2_4FGL_J0915.9+2933_daily_bin197.fits
.....................!
real 12.81
user 12.07
sys 0.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103425/ft1_filtered_4FGL_J0915.9+2933_daily_bin197.fits evtable="EVENTS" scfile=/scratch/kocevski/103425/ft2_4FGL_J0915.9+2933_daily_bin197.fits sctable="SC_DATA" expcube=/scratch/kocevski/103425/ltcube_290390401_290649601_4FGL_J0915.9+2933_daily_bin197.fits outfile=/scratch/kocevski/103425/expmap_290390401_290649601_4FGL_J0915.9+2933_daily_bin197.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/103425/ltcube_290390401_290649601_4FGL_J0915.9+2933_daily_bin197.fits
.....................!
real 193.51
user 187.69
sys 5.03

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/103425/ft1_filtered_4FGL_J0915.9+2933_daily_bin197.fits scfile=/scratch/kocevski/103425/ft2_4FGL_J0915.9+2933_daily_bin197.fits outfile=/scratch/kocevski/103425/cmap_290390401_290649601_4FGL_J0915.9+2933_daily_bin197.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.70
user 0.37
sys 0.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103425/ft1_filtered_4FGL_J0915.9+2933_daily_bin197.fits scfile=/scratch/kocevski/103425/ft2_4FGL_J0915.9+2933_daily_bin197.fits outfile=/scratch/kocevski/103425/cmap_HighResolution_290390401_290649601_4FGL_J0915.9+2933_daily_bin197.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.92
user 0.40
sys 0.46

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4362       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .19632E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.8219       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.848       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.6058       1.0000         .10000E-03   10000.    
     6 'norm      '    28.560       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3227       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.3677       1.0000         .10000E-03   10000.    
    11 'Prefactor '    45.347       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3619       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.841       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68651       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2894       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=   6413.465     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2396 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4376        1.3725       -.33020E-07   -.63980E-03
   2  Prefactor     .10000E-03    30.146       -.71373E-06** at limit **
   3  norm          2.8222        .87282        .93022E-08   -.32424E-04
   4  Prefactor     10.851        11.460        .13724E-07   -.51890E-04
   5  Prefactor     6.6021        17.706        .89799E-05   -.44535E-04
   6  norm          28.472        36.486       -.16298E-05   -.86406E-05
   7  Prefactor     4.3216        3.2801        .15201E-07   -.15293E-03
   8  Prefactor     .10000E-03    13.372        .82354E-06** at limit **
   9  Prefactor     .10000E-03    2.4663       -.42518E-07** at limit **
  10  norm          4.3677        2.0194       -.62650E-07   -.94058E-05
  11  Prefactor     45.342        19.598        .15540E-05    .40703E-05
  12  Prefactor     .10000E-03    22.676       -.76910E-06** at limit **
  13  norm          .10000E-03    4.0874       -.44239E-06** at limit **
  14  Prefactor     .10000E-03    .98776       -.11457E-06** at limit **
  15  Prefactor     2.3616        2.6058       -.17187E-06   -.41230E-03
  16  Prefactor     .10000E-03    15.071       -.28484E-05** at limit **
  17  Prefactor     .10000E-03    13.170       -.21446E-06** at limit **
  18  Prefactor     10.841        7.0625        .18512E-05   -.50512E-04
  19  Prefactor     .10000E-03    15.789        .24032E-05** at limit **
  20  Prefactor     .10000E-03    1.4371       -.78922E-07** at limit **
  21  Normalizat    .68700        .16509       -.21228E-05   -.40404E-05
  22  Prefactor     1.2890        .16599       -.11584E-06   -.65887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.43755
  Prefactor  = 0.0001
  norm       = 2.8222
  Prefactor  = 10.8509
  Prefactor  = 6.60209
  norm       = 28.472
  Prefactor  = 4.32161
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.36771
  Prefactor  = 45.3423
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.3616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8407
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.687
  Prefactor  = 1.28904
 **********
 **   18 **HESSE 
 **********

 FCN=   6413.465     FROM HESSE     STATUS=OK           344 CALLS     2740 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4376        1.3529        .87756E-04   -1.5468    
   2  Prefactor     .10000E-03    31.407        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.8222        .87303        .39755E-04   -1.5372    
   4  Prefactor     10.851        11.459        .12164E-03   -1.5049    
   5  Prefactor     6.6021        17.492        .15613E-03   -1.5194    
   6  norm          28.472        36.539        .74967E-04   -1.4640    
   7  Prefactor     4.3216        3.2765        .12174E-03   -1.5292    
   8  Prefactor     .10000E-03    13.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.5523        .24534E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.3677        2.0186        .74658E-04   -1.5290    
  11  Prefactor     45.342        19.579        .59539E-04   -1.4360    
  12  Prefactor     .10000E-03    22.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.1197        .15802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .99300        .77704E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.3616        2.5982        .13065E-03   -1.5401    
  16  Prefactor     .10000E-03    15.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.841        7.0039        .12168E-03   -1.5049    
  19  Prefactor     .10000E-03    16.522        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.4141        .18075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .68700        .18788        .28114E-03   -1.0441    
  22  Prefactor     1.2890        .19385        .22345E-03   -.83634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67571e-10
Minuit parameter uncertainties:
  1  1.35297
  2  9.4234e-05
  3  0.873036
  4  11.4618
  5  17.5054
  6  36.5673
  7  3.27665
  8  1.22985e-05
  9  4.15187e-06
  10  2.01866
  11  19.5817
  12  6.99967e-06
  13  9.93703e-06
  14  7.0112e-07
  15  2.59831
  16  1.27956e-06
  17  1.10803e-06
  18  7.00447
  19  3.21117e-05
  20  4.77007e-05
  21  0.188056
  22  0.193958
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.368e+00  2.019e+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.289e+00  1.940e-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:  6.870e-01  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.74
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 4.42e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 5.08e-05 +/- 2.35e-05

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) = 6413.46151797
delta logL = 0.00379178588537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6413.46123156
delta logL = 0.00407820271721

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3240       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7818       1.0000          .0000       5.0000    
     3 'Normalizat'    .68579       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2895       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=   6413.461     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      238 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3240        2.0651        .74079E-04   -.18877E-03
   2  alpha         1.7818        .35382        .10042E-01   -.33129E-04
   3  Normalizat    .68579        .18042        .28137E-03    .16081E-04
   4  Prefactor     1.2895        .19134        .22341E-03    .20925E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.32405
  alpha      = 1.78184
  Normalizat = 0.68579
  Prefactor  = 1.28954
 **********
 **   18 **HESSE 
 **********

 FCN=   6413.461     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3240        2.0526        .29631E-05   -1.5292    
   2  alpha         1.7818        .35163        .40170E-03   -.29137    
   3  Normalizat    .68579        .18053        .11255E-04   -1.0446    
   4  Prefactor     1.2895        .19147        .44681E-04   -.83618    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87082e-11
Minuit parameter uncertainties:
  1  2.05267
  2  0.352903
  3  0.180685
  4  0.191573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103425': 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) = 6413.46123155
delta logL = 0.00407820418695

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.324e+00  2.053e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.782e+00  3.529e-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.290e+00  1.916e-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:  6.858e-01  1.807e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.72
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.78 +/- 0.35
Photon Flux (Free Index): 4.55e-08 +/- 2.55e-08
Energy Flux (Free Index): 4.85e-05 +/- 3.33e-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/103425/cmap_HighResolution_290390401_290649601_4FGL_J0915.9+2933_daily_bin197.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.42e-08', energy_flux2='4.85e-05', photon_flux_error='2.04e-08', dlogl='4.08e-03', energy_flux='5.08e-05', photon_flux2='4.55e-08', job_status='DONE', time_completed='2021-08-31 05:44:53.050857', photon_index_error2='0.35', photon_index2='1.78', ts='17.74', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='3.33e-05', EG='0.69', time_epoch_completed='1630413893.05', return_code='0', job_id='103425', GAL2='1.29', EG2='0.69', return_code2='0', energy_flux_error='2.35e-05', photon_flux_error2='2.55e-08', ts2='17.72', photon_index='1.75' WHERE bin_id='197' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:44:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 103425: <4FGL_J0915.9+2933_daily_bin197> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin197 138.986 29.553 290390401 290649601 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 :                                   584.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             259.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            831 sec.

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

