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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin986
RA = 138.986, Dec = 29.553
tmin = 494899201, tmax = 495158401
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='108495', job_status='RUN', time_executed='2021-08-31 05:47:46.086250', time_epoch_executed='1630414066.09' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='986'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108495

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108495/ft1_4FGL_J0915.9+2933_daily_bin986.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108495/ft2_4FGL_J0915.9+2933_daily_bin986.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108495/ft1_4FGL_J0915.9+2933_daily_bin986.fits outfile=/scratch/kocevski/108495/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin986.fits ra=138.986 dec=29.553 rad=12.0 tmin=494899201.0 tmax=495158401.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 8.79
user 3.35
sys 4.49

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108495/ft1_filtered_4FGL_J0915.9+2933_daily_bin986.fits" evtable="EVENTS" scfile=/scratch/kocevski/108495/ft2_4FGL_J0915.9+2933_daily_bin986.fits sctable="SC_DATA" outfile=/scratch/kocevski/108495/ltcube_494899201_495158401_4FGL_J0915.9+2933_daily_bin986.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/108495/ft2_4FGL_J0915.9+2933_daily_bin986.fits
.....................!
real 18.86
user 11.73
sys 5.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108495/ft1_filtered_4FGL_J0915.9+2933_daily_bin986.fits evtable="EVENTS" scfile=/scratch/kocevski/108495/ft2_4FGL_J0915.9+2933_daily_bin986.fits sctable="SC_DATA" expcube=/scratch/kocevski/108495/ltcube_494899201_495158401_4FGL_J0915.9+2933_daily_bin986.fits outfile=/scratch/kocevski/108495/expmap_494899201_495158401_4FGL_J0915.9+2933_daily_bin986.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/108495/ltcube_494899201_495158401_4FGL_J0915.9+2933_daily_bin986.fits
.....................!
real 204.24
user 185.25
sys 10.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/108495/ft1_filtered_4FGL_J0915.9+2933_daily_bin986.fits scfile=/scratch/kocevski/108495/ft2_4FGL_J0915.9+2933_daily_bin986.fits outfile=/scratch/kocevski/108495/cmap_494899201_495158401_4FGL_J0915.9+2933_daily_bin986.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 5.98
user 0.36
sys 4.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108495/ft1_filtered_4FGL_J0915.9+2933_daily_bin986.fits scfile=/scratch/kocevski/108495/ft2_4FGL_J0915.9+2933_daily_bin986.fits outfile=/scratch/kocevski/108495/cmap_HighResolution_494899201_495158401_4FGL_J0915.9+2933_daily_bin986.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 5.62
user 0.37
sys 4.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.374       1.0000         .10000E-03   10000.    
     3 'norm      '    .99552       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .81373E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.907       1.0000         .10000E-03   10000.    
     6 'norm      '    .20912E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.0672       1.0000         .10000E-03   10000.    
    10 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.048       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.7468       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5000       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.259       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .32169       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18247E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0496       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1346       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=   6217.226     FROM MIGRAD    STATUS=CONVERGED    872 CALLS     2811 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .80280        .10781E-02** at limit **
   2  Prefactor     14.377        12.694        .10564E-03   -.13990E-05
   3  norm          .99540        .69816        .53990E-03   -.95057E-03
   4  Prefactor     .98494E-01    11.353        .72188E-01    .21073E-03
   5  Prefactor     25.910        19.933        .78703E-04    .65291E-04
   6  norm          .10000E-03    95.276        .18142E-02** at limit **
   7  Prefactor     .10000E-03    2.0677        .11011E-02** at limit **
   8  Prefactor     .10000E-03    19.178        .18142E-02** at limit **
   9  Prefactor     9.0690        7.6695        .13310E-03    .32397E-03
  10  norm          .10000E-03    .98623        .15008E-03** at limit **
  11  Prefactor     28.070        28.215        .75647E-04    .15278E-03
  12  Prefactor     .10000E-03    18.722        .18142E-02** at limit **
  13  norm          .10000E-03    6.8766        .18142E-02** at limit **
  14  Prefactor     5.7474        5.1840        .14762E-03    .54547E-03
  15  Prefactor     6.5014        4.4483        .13033E-03    .26692E-03
  16  Prefactor     .10000E-03    18.925        .18142E-02** at limit **
  17  Prefactor     .10000E-03    54.935        .18142E-02** at limit **
  18  Prefactor     17.263        10.641        .96406E-04    .15566E-04
  19  Prefactor     .33040        17.145        .33569E-02    .14056E-03
  20  Prefactor     .10000E-03    5.2315        .17036E-02** at limit **
  21  Normalizat    1.0492        .22678        .26225E-03    .12697E-03
  22  Prefactor     1.1347        .21238        .25029E-03   -.47783E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 14.3766
  norm       = 0.995398
  Prefactor  = 0.0984942
  Prefactor  = 25.9099
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.06896
  norm       = 0.0001
  Prefactor  = 28.0698
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.74743
  Prefactor  = 6.50144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.2629
  Prefactor  = 0.330395
  Prefactor  = 0.0001
  Normalizat = 1.04924
  Prefactor  = 1.13472
 **********
 **   18 **HESSE 
 **********

 FCN=   6217.226     FROM HESSE     STATUS=OK           334 CALLS     3145 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .80375        .21562E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.377        12.693        .42257E-05   -1.4949    
   3  norm          .99540        .69788        .21596E-04   -1.5508    
   4  Prefactor     .98494E-01    10.545        .76312E-01   -1.5645    
   5  Prefactor     25.910        19.931        .31481E-05   -1.4689    
   6  norm          .10000E-03    95.342        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.0680        .22022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.178        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.0690        7.6683        .53241E-05   -1.5106    
  10  norm          .10000E-03    .98624        .30016E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     28.070        28.209        .15129E-04   -1.4648    
  12  Prefactor     .10000E-03    18.723        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.8774        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.7474        5.1832        .59050E-05   -1.5228    
  15  Prefactor     6.5014        4.4480        .52133E-05   -1.5198    
  16  Prefactor     .10000E-03    18.926        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    54.937        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.263        10.640        .38562E-05   -1.4877    
  19  Prefactor     .33040        17.293        .13428E-03   -1.5593    
  20  Prefactor     .10000E-03    5.2706        .34072E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0492        .22689        .10490E-04   -.91399    
  22  Prefactor     1.1347        .21257        .10012E-04   -.88365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73952e-10
