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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin96
RA = 138.986, Dec = 29.553
tmin = 264211201, tmax = 264470401
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='103288', job_status='RUN', time_executed='2021-08-31 05:35:22.788928', time_epoch_executed='1630413322.79' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='96'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103288

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103288/ft1_4FGL_J0915.9+2933_daily_bin96.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103288/ft2_4FGL_J0915.9+2933_daily_bin96.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103288/ft1_4FGL_J0915.9+2933_daily_bin96.fits outfile=/scratch/kocevski/103288/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin96.fits ra=138.986 dec=29.553 rad=12.0 tmin=264211201.0 tmax=264470401.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 7.82
user 1.52
sys 6.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103288/ft1_filtered_4FGL_J0915.9+2933_daily_bin96.fits" evtable="EVENTS" scfile=/scratch/kocevski/103288/ft2_4FGL_J0915.9+2933_daily_bin96.fits sctable="SC_DATA" outfile=/scratch/kocevski/103288/ltcube_264211201_264470401_4FGL_J0915.9+2933_daily_bin96.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/103288/ft2_4FGL_J0915.9+2933_daily_bin96.fits
.....................!
real 19.42
user 12.17
sys 7.17

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103288/ft1_filtered_4FGL_J0915.9+2933_daily_bin96.fits evtable="EVENTS" scfile=/scratch/kocevski/103288/ft2_4FGL_J0915.9+2933_daily_bin96.fits sctable="SC_DATA" expcube=/scratch/kocevski/103288/ltcube_264211201_264470401_4FGL_J0915.9+2933_daily_bin96.fits outfile=/scratch/kocevski/103288/expmap_264211201_264470401_4FGL_J0915.9+2933_daily_bin96.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/103288/ltcube_264211201_264470401_4FGL_J0915.9+2933_daily_bin96.fits
.....................!
real 198.66
user 186.13
sys 11.74

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/103288/ft1_filtered_4FGL_J0915.9+2933_daily_bin96.fits scfile=/scratch/kocevski/103288/ft2_4FGL_J0915.9+2933_daily_bin96.fits outfile=/scratch/kocevski/103288/cmap_264211201_264470401_4FGL_J0915.9+2933_daily_bin96.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 6.46
user 0.38
sys 6.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103288/ft1_filtered_4FGL_J0915.9+2933_daily_bin96.fits scfile=/scratch/kocevski/103288/ft2_4FGL_J0915.9+2933_daily_bin96.fits outfile=/scratch/kocevski/103288/cmap_HighResolution_264211201_264470401_4FGL_J0915.9+2933_daily_bin96.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 6.54
user 0.39
sys 6.10

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4111       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .84190E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2166       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.855       1.0000         .10000E-03   10000.    
     6 'norm      '    32.169       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2280       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0143       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.079       1.0000         .10000E-03   10000.    
    12 'Prefactor '    56.491       1.0000         .10000E-03   10000.    
    13 'norm      '    .74530       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4749       1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.645       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.591       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.3740       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.2696       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94044       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92789       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5584.024     FROM MIGRAD    STATUS=CONVERGED     54 CALLS     2393 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4111        1.6720       -.57266E-07    .77394E-04
   2  Prefactor     .10001E-03    16.489        .34358E-04** at limit **
   3  norm          .84200E-01    .53747       -.20197E-05    .40397E-03
   4  Prefactor     3.2169        1.0187       -.44174E-06   -.27320E-04
   5  Prefactor     24.855        1.0042        .12424E-06   -.39144E-03
   6  norm          32.169        1.0207       -.25124E-06    .93843E-03
   7  Prefactor     .10000E-03    1.6889       -.26203E-05** at limit **
   8  Prefactor     .10001E-03    18.152       -.46400E-04** at limit **
   9  Prefactor     7.2285        1.2479        .20303E-05    .70322E-02
  10  norm          1.0143        1.0019       -.30907E-06   -.16868E-03
  11  Prefactor     13.079        1.0022       -.98303E-07   -.47259E-04
  12  Prefactor     56.492        1.0011        .42685E-07   -.32984E-03
  13  norm          .74563        1.2097       -.47401E-05   -.19226E-03
  14  Prefactor     .10000E-03    2.8132        .25045E-06** at limit **
  15  Prefactor     4.4745        1.1155       -.16551E-05   -.56153E-02
  16  Prefactor     32.646        1.0002        .51249E-08   -.75181E-04
  17  Prefactor     16.591        1.0053       -.16906E-06    .37302E-03
  18  Prefactor     6.3741        1.0153        .37912E-06    .49741E-03
  19  Prefactor     .10000E-03    4.4419       -.30983E-05** at limit **
  20  Prefactor     2.2696        2.4297       -.43429E-06    .82965E-04
  21  Normalizat    .94045        .19518        .28582E-05    .43829E-03
  22  Prefactor     .92788        .19680       -.53925E-06    .27088E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.41115
  Prefactor  = 0.000100011
  norm       = 0.0842004
  Prefactor  = 3.21693
  Prefactor  = 24.8553
  norm       = 32.1685
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 7.22854
  norm       = 1.01426
  Prefactor  = 13.0795
  Prefactor  = 56.4916
  norm       = 0.745634
  Prefactor  = 0.0001
  Prefactor  = 4.47454
  Prefactor  = 32.6456
  Prefactor  = 16.5912
  Prefactor  = 6.37412
  Prefactor  = 0.0001
  Prefactor  = 2.26958
  Normalizat = 0.940453
  Prefactor  = 0.92788
 **********
 **   18 **HESSE 
 **********

 FCN=   5584.024     FROM HESSE     STATUS=OK           406 CALLS     2799 TOTAL
                     EDM=   .86E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4111        1.6809        .54759E-02   -1.5339    
   2  Prefactor     .10001E-03    16.635        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .84200E-01    .34755        .16939E-01   -1.5650    
   4  Prefactor     3.2169        7.6923        .56471E-02   -1.5349    
   5  Prefactor     24.855        16.591        .20087E-02   -1.4710    
   6  norm          32.169        28.182        .17662E-02   -1.4573    
   7  Prefactor     .10000E-03    1.6696        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    18.697        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.2285        4.2201        .37299E-02   -1.5170    
  10  norm          1.0143        .97053        .13003E-01   -1.5507    
  11  Prefactor     13.079        18.850        .27689E-02   -1.4984    
  12  Prefactor     56.492        56.525        .13343E-02   -1.4203    
  13  norm          .74563        5.9821        .83945E-01   -1.5535    
  14  Prefactor     .10000E-03    2.7206        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.4745        3.4963        .47585E-02   -1.5285    
  16  Prefactor     32.646        25.944        .17533E-02   -1.4565    
  17  Prefactor     16.591        40.739        .24582E-02   -1.4893    
  18  Prefactor     6.3741        6.4521        .39745E-02   -1.5203    
  19  Prefactor     .10000E-03    4.4259        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.2696        2.4645        .68153E-02   -1.5407    
  21  Normalizat    .94045        .17794        .45416E-01   -.95053    
  22  Prefactor     .92788        .17198        .45359E-01   -.95174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.55264e-08
