/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 22 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 = 7408
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1015.0+4926_daily_bin1170
RA = 153.768, Dec = 49.4336
tmin = 542592001, tmax = 542851201
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='751925', job_status='RUN', time_executed='2021-09-01 14:47:18.972156', time_epoch_executed='1630532838.97' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/751925

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/751925/ft1_4FGL_J1015.0+4926_daily_bin1170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/751925/ft2_4FGL_J1015.0+4926_daily_bin1170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/751925/ft1_4FGL_J1015.0+4926_daily_bin1170.fits outfile=/scratch/kocevski/751925/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1170.fits ra=153.768 dec=49.4336 rad=12.0 tmin=542592001.0 tmax=542851201.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 6.90
user 6.49
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/751925/ft2_4FGL_J1015.0+4926_daily_bin1170.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/751925/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1170.fits evtable="EVENTS" outfile="/scratch/kocevski/751925/ft1_filtered_4FGL_J1015.0+4926_daily_bin1170.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.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/751925/ft1_filtered_4FGL_J1015.0+4926_daily_bin1170.fits" evtable="EVENTS" scfile=/scratch/kocevski/751925/ft2_4FGL_J1015.0+4926_daily_bin1170.fits sctable="SC_DATA" outfile=/scratch/kocevski/751925/ltcube_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.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/751925/ft2_4FGL_J1015.0+4926_daily_bin1170.fits
.....................!
real 16.88
user 16.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/751925/ft1_filtered_4FGL_J1015.0+4926_daily_bin1170.fits evtable="EVENTS" scfile=/scratch/kocevski/751925/ft2_4FGL_J1015.0+4926_daily_bin1170.fits sctable="SC_DATA" expcube=/scratch/kocevski/751925/ltcube_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.fits outfile=/scratch/kocevski/751925/expmap_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.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/751925/ltcube_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.fits
.....................!
real 191.58
user 186.38
sys 4.52

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/751925/ft1_filtered_4FGL_J1015.0+4926_daily_bin1170.fits scfile=/scratch/kocevski/751925/ft2_4FGL_J1015.0+4926_daily_bin1170.fits outfile=/scratch/kocevski/751925/cmap_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/751925/ft1_filtered_4FGL_J1015.0+4926_daily_bin1170.fits scfile=/scratch/kocevski/751925/ft2_4FGL_J1015.0+4926_daily_bin1170.fits outfile=/scratch/kocevski/751925/cmap_HighResolution_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.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.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/751925/ft1_filtered_4FGL_J1015.0+4926_daily_bin1170.fits', '/scratch/kocevski/751925/ft2_4FGL_J1015.0+4926_daily_bin1170.fits', expMap='/scratch/kocevski/751925/expmap_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.fits', expCube='/scratch/kocevski/751925/ltcube_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/751925/Model_4FGL_J1015.0+4926_daily_bin1170.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/751925/ft1_filtered_4FGL_J1015.0+4926_daily_bin1170.fits
Spacecraft file(s): /scratch/kocevski/751925/ft2_4FGL_J1015.0+4926_daily_bin1170.fits
Exposure map: /scratch/kocevski/751925/expmap_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.fits
Exposure cube: /scratch/kocevski/751925/ltcube_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/751925/Model_4FGL_J1015.0+4926_daily_bin1170.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) = 4467.16198954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18920E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.826       1.0000         .10000E-03   10000.    
     3 'norm      '    .56173       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10759E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2368       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.414       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10759E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    96.658       1.0000         .10000E-03   10000.    
    13 'Prefactor '    79.293       1.0000         .10000E-03   10000.    
    14 'norm      '    .96356       1.0000         .10000E-03   10000.    
    15 'norm      '    .25391E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1359       1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.281       1.0000         .10000E-03   10000.    
    18 'norm      '    8.4739       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .28626E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .98008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .23622E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.2796       1.0000         .10000E-03   10000.    
    24 'norm      '    2.5382       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .12304E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .38626E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10087E-02   1.0000         .10000E-03   10000.    
    28 'Prefactor '    253.48       1.0000         .10000E-03   10000.    
    29 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    96.759       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10279       1.0000         .10000E-03   10000.    
    32 'Prefactor '    177.76       1.0000         .10000E-03   10000.    
    33 'norm      '    .52430E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .75971       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .67572       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4467.099     FROM MIGRAD    STATUS=CONVERGED    302 CALLS     3719 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    46.462       -.97444E-06** at limit **
   2  Prefactor     14.780        69.142       -.27594E-04    .18917E-02
   3  norm          .56354        .36048        .40478E-06   -.35859E-03
   4  Prefactor     .10000E-03    31.729        .30280E-04** at limit **
   5  Prefactor     .10000E-03    2.8971        .33504E-06** at limit **
   6  Prefactor     6.2538        4.4798       -.60296E-07    .50626E-04
   7  Prefactor     28.367        17.721        .22176E-05    .10664E-03
   8  norm          .10000E-03    6.0045       -.19524E-06** at limit **
   9  Prefactor     .10000E-03    8.1219       -.32601E-06** at limit **
  10  Prefactor     .10000E-03    2.9390       -.24287E-06** at limit **
  11  norm          .10000E-03    3.4331       -.97563E-07** at limit **
  12  Prefactor     96.776        21.972       -.21559E-05    .49473E-02
  13  Prefactor     79.534        44.110       -.37907E-05    .13029E-02
  14  norm          .96451        .48529       -.43111E-07   -.52877E-04
  15  norm          .10000E-03    14.817       -.32838E-05** at limit **
  16  Prefactor     6.1629        6.0385        .59514E-07    .10477E-04
  17  Prefactor     38.850        37.498       -.53741E-06   -.73105E-03
  18  norm          8.4848        4.3681       -.21018E-06    .35200E-04
  19  Prefactor     .10000E-03    18.466       -.44836E-06** at limit **
  20  norm          .10000E-03    35.079        .51594E-05** at limit **
  21  Prefactor     .10475E-03    95.845       -.10760E-04** at limit **
  22  Prefactor     .10000E-03    2.1818       -.19904E-06** at limit **
  23  norm          5.2866        3.5383        .13871E-05   -.80282E-05
  24  norm          2.5405        1.9062        .17356E-06    .73026E-04
  25  Prefactor     .10000E-03    21.944        .35551E-05** at limit **
  26  Prefactor     .10000E-03    45.105        .10351E-04** at limit **
  27  Prefactor     .11266E-03    101.52        .15299E-04** at limit **
  28  Prefactor     272.36        201.98        .65331E-06   -.29968E-02
  29  norm          .10000E-03    2.7717       -.14051E-06** at limit **
  30  Prefactor     96.830        24.666       -.67481E-06   -.39051E-01
  31  Prefactor     .10000E-03    183.50       -.15280E-04** at limit **
  32  Prefactor     183.47        136.85        .47664E-06    .73565E-02
  33  norm          .10000E-03    46.790        .16367E-05** at limit **
  34  Normalizat    .75726        .23321        .92795E-05    .40931E-04
  35  Prefactor     .67574        .24900       -.40458E-05    .33985E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 14.7796
  norm       = 0.563545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.2538
  Prefactor  = 28.3674
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 96.7758
  Prefactor  = 79.5338
  norm       = 0.964512
  norm       = 0.0001
  Prefactor  = 6.16287
  Prefactor  = 38.8498
  norm       = 8.48478
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000104752
  Prefactor  = 0.0001
  norm       = 5.2866
  norm       = 2.54047
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000112655
  Prefactor  = 272.356
  norm       = 0.0001
  Prefactor  = 96.8297
  Prefactor  = 0.000100002
  Prefactor  = 183.471
  norm       = 0.0001
  Normalizat = 0.757264
  Prefactor  = 0.675745
 **********
 **   18 **HESSE 
 **********

 FCN=   4467.099     FROM HESSE     STATUS=OK           848 CALLS     4567 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    45.808        .10139E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.780        69.251        .26930E-02   -1.4939    
   3  norm          .56354        .41295        .69512E-02   -1.5558    
   4  Prefactor     .10000E-03    1.3077        .58444E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.8959        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.2538        4.4947        .40185E-02   -1.5208    
   7  Prefactor     28.367        17.755        .18790E-02   -1.4642    
   8  norm          .10000E-03    6.0046        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.1321        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.9319        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.4243        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     96.776        45.188        .10221E-02   -1.3737    
  13  Prefactor     79.534        47.620        .11275E-02   -1.3922    
  14  norm          .96451        .48590        .71437E-02   -1.5512    
  15  norm          .10000E-03    14.623        .10729E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.1629        6.0391        .40519E-02   -1.5211    
  17  Prefactor     38.850        39.519        .15988E-02   -1.4461    
  18  norm          8.4848        4.3713        .34427E-02   -1.5125    
  19  Prefactor     .10000E-03    18.478        .10705E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    8.9257        .10388       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10475E-03    95.071        .10037E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.1671        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.2866        3.5731        .43731E-02   -1.5248    
  24  norm          2.5405        1.9043        .64086E-02   -1.5389    
  25  Prefactor     .10000E-03    21.846        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    45.226        .10640E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .11266E-03    102.56        .10378E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     272.36        202.80        .63622E-03   -1.2392    
  29  norm          .10000E-03    2.7099        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     96.830        86.993        .10216E-02   -1.3737    
  31  Prefactor     .10000E-03    183.28        .95245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     183.47        140.87        .75680E-03   -1.2991    
  33  norm          .10000E-03    46.905        .10567E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .75726        .20137        .43082E-01   -1.0167    
  35  Prefactor     .67574        .21370        .67661E-01   -1.0449    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31528e-05
