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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin700
RA = 138.986, Dec = 29.553
tmin = 420768001, tmax = 421027201
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='106782', job_status='RUN', time_executed='2021-08-31 05:43:32.913163', time_epoch_executed='1630413812.91' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106782

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106782/ft1_4FGL_J0915.9+2933_daily_bin700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106782/ft2_4FGL_J0915.9+2933_daily_bin700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106782/ft1_4FGL_J0915.9+2933_daily_bin700.fits outfile=/scratch/kocevski/106782/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin700.fits ra=138.986 dec=29.553 rad=12.0 tmin=420768001.0 tmax=421027201.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 4.62
user 3.28
sys 1.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106782/ft1_filtered_4FGL_J0915.9+2933_daily_bin700.fits" evtable="EVENTS" scfile=/scratch/kocevski/106782/ft2_4FGL_J0915.9+2933_daily_bin700.fits sctable="SC_DATA" outfile=/scratch/kocevski/106782/ltcube_420768001_421027201_4FGL_J0915.9+2933_daily_bin700.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/106782/ft2_4FGL_J0915.9+2933_daily_bin700.fits
.....................!
real 13.25
user 11.53
sys 1.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106782/ft1_filtered_4FGL_J0915.9+2933_daily_bin700.fits evtable="EVENTS" scfile=/scratch/kocevski/106782/ft2_4FGL_J0915.9+2933_daily_bin700.fits sctable="SC_DATA" expcube=/scratch/kocevski/106782/ltcube_420768001_421027201_4FGL_J0915.9+2933_daily_bin700.fits outfile=/scratch/kocevski/106782/expmap_420768001_421027201_4FGL_J0915.9+2933_daily_bin700.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/106782/ltcube_420768001_421027201_4FGL_J0915.9+2933_daily_bin700.fits
.....................!
real 192.56
user 185.28
sys 6.75

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/106782/ft1_filtered_4FGL_J0915.9+2933_daily_bin700.fits scfile=/scratch/kocevski/106782/ft2_4FGL_J0915.9+2933_daily_bin700.fits outfile=/scratch/kocevski/106782/cmap_420768001_421027201_4FGL_J0915.9+2933_daily_bin700.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.59
user 0.36
sys 1.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106782/ft1_filtered_4FGL_J0915.9+2933_daily_bin700.fits scfile=/scratch/kocevski/106782/ft2_4FGL_J0915.9+2933_daily_bin700.fits outfile=/scratch/kocevski/106782/cmap_HighResolution_420768001_421027201_4FGL_J0915.9+2933_daily_bin700.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 1.70
user 0.39
sys 1.26

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.8248       1.0000         .10000E-03   10000.    
     3 'norm      '    2.8764       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.631       1.0000         .10000E-03   10000.    
     6 'norm      '    42.569       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2817       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .19468       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0960       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.010       1.0000         .10000E-03   10000.    
    12 'Prefactor '    42.216       1.0000         .10000E-03   10000.    
    13 'norm      '    6.3470       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21692       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7968       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.4573       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5307       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91566       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98026       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=   6035.793     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2385 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .65831        .27987E-06** at limit **
   2  Prefactor     3.8287        11.173       -.13241E-05   -.23429E-03
   3  norm          2.8768        .95341       -.61475E-07   -.14919E-02
   4  Prefactor     .10000E-03    8.8173        .40266E-06** at limit **
   5  Prefactor     22.631        18.721       -.14269E-06   -.58226E-04
   6  norm          42.562        35.828       -.52409E-06   -.14502E-04
   7  Prefactor     6.2821        3.3002        .23101E-07    .19100E-04
   8  Prefactor     .10000E-03    8.6328       -.28328E-06** at limit **
   9  Prefactor     .22055        8.9319        .53147E-05    .57822E-04
  10  norm          1.0942        2.0695       -.42262E-06   -.12207E-03
  11  Prefactor     13.003        12.771        .74734E-06    .11375E-03
  12  Prefactor     42.226        38.459        .32957E-06   -.93509E-04
  13  norm          6.3477        9.1487       -.21410E-05    .11697E-03
  14  Prefactor     .10000E-03    1.9932       -.22805E-06** at limit **
  15  Prefactor     .22784        8.9377        .52456E-05   -.13483E-03
  16  Prefactor     .10000E-03    18.917        .35101E-06** at limit **
  17  Prefactor     .10000E-03    44.708        .26007E-08** at limit **
  18  Prefactor     1.7973        6.4919       -.86219E-06   -.17925E-04
  19  Prefactor     4.4581        6.4801        .19576E-07   -.38671E-04
  20  Prefactor     3.5316        2.1998        .47256E-07    .91869E-04
  21  Normalizat    .91539        .17826       -.42912E-06   -.25141E-03
  22  Prefactor     .98044        .16468        .23177E-06   -.16424E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.82873
  norm       = 2.87677
  Prefactor  = 0.0001
  Prefactor  = 22.6309
  norm       = 42.5624
  Prefactor  = 6.28209
  Prefactor  = 0.0001
  Prefactor  = 0.220546
  norm       = 1.09424
  Prefactor  = 13.003
  Prefactor  = 42.2255
  norm       = 6.34775
  Prefactor  = 0.0001
  Prefactor  = 0.227838
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.79732
  Prefactor  = 4.4581
  Prefactor  = 3.5316
  Normalizat = 0.915386
  Prefactor  = 0.980444
 **********
 **   18 **HESSE 
 **********

 FCN=   6035.793     FROM HESSE     STATUS=OK           348 CALLS     2733 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .98166        .12023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.8287        11.134        .20637E-03   -1.5317    
   3  norm          2.8768        .95401        .41912E-04   -1.5369    
   4  Prefactor     .10000E-03    8.8719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.631        18.696        .84198E-04   -1.4756    
   6  norm          42.562        35.835        .61443E-04   -1.4402    
   7  Prefactor     6.2821        3.3020        .98963E-04   -1.5207    
   8  Prefactor     .10000E-03    8.6286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22055        15.915        .21101E-02   -1.5614    
  10  norm          1.0942        2.0147        .13890E-03   -1.5499    
  11  Prefactor     13.003        12.815        .11105E-03   -1.4987    
  12  Prefactor     42.226        38.414        .61698E-04   -1.4407    
  13  norm          6.3477        9.2163        .79661E-03   -1.5204    
  14  Prefactor     .10000E-03    2.0265        .10708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22784        15.321        .19110E-02   -1.5613    
  16  Prefactor     .10000E-03    18.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    44.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.7973        6.4714        .31193E-03   -1.5440    
  19  Prefactor     4.4581        6.4712        .19073E-03   -1.5286    
  20  Prefactor     3.5316        2.1972        .87037E-04   -1.5332    
  21  Normalizat    .91539        .20085        .23912E-03   -.95922    
  22  Prefactor     .98044        .18921        .23815E-03   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59893e-10
