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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin265
RA = 138.986, Dec = 29.553
tmin = 308016001, tmax = 308275201
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='103580', job_status='RUN', time_executed='2021-08-31 05:34:25.338870', time_epoch_executed='1630413265.34' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103580

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103580/ft1_4FGL_J0915.9+2933_daily_bin265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103580/ft2_4FGL_J0915.9+2933_daily_bin265.fits


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

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

Done.
real 4.54
user 3.18
sys 1.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103580/ft2_4FGL_J0915.9+2933_daily_bin265.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/103580/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin265.fits evtable="EVENTS" outfile="/scratch/kocevski/103580/ft1_filtered_4FGL_J0915.9+2933_daily_bin265.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.68
user 0.33
sys 1.30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103580/ft1_filtered_4FGL_J0915.9+2933_daily_bin265.fits" evtable="EVENTS" scfile=/scratch/kocevski/103580/ft2_4FGL_J0915.9+2933_daily_bin265.fits sctable="SC_DATA" outfile=/scratch/kocevski/103580/ltcube_308016001_308275201_4FGL_J0915.9+2933_daily_bin265.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/103580/ft2_4FGL_J0915.9+2933_daily_bin265.fits
.....................!
real 13.38
user 11.67
sys 1.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103580/ft1_filtered_4FGL_J0915.9+2933_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/103580/ft2_4FGL_J0915.9+2933_daily_bin265.fits sctable="SC_DATA" expcube=/scratch/kocevski/103580/ltcube_308016001_308275201_4FGL_J0915.9+2933_daily_bin265.fits outfile=/scratch/kocevski/103580/expmap_308016001_308275201_4FGL_J0915.9+2933_daily_bin265.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/103580/ltcube_308016001_308275201_4FGL_J0915.9+2933_daily_bin265.fits
.....................!
real 194.91
user 188.53
sys 5.95

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

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

This is gtbin version HEAD
real 1.67
user 0.37
sys 1.27

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

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

This is gtbin version HEAD
real 1.70
user 0.37
sys 1.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9746       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.9458       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5138       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .61319E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10555E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .31530       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.9530       1.0000         .10000E-03   10000.    
    10 'norm      '    .10117E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.905       1.0000         .10000E-03   10000.    
    13 'norm      '    7.5697       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10915E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8278       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3912       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .93628       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2101       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.

 FCN=   6116.966     FROM MIGRAD    STATUS=CONVERGED    881 CALLS     2477 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9750        2.1715        .64850E-04   -.59254E-04
   2  Prefactor     5.9400        16.073        .16468E-03   -.12841E-04
   3  norm          1.5139        .85215        .52124E-04    .30099E-04
   4  Prefactor     .10000E-03    9.7788        .18142E-02** at limit **
   5  Prefactor     .10000E-03    138.36        .59033E-02** at limit **
   6  norm          .10000E-03    60.993        .18142E-02** at limit **
   7  Prefactor     .10000E-03    3.6831        .28787E-03** at limit **
   8  Prefactor     .25860        37.672        .13773        .97494E-04
   9  Prefactor     5.9516        5.4250        .16069E-03   -.42753E-03
  10  norm          .10000E-03    3.5441        .16911E-02** at limit **
  11  Prefactor     .10000E-03    14.753        .18142E-02** at limit **
  12  Prefactor     26.879        29.830        .77233E-04    .66240E-05
  13  norm          7.5685        9.3205        .14576E-03   -.24163E-03
  14  Prefactor     .10000E-03    3.0140        .13099E-02** at limit **
  15  Prefactor     .10000E-03    3.7718        .29167E-03** at limit **
  16  Prefactor     .10000E-03    13.952        .18142E-02** at limit **
  17  Prefactor     .10000E-03    191.55        .18142E-02** at limit **
  18  Prefactor     4.8287        8.2124        .18309E-03   -.42969E-04
  19  Prefactor     .10000E-03    5.2619        .17385E-02** at limit **
  20  Prefactor     1.3919        2.0131        .13014E-03    .25971E-03
  21  Normalizat    .93612        .21775        .26792E-03    .29151E-04
  22  Prefactor     1.2100        .21017        .23801E-03    .25372E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.97501
  Prefactor  = 5.94001
  norm       = 1.51388
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.258601
  Prefactor  = 5.95157
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.8793
  norm       = 7.56852
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 4.82875
  Prefactor  = 0.0001
  Prefactor  = 1.39195
  Normalizat = 0.936119
  Prefactor  = 1.21
 **********
 **   18 **HESSE 
 **********

 FCN=   6116.966     FROM HESSE     STATUS=OK           330 CALLS     2807 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9750        2.1713        .25940E-05   -1.5219    
   2  Prefactor     5.9400        16.070        .65872E-05   -1.5220    
   3  norm          1.5139        .85210        .20850E-05   -1.5462    
   4  Prefactor     .10000E-03    9.7819        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    142.30        .23613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    61.003        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.6832        .57574E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .25860        36.958        .13974       -1.5606    
   9  Prefactor     5.9516        5.4240        .64277E-05   -1.5220    
  10  norm          .10000E-03    3.5790        .33821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.755        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     26.879        29.833        .30893E-05   -1.4671    
  13  norm          7.5685        9.3186        .58304E-05   -1.5158    
  14  Prefactor     .10000E-03    3.0149        .26197E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.7720        .58333E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.953        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    191.59        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.8287        8.2109        .73236E-05   -1.5268    
  19  Prefactor     .10000E-03    5.2649        .34769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.3919        2.0129        .52056E-05   -1.5472    
  21  Normalizat    .93612        .21783        .10717E-04   -.95202    
  22  Prefactor     1.2100        .21036        .47601E-04   -.86024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94395e-10
