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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin923
RA = 138.986, Dec = 29.553
tmin = 478569601, tmax = 478828801
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='108407', job_status='RUN', time_executed='2021-08-31 05:49:46.475755', time_epoch_executed='1630414186.48' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='923'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108407

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108407/ft1_4FGL_J0915.9+2933_daily_bin923.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108407/ft2_4FGL_J0915.9+2933_daily_bin923.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108407/ft1_4FGL_J0915.9+2933_daily_bin923.fits outfile=/scratch/kocevski/108407/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin923.fits ra=138.986 dec=29.553 rad=12.0 tmin=478569601.0 tmax=478828801.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 6.03
user 3.22
sys 1.49

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108407/ft2_4FGL_J0915.9+2933_daily_bin923.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/108407/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin923.fits evtable="EVENTS" outfile="/scratch/kocevski/108407/ft1_filtered_4FGL_J0915.9+2933_daily_bin923.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 2.25
user 0.34
sys 1.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108407/ft1_filtered_4FGL_J0915.9+2933_daily_bin923.fits" evtable="EVENTS" scfile=/scratch/kocevski/108407/ft2_4FGL_J0915.9+2933_daily_bin923.fits sctable="SC_DATA" outfile=/scratch/kocevski/108407/ltcube_478569601_478828801_4FGL_J0915.9+2933_daily_bin923.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/108407/ft2_4FGL_J0915.9+2933_daily_bin923.fits
.....................!
real 14.63
user 11.90
sys 1.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108407/ft1_filtered_4FGL_J0915.9+2933_daily_bin923.fits evtable="EVENTS" scfile=/scratch/kocevski/108407/ft2_4FGL_J0915.9+2933_daily_bin923.fits sctable="SC_DATA" expcube=/scratch/kocevski/108407/ltcube_478569601_478828801_4FGL_J0915.9+2933_daily_bin923.fits outfile=/scratch/kocevski/108407/expmap_478569601_478828801_4FGL_J0915.9+2933_daily_bin923.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/108407/ltcube_478569601_478828801_4FGL_J0915.9+2933_daily_bin923.fits
.....................!
real 199.96
user 186.01
sys 7.59

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/108407/ft1_filtered_4FGL_J0915.9+2933_daily_bin923.fits scfile=/scratch/kocevski/108407/ft2_4FGL_J0915.9+2933_daily_bin923.fits outfile=/scratch/kocevski/108407/cmap_478569601_478828801_4FGL_J0915.9+2933_daily_bin923.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 2.05
user 0.37
sys 1.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108407/ft1_filtered_4FGL_J0915.9+2933_daily_bin923.fits scfile=/scratch/kocevski/108407/ft2_4FGL_J0915.9+2933_daily_bin923.fits outfile=/scratch/kocevski/108407/cmap_HighResolution_478569601_478828801_4FGL_J0915.9+2933_daily_bin923.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.94
user 0.39
sys 1.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .82761E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.6981       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.880       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0849       1.0000         .10000E-03   10000.    
     6 'norm      '    28.563       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5900       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8222       1.0000         .10000E-03   10000.    
    10 'norm      '    .50769E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0483       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.5966       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6751       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82752       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0693       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5512.164     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2114 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .29098         .0000    ** at limit **
   2  Prefactor     .10000E-03    7.4962         .0000    ** at limit **
   3  norm          3.6985        1.1604         .0000        .11212E-02
   4  Prefactor     16.873        17.828         .0000       -.16569E-03
   5  Prefactor     6.0831        11.521         .0000       -.68813E-03
   6  norm          28.569        31.659         .0000       -.74615E-05
   7  Prefactor     1.5889        3.3831         .0000        .58824E-03
   8  Prefactor     .10010E-03    18.516         .0000    ** at limit **
   9  Prefactor     2.8243        3.4348         .0000        .39489E-03
  10  norm          .63345E-01    .94611         .0000        .53990E-03
  11  Prefactor     .10000E-03    4.4120         .0000    ** at limit **
  12  Prefactor     .10000E-03    18.582         .0000    ** at limit **
  13  norm          .10000E-03    1.5771         .0000    ** at limit **
  14  Prefactor     3.0480        2.9236         .0000        .16240E-03
  15  Prefactor     .10000E-03    1.2198         .0000    ** at limit **
  16  Prefactor     6.5963        22.925         .0000        .66857E-04
  17  Prefactor     .10000E-03    57.278         .0000    ** at limit **
  18  Prefactor     .10000E-03    4.0683         .0000    ** at limit **
  19  Prefactor     1.6859        9.5287         .0000        .11439E-01
  20  Prefactor     .10000E-03    1.0503         .0000    ** at limit **
  21  Normalizat    .82750        .16937         .0000        .70099E-04
  22  Prefactor     1.0693        .16979         .0000        .90976E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100005
  norm       = 3.69853
  Prefactor  = 16.8726
  Prefactor  = 6.08313
  norm       = 28.5691
  Prefactor  = 1.58891
  Prefactor  = 0.0001001
  Prefactor  = 2.82426
  norm       = 0.0633447
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.04801
  Prefactor  = 0.0001
  Prefactor  = 6.59634
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.68587
  Prefactor  = 0.0001
  Normalizat = 0.827503
  Prefactor  = 1.06928
 **********
 **   18 **HESSE 
 **********

 FCN=   5512.164     FROM HESSE     STATUS=OK           356 CALLS     2470 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .29273        .39101E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    49.379        .39401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.6985        1.1612        .41057E-04   -1.5323    
   4  Prefactor     16.873        17.851        .97484E-04   -1.4886    
   5  Prefactor     6.0831        11.524        .16276E-03   -1.5215    
   6  norm          28.569        31.661        .74964E-04   -1.4638    
   7  Prefactor     1.5889        3.3514        .19031E-03   -1.5456    
   8  Prefactor     .10010E-03    20.143        .11309       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8243        3.4152        .14327E-03   -1.5372    
  10  norm          .63345E-01    9.3966        .13899E-02   -1.5658    
  11  Prefactor     .10000E-03    4.4173        .15229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.5785        .91044E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0480        2.9143        .11762E-03   -1.5359    
  15  Prefactor     .10000E-03    1.2288        .80027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.5963        22.939        .15624E-03   -1.5194    
  17  Prefactor     .10000E-03    57.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.1186        .14617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.6859        9.5386        .16280E-02   -1.5448    
  20  Prefactor     .10000E-03    1.0700        .74248E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .82750        .19516        .24441E-03   -.99056    
  22  Prefactor     1.0693        .19635        .22417E-03   -.90454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17134e-09
