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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin802
RA = 138.986, Dec = 29.553
tmin = 447206401, tmax = 447465601
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='108256', job_status='RUN', time_executed='2021-08-31 05:50:34.023081', time_epoch_executed='1630414234.02' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='802'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108256

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108256/ft1_4FGL_J0915.9+2933_daily_bin802.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108256/ft2_4FGL_J0915.9+2933_daily_bin802.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108256/ft1_4FGL_J0915.9+2933_daily_bin802.fits outfile=/scratch/kocevski/108256/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin802.fits ra=138.986 dec=29.553 rad=12.0 tmin=447206401.0 tmax=447465601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.71
user 3.19
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108256/ft2_4FGL_J0915.9+2933_daily_bin802.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/108256/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin802.fits evtable="EVENTS" outfile="/scratch/kocevski/108256/ft1_filtered_4FGL_J0915.9+2933_daily_bin802.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.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108256/ft1_filtered_4FGL_J0915.9+2933_daily_bin802.fits" evtable="EVENTS" scfile=/scratch/kocevski/108256/ft2_4FGL_J0915.9+2933_daily_bin802.fits sctable="SC_DATA" outfile=/scratch/kocevski/108256/ltcube_447206401_447465601_4FGL_J0915.9+2933_daily_bin802.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/108256/ft2_4FGL_J0915.9+2933_daily_bin802.fits
.....................!
real 12.31
user 11.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108256/ft1_filtered_4FGL_J0915.9+2933_daily_bin802.fits evtable="EVENTS" scfile=/scratch/kocevski/108256/ft2_4FGL_J0915.9+2933_daily_bin802.fits sctable="SC_DATA" expcube=/scratch/kocevski/108256/ltcube_447206401_447465601_4FGL_J0915.9+2933_daily_bin802.fits outfile=/scratch/kocevski/108256/expmap_447206401_447465601_4FGL_J0915.9+2933_daily_bin802.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/108256/ltcube_447206401_447465601_4FGL_J0915.9+2933_daily_bin802.fits
.....................!
real 190.90
user 185.37
sys 4.86

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/108256/ft1_filtered_4FGL_J0915.9+2933_daily_bin802.fits scfile=/scratch/kocevski/108256/ft2_4FGL_J0915.9+2933_daily_bin802.fits outfile=/scratch/kocevski/108256/cmap_447206401_447465601_4FGL_J0915.9+2933_daily_bin802.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.66
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108256/ft1_filtered_4FGL_J0915.9+2933_daily_bin802.fits scfile=/scratch/kocevski/108256/ft2_4FGL_J0915.9+2933_daily_bin802.fits outfile=/scratch/kocevski/108256/cmap_HighResolution_447206401_447465601_4FGL_J0915.9+2933_daily_bin802.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.64
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41377       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.582       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3210       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.370       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8996       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6773       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.4897       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    55.319       1.0000         .10000E-03   10000.    
    13 'norm      '    29.826       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .15583E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.637       1.0000         .10000E-03   10000.    
    17 'Prefactor '    48.427       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8237       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6961       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86053       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97362       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=   6116.492     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2372 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41291        .98207        .33790E-07   -.23580E-03
   2  Prefactor     13.585        12.354       -.16161E-06   -.21147E-04
   3  norm          2.3210        .84136        .10240E-07   -.52514E-04
   4  Prefactor     29.370        14.826       -.19348E-06   -.36708E-04
   5  Prefactor     5.8994        12.209       -.28864E-06   -.93593E-04
   6  norm          .10000E-03    10.272        .21303E-05** at limit **
   7  Prefactor     3.6772        2.5427       -.23512E-08   -.32319E-04
   8  Prefactor     .10000E-03    30.273       -.94862E-06** at limit **
   9  Prefactor     .10000E-03    2.0220        .79207E-07** at limit **
  10  norm          4.4898        2.1333       -.64460E-07   -.72165E-03
  11  Prefactor     .10000E-03    11.588       -.76035E-05** at limit **
  12  Prefactor     55.320        39.722        .54675E-06   -.26174E-04
  13  norm          29.825        9.8997       -.30465E-07    .21861E-03
  14  Prefactor     .10000E-03    .92609        .37436E-07** at limit **
  15  Prefactor     .10009E-03    1.9274        .98086E-06** at limit **
  16  Prefactor     17.636        21.709       -.42136E-06   -.84641E-04
  17  Prefactor     48.417        69.218       -.10238E-04   -.44439E-04
  18  Prefactor     4.8233        5.2000        .10322E-05   -.26576E-05
  19  Prefactor     2.6952        3.6697        .68357E-06   -.12799E-02
  20  Prefactor     .10000E-03    .65607       -.18014E-07** at limit **
  21  Normalizat    .86060        .16584        .43659E-07   -.24834E-03
  22  Prefactor     .97356        .16098        .91905E-07   -.20167E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.412911
  Prefactor  = 13.5851
  norm       = 2.32098
  Prefactor  = 29.3701
  Prefactor  = 5.89942
  norm       = 0.0001
  Prefactor  = 3.67719
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.48982
  Prefactor  = 0.0001
  Prefactor  = 55.32
  norm       = 29.8247
  Prefactor  = 0.0001
  Prefactor  = 0.000100092
  Prefactor  = 17.6361
  Prefactor  = 48.4173
  Prefactor  = 4.82326
  Prefactor  = 2.6952
  Prefactor  = 0.0001
  Normalizat = 0.860601
  Prefactor  = 0.973565
 **********
 **   18 **HESSE 
 **********

 FCN=   6116.492     FROM HESSE     STATUS=OK           350 CALLS     2722 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41291        .85817        .11194E-02   -1.5579    
   2  Prefactor     13.585        12.124        .10868E-03   -1.4971    
   3  norm          2.3210        .84296        .41243E-04   -1.5403    
   4  Prefactor     29.370        14.830        .73928E-04   -1.4624    
   5  Prefactor     5.8994        12.230        .16533E-03   -1.5222    
   6  norm          .10000E-03    10.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6772        2.5448        .10074E-03   -1.5324    
   8  Prefactor     .10000E-03    30.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.0160        .21520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.4898        2.1073        .75199E-04   -1.5284    
  11  Prefactor     .10000E-03    11.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     55.320        39.719        .53932E-04   -1.4219    
  13  norm          29.825        9.8926        .73362E-04   -1.4615    
  14  Prefactor     .10000E-03    .93145        .73458E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10009E-03    12.749        .19801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.636        21.715        .95369E-04   -1.4868    
  17  Prefactor     48.417        69.535        .57623E-04   -1.4315    
  18  Prefactor     4.8233        5.2044        .17689E-03   -1.5269    
  19  Prefactor     2.6952        8.9167        .12405E-02   -1.5380    
  20  Prefactor     .10000E-03    .66150        .61842E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .86060        .19273        .24484E-03   -.97859    
  22  Prefactor     .97356        .18650        .23681E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7178e-08
