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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin146
RA = 138.986, Dec = 29.553
tmin = 277171201, tmax = 277430401
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='103352', job_status='RUN', time_executed='2021-08-31 05:34:58.581855', time_epoch_executed='1630413298.58' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='146'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103352

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103352/ft1_4FGL_J0915.9+2933_daily_bin146.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103352/ft2_4FGL_J0915.9+2933_daily_bin146.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103352/ft1_4FGL_J0915.9+2933_daily_bin146.fits outfile=/scratch/kocevski/103352/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin146.fits ra=138.986 dec=29.553 rad=12.0 tmin=277171201.0 tmax=277430401.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.82
user 3.36
sys 0.44

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103352/ft1_filtered_4FGL_J0915.9+2933_daily_bin146.fits" evtable="EVENTS" scfile=/scratch/kocevski/103352/ft2_4FGL_J0915.9+2933_daily_bin146.fits sctable="SC_DATA" outfile=/scratch/kocevski/103352/ltcube_277171201_277430401_4FGL_J0915.9+2933_daily_bin146.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/103352/ft2_4FGL_J0915.9+2933_daily_bin146.fits
.....................!
real 12.14
user 11.51
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103352/ft1_filtered_4FGL_J0915.9+2933_daily_bin146.fits evtable="EVENTS" scfile=/scratch/kocevski/103352/ft2_4FGL_J0915.9+2933_daily_bin146.fits sctable="SC_DATA" expcube=/scratch/kocevski/103352/ltcube_277171201_277430401_4FGL_J0915.9+2933_daily_bin146.fits outfile=/scratch/kocevski/103352/expmap_277171201_277430401_4FGL_J0915.9+2933_daily_bin146.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/103352/ltcube_277171201_277430401_4FGL_J0915.9+2933_daily_bin146.fits
.....................!
real 190.32
user 185.33
sys 4.51

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/103352/ft1_filtered_4FGL_J0915.9+2933_daily_bin146.fits scfile=/scratch/kocevski/103352/ft2_4FGL_J0915.9+2933_daily_bin146.fits outfile=/scratch/kocevski/103352/cmap_277171201_277430401_4FGL_J0915.9+2933_daily_bin146.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.79
user 0.38
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103352/ft1_filtered_4FGL_J0915.9+2933_daily_bin146.fits scfile=/scratch/kocevski/103352/ft2_4FGL_J0915.9+2933_daily_bin146.fits outfile=/scratch/kocevski/103352/cmap_HighResolution_277171201_277430401_4FGL_J0915.9+2933_daily_bin146.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.77
user 0.39
sys 0.36

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5027       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.524       1.0000         .10000E-03   10000.    
     3 'norm      '    4.5894       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.5072       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.777       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8423       1.0000         .10000E-03   10000.    
    10 'norm      '    7.5644       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.070       1.0000         .10000E-03   10000.    
    13 'norm      '    6.4926       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.1847       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.210       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.9439       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .60548       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2763       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=   6291.362     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2336 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5027        1.3753       -.35944E-07   -.62705E-04
   2  Prefactor     12.524        14.218        .92088E-06   -.13414E-03
   3  norm          4.5894        1.0549       -.16417E-07   -.42490E-05
   4  Prefactor     .10000E-03    2.8945        .14017E-08** at limit **
   5  Prefactor     8.5068        13.274        .20730E-05   -.21564E-03
   6  norm          .10000E-03    38.297       -.41144E-06** at limit **
   7  Prefactor     .10000E-03    .75626        .10545E-08** at limit **
   8  Prefactor     37.782        29.286        .80867E-06    .15093E-03
   9  Prefactor     5.8427        4.1575        .41350E-07    .30678E-04
  10  norm          7.5645        2.5672       -.29200E-07   -.16842E-04
  11  Prefactor     .10000E-03    13.027        .77141E-07** at limit **
  12  Prefactor     16.068        35.575       -.70502E-06   -.39535E-04
  13  norm          6.4947        7.9333        .34208E-06    .77326E-04
  14  Prefactor     8.1851        4.4376       -.10537E-06   -.14053E-03
  15  Prefactor     .10000E-03    2.0400       -.25811E-07** at limit **
  16  Prefactor     12.209        23.794       -.58918E-08   -.33406E-04
  17  Prefactor     .10000E-03    27.158        .28610E-06** at limit **
  18  Prefactor     7.9441        4.8567       -.52551E-06   -.71855E-03
  19  Prefactor     .10000E-03    3.3248        .13256E-07** at limit **
  20  Prefactor     .10000E-03    1.3310        .88536E-08** at limit **
  21  Normalizat    .60546        .16145       -.26946E-06   -.11051E-04
  22  Prefactor     1.2763        .16416       -.11040E-06   -.29865E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50266
  Prefactor  = 12.5242
  norm       = 4.58936
  Prefactor  = 0.0001
  Prefactor  = 8.5068
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.7815
  Prefactor  = 5.84267
  norm       = 7.56446
  Prefactor  = 0.0001
  Prefactor  = 16.0675
  norm       = 6.4947
  Prefactor  = 8.18505
  Prefactor  = 0.0001
  Prefactor  = 12.2095
  Prefactor  = 0.0001
  Prefactor  = 7.94412
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.605463
  Prefactor  = 1.27628
 **********
 **   18 **HESSE 
 **********

 FCN=   6291.362     FROM HESSE     STATUS=OK           346 CALLS     2682 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5027        1.3715        .65558E-04   -1.5392    
   2  Prefactor     12.524        14.344        .56595E-03   -1.5000    
   3  norm          4.5894        1.0551        .37594E-04   -1.5279    
   4  Prefactor     .10000E-03    2.8963        .13179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.5068        13.797        .68719E-03   -1.5125    
   6  norm          .10000E-03    38.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .75738        .67358E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.782        29.725        .65209E-04   -1.4478    
   9  Prefactor     5.8427        4.1523        .12895E-03   -1.5224    
  10  norm          7.5645        2.5651        .71350E-04   -1.5158    
  11  Prefactor     .10000E-03    13.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.068        35.747        .99911E-04   -1.4906    
  13  norm          6.4947        7.9152        .15751E-03   -1.5198    
  14  Prefactor     8.1851        4.4474        .11331E-03   -1.5136    
  15  Prefactor     .10000E-03    2.0880        .11046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.209        23.829        .11464E-03   -1.5009    
  17  Prefactor     .10000E-03    27.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.9441        5.1595        .13993E-03   -1.5144    
  19  Prefactor     .10000E-03    3.3397        .14124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4492        .17617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .60546        .18511        .29219E-03   -1.0775    
  22  Prefactor     1.2763        .19015        .22096E-03   -.84015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10041e-10
