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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin524
RA = 138.986, Dec = 29.553
tmin = 375148801, tmax = 375408001
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='106513', job_status='RUN', time_executed='2021-08-31 05:41:15.111672', time_epoch_executed='1630413675.11' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='524'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106513

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106513/ft1_4FGL_J0915.9+2933_daily_bin524.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106513/ft2_4FGL_J0915.9+2933_daily_bin524.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106513/ft1_4FGL_J0915.9+2933_daily_bin524.fits outfile=/scratch/kocevski/106513/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin524.fits ra=138.986 dec=29.553 rad=12.0 tmin=375148801.0 tmax=375408001.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 5.04
user 4.35
sys 0.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106513/ft2_4FGL_J0915.9+2933_daily_bin524.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/106513/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin524.fits evtable="EVENTS" outfile="/scratch/kocevski/106513/ft1_filtered_4FGL_J0915.9+2933_daily_bin524.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.87
user 0.35
sys 0.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106513/ft1_filtered_4FGL_J0915.9+2933_daily_bin524.fits" evtable="EVENTS" scfile=/scratch/kocevski/106513/ft2_4FGL_J0915.9+2933_daily_bin524.fits sctable="SC_DATA" outfile=/scratch/kocevski/106513/ltcube_375148801_375408001_4FGL_J0915.9+2933_daily_bin524.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/106513/ft2_4FGL_J0915.9+2933_daily_bin524.fits
.....................!
real 13.63
user 12.60
sys 0.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106513/ft1_filtered_4FGL_J0915.9+2933_daily_bin524.fits evtable="EVENTS" scfile=/scratch/kocevski/106513/ft2_4FGL_J0915.9+2933_daily_bin524.fits sctable="SC_DATA" expcube=/scratch/kocevski/106513/ltcube_375148801_375408001_4FGL_J0915.9+2933_daily_bin524.fits outfile=/scratch/kocevski/106513/expmap_375148801_375408001_4FGL_J0915.9+2933_daily_bin524.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/106513/ltcube_375148801_375408001_4FGL_J0915.9+2933_daily_bin524.fits
.....................!
real 193.62
user 185.76
sys 5.95

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0915.9+2933 @ 138.986 29.553

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/106513/ft1_filtered_4FGL_J0915.9+2933_daily_bin524.fits scfile=/scratch/kocevski/106513/ft2_4FGL_J0915.9+2933_daily_bin524.fits outfile=/scratch/kocevski/106513/cmap_375148801_375408001_4FGL_J0915.9+2933_daily_bin524.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.97
user 0.37
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106513/ft1_filtered_4FGL_J0915.9+2933_daily_bin524.fits scfile=/scratch/kocevski/106513/ft2_4FGL_J0915.9+2933_daily_bin524.fits outfile=/scratch/kocevski/106513/cmap_HighResolution_375148801_375408001_4FGL_J0915.9+2933_daily_bin524.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.96
user 0.38
sys 0.37

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.765       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.200       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1290       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.130       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .37326       1.0000         .10000E-03   10000.    
     6 'norm      '    .22905E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.3447       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1482       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1447       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11126E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16580E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8307       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.1740       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .76940       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1739       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=   6888.452     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2060 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.766        2.8967        .57966E-07   -.45553E-04
   2  Prefactor     15.235        13.388       -.18508E-05   -.14840E-03
   3  norm          1.1292        .67082       -.84471E-08    .13875E-03
   4  Prefactor     19.108        12.735        .43283E-06    .89338E-04
   5  Prefactor     .34316        83.246        .39999E-04    .69680E-05
   6  norm          .10000E-03    30.312       -.24765E-05** at limit **
   7  Prefactor     .10000E-03    1.5195        .80918E-07** at limit **
   8  Prefactor     .10000E-03    10.751        .10702E-05** at limit **
   9  Prefactor     1.3443        3.2853       -.38037E-06    .40191E-04
  10  norm          2.1486        1.5499       -.12987E-06   -.81129E-04
  11  Prefactor     4.1485        8.4820       -.10948E-06   -.70456E-05
  12  Prefactor     .10000E-03    11.346       -.18404E-05** at limit **
  13  norm          .10000E-03    2.2554        .29232E-07** at limit **
  14  Prefactor     .10000E-03    1.1951       -.43800E-07** at limit **
  15  Prefactor     .10000E-03    1.5241        .12849E-06** at limit **
  16  Prefactor     .10000E-03    13.689        .10969E-05** at limit **
  17  Prefactor     .10000E-03    215.09       -.27263E-04** at limit **
  18  Prefactor     5.8219        6.9308        .85937E-06    .30893E-03
  19  Prefactor     3.1786        4.9453       -.32338E-05    .89348E-04
  20  Prefactor     .10000E-03    .89045       -.43775E-07** at limit **
  21  Normalizat    .76932        .15867       -.57314E-06    .24429E-03
  22  Prefactor     1.1738        .16131        .10356E-06    .33484E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 21.7662
  Prefactor  = 15.2345
  norm       = 1.12923
  Prefactor  = 19.1078
  Prefactor  = 0.343161
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.34431
  norm       = 2.1486
  Prefactor  = 4.14846
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 5.82194
  Prefactor  = 3.17862
  Prefactor  = 0.0001
  Normalizat = 0.769318
  Prefactor  = 1.17378
 **********
 **   18 **HESSE 
 **********

 FCN=   6888.452     FROM HESSE     STATUS=OK           344 CALLS     2404 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.766        2.8969        .48838E-04   -1.4775    
   2  Prefactor     15.235        13.415        .10273E-03   -1.4927    
   3  norm          1.1292        .65627        .49735E-04   -1.5495    
   4  Prefactor     19.108        12.705        .91574E-04   -1.4833    
   5  Prefactor     .34316        81.873        .41023E-02   -1.5591    
   6  norm          .10000E-03    30.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5614        .19976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.3443        3.2559        .22343E-03   -1.5476    
  10  norm          2.1486        1.5503        .84966E-04   -1.5415    
  11  Prefactor     4.1485        8.4504        .19799E-03   -1.5301    
  12  Prefactor     .10000E-03    11.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.2625        .12169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.2043        .88459E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.5577        .99966E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    215.55        .40780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.8219        6.9427        .16632E-03   -1.5225    
  19  Prefactor     3.1786        4.9402        .11205E-02   -1.5351    
  20  Prefactor     .10000E-03    .90294        .76418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .76932        .18450        .26855E-03   -1.0122    
  22  Prefactor     1.1738        .18933        .23298E-03   -.87142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67054e-10
