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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin21
RA = 138.986, Dec = 29.553
tmin = 244771201, tmax = 245030401
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='102310', job_status='RUN', time_executed='2021-08-31 05:27:21.040386', time_epoch_executed='1630412841.04' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='21'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102310

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102310/ft1_4FGL_J0915.9+2933_daily_bin21.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102310/ft2_4FGL_J0915.9+2933_daily_bin21.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102310/ft1_4FGL_J0915.9+2933_daily_bin21.fits outfile=/scratch/kocevski/102310/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin21.fits ra=138.986 dec=29.553 rad=12.0 tmin=244771201.0 tmax=245030401.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 1.49
user 1.26
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102310/ft1_filtered_4FGL_J0915.9+2933_daily_bin21.fits evtable="EVENTS" scfile=/scratch/kocevski/102310/ft2_4FGL_J0915.9+2933_daily_bin21.fits sctable="SC_DATA" expcube=/scratch/kocevski/102310/ltcube_244771201_245030401_4FGL_J0915.9+2933_daily_bin21.fits outfile=/scratch/kocevski/102310/expmap_244771201_245030401_4FGL_J0915.9+2933_daily_bin21.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/102310/ltcube_244771201_245030401_4FGL_J0915.9+2933_daily_bin21.fits
.....................!
real 190.97
user 185.52
sys 3.95

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/102310/ft1_filtered_4FGL_J0915.9+2933_daily_bin21.fits scfile=/scratch/kocevski/102310/ft2_4FGL_J0915.9+2933_daily_bin21.fits outfile=/scratch/kocevski/102310/cmap_244771201_245030401_4FGL_J0915.9+2933_daily_bin21.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.57
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102310/ft1_filtered_4FGL_J0915.9+2933_daily_bin21.fits scfile=/scratch/kocevski/102310/ft2_4FGL_J0915.9+2933_daily_bin21.fits outfile=/scratch/kocevski/102310/cmap_HighResolution_244771201_245030401_4FGL_J0915.9+2933_daily_bin21.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.52
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7043       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.7265       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .61132       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.547       1.0000         .10000E-03   10000.    
     6 'norm      '    50.728       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .74532       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4712       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1601       1.0000         .10000E-03   10000.    
    10 'norm      '    1.6571       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11872E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.809       1.0000         .10000E-03   10000.    
    13 'norm      '    5.4278       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2288       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.416       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0601       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94679       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=   5653.708     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2418 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7046        1.3872       -.18295E-06   -.37115E-03
   2  Prefactor     .10000E-03    7.9636       -.57402E-07** at limit **
   3  norm          4.7264        1.2011        .67326E-08   -.11635E-02
   4  Prefactor     .62505        8.7373        .19507E-05   -.26724E-04
   5  Prefactor     26.544        21.243       -.18344E-06    .59380E-05
   6  norm          50.706        43.619       -.21352E-04    .23913E-03
   7  Prefactor     .74476        3.3540       -.22806E-05   -.12344E-02
   8  Prefactor     4.4678        130.66       -.10364E-04    .61544E-05
   9  Prefactor     3.1605        4.9230       -.17393E-06   -.35066E-03
  10  norm          1.6572        1.5625       -.67413E-07   -.12102E-03
  11  Prefactor     .10000E-03    35.226       -.11000E-06** at limit **
  12  Prefactor     11.807        40.756       -.15645E-05    .14214E-04
  13  norm          5.4241        8.5886       -.11128E-05   -.80316E-04
  14  Prefactor     .10000E-03    2.5887        .53998E-07** at limit **
  15  Prefactor     4.2282        3.5674       -.58896E-07   -.16949E-03
  16  Prefactor     18.408        25.167       -.51379E-05    .70648E-04
  17  Prefactor     .10000E-03    71.426        .16431E-05** at limit **
  18  Prefactor     .10000E-03    5.8520       -.36467E-07** at limit **
  19  Prefactor     .10000E-03    10.274       -.81785E-07** at limit **
  20  Prefactor     .10000E-03    .95374       -.28396E-08** at limit **
  21  Normalizat    1.0604        .18715        .19816E-05   -.39791E-04
  22  Prefactor     .94665        .18197        .17774E-05   -.20731E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.70462
  Prefactor  = 0.0001
  norm       = 4.72637
  Prefactor  = 0.625052
  Prefactor  = 26.5443
  norm       = 50.7059
  Prefactor  = 0.744761
  Prefactor  = 4.46785
  Prefactor  = 3.1605
  norm       = 1.6572
  Prefactor  = 0.000100001
  Prefactor  = 11.8073
  norm       = 5.42408
  Prefactor  = 0.0001
  Prefactor  = 4.22824
  Prefactor  = 18.4077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06036
  Prefactor  = 0.946646
 **********
 **   18 **HESSE 
 **********

 FCN=   5653.708     FROM HESSE     STATUS=OK           348 CALLS     2766 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7046        1.3805        .76797E-04   -1.5447    
   2  Prefactor     .10000E-03    7.9951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.7264        1.2003        .38540E-04   -1.5273    
   4  Prefactor     .62505        66.371        .40480E-02   -1.5550    
   5  Prefactor     26.544        21.303        .77752E-04   -1.4677    
   6  norm          50.706        43.045        .56307E-04   -1.4283    
   7  Prefactor     .74476        3.5783        .27044E-03   -1.5535    
   8  Prefactor     4.4678        128.21        .19042E-03   -1.5285    
   9  Prefactor     3.1605        4.8794        .18783E-03   -1.5352    
  10  norm          1.6572        1.5443        .88293E-04   -1.5450    
  11  Prefactor     .10000E-03    35.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.807        40.795        .11657E-03   -1.5021    
  13  norm          5.4241        8.5390        .17248E-03   -1.5242    
  14  Prefactor     .10000E-03    2.6363        .23533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2282        3.5620        .12399E-03   -1.5297    
  16  Prefactor     18.408        25.190        .93330E-04   -1.4850    
  17  Prefactor     .10000E-03    71.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.9692        .17751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .97596        .71673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0604        .21591        .24003E-03   -.91035    
  22  Prefactor     .94665        .21041        .25394E-03   -.94530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99487e-08
