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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin357
RA = 138.986, Dec = 29.553
tmin = 331862401, tmax = 332121601
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='104864', job_status='RUN', time_executed='2021-08-31 05:39:14.483637', time_epoch_executed='1630413554.48' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='357'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104864

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104864/ft1_4FGL_J0915.9+2933_daily_bin357.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104864/ft2_4FGL_J0915.9+2933_daily_bin357.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104864/ft1_4FGL_J0915.9+2933_daily_bin357.fits outfile=/scratch/kocevski/104864/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin357.fits ra=138.986 dec=29.553 rad=12.0 tmin=331862401.0 tmax=332121601.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.99
user 4.12
sys 0.76

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104864/ft2_4FGL_J0915.9+2933_daily_bin357.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/104864/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin357.fits evtable="EVENTS" outfile="/scratch/kocevski/104864/ft1_filtered_4FGL_J0915.9+2933_daily_bin357.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.05
user 0.34
sys 0.66

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104864/ft1_filtered_4FGL_J0915.9+2933_daily_bin357.fits" evtable="EVENTS" scfile=/scratch/kocevski/104864/ft2_4FGL_J0915.9+2933_daily_bin357.fits sctable="SC_DATA" outfile=/scratch/kocevski/104864/ltcube_331862401_332121601_4FGL_J0915.9+2933_daily_bin357.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/104864/ft2_4FGL_J0915.9+2933_daily_bin357.fits
.....................!
real 12.68
user 11.65
sys 0.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104864/ft1_filtered_4FGL_J0915.9+2933_daily_bin357.fits evtable="EVENTS" scfile=/scratch/kocevski/104864/ft2_4FGL_J0915.9+2933_daily_bin357.fits sctable="SC_DATA" expcube=/scratch/kocevski/104864/ltcube_331862401_332121601_4FGL_J0915.9+2933_daily_bin357.fits outfile=/scratch/kocevski/104864/expmap_331862401_332121601_4FGL_J0915.9+2933_daily_bin357.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/104864/ltcube_331862401_332121601_4FGL_J0915.9+2933_daily_bin357.fits
.....................!
real 192.77
user 186.55
sys 5.13

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/104864/ft1_filtered_4FGL_J0915.9+2933_daily_bin357.fits scfile=/scratch/kocevski/104864/ft2_4FGL_J0915.9+2933_daily_bin357.fits outfile=/scratch/kocevski/104864/cmap_331862401_332121601_4FGL_J0915.9+2933_daily_bin357.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.47
user 0.36
sys 0.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104864/ft1_filtered_4FGL_J0915.9+2933_daily_bin357.fits scfile=/scratch/kocevski/104864/ft2_4FGL_J0915.9+2933_daily_bin357.fits outfile=/scratch/kocevski/104864/cmap_HighResolution_331862401_332121601_4FGL_J0915.9+2933_daily_bin357.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.07
user 0.37
sys 0.65

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.1705       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.474       1.0000         .10000E-03   10000.    
     6 'norm      '    65.828       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7796       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .26607E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.0869       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.1191       1.0000         .10000E-03   10000.    
    12 'Prefactor '    47.812       1.0000         .10000E-03   10000.    
    13 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4726       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.843       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1781       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .65558       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=   5146.714     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2082 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .55843       -.79322E-07** at limit **
   2  Prefactor     .10000E-03    10.003       -.85992E-07** at limit **
   3  norm          2.1704        .89466        .23457E-07    .63327E-04
   4  Prefactor     .10000E-03    4.5422        .56858E-07** at limit **
   5  Prefactor     10.474        12.040        .16020E-06    .19769E-04
   6  norm          65.834        44.419        .23377E-06    .47396E-04
   7  Prefactor     3.7795        3.4246        .10352E-06   -.77513E-04
   8  Prefactor     .10000E-03    38.640        .34846E-05** at limit **
   9  Prefactor     .10001E-03    5.9462        .41180E-05** at limit **
  10  norm          1.0868        1.0849       -.38930E-08    .71850E-04
  11  Prefactor     6.1648        20.575       -.34982E-05   -.35835E-03
  12  Prefactor     47.796        41.993       -.32952E-06   -.11544E-03
  13  norm          .10000E-03    4.0854        .13051E-05** at limit **
  14  Prefactor     3.4763        3.2065       -.59619E-06   -.19630E-02
  15  Prefactor     .10000E-03    2.1865       -.34464E-06** at limit **
  16  Prefactor     26.844        24.308        .34905E-06    .37987E-04
  17  Prefactor     .10000E-03    29.227       -.37912E-06** at limit **
  18  Prefactor     .10000E-03    4.8387       -.18840E-06** at limit **
  19  Prefactor     .10000E-03    3.4766       -.49564E-07** at limit **
  20  Prefactor     .10000E-03    .92535       -.68703E-07** at limit **
  21  Normalizat    1.1781        .17479       -.14124E-05   -.49041E-03
  22  Prefactor     .65561        .16800        .14191E-05   -.36130E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.17045
  Prefactor  = 0.0001
  Prefactor  = 10.4736
  norm       = 65.8344
  Prefactor  = 3.77949
  Prefactor  = 0.000100002
  Prefactor  = 0.000100013
  norm       = 1.08678
  Prefactor  = 6.16481
  Prefactor  = 47.7965
  norm       = 0.0001
  Prefactor  = 3.47635
  Prefactor  = 0.000100001
  Prefactor  = 26.8444
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17809
  Prefactor  = 0.65561
 **********
 **   18 **HESSE 
 **********

 FCN=   5146.714     FROM HESSE     STATUS=OK           340 CALLS     2422 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .86652        .10400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.1704        .89426        .42084E-04   -1.5413    
   4  Prefactor     .10000E-03    4.5460        .14929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.474        12.034        .12380E-03   -1.5061    
   6  norm          65.834        44.407        .49465E-04   -1.4083    
   7  Prefactor     3.7795        3.4262        .12177E-03   -1.5319    
   8  Prefactor     .10000E-03    38.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    8.1014        .26316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0868        1.1020        .72569E-04   -1.5499    
  11  Prefactor     6.1648        21.193        .16230E-03   -1.5211    
  12  Prefactor     47.796        41.898        .28995E-03   -1.4324    
  13  norm          .10000E-03    4.1542        .14232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4763        3.2489        .11748E-03   -1.5335    
  15  Prefactor     .10000E-03    4.9633        .20229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.844        24.334        .77322E-04   -1.4671    
  17  Prefactor     .10000E-03    29.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0057        .30797E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.4909        .13062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .94499        .67326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1781        .19880        .20467E-03   -.87283    
  22  Prefactor     .65561        .19071        .26432E-03   -1.0529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37543e-09
