/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 211 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 = 7493
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin193
RA = 138.986, Dec = 29.553
tmin = 289353601, tmax = 289612801
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='103417', job_status='RUN', time_executed='2021-08-31 05:34:46.159322', time_epoch_executed='1630413286.16' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='193'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103417

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103417/ft1_4FGL_J0915.9+2933_daily_bin193.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103417/ft2_4FGL_J0915.9+2933_daily_bin193.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103417/ft1_4FGL_J0915.9+2933_daily_bin193.fits outfile=/scratch/kocevski/103417/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin193.fits ra=138.986 dec=29.553 rad=12.0 tmin=289353601.0 tmax=289612801.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.47
user 3.27
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103417/ft1_filtered_4FGL_J0915.9+2933_daily_bin193.fits evtable="EVENTS" scfile=/scratch/kocevski/103417/ft2_4FGL_J0915.9+2933_daily_bin193.fits sctable="SC_DATA" expcube=/scratch/kocevski/103417/ltcube_289353601_289612801_4FGL_J0915.9+2933_daily_bin193.fits outfile=/scratch/kocevski/103417/expmap_289353601_289612801_4FGL_J0915.9+2933_daily_bin193.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/103417/ltcube_289353601_289612801_4FGL_J0915.9+2933_daily_bin193.fits
.....................!
real 190.35
user 185.38
sys 4.62

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/103417/ft1_filtered_4FGL_J0915.9+2933_daily_bin193.fits scfile=/scratch/kocevski/103417/ft2_4FGL_J0915.9+2933_daily_bin193.fits outfile=/scratch/kocevski/103417/cmap_289353601_289612801_4FGL_J0915.9+2933_daily_bin193.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103417/ft1_filtered_4FGL_J0915.9+2933_daily_bin193.fits scfile=/scratch/kocevski/103417/ft2_4FGL_J0915.9+2933_daily_bin193.fits outfile=/scratch/kocevski/103417/cmap_HighResolution_289353601_289612801_4FGL_J0915.9+2933_daily_bin193.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6518       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.158       1.0000         .10000E-03   10000.    
     3 'norm      '    .82943       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.030       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.049       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2941       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    46.025       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2195       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.104       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.917       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .85938       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3136       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76036       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=   6319.451     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2356 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6517        1.3046        .16672E-06   -.51366E-03
   2  Prefactor     10.158        17.351        .16274E-05   -.12480E-03
   3  norm          .82931        .74576       -.19681E-07   -.13310E-03
   4  Prefactor     12.029        11.118       -.37269E-07   -.10784E-04
   5  Prefactor     12.048        15.740        .95642E-07   -.13802E-05
   6  norm          .10000E-03    33.246       -.30434E-07** at limit **
   7  Prefactor     4.2941        3.2885       -.30131E-06   -.27201E-03
   8  Prefactor     .10000E-03    12.596       -.73040E-08** at limit **
   9  Prefactor     .10000E-03    1.9747       -.77250E-07** at limit **
  10  norm          .10000E-03    .75537        .16832E-07** at limit **
  11  Prefactor     .10000E-03    7.9564       -.33501E-07** at limit **
  12  Prefactor     46.008        54.555       -.27112E-05   -.77369E-04
  13  norm          .10000E-03    3.0018       -.31072E-07** at limit **
  14  Prefactor     2.2177        3.9649        .38714E-06   -.10439E-03
  15  Prefactor     .10000E-03    1.5485       -.21452E-08** at limit **
  16  Prefactor     26.105        25.444        .12637E-06   -.10915E-05
  17  Prefactor     .10000E-03    73.444       -.17611E-08** at limit **
  18  Prefactor     19.917        9.5648       -.12033E-07   -.35964E-04
  19  Prefactor     .10000E-03    4.1378        .11563E-07** at limit **
  20  Prefactor     .85944        1.8138        .49427E-06    .55033E-04
  21  Normalizat    1.3137        .18066       -.27325E-06   -.18963E-04
  22  Prefactor     .76029        .16517        .31315E-07   -.22216E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.65168
  Prefactor  = 10.1584
  norm       = 0.829313
  Prefactor  = 12.0285
  Prefactor  = 12.0479
  norm       = 0.0001
  Prefactor  = 4.29413
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.0081
  norm       = 0.0001
  Prefactor  = 2.2177
  Prefactor  = 0.0001
  Prefactor  = 26.1053
  Prefactor  = 0.0001
  Prefactor  = 19.9173
  Prefactor  = 0.0001
  Prefactor  = 0.85944
  Normalizat = 1.31369
  Prefactor  = 0.760289
 **********
 **   18 **HESSE 
 **********

 FCN=   6319.451     FROM HESSE     STATUS=OK           346 CALLS     2702 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6517        1.2967        .37685E-03   -1.5451    
   2  Prefactor     10.158        17.456        .62861E-03   -1.5070    
   3  norm          .82931        .72774        .60932E-04   -1.5526    
   4  Prefactor     12.029        11.076        .11550E-03   -1.5014    
   5  Prefactor     12.048        15.764        .11541E-03   -1.5014    
   6  norm          .10000E-03    33.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.2941        3.3512        .12432E-03   -1.5293    
   8  Prefactor     .10000E-03    12.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.9856        .10890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .77195        .67447E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.9710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.008        56.900        .59100E-04   -1.4350    
  13  norm          .10000E-03    3.0116        .13445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2177        4.0002        .20270E-03   -1.5410    
  15  Prefactor     .10000E-03    1.5606        .96560E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.105        25.488        .78408E-04   -1.4686    
  17  Prefactor     .10000E-03    73.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.917        9.5600        .89748E-04   -1.4815    
  19  Prefactor     .10000E-03    4.1498        .15792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .85944        1.7175        .15494E-02   -1.5523    
  21  Normalizat    1.3137        .21659        .23004E-03   -.83159    
  22  Prefactor     .76029        .19643        .27711E-03   -1.0121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48467e-10
