/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 165 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7426
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin281
RA = 138.986, Dec = 29.553
tmin = 312163201, tmax = 312422401
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='104749', job_status='RUN', time_executed='2021-08-31 05:40:04.844638', time_epoch_executed='1630413604.84' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='281'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104749

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104749/ft1_4FGL_J0915.9+2933_daily_bin281.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104749/ft2_4FGL_J0915.9+2933_daily_bin281.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104749/ft1_4FGL_J0915.9+2933_daily_bin281.fits outfile=/scratch/kocevski/104749/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin281.fits ra=138.986 dec=29.553 rad=12.0 tmin=312163201.0 tmax=312422401.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 6.13
user 3.24
sys 2.60

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104749/ft1_filtered_4FGL_J0915.9+2933_daily_bin281.fits" evtable="EVENTS" scfile=/scratch/kocevski/104749/ft2_4FGL_J0915.9+2933_daily_bin281.fits sctable="SC_DATA" outfile=/scratch/kocevski/104749/ltcube_312163201_312422401_4FGL_J0915.9+2933_daily_bin281.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/104749/ft2_4FGL_J0915.9+2933_daily_bin281.fits
.....................!
real 15.00
user 11.83
sys 3.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104749/ft1_filtered_4FGL_J0915.9+2933_daily_bin281.fits evtable="EVENTS" scfile=/scratch/kocevski/104749/ft2_4FGL_J0915.9+2933_daily_bin281.fits sctable="SC_DATA" expcube=/scratch/kocevski/104749/ltcube_312163201_312422401_4FGL_J0915.9+2933_daily_bin281.fits outfile=/scratch/kocevski/104749/expmap_312163201_312422401_4FGL_J0915.9+2933_daily_bin281.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/104749/ltcube_312163201_312422401_4FGL_J0915.9+2933_daily_bin281.fits
.....................!
real 198.50
user 187.57
sys 8.39

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/104749/ft1_filtered_4FGL_J0915.9+2933_daily_bin281.fits scfile=/scratch/kocevski/104749/ft2_4FGL_J0915.9+2933_daily_bin281.fits outfile=/scratch/kocevski/104749/cmap_312163201_312422401_4FGL_J0915.9+2933_daily_bin281.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 3.38
user 0.38
sys 2.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104749/ft1_filtered_4FGL_J0915.9+2933_daily_bin281.fits scfile=/scratch/kocevski/104749/ft2_4FGL_J0915.9+2933_daily_bin281.fits outfile=/scratch/kocevski/104749/cmap_HighResolution_312163201_312422401_4FGL_J0915.9+2933_daily_bin281.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 3.15
user 0.39
sys 2.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3846       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10859E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.6712       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11593E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.641       1.0000         .10000E-03   10000.    
     6 'norm      '    23.130       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9734       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13940E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3934       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.969       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .42614       1.0000         .10000E-03   10000.    
    13 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .74161       1.0000         .10000E-03   10000.    
    16 'Prefactor '    69.444       1.0000         .10000E-03   10000.    
    17 'Prefactor '    131.36       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.281       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.5773       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .59190       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0997       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84705       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=   5967.078     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2477 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3844        1.3448       -.71541E-07   -.71944E-04
   2  Prefactor     .10000E-03    16.831       -.25687E-06** at limit **
   3  norm          2.6716        .91254        .12534E-07    .70427E-04
   4  Prefactor     .10000E-03    13.309        .17611E-06** at limit **
   5  Prefactor     15.630        22.292        .11108E-05    .48390E-05
   6  norm          23.134        32.355       -.13642E-04   -.28659E-04
   7  Prefactor     5.9727        4.2463       -.12727E-06   -.53975E-04
   8  Prefactor     .10000E-03    14.963        .11418E-07** at limit **
   9  Prefactor     .10000E-03    2.8732       -.23864E-06** at limit **
  10  norm          1.3932        1.4999        .40891E-07    .75008E-04
  11  Prefactor     12.957        15.145       -.56733E-06    .22358E-04
  12  Prefactor     .12555E-02    49.213        .23374E-05** at limit **
  13  norm          .10000E-03    4.8815       -.30093E-07** at limit **
  14  Prefactor     .10000E-03    1.5306       -.26613E-07** at limit **
  15  Prefactor     .74082        4.8286       -.67618E-06   -.11399E-02
  16  Prefactor     69.473        39.699       -.17787E-04    .15640E-04
  17  Prefactor     131.25        89.171        .33704E-05   -.30382E-05
  18  Prefactor     10.277        8.7116        .63263E-05   -.85907E-05
  19  Prefactor     9.5575        10.038       -.80783E-06   -.35906E-05
  20  Prefactor     .59106        1.7071       -.62655E-06   -.13038E-02
  21  Normalizat    1.0998        .18680        .32402E-05   -.15883E-03
  22  Prefactor     .84729        .16487       -.72165E-06    .86383E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.3844
  Prefactor  = 0.0001
  norm       = 2.67163
  Prefactor  = 0.0001
  Prefactor  = 15.6301
  norm       = 23.1337
  Prefactor  = 5.97268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.39319
  Prefactor  = 12.9568
  Prefactor  = 0.00125546
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.740822
  Prefactor  = 69.473
  Prefactor  = 131.247
  Prefactor  = 10.2771
  Prefactor  = 9.5575
  Prefactor  = 0.591058
  Normalizat = 1.09984
  Prefactor  = 0.847288
 **********
 **   18 **HESSE 
 **********

 FCN=   5967.078     FROM HESSE     STATUS=OK           358 CALLS     2835 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3844        1.3419        .65136E-04   -1.5399    
   2  Prefactor     .10000E-03    17.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.6716        .91277        .41614E-04   -1.5381    
   4  Prefactor     .10000E-03    13.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.630        22.377        .10127E-03   -1.4917    
   6  norm          23.134        32.400        .83287E-04   -1.4746    
   7  Prefactor     5.9727        4.2510        .12865E-03   -1.5219    
   8  Prefactor     .10000E-03    14.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.6449        .25274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3932        1.4780        .92085E-04   -1.5472    
  11  Prefactor     12.957        15.115        .11123E-03   -1.4988    
  12  Prefactor     .12555E-02    50.764        .15763       -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.9036        .16655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5388        .93265E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .74082        4.7552        .30742E-03   -1.5536    
  16  Prefactor     69.473        38.919        .48169E-04   -1.4039    
  17  Prefactor     131.25        89.197        .35132E-04   -1.3412    
  18  Prefactor     10.277        8.6821        .12497E-03   -1.5067    
  19  Prefactor     9.5575        10.058        .12949E-03   -1.5090    
  20  Prefactor     .59106        1.6678        .16573E-03   -1.5554    
  21  Normalizat    1.0998        .21709        .24584E-03   -.89757    
  22  Prefactor     .84729        .19062        .26133E-03   -.98008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52136e-09
