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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin533
RA = 138.986, Dec = 29.553
tmin = 377481601, tmax = 377740801
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='106527', job_status='RUN', time_executed='2021-08-31 05:45:51.764002', time_epoch_executed='1630413951.76' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='533'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106527

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106527/ft1_4FGL_J0915.9+2933_daily_bin533.fits


Retrieving the FT1 file...

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

Retrieving 40 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106527/ft2_4FGL_J0915.9+2933_daily_bin533.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106527/ft1_4FGL_J0915.9+2933_daily_bin533.fits outfile=/scratch/kocevski/106527/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin533.fits ra=138.986 dec=29.553 rad=12.0 tmin=377481601.0 tmax=377740801.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 11.19
user 2.93
sys 8.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106527/ft1_filtered_4FGL_J0915.9+2933_daily_bin533.fits" evtable="EVENTS" scfile=/scratch/kocevski/106527/ft2_4FGL_J0915.9+2933_daily_bin533.fits sctable="SC_DATA" outfile=/scratch/kocevski/106527/ltcube_377481601_377740801_4FGL_J0915.9+2933_daily_bin533.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/106527/ft2_4FGL_J0915.9+2933_daily_bin533.fits
.....................!
real 21.12
user 10.61
sys 10.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106527/ft1_filtered_4FGL_J0915.9+2933_daily_bin533.fits evtable="EVENTS" scfile=/scratch/kocevski/106527/ft2_4FGL_J0915.9+2933_daily_bin533.fits sctable="SC_DATA" expcube=/scratch/kocevski/106527/ltcube_377481601_377740801_4FGL_J0915.9+2933_daily_bin533.fits outfile=/scratch/kocevski/106527/expmap_377481601_377740801_4FGL_J0915.9+2933_daily_bin533.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/106527/ltcube_377481601_377740801_4FGL_J0915.9+2933_daily_bin533.fits
.....................!
real 202.69
user 186.26
sys 15.21

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/106527/ft1_filtered_4FGL_J0915.9+2933_daily_bin533.fits scfile=/scratch/kocevski/106527/ft2_4FGL_J0915.9+2933_daily_bin533.fits outfile=/scratch/kocevski/106527/cmap_377481601_377740801_4FGL_J0915.9+2933_daily_bin533.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 8.75
user 0.36
sys 7.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106527/ft1_filtered_4FGL_J0915.9+2933_daily_bin533.fits scfile=/scratch/kocevski/106527/ft2_4FGL_J0915.9+2933_daily_bin533.fits outfile=/scratch/kocevski/106527/cmap_HighResolution_377481601_377740801_4FGL_J0915.9+2933_daily_bin533.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 8.32
user 0.36
sys 7.87

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1969       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.500       1.0000         .10000E-03   10000.    
     3 'norm      '    .32516       1.0000         .10000E-03   10000.    
     4 'Prefactor '    52.482       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .87173       1.0000         .10000E-03   10000.    
     6 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4928       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6048       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.7296       1.0000         .10000E-03   10000.    
    10 'norm      '    1.6509       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10793E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.565       1.0000         .10000E-03   10000.    
    17 'Prefactor '    79.258       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .34349E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.7575       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .72680       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82210       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=   4050.004     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2358 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1966        2.5976       -.52618E-07   -.29699E-03
   2  Prefactor     13.498        17.756       -.76740E-06   -.99753E-04
   3  norm          .32480        .87725        .98709E-06    .10993E-02
   4  Prefactor     52.488        21.666       -.12547E-05   -.27326E-03
   5  Prefactor     .68011        18.546        .55013E-08   -.66044E-04
   6  norm          .10000E-03    11.915        .13824E-06** at limit **
   7  Prefactor     1.4921        2.3502        .12028E-06    .77974E-04
   8  Prefactor     5.6123        39.449       -.30541E-06    .33635E-05
   9  Prefactor     9.7272        5.7313       -.16659E-06   -.10124E-03
  10  norm          1.6511        1.4213       -.40403E-07   -.99311E-04
  11  Prefactor     .10000E-03    12.831        .98038E-07** at limit **
  12  Prefactor     .10000E-03    52.621       -.72167E-07** at limit **
  13  norm          .10000E-03    5.5797        .13740E-06** at limit **
  14  Prefactor     .10000E-03    1.8876       -.16094E-06** at limit **
  15  Prefactor     .10000E-03    2.1177       -.42470E-06** at limit **
  16  Prefactor     22.547        35.156        .68747E-06   -.41605E-04
  17  Prefactor     79.213        80.241        .15117E-05   -.52342E-04
  18  Prefactor     .10016E-03    6.8720        .17247E-05** at limit **
  19  Prefactor     .10000E-03    3.1349        .62520E-07** at limit **
  20  Prefactor     3.7556        2.8791        .22243E-06    .12592E-03
  21  Normalizat    .72758        .20636        .40232E-05   -.87618E-04
  22  Prefactor     .82161        .18836       -.32923E-05   -.30989E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.19659
  Prefactor  = 13.4979
  norm       = 0.324803
  Prefactor  = 52.488
  Prefactor  = 0.680106
  norm       = 0.0001
  Prefactor  = 1.49207
  Prefactor  = 5.61233
  Prefactor  = 9.72723
  norm       = 1.65114
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.5468
  Prefactor  = 79.2128
  Prefactor  = 0.000100155
  Prefactor  = 0.0001
  Prefactor  = 3.75561
  Normalizat = 0.727577
  Prefactor  = 0.821612
 **********
 **   18 **HESSE 
 **********

 FCN=   4050.004     FROM HESSE     STATUS=OK           350 CALLS     2708 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1966        2.5979        .54150E-04   -1.5135    
   2  Prefactor     13.498        17.771        .10901E-03   -1.4973    
   3  norm          .32480        .87919        .89395E-04   -1.5594    
   4  Prefactor     52.488        21.688        .55363E-04   -1.4258    
   5  Prefactor     .68011        115.66        .49880E-02   -1.5543    
   6  norm          .10000E-03    11.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4921        2.3177        .11896E-03   -1.5464    
   8  Prefactor     5.6123        39.261        .16969E-03   -1.5234    
   9  Prefactor     9.7272        5.7162        .10935E-03   -1.5084    
  10  norm          1.6511        1.4165        .68434E-04   -1.5451    
  11  Prefactor     .10000E-03    12.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    52.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.6646        .14668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.9118        .85263E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.1522        .90528E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.547        35.403        .84323E-04   -1.4758    
  17  Prefactor     79.213        79.787        .22555E-03   -1.3926    
  18  Prefactor     .10016E-03    25.923        .26795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.1378        .11003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.7556        2.8773        .89928E-04   -1.5320    
  21  Normalizat    .72758        .22427        .23927E-03   -1.0281    
  22  Prefactor     .82161        .20401        .22438E-03   -.98937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.48515e-09