Minuit parameter uncertainties:
  1  0.000379157
  2  64.1059
  3  0.412952
  4  2.092e-05
  5  1.35206e-06
  6  4.4949
  7  17.7585
  8  6.80663e-06
  9  2.54693e-06
  10  5.95748e-06
  11  1.38013e-06
  12  45.2038
  13  47.6425
  14  0.485902
  15  5.7952e-05
  16  6.03968
  17  39.5451
  18  4.37142
  19  2.08421e-05
  20  3.85918e-05
  21  0.0425788
  22  1.37877e-06
  23  3.57327
  24  1.90436
  25  2.54894e-05
  26  5.95353e-05
  27  0.0721786
  28  203.331
  29  5.31372e-06
  30  87.1076
  31  0.00108794
  32  141.129
  33  6.82065e-05
  34  0.201569
  35  0.213964
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  8.485e+00  4.371e+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:  6.757e-01  2.140e-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:  7.573e-01  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.20
Ra Dec: 153.768 49.434
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 5.91e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 6.84e-05 +/- 3.52e-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) = 4467.09159401
delta logL = 0.00773453891907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4467.08856818
delta logL = 0.0107603652214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1132       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6796       1.0000          .0000       5.0000    
     3 'Normalizat'    .76327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67319       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=   4467.089     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1074        4.2275        .35189E-02    .33326E-03
   2  alpha         1.6786        .36853        .24770       -.10883E-03
   3  Normalizat    .76368        .18152        .43129E-01   -.42933E-03
   4  Prefactor     .67289        .21319        .67810E-01   -.38107E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.10745
  alpha      = 1.67855
  Normalizat = 0.763675
  Prefactor  = 0.672889
 **********
 **   18 **HESSE 
 **********

 FCN=   4467.089     FROM HESSE     STATUS=OK            29 CALLS      231 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1074        5.0345        .95567E-04   -1.5138    
   2  alpha         1.6786        .47691        .99799E-02   -.33480    
   3  Normalizat    .76368        .21150        .23946E-03   -1.0143    
   4  Prefactor     .67289        .24696        .30007E-03   -1.0460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03767e-10