Minuit parameter uncertainties:
  1  1.38055
  2  8.95982e-06
  3  1.20026
  4  12.8954
  5  21.3091
  6  43.0718
  7  3.26504
  8  47.9801
  9  4.87998
  10  1.54431
  11  0.000308763
  12  40.8917
  13  8.54087
  14  7.30574e-06
  15  3.56223
  16  25.2043
  17  0.000176705
  18  1.48375e-05
  19  4.67007e-05
  20  2.78177e-06
  21  0.216092
  22  0.210594
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.657e+00  1.544e+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:  9.466e-01  2.106e-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.060e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.06
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.68e-08 +/- 1.56e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 1.80e-05

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

Saving results to:
/scratch/kocevski/102310/likelihoodResults_244771201_245030401_4FGL_J0915.9+2933_daily_bin21.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) = 5653.57284946
delta logL = 0.135011453552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5653.57247724
delta logL = 0.135383676846

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6700       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4328       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94515       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=   5653.572     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      196 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6701        2.3608        .81556E-02   -.17547E-02
   2  alpha         1.4329        .75239        .41609       -.27935E-04
   3  Normalizat    1.0642        .17792        .39699E-01    .52860E-04
   4  Prefactor     .94507        .17947        .45578E-01    .11592E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67007
  alpha      = 1.43287
  Normalizat = 1.06416
  Prefactor  = 0.945074
 **********
 **   18 **HESSE 
 **********

 FCN=   5653.572     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6701        1.5488        .86470E-04   -1.5450    
   2  alpha         1.4329        .57525        .16025E-01   -.44101    
   3  Normalizat    1.0642        .20272        .23965E-03   -.90911    
   4  Prefactor     .94507        .20503        .25412E-03   -.94583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15697e-10
Minuit parameter uncertainties:
  1  1.54889
  2  0.581644
  3  0.202873
  4  0.205196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102310': 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) = 5653.57247715
delta logL = 0.135383766448

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.670e+00  1.549e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.433e+00  5.816e-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:  9.451e-01  2.052e-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.064e+00  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.33
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.43 +/- 0.58
Photon Flux (Free Index): 1.24e-08 +/- 1.35e-08
Energy Flux (Free Index): 3.28e-05 +/- 4.42e-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/102310/cmap_HighResolution_244771201_245030401_4FGL_J0915.9+2933_daily_bin21.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-05', comment='SUCCESS', photon_flux='1.68e-08', energy_flux2='3.28e-05', photon_flux_error='1.56e-08', dlogl='1.35e-01', energy_flux='1.93e-05', photon_flux2='1.24e-08', job_status='DONE', time_completed='2021-08-31 05:37:09.356427', photon_index_error2='0.58', photon_index2='1.43', ts='2.06', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='5.81e-08', energy_flux_error2='4.42e-05', EG='1.06', time_epoch_completed='1630413429.36', return_code='0', job_id='102310', GAL2='0.95', EG2='1.06', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='1.35e-08', ts2='2.33', photon_index='1.75' WHERE bin_id='21' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:37:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 102310: <4FGL_J0915.9+2933_daily_bin21> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin21> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 05:26:33 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:26:38 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:26:38 2021
Terminated at Tue Aug 31 05:37:10 2021
Results reported at Tue Aug 31 05:37:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin21 138.986 29.553 244771201 245030401 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 :                                   584.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             322.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            637 sec.

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

