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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin502
RA = 138.986, Dec = 29.553
tmin = 369446401, tmax = 369705601
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='106476', job_status='RUN', time_executed='2021-08-31 05:44:37.090978', time_epoch_executed='1630413877.09' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='502'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106476

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106476/ft1_4FGL_J0915.9+2933_daily_bin502.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106476/ft2_4FGL_J0915.9+2933_daily_bin502.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106476/ft1_4FGL_J0915.9+2933_daily_bin502.fits outfile=/scratch/kocevski/106476/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin502.fits ra=138.986 dec=29.553 rad=12.0 tmin=369446401.0 tmax=369705601.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.27
user 3.22
sys 0.52

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106476/ft1_filtered_4FGL_J0915.9+2933_daily_bin502.fits" evtable="EVENTS" scfile=/scratch/kocevski/106476/ft2_4FGL_J0915.9+2933_daily_bin502.fits sctable="SC_DATA" outfile=/scratch/kocevski/106476/ltcube_369446401_369705601_4FGL_J0915.9+2933_daily_bin502.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/106476/ft2_4FGL_J0915.9+2933_daily_bin502.fits
.....................!
real 13.34
user 12.48
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106476/ft1_filtered_4FGL_J0915.9+2933_daily_bin502.fits evtable="EVENTS" scfile=/scratch/kocevski/106476/ft2_4FGL_J0915.9+2933_daily_bin502.fits sctable="SC_DATA" expcube=/scratch/kocevski/106476/ltcube_369446401_369705601_4FGL_J0915.9+2933_daily_bin502.fits outfile=/scratch/kocevski/106476/expmap_369446401_369705601_4FGL_J0915.9+2933_daily_bin502.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/106476/ltcube_369446401_369705601_4FGL_J0915.9+2933_daily_bin502.fits
.....................!
real 196.00
user 187.31
sys 5.70

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/106476/ft1_filtered_4FGL_J0915.9+2933_daily_bin502.fits scfile=/scratch/kocevski/106476/ft2_4FGL_J0915.9+2933_daily_bin502.fits outfile=/scratch/kocevski/106476/cmap_369446401_369705601_4FGL_J0915.9+2933_daily_bin502.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 0.94
user 0.39
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106476/ft1_filtered_4FGL_J0915.9+2933_daily_bin502.fits scfile=/scratch/kocevski/106476/ft2_4FGL_J0915.9+2933_daily_bin502.fits outfile=/scratch/kocevski/106476/cmap_HighResolution_369446401_369705601_4FGL_J0915.9+2933_daily_bin502.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 0.93
user 0.38
sys 0.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.788       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4426       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8587       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.875       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10481E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.2131       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.233       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.1368       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.731       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .51652E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10207E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.2160       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99933       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93924       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=   5870.809     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2032 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.788        2.1095       -.39818E-07    .60430E-04
   2  Prefactor     .10000E-03    6.2739        .21912E-06** at limit **
   3  norm          2.4426        .87124        .15356E-08   -.43558E-04
   4  Prefactor     9.8590        9.8829       -.79111E-06   -.63632E-03
   5  Prefactor     10.875        13.597       -.44551E-06   -.13623E-04
   6  norm          .10000E-03    28.844        .72257E-05** at limit **
   7  Prefactor     .10000E-03    1.4779       -.21701E-06** at limit **
   8  Prefactor     .10000E-03    24.512       -.10001E-04** at limit **
   9  Prefactor     .10000E-03    1.6433       -.73728E-07** at limit **
  10  norm          1.2131        2.1300       -.48618E-06   -.90772E-03
  11  Prefactor     23.236        16.483        .96297E-06    .86223E-04
  12  Prefactor     .10000E-03    27.765        .71972E-05** at limit **
  13  norm          .10000E-03    2.4755        .11882E-06** at limit **
  14  Prefactor     4.1371        3.1682        .22252E-06   -.50373E-04
  15  Prefactor     .10000E-03    1.7779        .93614E-07** at limit **
  16  Prefactor     10.724        30.344       -.13476E-04    .70560E-04
  17  Prefactor     .10005E-03    235.61       -.24606E-03** at limit **
  18  Prefactor     .10000E-03    3.8251        .94686E-07** at limit **
  19  Prefactor     .10000E-03    7.6564       -.54327E-06** at limit **
  20  Prefactor     2.2169        2.4691       -.27392E-07   -.20561E-03
  21  Normalizat    .99930        .17235        .22758E-05    .66154E-03
  22  Prefactor     .93913        .16604       -.94393E-07    .66287E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.7878
  Prefactor  = 0.0001
  norm       = 2.44257
  Prefactor  = 9.85903
  Prefactor  = 10.8755
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.2131
  Prefactor  = 23.2357
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.1371
  Prefactor  = 0.0001
  Prefactor  = 10.7238
  Prefactor  = 0.000100046
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.21691
  Normalizat = 0.999301
  Prefactor  = 0.939126
 **********
 **   18 **HESSE 
 **********

 FCN=   5870.809     FROM HESSE     STATUS=OK           342 CALLS     2374 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.788        2.1090        .47686E-04   -1.5051    
   2  Prefactor     .10000E-03    6.2993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4426        .87040        .40897E-04   -1.5395    
   4  Prefactor     9.8590        9.8934        .63811E-03   -1.5080    
   5  Prefactor     10.875        13.603        .12149E-03   -1.5048    
   6  norm          .10000E-03    28.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4297        .18113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    24.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.6648        .95862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.2131        2.1058        .14124E-03   -1.5488    
  11  Prefactor     23.236        16.489        .83102E-04   -1.4744    
  12  Prefactor     .10000E-03    27.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.4799        .11769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1371        3.1639        .11472E-03   -1.5301    
  15  Prefactor     .10000E-03    1.8022        .99650E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.724        30.546        .12231E-03   -1.5053    
  17  Prefactor     .10005E-03    235.19        .21141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.8989        .14628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    32.979        .40629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.2169        2.4561        .12141E-03   -1.5410    
  21  Normalizat    .99930        .19850        .23659E-03   -.93054    
  22  Prefactor     .93913        .19249        .24629E-03   -.94787    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80293e-09
