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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin999
RA = 138.986, Dec = 29.553
tmin = 498268801, tmax = 498528001
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='108513', job_status='RUN', time_executed='2021-08-31 05:49:22.101262', time_epoch_executed='1630414162.1' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='999'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108513

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108513/ft1_4FGL_J0915.9+2933_daily_bin999.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108513/ft2_4FGL_J0915.9+2933_daily_bin999.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108513/ft1_4FGL_J0915.9+2933_daily_bin999.fits outfile=/scratch/kocevski/108513/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin999.fits ra=138.986 dec=29.553 rad=12.0 tmin=498268801.0 tmax=498528001.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 11.18
user 4.53
sys 3.91

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108513/ft1_filtered_4FGL_J0915.9+2933_daily_bin999.fits" evtable="EVENTS" scfile=/scratch/kocevski/108513/ft2_4FGL_J0915.9+2933_daily_bin999.fits sctable="SC_DATA" outfile=/scratch/kocevski/108513/ltcube_498268801_498528001_4FGL_J0915.9+2933_daily_bin999.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/108513/ft2_4FGL_J0915.9+2933_daily_bin999.fits
.....................!
real 17.34
user 11.57
sys 4.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108513/ft1_filtered_4FGL_J0915.9+2933_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/108513/ft2_4FGL_J0915.9+2933_daily_bin999.fits sctable="SC_DATA" expcube=/scratch/kocevski/108513/ltcube_498268801_498528001_4FGL_J0915.9+2933_daily_bin999.fits outfile=/scratch/kocevski/108513/expmap_498268801_498528001_4FGL_J0915.9+2933_daily_bin999.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/108513/ltcube_498268801_498528001_4FGL_J0915.9+2933_daily_bin999.fits
.....................!
real 197.31
user 186.68
sys 9.00

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/108513/ft1_filtered_4FGL_J0915.9+2933_daily_bin999.fits scfile=/scratch/kocevski/108513/ft2_4FGL_J0915.9+2933_daily_bin999.fits outfile=/scratch/kocevski/108513/cmap_498268801_498528001_4FGL_J0915.9+2933_daily_bin999.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 4.26
user 0.38
sys 3.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108513/ft1_filtered_4FGL_J0915.9+2933_daily_bin999.fits scfile=/scratch/kocevski/108513/ft2_4FGL_J0915.9+2933_daily_bin999.fits outfile=/scratch/kocevski/108513/cmap_HighResolution_498268801_498528001_4FGL_J0915.9+2933_daily_bin999.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 4.40
user 0.39
sys 3.80

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    1.5738       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3093       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.909       1.0000         .10000E-03   10000.    
     6 'norm      '    83.265       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7514       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9457       1.0000         .10000E-03   10000.    
    13 'norm      '    4.4756       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2827       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .90710       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.764       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.420       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0575       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76359       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=   5256.376     FROM MIGRAD    STATUS=CONVERGED    808 CALLS     2699 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .31909        .39715E-03** at limit **
   2  Prefactor     1.5720        15.319        .16938E-02    .64207E-03
   3  norm          1.3093        .63916        .39066E-04   -.58877E-03
   4  Prefactor     .10000E-03    5.9685        .17262E-02** at limit **
   5  Prefactor     14.906        17.164        .10373E-03   -.13590E-03
   6  norm          83.267        46.482        .44020E-04   -.49571E-03
   7  Prefactor     1.7512        1.7498        .92471E-04    .60119E-04
   8  Prefactor     .10000E-03    13.183        .18142E-02** at limit **
   9  Prefactor     .10000E-03    3.1600        .12482E-02** at limit **
  10  norm          .10000E-03    .73649        .60195E-03** at limit **
  11  Prefactor     .10000E-03    6.9902        .18142E-02** at limit **
  12  Prefactor     2.9678        135.29        .23664E-03    .82633E-05
  13  norm          4.4808        8.5012        .19033E-03   -.90316E-04
  14  Prefactor     .10000E-03    2.5299        .11183E-02** at limit **
  15  Prefactor     4.2838        3.7289        .12410E-03   -.56405E-03
  16  Prefactor     .85784        147.94        .59516E-02    .14988E-03
  17  Prefactor     .10000E-03    44.161        .18142E-02** at limit **
  18  Prefactor     13.762        7.7607        .10796E-03   -.14248E-03
  19  Prefactor     11.419        11.512        .11855E-03   -.22057E-05
  20  Prefactor     .10000E-03    .65818        .57268E-03** at limit **
  21  Normalizat    1.0576        .20404        .22051E-03   -.81900E-03
  22  Prefactor     .76357        .18521        .24557E-03   -.48604E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.57202
  norm       = 1.30926
  Prefactor  = 0.0001
  Prefactor  = 14.9057
  norm       = 83.267
  Prefactor  = 1.75122
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.96785
  norm       = 4.48085
  Prefactor  = 0.0001
  Prefactor  = 4.28381
  Prefactor  = 0.857841
  Prefactor  = 0.0001
  Prefactor  = 13.7619
  Prefactor  = 11.4187
  Prefactor  = 0.0001
  Normalizat = 1.05757
  Prefactor  = 0.763569
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.376     FROM HESSE     STATUS=OK           322 CALLS     3021 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .31910        .79431E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5720        15.282        .67752E-04   -1.5457    
   3  norm          1.3093        .63909        .78133E-05   -1.5479    
   4  Prefactor     .10000E-03    5.9693        .34523E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.906        17.159        .41492E-05   -1.4936    
   6  norm          83.267        46.476        .88040E-05   -1.3880    
   7  Prefactor     1.7512        1.7498        .36988E-05   -1.5443    
   8  Prefactor     .10000E-03    13.183        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.1609        .24963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .73654        .12039E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.9904        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.9678        135.26        .94655E-05   -1.5363    
  13  norm          4.4808        8.4976        .76130E-05   -1.5285    
  14  Prefactor     .10000E-03    2.5303        .22366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2838        3.7254        .49638E-05   -1.5294    
  16  Prefactor     .85784        148.47        .23806E-03   -1.5523    
  17  Prefactor     .10000E-03    44.163        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.762        7.7567        .43184E-05   -1.4966    
  19  Prefactor     11.419        11.510        .47419E-05   -1.5032    
  20  Prefactor     .10000E-03    .65819        .11454E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0576        .20338        .44103E-04   -.91126    
  22  Prefactor     .76357        .18523        .49115E-04   -1.0109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.12957e-09
