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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin579
RA = 138.986, Dec = 29.553
tmin = 389404801, tmax = 389664001
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='106601', job_status='RUN', time_executed='2021-08-31 05:44:13.881258', time_epoch_executed='1630413853.88' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106601

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106601/ft1_4FGL_J0915.9+2933_daily_bin579.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106601/ft2_4FGL_J0915.9+2933_daily_bin579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106601/ft1_4FGL_J0915.9+2933_daily_bin579.fits outfile=/scratch/kocevski/106601/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin579.fits ra=138.986 dec=29.553 rad=12.0 tmin=389404801.0 tmax=389664001.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.06
user 3.84
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106601/ft2_4FGL_J0915.9+2933_daily_bin579.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/106601/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin579.fits evtable="EVENTS" outfile="/scratch/kocevski/106601/ft1_filtered_4FGL_J0915.9+2933_daily_bin579.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106601/ft1_filtered_4FGL_J0915.9+2933_daily_bin579.fits" evtable="EVENTS" scfile=/scratch/kocevski/106601/ft2_4FGL_J0915.9+2933_daily_bin579.fits sctable="SC_DATA" outfile=/scratch/kocevski/106601/ltcube_389404801_389664001_4FGL_J0915.9+2933_daily_bin579.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/106601/ft2_4FGL_J0915.9+2933_daily_bin579.fits
.....................!
real 12.13
user 11.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106601/ft1_filtered_4FGL_J0915.9+2933_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/106601/ft2_4FGL_J0915.9+2933_daily_bin579.fits sctable="SC_DATA" expcube=/scratch/kocevski/106601/ltcube_389404801_389664001_4FGL_J0915.9+2933_daily_bin579.fits outfile=/scratch/kocevski/106601/expmap_389404801_389664001_4FGL_J0915.9+2933_daily_bin579.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/106601/ltcube_389404801_389664001_4FGL_J0915.9+2933_daily_bin579.fits
.....................!
real 190.74
user 185.92
sys 4.50

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/106601/ft1_filtered_4FGL_J0915.9+2933_daily_bin579.fits scfile=/scratch/kocevski/106601/ft2_4FGL_J0915.9+2933_daily_bin579.fits outfile=/scratch/kocevski/106601/cmap_389404801_389664001_4FGL_J0915.9+2933_daily_bin579.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106601/ft1_filtered_4FGL_J0915.9+2933_daily_bin579.fits scfile=/scratch/kocevski/106601/ft2_4FGL_J0915.9+2933_daily_bin579.fits outfile=/scratch/kocevski/106601/cmap_HighResolution_389404801_389664001_4FGL_J0915.9+2933_daily_bin579.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.56
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    2.3591       1.0000         .10000E-03   10000.    
     3 'norm      '    2.1674       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.093       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.688       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0058       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0119       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10320E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.4832       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10688E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.925       1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19673E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .89976       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9655       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3302       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79121       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=   6302.091     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2408 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .51029        .58871E-07** at limit **
   2  Prefactor     2.3566        12.534       -.40590E-05   -.12700E-03
   3  norm          2.1667        1.0822       -.33287E-06    .88958E-03
   4  Prefactor     15.140        18.097        .66664E-05    .30649E-03
   5  Prefactor     15.720        19.084        .23850E-05    .10261E-03
   6  norm          .78603        36.045       -.12576E-04    .61755E-04
   7  Prefactor     3.0115        2.7218        .39397E-07   -.12315E-03
   8  Prefactor     .10000E-03    14.331       -.21199E-05** at limit **
   9  Prefactor     .10000E-03    1.2436        .24901E-07** at limit **
  10  norm          2.4829        1.8079       -.20278E-07   -.69357E-04
  11  Prefactor     .10000E-03    13.433        .90341E-06** at limit **
  12  Prefactor     64.953        54.458        .30255E-04   -.10131E-03
  13  norm          .10000E-03    2.6961        .25516E-07** at limit **
  14  Prefactor     .10000E-03    1.6896        .31386E-07** at limit **
  15  Prefactor     .10000E-03    1.7137       -.24315E-06** at limit **
  16  Prefactor     .10000E-03    15.009        .14104E-05** at limit **
  17  Prefactor     .10000E-03    78.665        .40433E-05** at limit **
  18  Prefactor     .89870        5.0380       -.11889E-05   -.32313E-03
  19  Prefactor     .10000E-03    4.9465        .38329E-07** at limit **
  20  Prefactor     3.9648        2.8075        .13168E-06   -.10832E-03
  21  Normalizat    1.3302        .17249       -.57491E-06    .64136E-03
  22  Prefactor     .79129        .16863       -.20689E-05    .62349E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.35663
  norm       = 2.16672
  Prefactor  = 15.1403
  Prefactor  = 15.7204
  norm       = 0.786033
  Prefactor  = 3.01153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.48287
  Prefactor  = 0.0001
  Prefactor  = 64.9532
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.898699
  Prefactor  = 0.0001
  Prefactor  = 3.96479
  Normalizat = 1.33016
  Prefactor  = 0.791294
 **********
 **   18 **HESSE 
 **********

 FCN=   6302.091     FROM HESSE     STATUS=OK           350 CALLS     2758 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .52087        .55282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3566        12.600        .26683E-03   -1.5401    
   3  norm          2.1667        1.0793        .51837E-04   -1.5414    
   4  Prefactor     15.140        18.261        .10310E-03   -1.4930    
   5  Prefactor     15.720        19.116        .10112E-03   -1.4915    
   6  norm          .78603        47.753        .13151       -1.5531    
   7  Prefactor     3.0115        2.7171        .12084E-03   -1.5361    
   8  Prefactor     .10000E-03    14.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.2526        .86445E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4829        1.7987        .87884E-04   -1.5393    
  11  Prefactor     .10000E-03    13.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     64.953        54.757        .49806E-04   -1.4094    
  13  norm          .10000E-03    2.7044        .12728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.7261        .10073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.4268        .20087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    78.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .89870        10.014        .33677E-02   -1.5518    
  19  Prefactor     .10000E-03    5.0206        .17242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.9648        2.8012        .10662E-03   -1.5310    
  21  Normalizat    1.3302        .20314        .22480E-03   -.82671    
  22  Prefactor     .79129        .19903        .27692E-03   -1.0005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76747e-09
