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


Performing analysis on: 4FGL_J1015.0+4926_daily_bin1158
RA = 153.768, Dec = 49.4336
tmin = 539481601, tmax = 539740801
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='751908', job_status='RUN', time_executed='2021-09-01 14:50:16.660713', time_epoch_executed='1630533016.66' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1158'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/751908

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/751908/ft1_4FGL_J1015.0+4926_daily_bin1158.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/751908/ft1_4FGL_J1015.0+4926_daily_bin1158.fits outfile=/scratch/kocevski/751908/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1158.fits ra=153.768 dec=49.4336 rad=12.0 tmin=539481601.0 tmax=539740801.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.41
user 5.02
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.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/751908/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1158.fits evtable="EVENTS" outfile="/scratch/kocevski/751908/ft1_filtered_4FGL_J1015.0+4926_daily_bin1158.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.05
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/751908/ft1_filtered_4FGL_J1015.0+4926_daily_bin1158.fits" evtable="EVENTS" scfile=/scratch/kocevski/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.fits sctable="SC_DATA" outfile=/scratch/kocevski/751908/ltcube_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.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/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.fits
.....................!
real 16.93
user 16.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/751908/ft1_filtered_4FGL_J1015.0+4926_daily_bin1158.fits evtable="EVENTS" scfile=/scratch/kocevski/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.fits sctable="SC_DATA" expcube=/scratch/kocevski/751908/ltcube_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.fits outfile=/scratch/kocevski/751908/expmap_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.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/751908/ltcube_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.fits
.....................!
real 196.31
user 188.46
sys 4.77

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 225 point sources and 0 extended sources

