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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin68
RA = 138.986, Dec = 29.553
tmin = 256953601, tmax = 257212801
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='103233', job_status='RUN', time_executed='2021-08-31 05:31:00.635284', time_epoch_executed='1630413060.64' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='68'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103233

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103233/ft1_4FGL_J0915.9+2933_daily_bin68.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103233/ft2_4FGL_J0915.9+2933_daily_bin68.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103233/ft1_4FGL_J0915.9+2933_daily_bin68.fits outfile=/scratch/kocevski/103233/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin68.fits ra=138.986 dec=29.553 rad=12.0 tmin=256953601.0 tmax=257212801.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 1.90
user 1.27
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103233/ft2_4FGL_J0915.9+2933_daily_bin68.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/103233/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin68.fits evtable="EVENTS" outfile="/scratch/kocevski/103233/ft1_filtered_4FGL_J0915.9+2933_daily_bin68.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.84
user 0.34
sys 0.28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103233/ft1_filtered_4FGL_J0915.9+2933_daily_bin68.fits" evtable="EVENTS" scfile=/scratch/kocevski/103233/ft2_4FGL_J0915.9+2933_daily_bin68.fits sctable="SC_DATA" outfile=/scratch/kocevski/103233/ltcube_256953601_257212801_4FGL_J0915.9+2933_daily_bin68.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/103233/ft2_4FGL_J0915.9+2933_daily_bin68.fits
.....................!
real 13.85
user 13.02
sys 0.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103233/ft1_filtered_4FGL_J0915.9+2933_daily_bin68.fits evtable="EVENTS" scfile=/scratch/kocevski/103233/ft2_4FGL_J0915.9+2933_daily_bin68.fits sctable="SC_DATA" expcube=/scratch/kocevski/103233/ltcube_256953601_257212801_4FGL_J0915.9+2933_daily_bin68.fits outfile=/scratch/kocevski/103233/expmap_256953601_257212801_4FGL_J0915.9+2933_daily_bin68.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/103233/ltcube_256953601_257212801_4FGL_J0915.9+2933_daily_bin68.fits
.....................!
real 194.39
user 187.95
sys 5.18

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/103233/ft1_filtered_4FGL_J0915.9+2933_daily_bin68.fits scfile=/scratch/kocevski/103233/ft2_4FGL_J0915.9+2933_daily_bin68.fits outfile=/scratch/kocevski/103233/cmap_256953601_257212801_4FGL_J0915.9+2933_daily_bin68.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.72
user 0.36
sys 0.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103233/ft1_filtered_4FGL_J0915.9+2933_daily_bin68.fits scfile=/scratch/kocevski/103233/ft2_4FGL_J0915.9+2933_daily_bin68.fits outfile=/scratch/kocevski/103233/cmap_HighResolution_256953601_257212801_4FGL_J0915.9+2933_daily_bin68.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.68
user 0.36
sys 0.30

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2646       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6342       1.0000         .10000E-03   10000.    
     3 'norm      '    .33873       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9175       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3347       1.0000         .10000E-03   10000.    
     6 'norm      '    5.9723       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2288       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1722       1.0000         .10000E-03   10000.    
    10 'norm      '    2.5877       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.855       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.6636       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8676       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.8559       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.8634       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.1689       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .85710       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .22387       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2231       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80194       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=   8597.509     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2095 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2646        1.1978        .11576E-07   -.12668E-03
   2  Prefactor     1.6354        11.059        .13120E-05   -.11817E-03
   3  norm          .33833        .51335       -.18465E-06   -.13234E-02
   4  Prefactor     4.9200        7.5494        .38418E-05   -.10262E-02
   5  Prefactor     2.3349        9.7453        .78045E-06   -.84013E-04
   6  norm          5.9609        22.995       -.10038E-04   -.48443E-03
   7  Prefactor     6.2287        3.5352        .86007E-07   -.30881E-04
   8  Prefactor     .10000E-03    12.113       -.79952E-07** at limit **
   9  Prefactor     3.1718        3.6774       -.16988E-06   -.41668E-03
  10  norm          2.5877        1.3689       -.36111E-07   -.98704E-04
  11  Prefactor     .10000E-03    6.9571        .26738E-06** at limit **
  12  Prefactor     13.856        28.429        .92217E-06    .31021E-04
  13  norm          .10000E-03    4.7811        .55328E-07** at limit **
  14  Prefactor     6.6634        4.0982        .46220E-06    .63191E-03
  15  Prefactor     2.8677        2.8953        .55538E-06    .52262E-03
  16  Prefactor     9.8559        11.223       -.26690E-07   -.50148E-04
  17  Prefactor     1.8642        134.58        .29680E-05    .32315E-05
  18  Prefactor     6.1682        5.5035        .55326E-07   -.26543E-03
  19  Prefactor     .85124        5.9184        .42902E-06   -.25058E-03
  20  Prefactor     .22362        1.0567        .11685E-05   -.13759E-02
  21  Normalizat    1.2231        .15214       -.12179E-05   -.16352E-03
  22  Prefactor     .80196        .14241        .48135E-06   -.24070E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.26456
  Prefactor  = 1.63537
  norm       = 0.338329
  Prefactor  = 4.92002
  Prefactor  = 2.33494
  norm       = 5.96091
  Prefactor  = 6.22872
  Prefactor  = 0.0001
  Prefactor  = 3.17181
  norm       = 2.58766
  Prefactor  = 0.0001
  Prefactor  = 13.8563
  norm       = 0.0001
  Prefactor  = 6.6634
  Prefactor  = 2.86767
  Prefactor  = 9.85586
  Prefactor  = 1.86418
  Prefactor  = 6.16824
  Prefactor  = 0.851244
  Prefactor  = 0.223623
  Normalizat = 1.22308
  Prefactor  = 0.801962
 **********
 **   18 **HESSE 
 **********

 FCN=   8597.509     FROM HESSE     STATUS=OK           358 CALLS     2453 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2646        1.1886        .70002E-04   -1.5407    
   2  Prefactor     1.6354        11.070        .33069E-03   -1.5452    
   3  norm          .33833        .46426        .76479E-03   -1.5592    
   4  Prefactor     4.9200        8.1667        .90688E-03   -1.5264    
   5  Prefactor     2.3349        9.7428        .26836E-03   -1.5402    
   6  norm          5.9609        26.598        .16431E-03   -1.5220    
   7  Prefactor     6.2287        3.5367        .12589E-03   -1.5209    
   8  Prefactor     .10000E-03    12.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1718        3.6816        .17891E-03   -1.5352    
  10  norm          2.5877        1.3713        .76107E-04   -1.5386    
  11  Prefactor     .10000E-03    6.9756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.856        28.454        .10761E-03   -1.4963    
  13  norm          .10000E-03    4.8483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.6634        4.1034        .13605E-03   -1.5192    
  15  Prefactor     2.8677        2.8913        .15010E-03   -1.5369    
  16  Prefactor     9.8559        11.228        .12764E-03   -1.5080    
  17  Prefactor     1.8642        135.57        .30522E-03   -1.5435    
  18  Prefactor     6.1682        5.4992        .16163E-03   -1.5211    
  19  Prefactor     .85124        16.988        .42807E-02   -1.5523    
  20  Prefactor     .22362        1.7554        .17398E-02   -1.5613    
  21  Normalizat    1.2231        .17745        .22542E-03   -.85893    
  22  Prefactor     .80196        .16705        .26440E-03   -.99656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87127e-09