Minuit parameter uncertainties:
  1  5.33444e-07
  2  0.000985118
  3  1.16116
  4  17.8563
  5  11.5285
  6  31.6794
  7  3.35179
  8  0.00284353
  9  3.41547
  10  1.54204
  11  2.42728e-05
  12  0.000143227
  13  7.05473e-06
  14  2.91441
  15  5.19453e-07
  16  22.9698
  17  4.8672e-05
  18  4.94656e-05
  19  8.02192
  20  2.94948e-06
  21  0.195324
  22  0.196479
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  6.334e-02  1.542e+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:  1.069e+00  1.965e-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.275e-01  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/108407/likelihoodResults_478569601_478828801_4FGL_J0915.9+2933_daily_bin923.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): 102
logL (Free Index) = 5511.80412653
delta logL = 0.35974394123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5511.79943651
delta logL = 0.364433970557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24294       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0204       1.0000          .0000       5.0000    
     3 'Normalizat'    .80528       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0768       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=   5511.799     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24156        6.7949        .10172E-01    .11526E-02
   2  alpha         3.0228        3.9928        .31251        .40307E-04
   3  Normalizat    .80578        .32231E-01    .43679E-01   -.99013E-04
   4  Prefactor     1.0766        .33273E-01    .38542E-01   -.11799E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.241556
  alpha      = 3.02276
  Normalizat = 0.805782
  Prefactor  = 1.07659
 **********
 **   18 **HESSE 
 **********

 FCN=   5511.799     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      262 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24156        23.319        .51680E-03   -1.5610    
   2  alpha         3.0228        3.0537        .15946E-01    .21066    
   3  Normalizat    .80578        .17280        .24730E-03   -.99855    
   4  Prefactor     1.0766        .18057        .22341E-03   -.90218    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.65584e-08
Minuit parameter uncertainties:
  1  4.74763
  2  9.93184
  3  0.172922
  4  0.180669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108407': 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) = 5511.79942873
delta logL = 0.36444174554

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.416e-01  4.748e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.023e+00  9.932e+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.077e+00  1.807e-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.058e-01  1.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/108407/cmap_HighResolution_478569601_478828801_4FGL_J0915.9+2933_daily_bin923.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.24e-05', job_status='DONE', photon_flux_upper_limit='4.56e-08', time_completed='2021-08-31 05:59:47.837913', job_id='108407', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.83', time_epoch_completed='1630414787.84', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.64e-01', ts2='0.74', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='923' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:59:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 108407: <4FGL_J0915.9+2933_daily_bin923> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin923 138.986 29.553 478569601 478828801 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 :                                   605.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             228.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

