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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin18
RA = 138.986, Dec = 29.553
tmin = 243993601, tmax = 244252801
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='102305', job_status='RUN', time_executed='2021-08-31 05:27:56.746285', time_epoch_executed='1630412876.75' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='18'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102305

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102305/ft1_4FGL_J0915.9+2933_daily_bin18.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102305/ft2_4FGL_J0915.9+2933_daily_bin18.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102305/ft1_4FGL_J0915.9+2933_daily_bin18.fits outfile=/scratch/kocevski/102305/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin18.fits ra=138.986 dec=29.553 rad=12.0 tmin=243993601.0 tmax=244252801.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.54
user 1.24
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/102305/ft2_4FGL_J0915.9+2933_daily_bin18.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/102305/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin18.fits evtable="EVENTS" outfile="/scratch/kocevski/102305/ft1_filtered_4FGL_J0915.9+2933_daily_bin18.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.61
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102305/ft1_filtered_4FGL_J0915.9+2933_daily_bin18.fits" evtable="EVENTS" scfile=/scratch/kocevski/102305/ft2_4FGL_J0915.9+2933_daily_bin18.fits sctable="SC_DATA" outfile=/scratch/kocevski/102305/ltcube_243993601_244252801_4FGL_J0915.9+2933_daily_bin18.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/102305/ft2_4FGL_J0915.9+2933_daily_bin18.fits
.....................!
real 12.44
user 12.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102305/ft1_filtered_4FGL_J0915.9+2933_daily_bin18.fits evtable="EVENTS" scfile=/scratch/kocevski/102305/ft2_4FGL_J0915.9+2933_daily_bin18.fits sctable="SC_DATA" expcube=/scratch/kocevski/102305/ltcube_243993601_244252801_4FGL_J0915.9+2933_daily_bin18.fits outfile=/scratch/kocevski/102305/expmap_243993601_244252801_4FGL_J0915.9+2933_daily_bin18.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/102305/ltcube_243993601_244252801_4FGL_J0915.9+2933_daily_bin18.fits
.....................!
real 191.99
user 187.44
sys 4.02

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/102305/ft1_filtered_4FGL_J0915.9+2933_daily_bin18.fits scfile=/scratch/kocevski/102305/ft2_4FGL_J0915.9+2933_daily_bin18.fits outfile=/scratch/kocevski/102305/cmap_243993601_244252801_4FGL_J0915.9+2933_daily_bin18.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.54
user 0.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102305/ft1_filtered_4FGL_J0915.9+2933_daily_bin18.fits scfile=/scratch/kocevski/102305/ft2_4FGL_J0915.9+2933_daily_bin18.fits outfile=/scratch/kocevski/102305/cmap_HighResolution_243993601_244252801_4FGL_J0915.9+2933_daily_bin18.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.53
user 0.36
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8275       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.2051       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8923       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0841       1.0000         .10000E-03   10000.    
     8 'Prefactor '    62.990       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18059E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    2.5455       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2586       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.6992       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.901       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.365       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10486E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9100       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0208       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90695       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=   6913.332     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2370 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8276        1.1154       -.87920E-07   -.19273E-04
   2  Prefactor     .10000E-03    4.4078        .87132E-07** at limit **
   3  norm          2.2053        .83702        .52743E-08    .89465E-03
   4  Prefactor     1.8898        14.522       -.21773E-05    .31851E-04
   5  Prefactor     .10000E-03    5.9790        .10683E-06** at limit **
   6  norm          .10000E-03    11.973       -.12070E-06** at limit **
   7  Prefactor     4.0843        3.0239       -.92323E-07    .15212E-03
   8  Prefactor     63.056        41.714        .14285E-05   -.55838E-04
   9  Prefactor     .10008E-03    13.030        .91728E-05** at limit **
  10  norm          2.5455        1.6271       -.27628E-06    .59484E-03
  11  Prefactor     .10000E-03    13.237       -.19803E-05** at limit **
  12  Prefactor     .10000E-03    13.590        .26009E-06** at limit **
  13  norm          .10000E-03    4.2177       -.65741E-06** at limit **
  14  Prefactor     2.2611        2.3851        .69513E-06    .54034E-03
  15  Prefactor     4.6996        3.1654       -.54228E-07    .34463E-03
  16  Prefactor     15.881        20.576       -.11332E-05    .22723E-05
  17  Prefactor     22.333        39.489        .15803E-05    .19345E-03
  18  Prefactor     .10004E-03    8.2530        .59127E-05** at limit **
  19  Prefactor     .10000E-03    5.2844       -.20797E-06** at limit **
  20  Prefactor     2.9092        2.1965       -.37328E-07    .80369E-03
  21  Normalizat    1.0206        .15924        .11212E-05    .69226E-03
  22  Prefactor     .90709        .15181        .10703E-05    .11235E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.8276
  Prefactor  = 0.0001
  norm       = 2.20527
  Prefactor  = 1.88983
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.08427
  Prefactor  = 63.0564
  Prefactor  = 0.000100081
  norm       = 2.54546
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.26113
  Prefactor  = 4.69955
  Prefactor  = 15.881
  Prefactor  = 22.3327
  Prefactor  = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 2.90918
  Normalizat = 1.02062
  Prefactor  = 0.907093
 **********
 **   18 **HESSE 
 **********

 FCN=   6913.332     FROM HESSE     STATUS=OK           344 CALLS     2714 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8276        1.1118        .66238E-04   -1.5438    
   2  Prefactor     .10000E-03    4.4266        .17042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2053        .82810        .42575E-04   -1.5411    
   4  Prefactor     1.8898        14.378        .30246E-03   -1.5433    
   5  Prefactor     .10000E-03    6.0156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    11.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.0843        3.0200        .12034E-03   -1.5304    
   8  Prefactor     63.056        41.610        .25280E-03   -1.4118    
   9  Prefactor     .10008E-03    19.077        .23794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5455        1.6202        .40822E-03   -1.5389    
  11  Prefactor     .10000E-03    13.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.3097        .16705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2611        2.3765        .12743E-03   -1.5407    
  15  Prefactor     4.6996        3.1626        .11570E-03   -1.5274    
  16  Prefactor     15.881        20.458        .10044E-03   -1.4911    
  17  Prefactor     22.333        39.493        .84698E-04   -1.4762    
  18  Prefactor     .10004E-03    14.107        .35228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.3354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.9092        2.1833        .10278E-03   -1.5367    
  21  Normalizat    1.0206        .17851        .23492E-03   -.92343    
  22  Prefactor     .90709        .17455        .24570E-03   -.95894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.15368e-09
