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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin575
RA = 138.986, Dec = 29.553
tmin = 388368001, tmax = 388627201
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='106595', job_status='RUN', time_executed='2021-08-31 05:41:19.521321', time_epoch_executed='1630413679.52' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='575'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106595

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106595/ft1_4FGL_J0915.9+2933_daily_bin575.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106595/ft2_4FGL_J0915.9+2933_daily_bin575.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106595/ft1_4FGL_J0915.9+2933_daily_bin575.fits outfile=/scratch/kocevski/106595/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin575.fits ra=138.986 dec=29.553 rad=12.0 tmin=388368001.0 tmax=388627201.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.57
user 4.22
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106595/ft1_filtered_4FGL_J0915.9+2933_daily_bin575.fits" evtable="EVENTS" scfile=/scratch/kocevski/106595/ft2_4FGL_J0915.9+2933_daily_bin575.fits sctable="SC_DATA" outfile=/scratch/kocevski/106595/ltcube_388368001_388627201_4FGL_J0915.9+2933_daily_bin575.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/106595/ft2_4FGL_J0915.9+2933_daily_bin575.fits
.....................!
real 12.16
user 11.62
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106595/ft1_filtered_4FGL_J0915.9+2933_daily_bin575.fits evtable="EVENTS" scfile=/scratch/kocevski/106595/ft2_4FGL_J0915.9+2933_daily_bin575.fits sctable="SC_DATA" expcube=/scratch/kocevski/106595/ltcube_388368001_388627201_4FGL_J0915.9+2933_daily_bin575.fits outfile=/scratch/kocevski/106595/expmap_388368001_388627201_4FGL_J0915.9+2933_daily_bin575.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/106595/ltcube_388368001_388627201_4FGL_J0915.9+2933_daily_bin575.fits
.....................!
real 191.85
user 185.25
sys 4.98

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/106595/ft1_filtered_4FGL_J0915.9+2933_daily_bin575.fits scfile=/scratch/kocevski/106595/ft2_4FGL_J0915.9+2933_daily_bin575.fits outfile=/scratch/kocevski/106595/cmap_388368001_388627201_4FGL_J0915.9+2933_daily_bin575.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.60
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106595/ft1_filtered_4FGL_J0915.9+2933_daily_bin575.fits scfile=/scratch/kocevski/106595/ft2_4FGL_J0915.9+2933_daily_bin575.fits outfile=/scratch/kocevski/106595/cmap_HighResolution_388368001_388627201_4FGL_J0915.9+2933_daily_bin575.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.59
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66683       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.7671       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1338       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14285E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3866       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8369       1.0000         .10000E-03   10000.    
    10 'norm      '    3.4801       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.493       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.4414       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .95616       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6343       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0650       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81498       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=   5830.666     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2408 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66553        1.1820        .73065E-07   -.74803E-05
   2  Prefactor     9.7723        13.090        .37766E-07    .41993E-05
   3  norm          1.1336        .74384        .21220E-07    .47465E-04
   4  Prefactor     .10000E-03    5.4320        .10636E-07** at limit **
   5  Prefactor     .10000E-03    34.592       -.21847E-06** at limit **
   6  norm          .10000E-03    27.711       -.14007E-05** at limit **
   7  Prefactor     3.3865        3.1605        .15050E-06    .21535E-04
   8  Prefactor     .10000E-03    17.058        .19267E-05** at limit **
   9  Prefactor     2.8368        3.1275       -.50045E-07   -.37217E-04
  10  norm          3.4796        1.7921        .21185E-07    .71506E-04
  11  Prefactor     24.487        22.527       -.73579E-06   -.10982E-04
  12  Prefactor     .10000E-03    23.399       -.34315E-05** at limit **
  13  norm          5.4429        9.8130        .25747E-05   -.38890E-04
  14  Prefactor     .10000E-03    1.5012       -.19739E-07** at limit **
  15  Prefactor     .95599        2.1535       -.12257E-06   -.36974E-03
  16  Prefactor     .10000E-03    11.664       -.35673E-06** at limit **
  17  Prefactor     .10000E-03    31.751        .37375E-05** at limit **
  18  Prefactor     .10000E-03    3.7123       -.42234E-08** at limit **
  19  Prefactor     2.6347        7.2794        .32318E-06    .53999E-06
  20  Prefactor     .10000E-03    1.0019        .33460E-07** at limit **
  21  Normalizat    1.0650        .15746       -.34374E-06    .64352E-04
  22  Prefactor     .81492        .15389        .58679E-07    .25071E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.665532
  Prefactor  = 9.77232
  norm       = 1.13364
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.38651
  Prefactor  = 0.0001
  Prefactor  = 2.83678
  norm       = 3.47961
  Prefactor  = 24.4874
  Prefactor  = 0.0001
  norm       = 5.44286
  Prefactor  = 0.0001
  Prefactor  = 0.955993
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.63474
  Prefactor  = 0.0001
  Normalizat = 1.06499
  Prefactor  = 0.814919
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66553        1.0808        .10208E-02   -1.5545    
   2  Prefactor     9.7723        12.815        .12822E-03   -1.5083    
   3  norm          1.1336        .72618        .51193E-04   -1.5495    
   4  Prefactor     .10000E-03    5.4484        .17375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    36.154        .41018E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    27.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3865        3.1541        .12647E-03   -1.5340    
   8  Prefactor     .10000E-03    16.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8368        3.1153        .13573E-03   -1.5371    
  10  norm          3.4796        1.7876        .70915E-04   -1.5335    
  11  Prefactor     24.487        22.470        .80940E-04   -1.4718    
  12  Prefactor     .10000E-03    23.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.4429        9.8341        .86130E-03   -1.5241    
  14  Prefactor     .10000E-03    1.5259        .91296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .95599        1.7457        .16246E-02   -1.5512    
  16  Prefactor     .10000E-03    11.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    31.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.7657        .14362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6347        7.2690        .25123E-03   -1.5383    
  20  Prefactor     .10000E-03    1.6392        .14810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0650        .17775        .21400E-03   -.90884    
  22  Prefactor     .81492        .17556        .24436E-03   -.99181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96464e-09