Minuit parameter uncertainties:
  1  5.0348
  2  0.480219
  3  0.211724
  4  0.247362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/751925': 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) = 4467.08856458
delta logL = 0.0107639704365

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  8.107e+00  5.035e+00  1.000e-04  1.000e+04 ( 1.000e-12)
364        alpha:  1.679e+00  4.802e-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:  6.729e-01  2.474e-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:  7.637e-01  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.12
Ra Dec: 153.768 49.434
Photon Index (Free Index): 1.68 +/- 0.48
Photon Flux (Free Index): 5.28e-08 +/- 4.93e-08
Energy Flux (Free Index): 7.41e-05 +/- 5.71e-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/751925/cmap_HighResolution_542592001_542851201_4FGL_J1015.0+4926_daily_bin1170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.91e-08', energy_flux2='7.41e-05', photon_flux_error='3.05e-08', dlogl='1.08e-02', energy_flux='6.84e-05', photon_flux2='5.28e-08', job_status='DONE', time_completed='2021-09-01 14:59:55.573063', photon_index_error2='0.48', photon_index2='1.68', ts='22.20', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='5.71e-05', EG='0.76', time_epoch_completed='1630533595.57', return_code='0', job_id='751925', GAL2='0.67', EG2='0.76', return_code2='0', energy_flux_error='3.52e-05', photon_flux_error2='4.93e-08', ts2='22.12', photon_index='1.75' WHERE bin_id='1170' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 14:59:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 751925: <4FGL_J1015.0+4926_daily_bin1170> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1170> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 14:46:03 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 14:46:11 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:11 2021
Terminated at Wed Sep  1 14:59:56 2021
Results reported at Wed Sep  1 14:59:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1170 153.768 49.4336 542592001 542851201 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 :                                   734.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            833 sec.

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