Minuit parameter uncertainties:
  1  2.59794
  2  17.7778
  3  0.879223
  4  21.6908
  5  17.7715
  6  2.17706e-05
  7  2.3178
  8  29.7155
  9  5.71651
  10  1.41656
  11  1.61926e-05
  12  7.43375e-05
  13  7.58369e-07
  14  6.53222e-06
  15  2.08195e-05
  16  35.4361
  17  79.8954
  18  0.00401118
  19  1.56156e-07
  20  2.87741
  21  0.224554
  22  0.2042
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.276e-01  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.50
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.67e-08 +/- 1.43e-08
Energy Flux (Fixed Index): 1.92e-05 +/- 1.65e-05

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

Saving results to:
/scratch/kocevski/106527/likelihoodResults_377481601_377740801_4FGL_J0915.9+2933_daily_bin533.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) = 4049.98317566
delta logL = 0.0211435681667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4049.98063447
delta logL = 0.0236847625865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5496       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8928       1.0000          .0000       5.0000    
     3 'Normalizat'    .72526       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82278       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=   4049.981     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      226 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5496        1.4663        .65536E-04    .20036E-02
   2  alpha         1.8928        .67104        .13272E-01    .90605E-04
   3  Normalizat    .72527        .19932        .23961E-03   -.27637E-04
   4  Prefactor     .82278        .19888        .22423E-03   -.34375E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54959
  alpha      = 1.89279
  Normalizat = 0.72527
  Prefactor  = 0.822779
 **********
 **   18 **HESSE 
 **********

 FCN=   4049.981     FROM HESSE     STATUS=OK            23 CALLS      249 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5496        1.4435        .13107E-04   -1.5459    
   2  alpha         1.8928        .66085        .53089E-03   -.24534    
   3  Normalizat    .72527        .19947        .95845E-05   -1.0290    
   4  Prefactor     .82278        .19904        .89692E-05   -.98894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66572e-10
Minuit parameter uncertainties:
  1  1.4435
  2  0.66931
  3  0.199665
  4  0.199216
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106527': 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) = 4049.98063446
delta logL = 0.0236847698502

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.550e+00  1.444e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.893e+00  6.693e-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.228e-01  1.992e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.253e-01  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.54
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.89 +/- 0.67
Photon Flux (Free Index): 1.89e-08 +/- 1.90e-08
Energy Flux (Free Index): 1.57e-05 +/- 1.93e-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/106527/cmap_HighResolution_377481601_377740801_4FGL_J0915.9+2933_daily_bin533.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.45e-05', comment='SUCCESS', photon_flux='1.67e-08', energy_flux2='1.57e-05', photon_flux_error='1.43e-08', dlogl='2.37e-02', energy_flux='1.92e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2021-08-31 05:56:09.060611', photon_index_error2='0.67', photon_index2='1.89', ts='3.50', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='5.61e-08', energy_flux_error2='1.93e-05', EG='0.73', time_epoch_completed='1630414569.06', return_code='0', job_id='106527', GAL2='0.82', EG2='0.73', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='1.90e-08', ts2='3.54', photon_index='1.75' WHERE bin_id='533' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:56:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 106527: <4FGL_J0915.9+2933_daily_bin533> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin533 138.986 29.553 377481601 377740801 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 :                                   740.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             218.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

