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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin467
RA = 138.986, Dec = 29.553
tmin = 360374401, tmax = 360633601
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='105029', job_status='RUN', time_executed='2021-08-31 05:39:59.369517', time_epoch_executed='1630413599.37' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='467'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105029

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105029/ft1_4FGL_J0915.9+2933_daily_bin467.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105029/ft2_4FGL_J0915.9+2933_daily_bin467.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105029/ft1_4FGL_J0915.9+2933_daily_bin467.fits outfile=/scratch/kocevski/105029/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin467.fits ra=138.986 dec=29.553 rad=12.0 tmin=360374401.0 tmax=360633601.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.58
user 3.21
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105029/ft1_filtered_4FGL_J0915.9+2933_daily_bin467.fits" evtable="EVENTS" scfile=/scratch/kocevski/105029/ft2_4FGL_J0915.9+2933_daily_bin467.fits sctable="SC_DATA" outfile=/scratch/kocevski/105029/ltcube_360374401_360633601_4FGL_J0915.9+2933_daily_bin467.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/105029/ft2_4FGL_J0915.9+2933_daily_bin467.fits
.....................!
real 12.11
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105029/ft1_filtered_4FGL_J0915.9+2933_daily_bin467.fits evtable="EVENTS" scfile=/scratch/kocevski/105029/ft2_4FGL_J0915.9+2933_daily_bin467.fits sctable="SC_DATA" expcube=/scratch/kocevski/105029/ltcube_360374401_360633601_4FGL_J0915.9+2933_daily_bin467.fits outfile=/scratch/kocevski/105029/expmap_360374401_360633601_4FGL_J0915.9+2933_daily_bin467.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/105029/ltcube_360374401_360633601_4FGL_J0915.9+2933_daily_bin467.fits
.....................!
real 190.72
user 185.72
sys 4.14

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/105029/ft1_filtered_4FGL_J0915.9+2933_daily_bin467.fits scfile=/scratch/kocevski/105029/ft2_4FGL_J0915.9+2933_daily_bin467.fits outfile=/scratch/kocevski/105029/cmap_360374401_360633601_4FGL_J0915.9+2933_daily_bin467.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.04
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105029/ft1_filtered_4FGL_J0915.9+2933_daily_bin467.fits scfile=/scratch/kocevski/105029/ft2_4FGL_J0915.9+2933_daily_bin467.fits outfile=/scratch/kocevski/105029/cmap_HighResolution_360374401_360633601_4FGL_J0915.9+2933_daily_bin467.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.93
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.9994       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11877E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.2567       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3958       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .34930       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10123E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4535       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9004       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .82383       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0530       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75483       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=   5069.311     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2048 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .48302        .30255E-07** at limit **
   2  Prefactor     .10000E-03    6.5417       -.14362E-05** at limit **
   3  norm          3.9995        1.0432        .10492E-07   -.12522E-03
   4  Prefactor     .10000E-03    6.9202        .16417E-05** at limit **
   5  Prefactor     .10002E-03    7.5041       -.14806E-06** at limit **
   6  norm          4.2747        23.338       -.19087E-05   -.81098E-04
   7  Prefactor     6.3957        3.9889       -.15996E-06   -.25648E-03
   8  Prefactor     .10000E-03    18.450        .49446E-07** at limit **
   9  Prefactor     .10000E-03    3.3297        .31502E-07** at limit **
  10  norm          .34993        1.3196        .41727E-06   -.38426E-03
  11  Prefactor     .10000E-03    8.6455       -.63825E-06** at limit **
  12  Prefactor     .10000E-03    12.177        .35835E-06** at limit **
  13  norm          .10000E-03    6.0595        .29677E-06** at limit **
  14  Prefactor     4.4490        3.6412        .21278E-07   -.59609E-04
  15  Prefactor     .10000E-03    1.3825       -.19691E-07** at limit **
  16  Prefactor     .10000E-03    26.054       -.29634E-05** at limit **
  17  Prefactor     .10000E-03    28.208        .30858E-05** at limit **
  18  Prefactor     .10000E-03    1.4496       -.43835E-08** at limit **
  19  Prefactor     5.9004        6.4808        .12643E-05   -.79490E-03
  20  Prefactor     .82467        2.0338        .23880E-06   -.27331E-03
  21  Normalizat    1.0530        .16039       -.20760E-06    .25272E-04
  22  Prefactor     .75465        .15847       -.35138E-07    .92619E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.99953
  Prefactor  = 0.000100001
  Prefactor  = 0.000100019
  norm       = 4.27473
  Prefactor  = 6.39571
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.349926
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.44903
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 5.90042
  Prefactor  = 0.824672
  Normalizat = 1.05302
  Prefactor  = 0.754646
 **********
 **   18 **HESSE 
 **********

 FCN=   5069.311     FROM HESSE     STATUS=OK           342 CALLS     2390 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .78762        .96215E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.7502        .18016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.9995        1.0431        .20166E-04   -1.5308    
   4  Prefactor     .10000E-03    7.1876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    100.35        .37475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.2747        24.033        .19529E-03   -1.5294    
   7  Prefactor     6.3957        4.0061        .10864E-03   -1.5202    
   8  Prefactor     .10000E-03    18.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.4825        .25340E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .34993        1.3288        .15639E-03   -1.5590    
  11  Prefactor     .10000E-03    8.7017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.1345        .17107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.4490        3.6376        .11847E-03   -1.5286    
  15  Prefactor     .10000E-03    1.4046        .81688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    29.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.4522        .83711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.9004        7.3835        .82660E-03   -1.5222    
  20  Prefactor     .82467        2.0335        .15342E-03   -1.5526    
  21  Normalizat    1.0530        .18258        .20868E-03   -.91275    
  22  Prefactor     .75465        .18105        .24270E-03   -1.0142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28489e-09
