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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin810
RA = 138.986, Dec = 29.553
tmin = 449280001, tmax = 449539201
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='108264', job_status='RUN', time_executed='2021-08-31 05:48:40.612409', time_epoch_executed='1630414120.61' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='810'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108264

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108264/ft1_4FGL_J0915.9+2933_daily_bin810.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108264/ft2_4FGL_J0915.9+2933_daily_bin810.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108264/ft1_4FGL_J0915.9+2933_daily_bin810.fits outfile=/scratch/kocevski/108264/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin810.fits ra=138.986 dec=29.553 rad=12.0 tmin=449280001.0 tmax=449539201.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 5.90
user 5.56
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108264/ft1_filtered_4FGL_J0915.9+2933_daily_bin810.fits" evtable="EVENTS" scfile=/scratch/kocevski/108264/ft2_4FGL_J0915.9+2933_daily_bin810.fits sctable="SC_DATA" outfile=/scratch/kocevski/108264/ltcube_449280001_449539201_4FGL_J0915.9+2933_daily_bin810.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/108264/ft2_4FGL_J0915.9+2933_daily_bin810.fits
.....................!
real 13.13
user 12.39
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108264/ft1_filtered_4FGL_J0915.9+2933_daily_bin810.fits evtable="EVENTS" scfile=/scratch/kocevski/108264/ft2_4FGL_J0915.9+2933_daily_bin810.fits sctable="SC_DATA" expcube=/scratch/kocevski/108264/ltcube_449280001_449539201_4FGL_J0915.9+2933_daily_bin810.fits outfile=/scratch/kocevski/108264/expmap_449280001_449539201_4FGL_J0915.9+2933_daily_bin810.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/108264/ltcube_449280001_449539201_4FGL_J0915.9+2933_daily_bin810.fits
.....................!
real 193.45
user 185.20
sys 4.11

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/108264/ft1_filtered_4FGL_J0915.9+2933_daily_bin810.fits scfile=/scratch/kocevski/108264/ft2_4FGL_J0915.9+2933_daily_bin810.fits outfile=/scratch/kocevski/108264/cmap_449280001_449539201_4FGL_J0915.9+2933_daily_bin810.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.83
user 0.37
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10596E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.7614       1.0000         .10000E-03   10000.    
     3 'norm      '    3.7677       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3924       1.0000         .10000E-03   10000.    
     6 'norm      '    32.313       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.4811       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.935       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10356E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .59560       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.3762       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .46765       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8813       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.5875       1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.881       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.4119       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0137       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1319       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94098       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=   5538.717     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2399 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .69490        .47283E-07** at limit **
   2  Prefactor     6.7527        14.390        .86967E-06   -.10439E-05
   3  norm          3.7680        1.1007        .28477E-07   -.27306E-03
   4  Prefactor     .10000E-03    6.2469        .37746E-06** at limit **
   5  Prefactor     2.3946        32.561        .12809E-05   -.18729E-04
   6  norm          32.294        37.537        .10172E-05    .31099E-04
   7  Prefactor     4.4814        3.1357        .16289E-07   -.13202E-04
   8  Prefactor     26.939        38.102        .52634E-06   -.42079E-04
   9  Prefactor     .10000E-03    3.2174        .16112E-06** at limit **
  10  norm          .59500        1.2786        .90234E-06    .20565E-02
  11  Prefactor     9.2780        23.502       -.74221E-05    .29665E-03
  12  Prefactor     .10000E-03    16.155        .18992E-06** at limit **
  13  norm          .55277        10.028        .66317E-05    .74434E-03
  14  Prefactor     .10000E-03    1.1232        .20378E-06** at limit **
  15  Prefactor     2.8818        4.2412       -.37435E-07   -.24634E-03
  16  Prefactor     6.6011        34.445       -.17655E-06    .15469E-04
  17  Prefactor     24.882        54.703        .22945E-06    .11665E-04
  18  Prefactor     1.4096        7.2423        .12049E-06    .53870E-04
  19  Prefactor     1.0130        15.301        .10247E-04   -.44470E-03
  20  Prefactor     .10000E-03    1.0245       -.76546E-07** at limit **
  21  Normalizat    1.1317        .19002       -.15611E-05    .61876E-04
  22  Prefactor     .94105        .17752       -.25052E-07    .87701E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 6.75266
  norm       = 3.76804
  Prefactor  = 0.0001
  Prefactor  = 2.39457
  norm       = 32.294
  Prefactor  = 4.48138
  Prefactor  = 26.9395
  Prefactor  = 0.000100001
  norm       = 0.594996
  Prefactor  = 9.278
  Prefactor  = 0.0001
  norm       = 0.55277
  Prefactor  = 0.0001
  Prefactor  = 2.88178
  Prefactor  = 6.60113
  Prefactor  = 24.8819
  Prefactor  = 1.40957
  Prefactor  = 1.01303
  Prefactor  = 0.0001
  Normalizat = 1.13174
  Prefactor  = 0.941051
 **********
 **   18 **HESSE 
 **********

 FCN=   5538.717     FROM HESSE     STATUS=OK           354 CALLS     2753 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0859        .11852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.7527        14.180        .15431E-03   -1.5188    
   3  norm          3.7680        1.1006        .40538E-04   -1.5320    
   4  Prefactor     .10000E-03    6.2496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3946        32.437        .26478E-03   -1.5398    
   6  norm          32.294        37.514        .70490E-04   -1.4571    
   7  Prefactor     4.4814        3.1358        .10704E-03   -1.5285    
   8  Prefactor     26.939        38.127        .77190E-04   -1.4669    
   9  Prefactor     .10000E-03    3.2875        .26012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .59500        1.0715        .12556E-02   -1.5554    
  11  Prefactor     9.2780        24.263        .13088E-03   -1.5099    
  12  Prefactor     .10000E-03    16.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55277        22.401        .34827E-02   -1.5559    
  14  Prefactor     .10000E-03    1.1285        .77057E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.8818        4.2055        .17327E-03   -1.5368    
  16  Prefactor     6.6011        34.353        .15635E-03   -1.5194    
  17  Prefactor     24.882        54.699        .80308E-04   -1.4710    
  18  Prefactor     1.4096        7.2026        .36454E-03   -1.5471    
  19  Prefactor     1.0130        17.268        .26049E-02   -1.5507    
  20  Prefactor     .10000E-03    1.0312        .73484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1317        .22478        .23694E-03   -.88739    
  22  Prefactor     .94105        .20923        .25268E-03   -.94721    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.57131e-09