Minuit parameter uncertainties:
  1  5.11563e-06
  2  9.8057
  3  0.639091
  4  3.66497e-05
  5  17.165
  6  46.4966
  7  1.7498
  8  3.66503e-05
  9  5.1116e-05
  10  1.89892e-05
  11  5.85769e-05
  12  40.1678
  13  8.49993
  14  5.68999e-05
  15  3.72557
  16  22.6269
  17  0.000135756
  18  7.75731
  19  11.5119
  20  2.04524e-06
  21  0.203532
  22  0.18538
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.899e-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:  7.636e-01  1.854e-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.058e+00  2.035e-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.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/108513/likelihoodResults_498268801_498528001_4FGL_J0915.9+2933_daily_bin999.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) = 5256.38260311
delta logL = -0.00627237850949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5256.37633073
delta logL = 8.37007974042e-09

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 'alpha     '    1.7518       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0576       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76357       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=   5256.376     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      236 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    102.06        .60199E-03** at limit **
   2  alpha         1.7857        4.1022        .50000        .69463E-07
   3  Normalizat    1.0576        .62542E-01    .22051E-03   -.14136E-03
   4  Prefactor     .76357        .60416E-01    .24558E-03   -.13272E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.78575
  Normalizat = 1.05758
  Prefactor  = 0.763567
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.376     FROM HESSE     STATUS=OK            29 CALLS      265 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0108        .12040E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7857        3.3696        .50000       -.28974    
   3  Normalizat    1.0576        .18913        .44102E-04   -.91126    
   4  Prefactor     .76357        .18268        .98230E-05   -1.0109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42234e-11
Minuit parameter uncertainties:
  1  2.52969e-06
  2  78.7983
  3  0.189252
  4  0.182825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108513': 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) = 5256.37633065
delta logL = 8.57589839143e-08

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  2.530e-06  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.786e+00  7.880e+01  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.636e-01  1.828e-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.058e+00  1.893e-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/108513/cmap_HighResolution_498268801_498528001_4FGL_J0915.9+2933_daily_bin999.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-05', job_status='DONE', photon_flux_upper_limit='3.36e-08', time_completed='2021-08-31 06:00:24.157172', job_id='108513', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630414824.16', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='8.58e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='999' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:00:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 108513: <4FGL_J0915.9+2933_daily_bin999> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin999> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:46:14 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:46:15 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:15 2021
Terminated at Tue Aug 31 06:00:25 2021
Results reported at Tue Aug 31 06:00:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin999 138.986 29.553 498268801 498528001 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 :                                   703.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             227.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