Minuit parameter uncertainties:
  1  1.08082
  2  12.8188
  3  0.726187
  4  2.90593e-07
  5  4.12682e-05
  6  7.48628e-06
  7  3.15425
  8  2.32372e-06
  9  3.11546
  10  1.78766
  11  22.4781
  12  3.71185e-05
  13  9.83698
  14  3.84441e-06
  15  1.7458
  16  2.39879e-07
  17  5.71881e-05
  18  5.39034e-07
  19  7.27145
  20  1.39206e-06
  21  0.177846
  22  0.175684
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.480e+00  1.788e+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:  8.149e-01  1.757e-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.065e+00  1.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.41
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.52e-08 +/- 1.81e-08
Energy Flux (Fixed Index): 4.05e-05 +/- 2.08e-05

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) = 5830.66320219
delta logL = 0.00237822314557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5830.66312283
delta logL = 0.00245759069549

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4704       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7175       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0660       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81488       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=   5830.663     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      197 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4687        47.654        .54268E-02   -.40002E-04
   2  alpha         1.7174        2.6586        .32414        .46783E-05
   3  Normalizat    1.0663        .24367        .39592E-01    .26001E-05
   4  Prefactor     .81460        .12850        .43911E-01    .10261E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.46873
  alpha      = 1.71742
  Normalizat = 1.06629
  Prefactor  = 0.814605
 **********
 **   18 **HESSE 
 **********

 FCN=   5830.663     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .68E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4687        1.8010        .71448E-04   -1.5335    
   2  alpha         1.7174        .46231        .11979E-01   -.31838    
   3  Normalizat    1.0663        .17169        .21390E-03   -.90842    
   4  Prefactor     .81460        .17353        .24442E-03   -.99192    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8325e-14
Minuit parameter uncertainties:
  1  1.80105
  2  0.465278
  3  0.171781
  4  0.173651
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106595': 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) = 5830.6631211
delta logL = 0.00245932271901

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.469e+00  1.801e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.717e+00  4.653e-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:  8.146e-01  1.737e-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.066e+00  1.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.40
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.72 +/- 0.47
Photon Flux (Free Index): 3.38e-08 +/- 2.66e-08
Energy Flux (Free Index): 4.20e-05 +/- 3.19e-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/106595/cmap_HighResolution_388368001_388627201_4FGL_J0915.9+2933_daily_bin575.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.52e-08', energy_flux2='4.20e-05', photon_flux_error='1.81e-08', dlogl='2.46e-03', energy_flux='4.05e-05', photon_flux2='3.38e-08', job_status='DONE', time_completed='2021-08-31 05:50:39.194758', photon_index_error2='0.47', photon_index2='1.72', ts='19.41', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='3.19e-05', EG='1.06', time_epoch_completed='1630414239.19', return_code='0', job_id='106595', GAL2='0.81', EG2='1.07', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='2.66e-08', ts2='19.40', photon_index='1.75' WHERE bin_id='575' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:50:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 106595: <4FGL_J0915.9+2933_daily_bin575> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin575> 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) <bullet0284>, 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:50:39 2021
Results reported at Tue Aug 31 05:50:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin575 138.986 29.553 388368001 388627201 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 :                                   552.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             340.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   587 sec.
    Turnaround time :                            588 sec.

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

