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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin561
RA = 138.986, Dec = 29.553
tmin = 384739201, tmax = 384998401
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='106572', job_status='RUN', time_executed='2021-08-31 05:44:24.120421', time_epoch_executed='1630413864.12' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='561'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106572

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106572/ft1_4FGL_J0915.9+2933_daily_bin561.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106572/ft2_4FGL_J0915.9+2933_daily_bin561.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106572/ft1_4FGL_J0915.9+2933_daily_bin561.fits outfile=/scratch/kocevski/106572/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin561.fits ra=138.986 dec=29.553 rad=12.0 tmin=384739201.0 tmax=384998401.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.18
user 4.32
sys 4.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106572/ft1_filtered_4FGL_J0915.9+2933_daily_bin561.fits" evtable="EVENTS" scfile=/scratch/kocevski/106572/ft2_4FGL_J0915.9+2933_daily_bin561.fits sctable="SC_DATA" outfile=/scratch/kocevski/106572/ltcube_384739201_384998401_4FGL_J0915.9+2933_daily_bin561.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/106572/ft2_4FGL_J0915.9+2933_daily_bin561.fits
.....................!
real 16.70
user 11.18
sys 5.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106572/ft1_filtered_4FGL_J0915.9+2933_daily_bin561.fits evtable="EVENTS" scfile=/scratch/kocevski/106572/ft2_4FGL_J0915.9+2933_daily_bin561.fits sctable="SC_DATA" expcube=/scratch/kocevski/106572/ltcube_384739201_384998401_4FGL_J0915.9+2933_daily_bin561.fits outfile=/scratch/kocevski/106572/expmap_384739201_384998401_4FGL_J0915.9+2933_daily_bin561.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/106572/ltcube_384739201_384998401_4FGL_J0915.9+2933_daily_bin561.fits
.....................!
real 196.97
user 185.27
sys 11.29

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/106572/ft1_filtered_4FGL_J0915.9+2933_daily_bin561.fits scfile=/scratch/kocevski/106572/ft2_4FGL_J0915.9+2933_daily_bin561.fits outfile=/scratch/kocevski/106572/cmap_384739201_384998401_4FGL_J0915.9+2933_daily_bin561.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.34
user 0.39
sys 4.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106572/ft1_filtered_4FGL_J0915.9+2933_daily_bin561.fits scfile=/scratch/kocevski/106572/ft2_4FGL_J0915.9+2933_daily_bin561.fits outfile=/scratch/kocevski/106572/cmap_HighResolution_384739201_384998401_4FGL_J0915.9+2933_daily_bin561.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 5.07
user 0.39
sys 4.58

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89275       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1058       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5892       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.920       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.382       1.0000         .10000E-03   10000.    
     6 'norm      '    46.452       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .72647       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.9715       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    14.805       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .82259       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.961       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86494       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1319       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=   5747.381     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     2357 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89278        1.4668       -.27491E-06   -.11436E-02
   2  Prefactor     9.1058        13.677       -.11520E-06   -.66710E-05
   3  norm          1.5893        .91050       -.32199E-07   -.10111E-03
   4  Prefactor     22.920        14.961        .25723E-06    .17257E-04
   5  Prefactor     16.381        19.060       -.13814E-05    .12381E-03
   6  norm          46.449        48.626       -.37892E-05    .66345E-05
   7  Prefactor     .72618        2.8199       -.15751E-05   -.12374E-02
   8  Prefactor     .10000E-03    30.350       -.32742E-04** at limit **
   9  Prefactor     .10000E-03    1.5737       -.65613E-08** at limit **
  10  norm          3.9715        2.2625        .15208E-06    .54882E-03
  11  Prefactor     .10000E-03    7.0276        .16701E-05** at limit **
  12  Prefactor     .10000E-03    22.700        .22960E-04** at limit **
  13  norm          14.805        9.3358       -.22056E-06    .91832E-04
  14  Prefactor     .10000E-03    2.8367       -.33448E-07** at limit **
  15  Prefactor     .82435        4.3298       -.22191E-05   -.17209E-03
  16  Prefactor     .10000E-03    24.233        .18533E-04** at limit **
  17  Prefactor     .10000E-03    16.584       -.13739E-04** at limit **
  18  Prefactor     .10000E-03    5.4668       -.12678E-05** at limit **
  19  Prefactor     .10000E-03    4.6161        .31516E-06** at limit **
  20  Prefactor     12.961        4.0695       -.15260E-06    .15142E-04
  21  Normalizat    .86499        .19085        .16895E-05    .31160E-03
  22  Prefactor     1.1318        .18041        .32561E-06    .33692E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.892784
  Prefactor  = 9.1058
  norm       = 1.58927
  Prefactor  = 22.9204
  Prefactor  = 16.3809
  norm       = 46.4493
  Prefactor  = 0.726176
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.97148
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.8049
  Prefactor  = 0.0001
  Prefactor  = 0.824349
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9608
  Normalizat = 0.86499
  Prefactor  = 1.13181
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.381     FROM HESSE     STATUS=OK           344 CALLS     2701 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89278        1.3043        .10822E-02   -1.5519    
   2  Prefactor     9.1058        13.407        .13282E-03   -1.5104    
   3  norm          1.5893        .90478        .51936E-04   -1.5456    
   4  Prefactor     22.920        14.953        .83667E-04   -1.4750    
   5  Prefactor     16.381        19.055        .98954E-04   -1.4898    
   6  norm          46.449        48.688        .58829E-04   -1.4344    
   7  Prefactor     .72618        2.8400        .24374E-03   -1.5538    
   8  Prefactor     .10000E-03    30.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.5833        .92835E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.9715        2.2491        .81552E-04   -1.5309    
  11  Prefactor     .10000E-03    7.0325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    22.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          14.805        9.3512        .10409E-03   -1.4938    
  14  Prefactor     .10000E-03    2.9403        .24869E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .82435        7.7760        .27393E-02   -1.5526    
  16  Prefactor     .10000E-03    24.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.5580        .17305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.6296        .15905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.961        4.0781        .81661E-04   -1.4988    
  21  Normalizat    .86499        .22151        .26535E-03   -.97701    
  22  Prefactor     1.1318        .21226        .23875E-03   -.88456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39644e-08