Minuit parameter uncertainties:
  1  5.78172e-06
  2  11.1401
  3  0.954014
  4  3.98857e-05
  5  18.7005
  6  35.8532
  7  3.30212
  8  4.16175e-05
  9  3.74723
  10  2.0148
  11  12.8172
  12  38.4365
  13  9.21833
  14  1.26388e-05
  15  3.73686
  16  2.52751e-05
  17  0.000132835
  18  6.47396
  19  6.47222
  20  2.19721
  21  0.201015
  22  0.189335
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.094e+00  2.015e+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.804e-01  1.893e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  9.154e-01  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/106782/likelihoodResults_420768001_421027201_4FGL_J0915.9+2933_daily_bin700.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) = 6034.82129485
delta logL = 0.972176140628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6034.75348865
delta logL = 1.03998233327

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54094       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1257       1.0000          .0000       5.0000    
     3 'Normalizat'    .85148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0148       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=   6034.753     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      215 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54141        5.5159        .86743E-02    .11752E-02
   2  alpha         3.1254        3.7262        .23784        .78669E-04
   3  Normalizat    .85153        .41112E-01    .44278E-01    .14899E-04
   4  Prefactor     1.0148        .42223E-01    .42698E-01    .62011E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.541407
  alpha      = 3.12541
  Normalizat = 0.851529
  Prefactor  = 1.01477
 **********
 **   18 **HESSE 
 **********

 FCN=   6034.753     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      250 TOTAL
                     EDM=   .85E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54141        13.029        .39326E-03   -1.5561    
   2  alpha         3.1254        4.0437        .89745E-02    .25285    
   3  Normalizat    .85153        .17582        .24661E-03   -.98185    
   4  Prefactor     1.0148        .18641        .23430E-03   -.92239    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.46315e-08
Minuit parameter uncertainties:
  1  5.31259
  2  4.83717
  3  0.175943
  4  0.186527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106782': 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): 102
logL (Free Index) = 6034.75348846
delta logL = 1.03998253125

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  5.414e-01  5.313e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.125e+00  4.837e+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:  1.015e+00  1.865e-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:  8.515e-01  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.56
Ra Dec: 138.986 29.553
Photon Index (Free Index): 3.13 +/- 4.84
Photon Flux (Free Index): 6.22e-08 +/- 4.64e-08
Energy Flux (Free Index): 1.28e-05 +/- 2.70e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/106782/cmap_HighResolution_420768001_421027201_4FGL_J0915.9+2933_daily_bin700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-05', comment='SUCCESS', energy_flux2='1.28e-05', dlogl='1.04e+00', photon_flux2='6.22e-08', job_status='DONE', time_completed='2021-08-31 05:54:04.464144', photon_index_error2='4.84', photon_index2='3.13', ts='0.42', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='5.94e-08', energy_flux_error2='2.70e-05', EG='0.92', time_epoch_completed='1630414444.46', return_code='0', job_id='106782', GAL2='1.01', EG2='0.85', return_code2='102', photon_flux_error2='4.64e-08', ts2='2.56', photon_index='1.75' WHERE bin_id='700' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 106782: <4FGL_J0915.9+2933_daily_bin700> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin700 138.986 29.553 420768001 421027201 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 :                                   646.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            779 sec.

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