Minuit parameter uncertainties:
  1  3.11176e-05
  2  14.1875
  3  1.10056
  4  5.47524e-05
  5  17.6377
  6  37.541
  7  3.13592
  8  38.1611
  9  0.000112422
  10  1.07152
  11  24.2888
  12  3.9333e-05
  13  7.03993
  14  7.8114e-06
  15  4.2059
  16  30.1448
  17  54.8096
  18  6.37361
  19  8.36737
  20  1.02962e-05
  21  0.224966
  22  0.209407
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  5.950e-01  1.072e+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.411e-01  2.094e-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.132e+00  2.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/108264/likelihoodResults_449280001_449539201_4FGL_J0915.9+2933_daily_bin810.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) = 5538.6263865
delta logL = 0.0908824847666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5538.62167376
delta logL = 0.0955952227714

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49797       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2295       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1280       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94247       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=   5538.622     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      214 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49805        39.713        .11262E-02    .14334E-03
   2  alpha         2.2305        3.1238        .41460        .27339E-04
   3  Normalizat    1.1282        .76289E-01    .53657E-01   -.33327E-04
   4  Prefactor     .94219        .62620E-01    .45544E-01   -.28509E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.49805
  alpha      = 2.23055
  Normalizat = 1.12821
  Prefactor  = 0.942195
 **********
 **   18 **HESSE 
 **********

 FCN=   5538.622     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49805        1.0238        .45050E-04   -1.5567    
   2  alpha         2.2305        1.1796        .22055E-01   -.10799    
   3  Normalizat    1.1282        .20962        .23725E-03   -.88851    
   4  Prefactor     .94219        .20677        .25250E-03   -.94682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16128e-09
Minuit parameter uncertainties:
  1  1.02381
  2  1.22911
  3  0.209775
  4  0.20694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108264': 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) = 5538.62167208
delta logL = 0.0955969041652

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.980e-01  1.024e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.231e+00  1.229e+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:  9.422e-01  2.069e-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.128e+00  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.50
Ra Dec: 138.986 29.553

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/108264/cmap_HighResolution_449280001_449539201_4FGL_J0915.9+2933_daily_bin810.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-05', job_status='DONE', photon_flux_upper_limit='4.34e-08', time_completed='2021-08-31 05:59:00.744027', job_id='108264', GAL2='0.94', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1630414740.74', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.56e-02', ts2='0.69', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='810' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:59:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 108264: <4FGL_J0915.9+2933_daily_bin810> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin810> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:45:57 2021
Job was executed on host(s) <bullet0231>, 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:01 2021
Results reported at Tue Aug 31 05:59:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin810 138.986 29.553 449280001 449539201 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 :                                   592.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            784 sec.

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