Minuit parameter uncertainties:
  1  1.2967
  2  17.4647
  3  0.727745
  4  11.0783
  5  15.7691
  6  4.67698e-05
  7  3.35136
  8  1.16187e-06
  9  2.83347e-06
  10  4.14592e-07
  11  2.83434e-06
  12  56.9674
  13  1.67311e-06
  14  4.00063
  15  1.40943e-06
  16  25.4989
  17  2.91114e-06
  18  9.56069
  19  1.4599e-06
  20  1.71756
  21  0.216741
  22  0.196608
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  4.146e-07  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:  7.603e-01  1.966e-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.314e+00  2.167e-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: 3.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.85e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/103417/likelihoodResults_289353601_289612801_4FGL_J0915.9+2933_daily_bin193.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) = 6319.45240388
delta logL = -0.00116406777215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6319.45123294
delta logL = 6.86387738824e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3318       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76030       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6319.451     FROM MIGRAD    STATUS=FAILED        88 CALLS      271 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10014E-03    7.0497        .10857E-02** at limit **
   2  alpha         2.2694        2.9136        .16508        .61034E-05
   3  Normalizat    1.3137        .20445        .23004E-03    .45631E-03
   4  Prefactor     .76029        .19373        .27711E-03    .36538E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6319.451     FROM SIMPLEX   STATUS=UNCHANGED    119 CALLS      390 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10014E-03    7.0497        .14201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2694        2.9136        .24947E-03   -.92364E-01
   3  Normalizat    1.3137        .20445        .26417E-04   -.83159    
   4  Prefactor     .76029        .19373        .41325E-04   -1.0121    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6319.451     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      420 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .86873        .21713E-03** at limit **
   2  alpha         2.2234        3.8231        .66032E-02   -.58882E-07
   3  Normalizat    1.3137        .20461        .46009E-04   -.30670E-03
   4  Prefactor     .76029        .19388        .11084E-04   -.25723E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.22336
  Normalizat = 1.31369
  Prefactor  = 0.760289
 **********
 **   18 **HESSE 
 **********

 FCN=   6319.451     FROM HESSE     STATUS=OK            23 CALLS      443 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .86873        .43426E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2234        3.8331        .13206E-02   -.11088    
   3  Normalizat    1.3137        .20467        .92018E-05   -.83159    
   4  Prefactor     .76029        .19393        .22169E-05   -1.0121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00071e-10
Minuit parameter uncertainties:
  1  1.81575e-06
  2  135.584
  3  0.204796
  4  0.1941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103417': 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) = 6319.4512326
delta logL = 7.20863681636e-06

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.816e-06  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.223e+00  1.356e+02  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:  7.603e-01  1.941e-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.314e+00  2.048e-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/103417/cmap_HighResolution_289353601_289612801_4FGL_J0915.9+2933_daily_bin193.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-05', job_status='DONE', photon_flux_upper_limit='3.35e-08', time_completed='2021-08-31 05:45:09.916013', job_id='103417', GAL2='0.76', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1630413909.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='7.21e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='193' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:45:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 103417: <4FGL_J0915.9+2933_daily_bin193> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin193 138.986 29.553 289353601 289612801 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 :                                   621.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            850 sec.

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