Minuit parameter uncertainties:
  1  2.17131
  2  16.0818
  3  0.852107
  4  6.30389e-06
  5  0.000187031
  6  9.88313e-05
  7  8.47652e-06
  8  6.18574
  9  5.42446
  10  2.61828e-05
  11  1.1339e-05
  12  29.849
  13  9.32035
  14  3.15879e-05
  15  8.68794e-06
  16  2.61967e-05
  17  0.00192151
  18  8.21282
  19  3.63968e-06
  20  2.01297
  21  0.218037
  22  0.210506
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  2.618e-05  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.210e+00  2.105e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  9.361e-01  2.180e-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.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/103580/likelihoodResults_308016001_308275201_4FGL_J0915.9+2933_daily_bin265.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) = 6116.96770914
delta logL = -0.00134829786293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6116.61833744
delta logL = 0.348023406175

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24133       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2132       1.0000          .0000       5.0000    
     3 'Normalizat'    .90042       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2239       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=   6116.618     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      282 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24107        5.5297        .10165E-01    .20949E-02
   2  alpha         3.2143        4.0218        .31785        .63684E-04
   3  Normalizat    .90038        .33337E-01    .44907E-01    .17386E-04
   4  Prefactor     1.2239        .33241E-01    .53555E-01   -.38814E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.241067
  alpha      = 3.21428
  Normalizat = 0.900375
  Prefactor  = 1.2239
 **********
 **   18 **HESSE 
 **********

 FCN=   6116.618     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24107        21.373        .51933E-03   -1.5610    
   2  alpha         3.2143        2.8207        .16437E-01    .28975    
   3  Normalizat    .90038        .21813        .27273E-03   -.96447    
   4  Prefactor     1.2239        .21429        .23678E-03   -.85599    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.2472e-10
Minuit parameter uncertainties:
  1  4.54048
  2  9.59392
  3  0.218345
  4  0.214446
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103580': 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) = 6116.61833699
delta logL = 0.348023855155

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.411e-01  4.540e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.214e+00  9.594e+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.224e+00  2.144e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  9.004e-01  2.183e-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/103580/cmap_HighResolution_308016001_308275201_4FGL_J0915.9+2933_daily_bin265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.09e-05', job_status='DONE', photon_flux_upper_limit='4.43e-08', time_completed='2021-08-31 05:45:05.550276', job_id='103580', GAL2='1.22', fit_tolerance='1e-08', EG2='0.90', EG='0.94', time_epoch_completed='1630413905.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='3.48e-01', ts2='0.72', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='265' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:45:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 103580: <4FGL_J0915.9+2933_daily_bin265> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin265 138.986 29.553 308016001 308275201 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 :                                   652.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            835 sec.

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

