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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin273
RA = 138.986, Dec = 29.553
tmin = 310089601, tmax = 310348801
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='104737', job_status='RUN', time_executed='2021-08-31 05:37:33.733550', time_epoch_executed='1630413453.73' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104737

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104737/ft1_4FGL_J0915.9+2933_daily_bin273.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104737/ft2_4FGL_J0915.9+2933_daily_bin273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104737/ft1_4FGL_J0915.9+2933_daily_bin273.fits outfile=/scratch/kocevski/104737/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin273.fits ra=138.986 dec=29.553 rad=12.0 tmin=310089601.0 tmax=310348801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.74
user 3.14
sys 0.42

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104737/ft1_filtered_4FGL_J0915.9+2933_daily_bin273.fits" evtable="EVENTS" scfile=/scratch/kocevski/104737/ft2_4FGL_J0915.9+2933_daily_bin273.fits sctable="SC_DATA" outfile=/scratch/kocevski/104737/ltcube_310089601_310348801_4FGL_J0915.9+2933_daily_bin273.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/104737/ft2_4FGL_J0915.9+2933_daily_bin273.fits
.....................!
real 16.11
user 12.46
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104737/ft1_filtered_4FGL_J0915.9+2933_daily_bin273.fits evtable="EVENTS" scfile=/scratch/kocevski/104737/ft2_4FGL_J0915.9+2933_daily_bin273.fits sctable="SC_DATA" expcube=/scratch/kocevski/104737/ltcube_310089601_310348801_4FGL_J0915.9+2933_daily_bin273.fits outfile=/scratch/kocevski/104737/expmap_310089601_310348801_4FGL_J0915.9+2933_daily_bin273.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/104737/ltcube_310089601_310348801_4FGL_J0915.9+2933_daily_bin273.fits
.....................!
real 193.02
user 184.98
sys 5.74

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/104737/ft1_filtered_4FGL_J0915.9+2933_daily_bin273.fits scfile=/scratch/kocevski/104737/ft2_4FGL_J0915.9+2933_daily_bin273.fits outfile=/scratch/kocevski/104737/cmap_310089601_310348801_4FGL_J0915.9+2933_daily_bin273.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.80
user 0.37
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104737/ft1_filtered_4FGL_J0915.9+2933_daily_bin273.fits scfile=/scratch/kocevski/104737/ft2_4FGL_J0915.9+2933_daily_bin273.fits outfile=/scratch/kocevski/104737/cmap_HighResolution_310089601_310348801_4FGL_J0915.9+2933_daily_bin273.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.81
user 0.38
sys 0.37

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9276       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .52987       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10564E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7165       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.275       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.6257       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.3759       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.5599       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1899       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.231       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.4656       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86462       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0294       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=   5702.939     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2079 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9279        1.2181        .74800E-02    .17389E-03
   2  Prefactor     .10000E-03    4.3811        .90712E-02** at limit **
   3  norm          .52986        .50216        .11025E-01    .29612E-03
   4  Prefactor     .10000E-03    19.667        .90712E-02** at limit **
   5  Prefactor     .10000E-03    6.3334        .90712E-02** at limit **
   6  norm          .10000E-03    92.685        .90712E-02** at limit **
   7  Prefactor     1.7168        1.8937        .80181E-02   -.13318E-03
   8  Prefactor     15.278        20.091        .25620E-02   -.12920E-03
   9  Prefactor     .10000E-03    1.0983        .90712E-02** at limit **
  10  norm          3.6262        2.0526        .53045E-02    .13859E-03
  11  Prefactor     .10000E-03    12.783        .90712E-02** at limit **
  12  Prefactor     .10000E-03    19.047        .90712E-02** at limit **
  13  norm          9.3799        7.0503        .32720E-02    .11681E-03
  14  Prefactor     .10000E-03    .84877        .90712E-02** at limit **
  15  Prefactor     .10000E-03    1.3470        .90712E-02** at limit **
  16  Prefactor     3.5619        22.458        .53553E-02   -.51705E-03
  17  Prefactor     1.9238        499.52        .10442E-01    .18540E-04
  18  Prefactor     14.224        7.9419        .26544E-02    .10176E-02
  19  Prefactor     .10000E-03    5.8161        .90712E-02** at limit **
  20  Prefactor     4.4665        2.4575        .47636E-02    .11072E-03
  21  Normalizat    .86444        .16245        .44448E-01    .24500E-05
  22  Prefactor     1.0293        .16265        .41310E-01    .14722E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.9279
  Prefactor  = 0.0001
  norm       = 0.529859
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.71681
  Prefactor  = 15.2777
  Prefactor  = 0.0001
  norm       = 3.62619
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.37989
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.56191
  Prefactor  = 1.92384
  Prefactor  = 14.224
  Prefactor  = 0.0001
  Prefactor  = 4.4665
  Normalizat = 0.864438
  Prefactor  = 1.02931
 **********
 **   18 **HESSE 
 **********

 FCN=   5702.939     FROM HESSE     STATUS=OK           344 CALLS     2423 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9279        1.2127        .64061E-04   -1.5430    
   2  Prefactor     .10000E-03    4.3903        .15436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .52986        .48363        .50476E-03   -1.5562    
   4  Prefactor     .10000E-03    20.219        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.3478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    93.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7168        1.8965        .10614E-03   -1.5446    
   8  Prefactor     15.278        20.087        .10248E-03   -1.4926    
   9  Prefactor     .10000E-03    1.1038        .77271E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.6262        2.0489        .78652E-04   -1.5327    
  11  Prefactor     .10000E-03    12.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.3799        7.0467        .13088E-03   -1.5095    
  14  Prefactor     .10000E-03    .85126        .67918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.3654        .85525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.5619        22.423        .21421E-03   -1.5330    
  17  Prefactor     1.9238        506.46        .41767E-03   -1.5431    
  18  Prefactor     14.224        7.9321        .10618E-03   -1.4953    
  19  Prefactor     .10000E-03    5.8612        .17782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4665        2.4582        .83987E-04   -1.5285    
  21  Normalizat    .86444        .18761        .23628E-03   -.97721    
  22  Prefactor     1.0293        .18808        .22555E-03   -.91759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54823e-09