Setting source of interest to:
4FGL J1015.0+4926 @ 153.768 49.4336

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/751908/ft1_filtered_4FGL_J1015.0+4926_daily_bin1158.fits scfile=/scratch/kocevski/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.fits outfile=/scratch/kocevski/751908/cmap_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.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=153.768 yref=49.4336 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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/751908/ft1_filtered_4FGL_J1015.0+4926_daily_bin1158.fits scfile=/scratch/kocevski/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.fits outfile=/scratch/kocevski/751908/cmap_HighResolution_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.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=153.768 yref=49.4336 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/751908/ft1_filtered_4FGL_J1015.0+4926_daily_bin1158.fits evtable="EVENTS" scfile=/scratch/kocevski/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/751908/Model_4FGL_J1015.0+4926_daily_bin1158.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/751908/ft1_filtered_4FGL_J1015.0+4926_daily_bin1158.fits.....................!
real 31.26
user 29.60
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/751908/ft1_filtered_4FGL_J1015.0+4926_daily_bin1158.fits', '/scratch/kocevski/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.fits', expMap='/scratch/kocevski/751908/expmap_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.fits', expCube='/scratch/kocevski/751908/ltcube_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/751908/Model_4FGL_J1015.0+4926_daily_bin1158.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1015.0+4926'

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  6.965e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
364        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
365         beta:  4.278e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
366           Eb:  1.022e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/751908/ft1_filtered_4FGL_J1015.0+4926_daily_bin1158.fits
Spacecraft file(s): /scratch/kocevski/751908/ft2_4FGL_J1015.0+4926_daily_bin1158.fits
Exposure map: /scratch/kocevski/751908/expmap_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.fits
Exposure cube: /scratch/kocevski/751908/ltcube_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/751908/Model_4FGL_J1015.0+4926_daily_bin1158.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) = 2451.71773611

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4122       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.400       1.0000         .10000E-03   10000.    
     3 'norm      '    3.4198       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.197       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4555       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    75.598       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.370       1.0000         .10000E-03   10000.    
    11 'norm      '    .10240E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    107.23       1.0000         .10000E-03   10000.    
    14 'norm      '    1.6287       1.0000         .10000E-03   10000.    
    15 'norm      '    9.0192       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.6232       1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.571       1.0000         .10000E-03   10000.    
    18 'norm      '    8.7333       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    50.555       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.5896       1.0000         .10000E-03   10000.    
    23 'norm      '    2.7881       1.0000         .10000E-03   10000.    
    24 'norm      '    2.2936       1.0000         .10000E-03   10000.    
    25 'Prefactor '    14.618       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    114.08       1.0000         .10000E-03   10000.    
    29 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    219.46       1.0000         .10000E-03   10000.    
    31 'Prefactor '    20.386       1.0000         .10000E-03   10000.    
    32 'Prefactor '    104.13       1.0000         .10000E-03   10000.    
    33 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .61788       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .98480       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2451.559     FROM MIGRAD    STATUS=CONVERGED    976 CALLS     5866 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4311        57.858        .32274E-06   -.41526E-05
   2  Prefactor     15.316        351.91        .18514E-05   -.58942E-04
   3  norm          3.4195        1.1692        .79318E-07    .29424E-03
   4  Prefactor     .10000E-03    8.2005       -.76561E-06** at limit **
   5  Prefactor     26.196        21.597        .19641E-06   -.15958E-04
   6  Prefactor     2.4553        7.2992        .19353E-05    .21362E-05
   7  Prefactor     .10000E-03    23.586       -.33632E-06** at limit **
   8  norm          .10000E-03    23.411        .11998E-06** at limit **
   9  Prefactor     75.604        51.981        .13599E-05    .68175E-05
  10  Prefactor     21.371        20.073       -.38215E-05   -.12713E-03
  11  norm          .10000E-03    20.458        .35635E-06** at limit **
  12  Prefactor     .10000E-03    57.726       -.37202E-06** at limit **
  13  Prefactor     107.26        85.292        .22636E-05    .89874E-04
  14  norm          1.6286        1.0119        .40030E-08   -.11015E-03
  15  norm          9.0195        18.463       -.15062E-05   -.23406E-04
  16  Prefactor     4.6242        12.469        .11495E-04   -.49513E-04
  17  Prefactor     32.575        48.289        .18859E-05   -.11714E-04
  18  norm          8.7333        4.8526       -.17843E-06   -.47886E-04
  19  Prefactor     .10000E-03    38.959        .56377E-06** at limit **
  20  norm          .10000E-03    11.427       -.66003E-07** at limit **
  21  Prefactor     50.559        53.666        .56423E-06   -.24465E-05
  22  Prefactor     1.5898        5.0964        .70264E-06    .10643E-04
  23  norm          2.7881        7.3046        .88048E-07    .37371E-05
  24  norm          2.2932        2.4916        .56081E-07    .23349E-04
  25  Prefactor     14.617        46.163        .77539E-06   -.46353E-05
  26  Prefactor     .10000E-03    317.43        .36102E-05** at limit **
  27  Prefactor     .10000E-03    76.752        .32411E-06** at limit **
  28  Prefactor     114.08        136.13        .17861E-05   -.10500E-04
  29  norm          .10000E-03    1.2984        .76327E-07** at limit **
  30  Prefactor     219.61        144.41        .62279E-05    .31792E-03
  31  Prefactor     20.388        28.591        .31405E-06   -.11762E-04
  32  Prefactor     104.12        147.97        .90285E-06   -.10762E-04
  33  norm          .10000E-03    36.751       -.32727E-06** at limit **
  34  Normalizat    .61753        .32300       -.12210E-04    .76939E-04
  35  Prefactor     .98511        .34934        .74387E-05   -.14704E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.43105
  Prefactor  = 15.3165
  norm       = 3.41948
  Prefactor  = 0.0001
  Prefactor  = 26.1964
  Prefactor  = 2.45528
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 75.6037
  Prefactor  = 21.371
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 107.263
  norm       = 1.62857
  norm       = 9.01949
  Prefactor  = 4.62425
  Prefactor  = 32.5746
  norm       = 8.7333
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 50.5593
  Prefactor  = 1.58982
  norm       = 2.78814
  norm       = 2.29324
  Prefactor  = 14.617
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 114.08
  norm       = 0.0001
  Prefactor  = 219.606
  Prefactor  = 20.3881
  Prefactor  = 104.115
  norm       = 0.0001
  Normalizat = 0.617525
  Prefactor  = 0.98511
 **********
 **   18 **HESSE 
 **********

 FCN=   2451.559     FROM HESSE     STATUS=OK           772 CALLS     6638 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4311        56.795        .15850E-03   -1.5201    
   2  Prefactor     15.316        351.32        .10206E-03   -1.4925    
   3  norm          3.4195        1.1591        .29490E-04   -1.5338    
   4  Prefactor     .10000E-03    8.3744        .27348E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.196        21.568        .78268E-04   -1.4684    
   6  Prefactor     2.4553        7.2062        .19618E-03   -1.5395    
   7  Prefactor     .10000E-03    23.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    23.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     75.604        52.139        .46181E-04   -1.3967    
  10  Prefactor     21.371        20.199        .86645E-04   -1.4783    
  11  norm          .10000E-03    20.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    57.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     107.26        85.390        .38838E-04   -1.3633    
  14  norm          1.6286        1.0121        .37307E-04   -1.5453    
  15  norm          9.0195        18.459        .13346E-03   -1.5107    
  16  Prefactor     4.6242        12.586        .93594E-03   -1.5278    
  17  Prefactor     32.575        48.419        .70211E-04   -1.4566    
  18  norm          8.7333        4.8551        .79007E-04   -1.5117    
  19  Prefactor     .10000E-03    39.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    11.473        .16326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     50.559        53.918        .56403E-04   -1.4285    
  22  Prefactor     1.5898        5.0242        .18759E-03   -1.5456    
  23  norm          2.7881        7.3030        .13429E-03   -1.5374    
  24  norm          2.2932        2.4910        .78381E-04   -1.5405    
  25  Prefactor     14.617        46.054        .10476E-03   -1.4943    
  26  Prefactor     .10000E-03    317.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    76.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     114.08        136.34        .37667E-04   -1.3568    
  29  norm          .10000E-03    1.3035        .55040E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     219.61        146.48        .13651E-03   -1.2733    
  31  Prefactor     20.388        28.567        .88709E-04   -1.4805    
  32  Prefactor     104.12        148.10        .39406E-04   -1.3664    
  33  norm          .10000E-03    36.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .61753        .36163        .29107E-03   -1.0724    
  35  Prefactor     .98511        .39438        .30224E-03   -.93228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01576e-09