Minuit parameter uncertainties:
  1  2.89696
  2  13.4174
  3  0.656275
  4  12.7073
  5  10.6142
  6  0.000122396
  7  1.52591e-06
  8  3.70558e-05
  9  3.25628
  10  1.55037
  11  8.45279
  12  6.03649e-05
  13  2.0729e-06
  14  9.92799e-07
  15  1.46278e-06
  16  2.24383e-05
  17  0.00206965
  18  6.94361
  19  4.9408
  20  2.91152e-06
  21  0.184651
  22  0.189444
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.149e+00  1.550e+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:  1.174e+00  1.894e-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:  7.693e-01  1.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.70
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.17e-08 +/- 1.57e-08
Energy Flux (Fixed Index): 2.50e-05 +/- 1.80e-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) = 6888.14064191
delta logL = 0.310961226556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6888.05678698
delta logL = 0.394816158728

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1992       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1053       1.0000          .0000       5.0000    
     3 'Normalizat'    .77468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1803       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=   6888.057     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1964        1.1021        .10368E-01    .23081E-02
   2  alpha         1.1033        .43161        .39026       -.14070E-03
   3  Normalizat    .77473        .15229        .43279E-01    .27391E-03
   4  Prefactor     1.1802        .16080        .52607E-01    .11914E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.19644
  alpha      = 1.1033
  Normalizat = 0.774728
  Prefactor  = 1.18024
 **********
 **   18 **HESSE 
 **********

 FCN=   6888.057     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1964        2.1360        .77668E-04   -1.5489    
   2  alpha         1.1033        .85370        .16172E-01   -.59279    
   3  Normalizat    .77473        .17858        .26775E-03   -1.0101    
   4  Prefactor     1.1802        .18928        .23258E-03   -.86941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54145e-10
Minuit parameter uncertainties:
  1  2.13616
  2  0.879873
  3  0.178715
  4  0.189385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106513': 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) = 6888.05678366
delta logL = 0.394819481678

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.196e+00  2.136e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.103e+00  8.799e-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:  1.180e+00  1.894e-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:  7.747e-01  1.787e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.47
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.10 +/- 0.88
Photon Flux (Free Index): 8.07e-09 +/- 1.36e-08
Energy Flux (Free Index): 5.21e-05 +/- 6.44e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/106513/cmap_HighResolution_375148801_375408001_4FGL_J0915.9+2933_daily_bin524.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.17e-08', energy_flux2='5.21e-05', photon_flux_error='1.57e-08', dlogl='3.95e-01', energy_flux='2.50e-05', photon_flux2='8.07e-09', job_status='DONE', time_completed='2021-08-31 05:51:10.053967', photon_index_error2='0.88', photon_index2='1.10', ts='8.70', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='6.44e-05', EG='0.77', time_epoch_completed='1630414270.05', return_code='0', job_id='106513', GAL2='1.18', EG2='0.77', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='1.36e-08', ts2='9.47', photon_index='1.75' WHERE bin_id='524' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:51:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 106513: <4FGL_J0915.9+2933_daily_bin524> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin524 138.986 29.553 375148801 375408001 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 :                                   589.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             377.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            627 sec.

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