Minuit parameter uncertainties:
  1  2.10901
  2  6.9185e-06
  3  0.870405
  4  9.89507
  5  13.6073
  6  2.85639e-05
  7  4.37301e-06
  8  5.40458e-05
  9  6.73565e-06
  10  2.10596
  11  16.4924
  12  7.01633e-06
  13  7.84429e-06
  14  3.16408
  15  1.05535e-05
  16  30.5908
  17  0.00661191
  18  2.63969e-05
  19  1.24312e-05
  20  2.45626
  21  0.198642
  22  0.192634
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.213e+00  2.106e+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:  9.391e-01  1.926e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  9.993e-01  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/106476/likelihoodResults_369446401_369705601_4FGL_J0915.9+2933_daily_bin502.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) = 5869.82233173
delta logL = 0.98702899442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5869.81480919
delta logL = 0.994551541467

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74084       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8658       1.0000          .0000       5.0000    
     3 'Normalizat'    .95625       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95849       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=   5869.815     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      242 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74068        9.2909        .11011E-01    .81874E-03
   2  alpha         2.8660        3.7543        .26063        .66909E-04
   3  Normalizat    .95622        .43120E-01    .45616E-01    .89947E-05
   4  Prefactor     .95853        .43399E-01    .45746E-01    .82715E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.74068
  alpha      = 2.86601
  Normalizat = 0.956221
  Prefactor  = 0.958531
 **********
 **   18 **HESSE 
 **********

 FCN=   5869.815     FROM HESSE     STATUS=OK            35 CALLS      277 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74068        2.5744        .50306E-03   -1.5536    
   2  alpha         2.8660        1.6192        .97024E-02    .14693    
   3  Normalizat    .95622        .19306        .24101E-03   -.94512    
   4  Prefactor     .95853        .19493        .24383E-03   -.94125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62254e-11
Minuit parameter uncertainties:
  1  2.57479
  2  1.76532
  3  0.193197
  4  0.195072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106476': 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) = 5869.81480908
delta logL = 0.994551646433

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.407e-01  2.575e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.866e+00  1.765e+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:  9.585e-01  1.951e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  9.562e-01  1.932e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.41
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.87 +/- 1.77
Photon Flux (Free Index): 5.00e-08 +/- 3.97e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.49e-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/106476/cmap_HighResolution_369446401_369705601_4FGL_J0915.9+2933_daily_bin502.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-05', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='9.95e-01', photon_flux2='5.00e-08', job_status='DONE', time_completed='2021-08-31 05:54:49.891207', photon_index_error2='1.77', photon_index2='2.87', ts='0.40', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='6.23e-08', energy_flux_error2='1.49e-05', EG='1.00', time_epoch_completed='1630414489.89', return_code='0', job_id='106476', GAL2='0.96', EG2='0.96', return_code2='0', photon_flux_error2='3.97e-08', ts2='2.41', photon_index='1.75' WHERE bin_id='502' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:49 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin502 138.986 29.553 369446401 369705601 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 :                                   603.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             224.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            854 sec.

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