Minuit parameter uncertainties:
  1  38.2714
  2  147.699
  3  1.15906
  4  2.36426e-05
  5  21.5743
  6  7.20878
  7  5.40837e-05
  8  3.03193e-05
  9  52.1709
  10  20.2055
  11  2.91672e-05
  12  3.35292e-05
  13  85.488
  14  1.01208
  15  18.4708
  16  12.5929
  17  48.477
  18  4.85527
  19  0.000277618
  20  2.22659e-06
  21  53.97
  22  5.02553
  23  7.30532
  24  2.49116
  25  46.1667
  26  0.000887927
  27  1.7642e-05
  28  136.722
  29  2.41291e-07
  30  146.721
  31  28.5858
  32  148.626
  33  0.000208237
  34  0.363032
  35  0.395542
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  8.733e+00  4.855e+00  1.000e-04  1.000e+04 ( 1.000e-12)
364        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
365         beta:  4.278e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
366           Eb:  1.022e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  9.851e-01  3.955e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  6.175e-01  3.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 32.34
Ra Dec: 153.768 49.434
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 6.09e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 7.04e-05 +/- 3.91e-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) = 2449.16164137
delta logL = 2.39719194242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2448.81868753
delta logL = 2.7401457832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4849       1.0000         .10000E-03   10000.    
     2 'alpha     '    .87088       1.0000          .0000       5.0000    
     3 'Normalizat'    .63684       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98244       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2448.819     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      213 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4807        3.1771        .47531E-02   -.18259E-03
   2  alpha         .86989        .29011        .13843       -.20639E-05
   3  Normalizat    .63623        .25394        .64848E-01    .20912E-05
   4  Prefactor     .98293        .32920        .68415E-01    .63424E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.4807
  alpha      = 0.869888
  Normalizat = 0.636232
  Prefactor  = 0.982934
 **********
 **   18 **HESSE 
 **********

 FCN=   2448.819     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4807        4.1273        .59462E-04   -1.5285    
   2  alpha         .86989        .37780        .60868E-03   -.71028    
   3  Normalizat    .63623        .29097        .28694E-03   -1.0647    
   4  Prefactor     .98293        .37741        .30261E-03   -.93301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82455e-12
Minuit parameter uncertainties:
  1  4.12757
  2  0.38035
  3  0.291677
  4  0.378424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/751908': 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) = 2448.81868002
delta logL = 2.74015328893

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  4.481e+00  4.128e+00  1.000e-04  1.000e+04 ( 1.000e-12)
364        alpha:  8.699e-01  3.803e-01  0.000e+00  5.000e+00 ( 1.000e+00)
365         beta:  4.278e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
366           Eb:  1.022e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  9.829e-01  3.784e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  6.362e-01  2.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 37.75
Ra Dec: 153.768 49.434
Photon Index (Free Index): 0.87 +/- 0.38
Photon Flux (Free Index): 2.97e-08 +/- 1.87e-08
Energy Flux (Free Index): 4.07e-04 +/- 3.44e-04

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/751908/cmap_HighResolution_539481601_539740801_4FGL_J1015.0+4926_daily_bin1158.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.09e-08', energy_flux2='4.07e-04', photon_flux_error='3.38e-08', dlogl='2.74e+00', energy_flux='7.04e-05', photon_flux2='2.97e-08', job_status='DONE', time_completed='2021-09-01 15:01:34.281284', photon_index_error2='0.38', photon_index2='0.87', ts='32.34', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.44e-04', EG='0.62', time_epoch_completed='1630533694.28', return_code='0', job_id='751908', GAL2='0.98', EG2='0.64', return_code2='0', energy_flux_error='3.91e-05', photon_flux_error2='1.87e-08', ts2='37.75', photon_index='1.75' WHERE bin_id='1158' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 15:01:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 751908: <4FGL_J1015.0+4926_daily_bin1158> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1158> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 14:46:02 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 14:46:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 14:46:07 2021
Terminated at Wed Sep  1 15:01:34 2021
Results reported at Wed Sep  1 15:01:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1158 153.768 49.4336 539481601 539740801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1015.0+4926 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   667.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            932 sec.

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