Minuit parameter uncertainties:
  1  2.10976e-07
  2  0.000111612
  3  1.0431
  4  0.000134278
  5  0.00274049
  6  20.2838
  7  4.00626
  8  6.51283e-06
  9  1.37325e-06
  10  1.32888
  11  5.73682e-05
  12  3.97062e-05
  13  2.14597e-05
  14  3.63776
  15  6.28214e-07
  16  0.000449829
  17  0.000502948
  18  2.53699e-07
  19  7.38468
  20  2.0337
  21  0.182691
  22  0.181191
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.499e-01  1.329e+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:  7.546e-01  1.812e-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.053e+00  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/105029/likelihoodResults_360374401_360633601_4FGL_J0915.9+2933_daily_bin467.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) = 5069.30342175
delta logL = 0.00762857660357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5069.30328706
delta logL = 0.00776326146388

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36722       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5553       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75410       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=   5069.303     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      274 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37061        1.3104        .13752E-02   -.26458E-03
   2  alpha         1.5596        1.3839        .34983E-01   -.18676E-04
   3  Normalizat    1.0538        .17868        .20861E-03   -.47195E-04
   4  Prefactor     .75408        .18024        .24278E-03   -.12180E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.370606
  alpha      = 1.55959
  Normalizat = 1.05381
  Prefactor  = 0.754084
 **********
 **   18 **HESSE 
 **********

 FCN=   5069.303     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37061        1.3193        .55007E-04   -1.5586    
   2  alpha         1.5596        1.3947        .13993E-02   -.38565    
   3  Normalizat    1.0538        .17882        .83443E-05   -.91249    
   4  Prefactor     .75408        .18038        .97111E-05   -1.0144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8156e-10
Minuit parameter uncertainties:
  1  1.31937
  2  1.49673
  3  0.178926
  4  0.180521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105029': 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) = 5069.3032805
delta logL = 0.00776982050411

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.706e-01  1.319e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.560e+00  1.497e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.541e-01  1.805e-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.054e+00  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 138.986 29.553

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/105029/cmap_HighResolution_360374401_360633601_4FGL_J0915.9+2933_daily_bin467.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.10e-05', job_status='DONE', photon_flux_upper_limit='4.44e-08', time_completed='2021-08-31 05:49:12.178382', job_id='105029', GAL2='0.75', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630414152.18', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='7.77e-03', ts2='0.10', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='467' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:49:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 105029: <4FGL_J0915.9+2933_daily_bin467> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin467 138.986 29.553 360374401 360633601 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 :                                   535.25 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             232.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            807 sec.

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