Minuit parameter uncertainties:
  1  1.37149
  2  14.3481
  3  1.05506
  4  7.03127e-09
  5  13.8024
  6  9.46468e-05
  7  3.16248e-07
  8  29.7365
  9  4.15247
  10  2.56515
  11  3.34692e-05
  12  35.7951
  13  7.91647
  14  4.44755
  15  8.9356e-07
  16  23.8476
  17  7.70146e-05
  18  5.15983
  19  2.70262e-07
  20  2.31364e-05
  21  0.185299
  22  0.190249
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.564e+00  2.565e+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.276e+00  1.902e-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:  6.055e-01  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.31
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 7.66e-08 +/- 2.60e-08
Energy Flux (Fixed Index): 8.80e-05 +/- 2.98e-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) = 6290.8120035
delta logL = 0.549956482071

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6290.81150591
delta logL = 0.55045407346

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4808       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0684       1.0000          .0000       5.0000    
     3 'Normalizat'    .57608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2907       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=   6290.812     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      275 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4807        2.6676        .61081E-04    .13648E-02
   2  alpha         2.0684        .31671        .68484E-02    .88019E-04
   3  Normalizat    .57617        .17924        .29870E-03   -.13321E-04
   4  Prefactor     1.2906        .18912        .21969E-03   -.45994E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.48069
  alpha      = 2.06837
  Normalizat = 0.576167
  Prefactor  = 1.29063
 **********
 **   18 **HESSE 
 **********

 FCN=   6290.812     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4807        2.6010        .12216E-04   -1.5199    
   2  alpha         2.0684        .30869        .27394E-03   -.17352    
   3  Normalizat    .57617        .17925        .11948E-04   -1.0901    
   4  Prefactor     1.2906        .18919        .43938E-04   -.83586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24392e-10
Minuit parameter uncertainties:
  1  2.60105
  2  0.309506
  3  0.179426
  4  0.189291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103352': 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) = 6290.81150572
delta logL = 0.550454262394

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  6.481e+00  2.601e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.068e+00  3.095e-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.291e+00  1.893e-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:  5.762e-01  1.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 28.31
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.07 +/- 0.31
Photon Flux (Free Index): 1.03e-07 +/- 4.02e-08
Energy Flux (Free Index): 6.01e-05 +/- 2.70e-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/103352/cmap_HighResolution_277171201_277430401_4FGL_J0915.9+2933_daily_bin146.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.66e-08', energy_flux2='6.01e-05', photon_flux_error='2.60e-08', dlogl='5.50e-01', energy_flux='8.80e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-08-31 05:44:29.871497', photon_index_error2='0.31', photon_index2='2.07', ts='27.31', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', energy_flux_error2='2.70e-05', EG='0.61', time_epoch_completed='1630413869.87', return_code='0', job_id='103352', GAL2='1.29', EG2='0.58', return_code2='0', energy_flux_error='2.98e-05', photon_flux_error2='4.02e-08', ts2='28.31', photon_index='1.75' WHERE bin_id='146' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:44:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 103352: <4FGL_J0915.9+2933_daily_bin146> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin146 138.986 29.553 277171201 277430401 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 :                                   571.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

