/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 97 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 = 7685
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin52
RA = 138.986, Dec = 29.553
tmin = 252806401, tmax = 253065601
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='103208', job_status='RUN', time_executed='2021-08-31 05:33:15.029333', time_epoch_executed='1630413195.03' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='52'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103208

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103208/ft1_4FGL_J0915.9+2933_daily_bin52.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103208/ft2_4FGL_J0915.9+2933_daily_bin52.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103208/ft1_4FGL_J0915.9+2933_daily_bin52.fits outfile=/scratch/kocevski/103208/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin52.fits ra=138.986 dec=29.553 rad=12.0 tmin=252806401.0 tmax=253065601.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 2.62
user 1.25
sys 0.82

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103208/ft1_filtered_4FGL_J0915.9+2933_daily_bin52.fits" evtable="EVENTS" scfile=/scratch/kocevski/103208/ft2_4FGL_J0915.9+2933_daily_bin52.fits sctable="SC_DATA" outfile=/scratch/kocevski/103208/ltcube_252806401_253065601_4FGL_J0915.9+2933_daily_bin52.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/103208/ft2_4FGL_J0915.9+2933_daily_bin52.fits
.....................!
real 15.06
user 13.36
sys 1.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103208/ft1_filtered_4FGL_J0915.9+2933_daily_bin52.fits evtable="EVENTS" scfile=/scratch/kocevski/103208/ft2_4FGL_J0915.9+2933_daily_bin52.fits sctable="SC_DATA" expcube=/scratch/kocevski/103208/ltcube_252806401_253065601_4FGL_J0915.9+2933_daily_bin52.fits outfile=/scratch/kocevski/103208/expmap_252806401_253065601_4FGL_J0915.9+2933_daily_bin52.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/103208/ltcube_252806401_253065601_4FGL_J0915.9+2933_daily_bin52.fits
.....................!
real 192.72
user 185.85
sys 5.48

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/103208/ft1_filtered_4FGL_J0915.9+2933_daily_bin52.fits scfile=/scratch/kocevski/103208/ft2_4FGL_J0915.9+2933_daily_bin52.fits outfile=/scratch/kocevski/103208/cmap_252806401_253065601_4FGL_J0915.9+2933_daily_bin52.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 1.19
user 0.37
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103208/ft1_filtered_4FGL_J0915.9+2933_daily_bin52.fits scfile=/scratch/kocevski/103208/ft2_4FGL_J0915.9+2933_daily_bin52.fits outfile=/scratch/kocevski/103208/cmap_HighResolution_252806401_253065601_4FGL_J0915.9+2933_daily_bin52.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 1.18
user 0.39
sys 0.77

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .91928       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.124       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.895       1.0000         .10000E-03   10000.    
     6 'norm      '    36.456       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .20665E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .84801E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3549       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.6461       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.402       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5476       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6366       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1865       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.3793       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1897       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1001       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=   8884.130     FROM MIGRAD    STATUS=CONVERGED    871 CALLS     2945 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .25672        .46383E-03** at limit **
   2  Prefactor     .10000E-03    11.884        .18142E-02** at limit **
   3  norm          .91949        .59924        .56529E-04   -.39418E-04
   4  Prefactor     15.125        11.035        .10299E-03   -.30246E-04
   5  Prefactor     15.897        15.753        .10046E-03   -.11860E-03
   6  norm          36.451        33.175        .66376E-04   -.90777E-04
   7  Prefactor     .10000E-03    .83160        .83817E-03** at limit **
   8  Prefactor     .10477E-03    26.776        .14627    ** at limit **
   9  Prefactor     .10080E-03    4.4187        .44211E-01** at limit **
  10  norm          1.3549        1.0865        .37559E-04    .13924E-04
  11  Prefactor     8.6156        17.051        .13632E-03   -.17396E-03
  12  Prefactor     45.392        50.934        .59503E-04   -.10547E-04
  13  norm          1.5523        9.8575        .34249E-03   -.16929E-03
  14  Prefactor     1.6365        3.5143        .23015E-03   -.51076E-04
  15  Prefactor     5.1867        3.8435        .14838E-03    .52561E-04
  16  Prefactor     .10000E-03    12.892        .18142E-02** at limit **
  17  Prefactor     .10000E-03    14.157        .18142E-02** at limit **
  18  Prefactor     .10000E-03    6.6829        .36285E-03** at limit **
  19  Prefactor     .10000E-03    3.3796        .16875E-02** at limit **
  20  Prefactor     3.3793        2.2522        .11073E-03    .77417E-04
  21  Normalizat    1.1897        .18795        .25059E-03   -.11632E-03
  22  Prefactor     1.1000        .17752        .25731E-03   -.22565E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.919488
  Prefactor  = 15.1248
  Prefactor  = 15.8968
  norm       = 36.4515
  Prefactor  = 0.0001
  Prefactor  = 0.00010477
  Prefactor  = 0.000100799
  norm       = 1.35487
  Prefactor  = 8.61557
  Prefactor  = 45.3917
  norm       = 1.55228
  Prefactor  = 1.63652
  Prefactor  = 5.18666
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.3793
  Normalizat = 1.18971
  Prefactor  = 1.10002
 **********
 **   18 **HESSE 
 **********

 FCN=   8884.130     FROM HESSE     STATUS=OK           340 CALLS     3285 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .25672        .92766E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.892        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .91949        .59921        .22611E-05   -1.5516    
   4  Prefactor     15.125        11.035        .41196E-05   -1.4930    
   5  Prefactor     15.897        15.750        .40183E-05   -1.4910    
   6  norm          36.451        33.175        .13275E-04   -1.4500    
   7  Prefactor     .10000E-03    .83162        .16763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10477E-03    26.693        .14660       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10080E-03    3.6828        .50188E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3549        1.0864        .15023E-05   -1.5475    
  11  Prefactor     8.6156        17.032        .54529E-05   -1.5121    
  12  Prefactor     45.392        50.932        .11901E-04   -1.4359    
  13  norm          1.5523        9.8283        .13700E-04   -1.5459    
  14  Prefactor     1.6365        3.5085        .92061E-05   -1.5452    
  15  Prefactor     5.1867        3.8432        .59352E-05   -1.5252    
  16  Prefactor     .10000E-03    12.893        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.157        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.6832        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.3802        .33749E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.3793        2.2522        .44290E-05   -1.5340    
  21  Normalizat    1.1897        .18807        .10023E-04   -.86921    
  22  Prefactor     1.1000        .17767        .51462E-04   -.89466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.22788e-10