Minuit parameter uncertainties:
  1  1.70334e-06
  2  12.6953
  3  0.697888
  4  2.03757
  5  19.9358
  6  0.000446653
  7  4.6865e-06
  8  6.64968e-05
  9  7.66913
  10  3.47037e-07
  11  28.2222
  12  3.02382e-05
  13  7.00704e-05
  14  5.18365
  15  4.44824
  16  8.15483e-05
  17  0.000109493
  18  10.641
  19  4.78136
  20  5.02667e-05
  21  0.227101
  22  0.212729
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  3.470e-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:  1.135e+00  2.127e-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.049e+00  2.271e-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.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.24e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/108495/likelihoodResults_494899201_495158401_4FGL_J0915.9+2933_daily_bin986.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) = 6217.23082561
delta logL = -0.00475359364646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6217.22607251
delta logL = -4.90867023473e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10131E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7622       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0493       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1347       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=   6217.226     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      253 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    58.800        .15081E-02** at limit **
   2  alpha         1.9770        3.0059        .50000        .89472E-07
   3  Normalizat    1.0492        .37220E-01    .26225E-03   -.25722E-03
   4  Prefactor     1.1347        .36955E-01    .25029E-03   -.27725E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.97704
  Normalizat = 1.04924
  Prefactor  = 1.13472
 **********
 **   18 **HESSE 
 **********

 FCN=   6217.226     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    203.13        .30162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9770        4.0015        .50000       -.21074    
   3  Normalizat    1.0492        .10027        .52450E-04   -.91399    
   4  Prefactor     1.1347        .99517E-01    .50059E-04   -.88364    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.07516e-09
Minuit parameter uncertainties:
  1  1.37457e-05
  2  1039.85
  3  0.100286
  4  0.0995338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108495': 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) = 6217.22606919
delta logL = 2.8285303415e-06

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.375e-05  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.977e+00  1.040e+03  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.135e+00  9.953e-02  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.049e+00  1.003e-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/108495/cmap_HighResolution_494899201_495158401_4FGL_J0915.9+2933_daily_bin986.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.24e-05', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2021-08-31 06:00:44.837237', job_id='108495', GAL2='1.13', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630414844.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.83e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='986' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:00:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 108495: <4FGL_J0915.9+2933_daily_bin986> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin986> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:46:13 2021
Job was executed on host(s) <bullet0069>, 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:46 2021
Results reported at Tue Aug 31 06:00:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin986 138.986 29.553 494899201 495158401 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 :                                   775.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            873 sec.

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