Minuit parameter uncertainties:
  1  1.21276
  2  4.11558e-07
  3  0.483631
  4  2.75324e-05
  5  1.47334e-06
  6  4.74001e-05
  7  1.89652
  8  20.0957
  9  2.3719e-07
  10  2.04894
  11  2.43319e-05
  12  3.41219e-05
  13  7.04734
  14  1.56079e-06
  15  9.3304e-07
  16  17.8835
  17  62.9732
  18  7.93265
  19  2.6938e-06
  20  2.45821
  21  0.187749
  22  0.188203
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.626e+00  2.049e+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.029e+00  1.882e-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.644e-01  1.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.92
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.67e-08 +/- 2.07e-08
Energy Flux (Fixed Index): 4.22e-05 +/- 2.38e-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) = 5701.36328637
delta logL = 1.57612075471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5701.36039055
delta logL = 1.57901657629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0402       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6161       1.0000          .0000       5.0000    
     3 'Normalizat'    .80134       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0647       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=   5701.360     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      239 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0401        14.069        .72380E-02    .24583E-02
   2  alpha         2.6161        3.6778        .17521        .19375E-03
   3  Normalizat    .80133        .74466E-01    .43628E-01    .20498E-03
   4  Prefactor     1.0647        .64574E-01    .39115E-01   -.85804E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.04007
  alpha      = 2.61612
  Normalizat = 0.801334
  Prefactor  = 1.06474
 **********
 **   18 **HESSE 
 **********

 FCN=   5701.360     FROM HESSE     STATUS=OK            31 CALLS      270 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0401        1.9225        .46294E-04   -1.5422    
   2  alpha         2.6161        .57320        .71027E-02    .46465E-01
   3  Normalizat    .80133        .18669        .24425E-03   -1.0002    
   4  Prefactor     1.0647        .19000        .22204E-03   -.90602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55253e-10
Minuit parameter uncertainties:
  1  1.92254
  2  0.578354
  3  0.186844
  4  0.190119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104737': 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) = 5701.36039054
delta logL = 1.57901658583

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.040e+00  1.923e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.616e+00  5.784e-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.065e+00  1.901e-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.013e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.09
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.62 +/- 0.58
Photon Flux (Free Index): 8.45e-08 +/- 4.45e-08
Energy Flux (Free Index): 2.43e-05 +/- 1.23e-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/104737/cmap_HighResolution_310089601_310348801_4FGL_J0915.9+2933_daily_bin273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.67e-08', energy_flux2='2.43e-05', photon_flux_error='2.07e-08', dlogl='1.58e+00', energy_flux='4.22e-05', photon_flux2='8.45e-08', job_status='DONE', time_completed='2021-08-31 05:46:40.406159', photon_index_error2='0.58', photon_index2='2.62', ts='5.92', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.23e-05', EG='0.86', time_epoch_completed='1630414000.41', return_code='0', job_id='104737', GAL2='1.06', EG2='0.80', return_code2='0', energy_flux_error='2.38e-05', photon_flux_error2='4.45e-08', ts2='9.09', photon_index='1.75' WHERE bin_id='273' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:46:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 104737: <4FGL_J0915.9+2933_daily_bin273> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin273 138.986 29.553 310089601 310348801 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 :                                   532.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            677 sec.

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