Minuit parameter uncertainties:
  1  2.78878e-07
  2  9.94268e-06
  3  0.599213
  4  11.0362
  5  15.7539
  6  33.1918
  7  1.35236e-07
  8  0.0225768
  9  0.00343117
  10  1.0864
  11  17.0417
  12  50.9805
  13  7.81349
  14  3.50896
  15  3.84334
  16  2.86856e-05
  17  2.39643e-05
  18  7.65651e-06
  19  1.38488e-06
  20  2.25227
  21  0.188178
  22  0.177764
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.355e+00  1.086e+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.100e+00  1.778e-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.190e+00  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.08
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.37e-08 +/- 1.10e-08
Energy Flux (Fixed Index): 1.58e-05 +/- 1.26e-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) = 8884.09775166
delta logL = 0.0323629290815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8884.09761524
delta logL = 0.0324993455943

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3494       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9440       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1856       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1016       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=   8884.098     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3495        25.125        .94177E-02   -.20898E-02
   2  alpha         1.9439        2.5947        .42518       -.54809E-04
   3  Normalizat    1.1856        .89259E-01    .56744E-01    .15259E-04
   4  Prefactor     1.1016        .57699E-01    .58143E-01    .85638E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.34952
  alpha      = 1.94394
  Normalizat = 1.18564
  Prefactor  = 1.10163
 **********
 **   18 **HESSE 
 **********

 FCN=   8884.098     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3495        1.0658        .82271E-04   -1.5476    
   2  alpha         1.9439        .77848        .21312E-01   -.22430    
   3  Normalizat    1.1856        .17658        .25093E-03   -.87048    
   4  Prefactor     1.1016        .17494        .25711E-03   -.89414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61847e-10
Minuit parameter uncertainties:
  1  1.06583
  2  0.792365
  3  0.176664
  4  0.175035
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103208': 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) = 8884.09761524
delta logL = 0.0324993536542

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.350e+00  1.066e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.944e+00  7.924e-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.102e+00  1.750e-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.186e+00  1.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.14
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.94 +/- 0.79
Photon Flux (Free Index): 1.77e-08 +/- 2.20e-08
Energy Flux (Free Index): 1.32e-05 +/- 1.33e-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/103208/cmap_HighResolution_252806401_253065601_4FGL_J0915.9+2933_daily_bin52.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.37e-08', energy_flux2='1.32e-05', photon_flux_error='1.10e-08', dlogl='3.25e-02', energy_flux='1.58e-05', photon_flux2='1.77e-08', job_status='DONE', time_completed='2021-08-31 05:45:50.197523', photon_index_error2='0.79', photon_index2='1.94', ts='5.08', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.33e-05', EG='1.19', time_epoch_completed='1630413950.2', return_code='0', job_id='103208', GAL2='1.10', EG2='1.19', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='2.20e-08', ts2='5.14', photon_index='1.75' WHERE bin_id='52' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:45:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 103208: <4FGL_J0915.9+2933_daily_bin52> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin52 138.986 29.553 252806401 253065601 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 :                                   748.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            908 sec.

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