Minuit parameter uncertainties:
  1  1.30433
  2  13.4116
  3  0.904791
  4  14.9557
  5  19.0623
  6  48.73
  7  2.84054
  8  2.11906e-05
  9  6.8924e-07
  10  2.24919
  11  1.35967e-06
  12  3.32494e-06
  13  9.35212
  14  3.81352e-06
  15  5.0642
  16  5.81255e-06
  17  1.88863e-06
  18  5.41727e-06
  19  5.34313e-06
  20  4.07815
  21  0.221741
  22  0.212415
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.971e+00  2.249e+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.132e+00  2.124e-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.650e-01  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.71
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 4.02e-08 +/- 2.28e-08
Energy Flux (Fixed Index): 4.62e-05 +/- 2.62e-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) = 5747.22878959
delta logL = 0.152063861727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5747.223383
delta logL = 0.157470443675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5871       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0442       1.0000          .0000       5.0000    
     3 'Normalizat'    .84717       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1414       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=   5747.223     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      233 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5869        36.753        .53341E-02    .19746E-04
   2  alpha         2.0443        3.4518        .30236        .37075E-04
   3  Normalizat    .84712        .11115        .44223E-01    .16318E-04
   4  Prefactor     1.1415        .72755E-01    .53795E-01    .17246E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.58686
  alpha      = 2.04427
  Normalizat = 0.847124
  Prefactor  = 1.14151
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.223     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5869        2.3588        .74316E-04   -1.5329    
   2  alpha         2.0443        .55882        .10477E-01   -.18332    
   3  Normalizat    .84712        .20735        .26781E-03   -.98344    
   4  Prefactor     1.1415        .20889        .23785E-03   -.88151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32219e-12
Minuit parameter uncertainties:
  1  2.35888
  2  0.563752
  3  0.20754
  4  0.209041
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106572': 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) = 5747.22338294
delta logL = 0.157470504661

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.587e+00  2.359e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.044e+00  5.638e-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.142e+00  2.090e-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.471e-01  2.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.00
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.04 +/- 0.56
Photon Flux (Free Index): 5.47e-08 +/- 3.97e-08
Energy Flux (Free Index): 3.35e-05 +/- 2.58e-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/106572/cmap_HighResolution_384739201_384998401_4FGL_J0915.9+2933_daily_bin561.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.02e-08', energy_flux2='3.35e-05', photon_flux_error='2.28e-08', dlogl='1.57e-01', energy_flux='4.62e-05', photon_flux2='5.47e-08', job_status='DONE', time_completed='2021-08-31 05:54:55.343068', photon_index_error2='0.56', photon_index2='2.04', ts='8.71', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='2.58e-05', EG='0.86', time_epoch_completed='1630414495.34', return_code='0', job_id='106572', GAL2='1.14', EG2='0.85', return_code2='0', energy_flux_error='2.62e-05', photon_flux_error2='3.97e-08', ts2='9.00', photon_index='1.75' WHERE bin_id='561' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0136>
Subject: Job 106572: <4FGL_J0915.9+2933_daily_bin561> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin561 138.986 29.553 384739201 384998401 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 :                                   686.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            847 sec.

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