Minuit parameter uncertainties:
  1  4.82922e-06
  2  10.9017
  3  1.07928
  4  18.2674
  5  19.1231
  6  12.2627
  7  2.71719
  8  5.56683e-05
  9  2.16809e-06
  10  1.79877
  11  1.30963e-05
  12  54.799
  13  5.06172e-06
  14  4.76103e-06
  15  4.54913e-05
  16  2.83816e-05
  17  0.000162418
  18  6.00086
  19  8.54256e-06
  20  2.80129
  21  0.203266
  22  0.199213
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.913e-01  1.992e-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.330e+00  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.86
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.51e-08 +/- 1.82e-08
Energy Flux (Fixed Index): 2.89e-05 +/- 2.09e-05

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

Saving results to:
/scratch/kocevski/106601/likelihoodResults_389404801_389664001_4FGL_J0915.9+2933_daily_bin579.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) = 6301.84006402
delta logL = 0.250885846345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6301.8327745
delta logL = 0.258175362612

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1387       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1378       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3170       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79731       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=   6301.833     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      271 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1388        1.7629        .75046E-04   -.23011E-03
   2  alpha         2.1378        .57181        .11503E-01   -.23424E-04
   3  Normalizat    1.3170        .19854        .22568E-03    .46204E-04
   4  Prefactor     .79735        .19402        .27563E-03    .57084E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.13876
  alpha      = 2.13776
  Normalizat = 1.317
  Prefactor  = 0.797351
 **********
 **   18 **HESSE 
 **********

 FCN=   6301.833     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1388        1.7099        .30018E-05   -1.5415    
   2  alpha         2.1378        .55471        .46011E-03   -.14541    
   3  Normalizat    1.3170        .19857        .45136E-04   -.83060    
   4  Prefactor     .79735        .19410        .11025E-04   -.99826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83189e-11
Minuit parameter uncertainties:
  1  1.70995
  2  0.559465
  3  0.198686
  4  0.194262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106601': 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) = 6301.83277446
delta logL = 0.258175402437

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.139e+00  1.710e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.138e+00  5.595e-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.974e-01  1.943e-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.317e+00  1.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.14 +/- 0.56
Photon Flux (Free Index): 3.78e-08 +/- 3.07e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.59e-05

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/106601/cmap_HighResolution_389404801_389664001_4FGL_J0915.9+2933_daily_bin579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.85e-05', comment='SUCCESS', photon_flux='2.51e-08', energy_flux2='1.97e-05', photon_flux_error='1.82e-08', dlogl='2.58e-01', energy_flux='2.89e-05', photon_flux2='3.78e-08', job_status='DONE', time_completed='2021-08-31 05:54:46.962465', photon_index_error2='0.56', photon_index2='2.14', ts='3.86', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='6.83e-08', energy_flux_error2='1.59e-05', EG='1.33', time_epoch_completed='1630414486.96', return_code='0', job_id='106601', GAL2='0.80', EG2='1.32', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='3.07e-08', ts2='4.36', photon_index='1.75' WHERE bin_id='579' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 106601: <4FGL_J0915.9+2933_daily_bin579> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin579> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:40:51 2021
Job was executed on host(s) <bullet0133>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:40:52 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:40:52 2021
Terminated at Tue Aug 31 05:54:47 2021
Results reported at Tue Aug 31 05:54:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin579 138.986 29.553 389404801 389664001 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 :                                   629.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            836 sec.

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