Minuit parameter uncertainties:
  1  4.67957e-06
  2  6.99992e-06
  3  0.894267
  4  1.23214e-05
  5  12.0368
  6  44.4295
  7  3.42637
  8  0.00057852
  9  0.000660474
  10  1.10198
  11  21.2185
  12  41.9238
  13  3.89434e-05
  14  3.24906
  15  0.000111078
  16  24.3435
  17  0.000154993
  18  3.61874e-06
  19  1.04755e-06
  20  8.25849e-07
  21  0.198927
  22  0.190901
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.178e+00  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.81
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.10e-08 +/- 1.12e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 1.28e-05

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

Saving results to:
/scratch/kocevski/104864/likelihoodResults_331862401_332121601_4FGL_J0915.9+2933_daily_bin357.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) = 5146.71165229
delta logL = 0.0021277999449

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5146.71164855
delta logL = 0.00213154258472

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0877       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7017       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1785       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65557       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=   5146.712     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      216 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0876        43.564        .11489E-01   -.17923E-03
   2  alpha         1.7015        3.2668        .44180        .62326E-05
   3  Normalizat    1.1785        .82229E-01    .35441E-01    .18777E-05
   4  Prefactor     .65559        .71056E-01    .59757E-01    .18505E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.08757
  alpha      = 1.70155
  Normalizat = 1.1785
  Prefactor  = 0.655591
 **********
 **   18 **HESSE 
 **********

 FCN=   5146.712     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .10E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0876        1.1069        .72880E-04   -1.5499    
   2  alpha         1.7015        .73172        .17150E-01   -.32508    
   3  Normalizat    1.1785        .18957        .20465E-03   -.87270    
   4  Prefactor     .65559        .18837        .26432E-03   -1.0529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0236e-13
Minuit parameter uncertainties:
  1  1.1069
  2  0.743881
  3  0.189678
  4  0.18855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104864': 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) = 5146.71164851
delta logL = 0.0021315819713

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.088e+00  1.107e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.702e+00  7.439e-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:  6.556e-01  1.885e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.179e+00  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.82
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.70 +/- 0.74
Photon Flux (Free Index): 1.04e-08 +/- 1.38e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.92e-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/104864/cmap_HighResolution_331862401_332121601_4FGL_J0915.9+2933_daily_bin357.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.37e-05', comment='SUCCESS', photon_flux='1.10e-08', energy_flux2='1.35e-05', photon_flux_error='1.12e-08', dlogl='2.13e-03', energy_flux='1.26e-05', photon_flux2='1.04e-08', job_status='DONE', time_completed='2021-08-31 05:48:41.580591', photon_index_error2='0.74', photon_index2='1.70', ts='3.81', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='4.67e-08', energy_flux_error2='1.92e-05', EG='1.18', time_epoch_completed='1630414121.58', return_code='0', job_id='104864', GAL2='0.66', EG2='1.18', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='1.38e-08', ts2='3.82', photon_index='1.75' WHERE bin_id='357' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:48:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 104864: <4FGL_J0915.9+2933_daily_bin357> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin357> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 05:35:32 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:35:34 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:35:34 2021
Terminated at Tue Aug 31 05:48:42 2021
Results reported at Tue Aug 31 05:48:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin357 138.986 29.553 331862401 332121601 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 :                                   570.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             219.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            790 sec.

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