Minuit parameter uncertainties:
  1  1.6809
  2  0.000866475
  3  0.341934
  4  7.69466
  5  16.5945
  6  28.1934
  7  3.31869e-06
  8  0.000943059
  9  4.22031
  10  0.970549
  11  18.8585
  12  56.5784
  13  4.22424
  14  1.67486e-05
  15  3.49645
  16  25.9533
  17  40.8074
  18  6.45283
  19  2.63204e-05
  20  2.46464
  21  0.178047
  22  0.172079
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.014e+00  9.705e-01  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:  9.279e-01  1.721e-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:  9.405e-01  1.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.73
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.03e-08 +/- 9.82e-09
Energy Flux (Fixed Index): 1.18e-05 +/- 1.13e-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) = 5584.00995966
delta logL = 0.0140675575794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5584.0096293
delta logL = 0.0143979169334

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99243       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6012       1.0000          .0000       5.0000    
     3 'Normalizat'    .94203       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92741       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=   5584.010     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      196 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99243        45.513        .13139E-01    .35138E-03
   2  alpha         1.6012        4.1679        .45153       -.13568E-04
   3  Normalizat    .94202        .12918        .45436E-01   -.10071E-05
   4  Prefactor     .92741        .95369E-01    .45353E-01    .31916E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.99243
  alpha      = 1.60119
  Normalizat = 0.942023
  Prefactor  = 0.927413
 **********
 **   18 **HESSE 
 **********

 FCN=   5584.010     FROM HESSE     STATUS=OK            35 CALLS      231 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99243        1.0137        .70043E-03   -1.5509    
   2  alpha         1.6012        .84408        .21274E-01   -.36776    
   3  Normalizat    .94202        .19293        .23706E-03   -.94999    
   4  Prefactor     .92741        .19640        .24194E-03   -.95190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82506e-11
Minuit parameter uncertainties:
  1  1.01374
  2  0.863679
  3  0.193076
  4  0.196554
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103288': 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) = 5584.0096293
delta logL = 0.0143979170225

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  9.924e-01  1.014e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.601e+00  8.637e-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:  9.274e-01  1.966e-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:  9.420e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.76
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.60 +/- 0.86
Photon Flux (Free Index): 8.51e-09 +/- 1.24e-08
Energy Flux (Free Index): 1.43e-05 +/- 2.24e-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/103288/cmap_HighResolution_264211201_264470401_4FGL_J0915.9+2933_daily_bin96.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.03e-08', energy_flux2='1.43e-05', photon_flux_error='9.82e-09', dlogl='1.44e-02', energy_flux='1.18e-05', photon_flux2='8.51e-09', job_status='DONE', time_completed='2021-08-31 05:45:54.208357', photon_index_error2='0.86', photon_index2='1.60', ts='4.73', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='2.24e-05', EG='0.94', time_epoch_completed='1630413954.21', return_code='0', job_id='103288', GAL2='0.93', EG2='0.94', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='1.24e-08', ts2='4.76', photon_index='1.75' WHERE bin_id='96' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:45:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 103288: <4FGL_J0915.9+2933_daily_bin96> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin96 138.986 29.553 264211201 264470401 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 :                                   726.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             213.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            905 sec.

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