Minuit parameter uncertainties:
  1  1.34189
  2  3.85592e-05
  3  0.912774
  4  4.26775e-05
  5  22.389
  6  32.4242
  7  4.25118
  8  5.29112e-06
  9  4.2824e-05
  10  1.47801
  11  15.119
  12  0.484788
  13  8.9621e-06
  14  2.93512e-06
  15  3.75397
  16  38.9334
  17  89.2888
  18  8.68313
  19  10.06
  20  1.66795
  21  0.217271
  22  0.190772
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  8.473e-01  1.908e-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.100e+00  2.173e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.48
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.41e-08 +/- 1.50e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.72e-05

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

Saving results to:
/scratch/kocevski/104749/likelihoodResults_312163201_312422401_4FGL_J0915.9+2933_daily_bin281.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) = 5966.58071576
delta logL = 0.496835058723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5966.5693786
delta logL = 0.508172214598

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2008       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7233       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0514       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86736       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=   5966.569     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      219 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2007        14.291        .10355E-01    .49398E-03
   2  alpha         2.7233        3.8610        .23387        .73275E-04
   3  Normalizat    1.0514        .64333E-01    .40464E-01    .93714E-05
   4  Prefactor     .86736        .50560E-01    .44588E-01    .11808E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20069
  alpha      = 2.72334
  Normalizat = 1.05139
  Prefactor  = 0.867358
 **********
 **   18 **HESSE 
 **********

 FCN=   5966.569     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2007        1.6231        .57259E-04   -1.5489    
   2  alpha         2.7233        .99704        .12281E-01    .89455E-01
   3  Normalizat    1.0514        .21051        .25034E-03   -.91328    
   4  Prefactor     .86736        .19226        .25837E-03   -.97291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09863e-11
Minuit parameter uncertainties:
  1  1.62318
  2  1.02581
  3  0.210679
  4  0.19241
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104749': 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) = 5966.56937859
delta logL = 0.50817222058

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.201e+00  1.623e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.723e+00  1.026e+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:  8.674e-01  1.924e-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.051e+00  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.51
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.72 +/- 1.03
Photon Flux (Free Index): 6.12e-08 +/- 6.73e-08
Energy Flux (Free Index): 1.61e-05 +/- 1.13e-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/104749/cmap_HighResolution_312163201_312422401_4FGL_J0915.9+2933_daily_bin281.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-05', comment='SUCCESS', photon_flux='1.41e-08', energy_flux2='1.61e-05', photon_flux_error='1.50e-08', dlogl='5.08e-01', energy_flux='1.62e-05', photon_flux2='6.12e-08', job_status='DONE', time_completed='2021-08-31 05:51:22.598170', photon_index_error2='1.03', photon_index2='2.72', ts='2.48', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='5.62e-08', energy_flux_error2='1.13e-05', EG='1.10', time_epoch_completed='1630414282.6', return_code='0', job_id='104749', GAL2='0.87', EG2='1.05', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='6.73e-08', ts2='3.51', photon_index='1.75' WHERE bin_id='281' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:51:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 104749: <4FGL_J0915.9+2933_daily_bin281> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin281> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 05:35:25 2021
Job was executed on host(s) <bullet0274>, 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:51:23 2021
Results reported at Tue Aug 31 05:51:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin281 138.986 29.553 312163201 312422401 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 :                                   690.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            958 sec.

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