Minuit parameter uncertainties:
  1  1.11181
  2  5.759e-06
  3  0.828107
  4  10.4284
  5  1.72578e-05
  6  3.03077e-05
  7  3.02014
  8  41.6294
  9  0.00248843
  10  1.62021
  11  8.42987e-06
  12  2.80997e-05
  13  4.38784e-05
  14  2.37659
  15  3.16274
  16  20.467
  17  39.5396
  18  0.00158361
  19  4.76395e-05
  20  2.18338
  21  0.178612
  22  0.174653
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.545e+00  1.620e+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.071e-01  1.747e-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.021e+00  1.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.88
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.58e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 2.96e-05 +/- 1.88e-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) = 6913.27197048
delta logL = 0.0604326262628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6913.26699542
delta logL = 0.0654076874007

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3970       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9289       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90772       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=   6913.267     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      199 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3965        34.020        .66124E-02    .13600E-03
   2  alpha         1.9297        3.3250        .34426        .33902E-04
   3  Normalizat    1.0170        .74755E-01    .43787E-01    .13560E-04
   4  Prefactor     .90801        .61488E-01    .45103E-01    .15850E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.39646
  alpha      = 1.92968
  Normalizat = 1.01698
  Prefactor  = 0.908011
 **********
 **   18 **HESSE 
 **********

 FCN=   6913.267     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3965        1.6548        .77725E-04   -1.5398    
   2  alpha         1.9297        .50868        .12068E-01   -.23015    
   3  Normalizat    1.0170        .17445        .23528E-03   -.92464    
   4  Prefactor     .90801        .17359        .24556E-03   -.95862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41621e-12
Minuit parameter uncertainties:
  1  1.65487
  2  0.512454
  3  0.174544
  4  0.173695
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102305': 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) = 6913.26699286
delta logL = 0.0654102519838

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.396e+00  1.655e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.930e+00  5.125e-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.080e-01  1.737e-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.017e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.00
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.93 +/- 0.51
Photon Flux (Free Index): 3.08e-08 +/- 2.34e-08
Energy Flux (Free Index): 2.36e-05 +/- 2.09e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/102305/cmap_HighResolution_243993601_244252801_4FGL_J0915.9+2933_daily_bin18.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.58e-08', energy_flux2='2.36e-05', photon_flux_error='1.64e-08', dlogl='6.54e-02', energy_flux='2.96e-05', photon_flux2='3.08e-08', job_status='DONE', time_completed='2021-08-31 05:37:30.958016', photon_index_error2='0.51', photon_index2='1.93', ts='5.88', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.09e-05', EG='1.02', time_epoch_completed='1630413450.96', return_code='0', job_id='102305', GAL2='0.91', EG2='1.02', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='2.34e-08', ts2='6.00', photon_index='1.75' WHERE bin_id='18' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:37:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 102305: <4FGL_J0915.9+2933_daily_bin18> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin18> 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) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:26:36 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:36 2021
Terminated at Tue Aug 31 05:37:31 2021
Results reported at Tue Aug 31 05:37:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin18 138.986 29.553 243993601 244252801 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 :                                   572.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            658 sec.

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