Minuit parameter uncertainties:
  1  1.1886
  2  8.51146
  3  0.464266
  4  8.16854
  5  9.54162
  6  25.2016
  7  3.53682
  8  1.67447e-05
  9  3.68185
  10  1.37128
  11  2.83429e-05
  12  28.4822
  13  1.58585e-05
  14  4.10356
  15  2.89142
  16  11.2301
  17  31.8693
  18  5.49964
  19  7.60758
  20  1.25286
  21  0.177534
  22  0.167159
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.588e+00  1.371e+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.020e-01  1.672e-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.223e+00  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.33
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 1.39e-08
Energy Flux (Fixed Index): 3.01e-05 +/- 1.60e-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) = 8597.45038736
delta logL = 0.0581475862109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8597.44792187
delta logL = 0.0606130738142

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4921       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5907       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2275       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80088       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=   8597.448     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4919        2.5475        .64730E-02   -.22165E-03
   2  alpha         1.5906        .68402        .38190       -.15979E-04
   3  Normalizat    1.2276        .14547        .50912E-01    .57861E-05
   4  Prefactor     .80085        .14002        .43729E-01    .23262E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.49189
  alpha      = 1.59055
  Normalizat = 1.22758
  Prefactor  = 0.800851
 **********
 **   18 **HESSE 
 **********

 FCN=   8597.448     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .31E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4919        1.4094        .76792E-04   -1.5392    
   2  alpha         1.5906        .45417        .14016E-01   -.37232    
   3  Normalizat    1.2276        .16785        .22509E-03   -.85755    
   4  Prefactor     .80085        .16349        .26461E-03   -.99697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0618e-13
Minuit parameter uncertainties:
  1  1.40938
  2  0.457102
  3  0.167925
  4  0.163592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103233': 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) = 8597.44792178
delta logL = 0.0606131635759

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.492e+00  1.409e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.591e+00  4.571e-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.009e-01  1.636e-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.228e+00  1.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.45
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.59 +/- 0.46
Photon Flux (Free Index): 2.12e-08 +/- 1.73e-08
Energy Flux (Free Index): 3.64e-05 +/- 2.92e-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/103233/cmap_HighResolution_256953601_257212801_4FGL_J0915.9+2933_daily_bin68.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='3.64e-05', photon_flux_error='1.39e-08', dlogl='6.06e-02', energy_flux='3.01e-05', photon_flux2='2.12e-08', job_status='DONE', time_completed='2021-08-31 05:41:29.607905', photon_index_error2='0.46', photon_index2='1.59', ts='21.33', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='2.92e-05', EG='1.22', time_epoch_completed='1630413689.61', return_code='0', job_id='103233', GAL2='0.80', EG2='1.23', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='1.73e-08', ts2='21.45', photon_index='1.75' WHERE bin_id='68' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:41:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 103233: <4FGL_J0915.9+2933_daily_bin68> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin68 138.986 29.553 256953601 257212801 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 :                                   625.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             396.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            644 sec.

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