Minuit parameter uncertainties:
  1  0.858198
  2  12.1261
  3  0.842959
  4  14.832
  5  12.2355
  6  2.36064e-05
  7  2.54487
  8  5.31247e-06
  9  2.94839e-06
  10  2.10738
  11  8.34417e-05
  12  39.7381
  13  9.89317
  14  2.78554e-07
  15  0.00216876
  16  21.7252
  17  69.6515
  18  5.20486
  19  8.92106
  20  6.14004e-07
  21  0.192884
  22  0.186626
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.490e+00  2.107e+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.736e-01  1.866e-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.606e-01  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.94
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 4.54e-08 +/- 2.13e-08
Energy Flux (Fixed Index): 5.22e-05 +/- 2.45e-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) = 6115.75126801
delta logL = 0.740710949459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6115.73965902
delta logL = 0.75231994157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3482       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2287       1.0000          .0000       5.0000    
     3 'Normalizat'    .83222       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98906       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=   6115.740     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      234 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3478        24.980        .55295E-02    .50478E-04
   2  alpha         2.2291        3.6050        .19306        .59551E-04
   3  Normalizat    .83226        .91729E-01    .44029E-01    .54012E-05
   4  Prefactor     .98895        .76130E-01    .46130E-01    .92434E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.34778
  alpha      = 2.22905
  Normalizat = 0.832264
  Prefactor  = 0.988952
 **********
 **   18 **HESSE 
 **********

 FCN=   6115.740     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3478        2.1401        .58774E-04   -1.5342    
   2  alpha         2.2291        .42581        .78277E-02   -.10859    
   3  Normalizat    .83226        .18145        .24837E-03   -.98883    
   4  Prefactor     .98895        .18513        .23506E-03   -.93099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04063e-09
Minuit parameter uncertainties:
  1  2.14018
  2  0.427917
  3  0.181585
  4  0.185253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108256': 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) = 6115.7396582
delta logL = 0.75232076189

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.348e+00  2.140e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.229e+00  4.279e-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.890e-01  1.853e-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.323e-01  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.38
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.23 +/- 0.43
Photon Flux (Free Index): 6.89e-08 +/- 3.39e-08
Energy Flux (Free Index): 3.10e-05 +/- 1.79e-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/108256/cmap_HighResolution_447206401_447465601_4FGL_J0915.9+2933_daily_bin802.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.54e-08', energy_flux2='3.10e-05', photon_flux_error='2.13e-08', dlogl='7.52e-01', energy_flux='5.22e-05', photon_flux2='6.89e-08', job_status='DONE', time_completed='2021-08-31 05:59:57.676724', photon_index_error2='0.43', photon_index2='2.23', ts='10.94', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.79e-05', EG='0.86', time_epoch_completed='1630414797.68', return_code='0', job_id='108256', GAL2='0.99', EG2='0.83', return_code2='0', energy_flux_error='2.45e-05', photon_flux_error2='3.39e-08', ts2='12.38', photon_index='1.75' WHERE bin_id='802' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:59:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 108256: <4FGL_J0915.9+2933_daily_bin802> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin802> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:45:56 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:45:58 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:45:58 2021
Terminated at Tue Aug 31 05:59:58 2021
Results reported at Tue Aug 31 05:59:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin802 138.986 29.553 447206401 447465601 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 :                                   556.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             213.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            842 sec.

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

