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


Performing analysis on: 4FGL_J1015.0+4926_daily_bin1181
RA = 153.768, Dec = 49.4336
tmin = 545443201, tmax = 545702401
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='751940', job_status='RUN', time_executed='2021-09-01 14:49:21.367250', time_epoch_executed='1630532961.37' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1181'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/751940

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/751940/ft1_4FGL_J1015.0+4926_daily_bin1181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/751940/ft2_4FGL_J1015.0+4926_daily_bin1181.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/751940/ft1_4FGL_J1015.0+4926_daily_bin1181.fits outfile=/scratch/kocevski/751940/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1181.fits ra=153.768 dec=49.4336 rad=12.0 tmin=545443201.0 tmax=545702401.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 4.22
user 3.96
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/751940/ft1_filtered_4FGL_J1015.0+4926_daily_bin1181.fits" evtable="EVENTS" scfile=/scratch/kocevski/751940/ft2_4FGL_J1015.0+4926_daily_bin1181.fits sctable="SC_DATA" outfile=/scratch/kocevski/751940/ltcube_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.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/751940/ft2_4FGL_J1015.0+4926_daily_bin1181.fits
.....................!
real 14.33
user 13.91
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/751940/ft1_filtered_4FGL_J1015.0+4926_daily_bin1181.fits evtable="EVENTS" scfile=/scratch/kocevski/751940/ft2_4FGL_J1015.0+4926_daily_bin1181.fits sctable="SC_DATA" expcube=/scratch/kocevski/751940/ltcube_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.fits outfile=/scratch/kocevski/751940/expmap_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.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/751940/ltcube_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.fits
.....................!
real 192.80
user 186.20
sys 5.61

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/751940/ft1_filtered_4FGL_J1015.0+4926_daily_bin1181.fits scfile=/scratch/kocevski/751940/ft2_4FGL_J1015.0+4926_daily_bin1181.fits outfile=/scratch/kocevski/751940/cmap_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/751940/ft1_filtered_4FGL_J1015.0+4926_daily_bin1181.fits scfile=/scratch/kocevski/751940/ft2_4FGL_J1015.0+4926_daily_bin1181.fits outfile=/scratch/kocevski/751940/cmap_HighResolution_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.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/751940/ft1_filtered_4FGL_J1015.0+4926_daily_bin1181.fits evtable="EVENTS" scfile=/scratch/kocevski/751940/ft2_4FGL_J1015.0+4926_daily_bin1181.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/751940/Model_4FGL_J1015.0+4926_daily_bin1181.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/751940/ft1_filtered_4FGL_J1015.0+4926_daily_bin1181.fits............................!
real 16.46
user 15.18
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/751940/ft1_filtered_4FGL_J1015.0+4926_daily_bin1181.fits', '/scratch/kocevski/751940/ft2_4FGL_J1015.0+4926_daily_bin1181.fits', expMap='/scratch/kocevski/751940/expmap_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.fits', expCube='/scratch/kocevski/751940/ltcube_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/751940/Model_4FGL_J1015.0+4926_daily_bin1181.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/751940/ft1_filtered_4FGL_J1015.0+4926_daily_bin1181.fits
Spacecraft file(s): /scratch/kocevski/751940/ft2_4FGL_J1015.0+4926_daily_bin1181.fits
Exposure map: /scratch/kocevski/751940/expmap_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.fits
Exposure cube: /scratch/kocevski/751940/ltcube_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/751940/Model_4FGL_J1015.0+4926_daily_bin1181.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 369.780349165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 363.628286978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8972       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1636       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2723       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6534       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13565       1.0000         .10000E-03   10000.    
     8 'norm      '    .14487E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    156.22       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7319       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0299       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .93621       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.8846       1.0000         .10000E-03   10000.    
    14 'norm      '    1.6918       1.0000         .10000E-03   10000.    
    15 'norm      '    113.27       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .25189       1.0000         .10000E-03   10000.    
    17 'Prefactor '    110.14       1.0000         .10000E-03   10000.    
    18 'norm      '    .43616E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3057       1.0000         .10000E-03   10000.    
    20 'norm      '    4.6563       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.2455       1.0000         .10000E-03   10000.    
    22 'Prefactor '    42.964       1.0000         .10000E-03   10000.    
    23 'norm      '    4.6580       1.0000         .10000E-03   10000.    
    24 'norm      '    1.7184       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .17550E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.4313       1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.7572       1.0000         .10000E-03   10000.    
    28 'Prefactor '    492.49       1.0000         .10000E-03   10000.    
    29 'norm      '    2.5251       1.0000         .10000E-03   10000.    
    30 'Prefactor '    7.7127       1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.7144       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .19147E-03   1.0000         .10000E-03   10000.    
    33 'norm      '    622.67       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    .76790       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=   363.6162     FROM MIGRAD    STATUS=CONVERGED    221 CALLS      597 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8972        1.0398         .0000         .0000    
   2  Prefactor     4.1636        1.0074         .0000         .0000    
   3  norm          .10000E-03    3.6224       -.34746E-07** at limit **
   4  Prefactor     .10000E-03    48.493       -.48282E-06** at limit **
   5  Prefactor     .15596E-03    1184.5       -.10182E-05** at limit **
   6  Prefactor     1.6534        1.0551         .0000         .0000    
   7  Prefactor     .10001E-03    493.04       -.35921E-05** at limit **
   8  norm          .10000E-03    104.55        .32626E-06** at limit **
   9  Prefactor     164.21        102.39        .18709E-04    .14417E-01
  10  Prefactor     1.7319        1.0493         .0000         .0000    
  11  norm          1.0299        1.2706         .0000         .0000    
  12  Prefactor     .10000E-03    212.79       -.72631E-06** at limit **
  13  Prefactor     8.8846        1.0016         .0000         .0000    
  14  norm          1.6918        1.0522         .0000         .0000    
  15  norm          113.27        43.194       -.30706E-05    .29154E-01
  16  Prefactor     .10000E-03    242.67        .77782E-07** at limit **
  17  Prefactor     96.090        193.86       -.44620E-04    .50373E-02
  18  norm          .10000E-03    77.866        .70179E-06** at limit **
  19  Prefactor     7.3057        1.0024         .0000         .0000    
  20  norm          10.614        101.24        .63215E-04    .13201E-03
  21  Prefactor     9.2455        1.0015         .0000         .0000    
  22  Prefactor     42.852        25.206       -.95800E-06   -.16488E-04
  23  norm          4.6580        1.0059         .0000         .0000    
  24  norm          1.7184        1.0502         .0000         .0000    
  25  Prefactor     .10000E-03    70.520        .11756E-06** at limit **
  26  Prefactor     .10007E-03    601.87        .13271E-05** at limit **
  27  Prefactor     5.7572        1.0038         .0000         .0000    
  28  Prefactor     498.49        154.30        .13189E-05   -.19594E-01
  29  norm          2.5251        1.0211         .0000         .0000    
  30  Prefactor     .47090E-02    2288.5       -.74543E-04   -.10320E-02
  31  Prefactor     2.7144        1.0181         .0000         .0000    
  32  Prefactor     .10001E-03    333.22        .56665E-05** at limit **
  33  norm          619.36        84.228       -.65222E-06    .28015E-01
  34  Normalizat    .10000E-01    2.2715       -.45187E-04** at limit **
  35  Prefactor     .73392        .60491       -.42849E-04   -.16034E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89722
  Prefactor  = 4.1636
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000155961
  Prefactor  = 1.65345
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 164.21
  Prefactor  = 1.73194
  norm       = 1.02988
  Prefactor  = 0.000100001
  Prefactor  = 8.8846
  norm       = 1.69183
  norm       = 113.273
  Prefactor  = 0.000100001
  Prefactor  = 96.0903
  norm       = 0.0001
  Prefactor  = 7.30573
  norm       = 10.6138
  Prefactor  = 9.24549
  Prefactor  = 42.8518
  norm       = 4.65798
  norm       = 1.71843
  Prefactor  = 0.0001
  Prefactor  = 0.000100073
  Prefactor  = 5.75724
  Prefactor  = 498.492
  norm       = 2.52509
  Prefactor  = 0.00470896
  Prefactor  = 2.71437
  Prefactor  = 0.000100012
  norm       = 619.356
  Normalizat = 0.01
  Prefactor  = 0.733918
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   363.6162     FROM HESSE     STATUS=FAILED         9 CALLS      606 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     570.70        568.66         .0000       -1.5432    
   2  Prefactor     4.1636        1.0074         .0000       -1.5300    
   3  norm          .10000E-03    .20571       -.34746E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .20571       -.48282E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15596E-03    .11597       -.10182E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6534        1.0551         .0000       -1.5451    
   7  Prefactor     .10001E-03    .23425       -.35921E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .26260        .32626E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     164.21        1.0248        .18709E-04   -1.3138    
  10  Prefactor     1.7319        1.0493         .0000       -1.5445    
  11  norm          1.0299        1.2706         .0000       -1.5505    
  12  Prefactor     .10000E-03    .41849       -.72631E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.8846        1.0016         .0000       -1.5112    
  14  norm          1.6918        1.0522         .0000       -1.5448    
  15  norm          113.27        1.0000       -.30706E-05   -1.3575    
  16  Prefactor     .10000E-03    .26071        .77782E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     96.090        .93472       -.44620E-04   -1.3744    
  18  norm          .10000E-03    .23485        .70179E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.3057        1.0024         .0000       -1.5167    
  20  norm          10.614        1.5182        .63215E-04   -1.5056    
  21  Prefactor     9.2455        1.0015         .0000       -1.5100    
  22  Prefactor     42.852        .99876       -.95800E-06   -1.4398    
  23  norm          4.6580        1.0059         .0000       -1.5276    
  24  norm          1.7184        1.0502         .0000       -1.5446    
  25  Prefactor     .10000E-03    .20571        .11756E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10007E-03    .74503E-01    .13271E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     5.7572        1.0038         .0000       -1.5228    
  28  Prefactor     498.49        1.0058        .13189E-05   -1.1205    
  29  norm          2.5251        1.0211         .0000       -1.5390    
  30  Prefactor     .47090E-02    .32577E-01   -.74543E-04   -1.5722    
  31  Prefactor     2.7144        1.0181         .0000       -1.5378    
  32  Prefactor     .10001E-03    .20571        .56665E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  norm          619.36        .99751       -.65222E-06   -1.0678    
  34  Normalizat    .10000E-01    .25768       -.45187E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     .73392        1.0942       -.42849E-04   -1.0221    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.91542e-10
Minuit parameter uncertainties:
  1  1.0398
  2  1.0074
  3  3.30424e-07
  4  7.54933e-06
  5  0.00509494
  6  1.05516
  7  9.00053e-05
  8  1.45541e-05
  9  1.02485
  10  1.0493
  11  1.27062
  12  4.69007e-05
  13  1.00159
  14  1.05216
  15  1.00001
  16  3.50099e-05
  17  0.934723
  18  2.88065e-06
  19  1.00236
  20  1.51823
  21  1.00147
  22  0.998764
  23  1.00588
  24  1.05024
  25  2.11266e-08
  26  0.000147354
  27  1.00382
  28  1.00576
  29  1.02109
  30  0.0245067
  31  1.01806
  32  9.79557e-05
  33  0.997514
  34  2.56466e-06
  35  1.12912
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 363.616182254

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  1.000e-04  2.881e-06  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:  7.339e-01  1.129e+00  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:  1.000e-02  2.565e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 153.768 49.434
Photon Flux Upper Limit: 1.20e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/751940/likelihoodResults_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.txt

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): 102
logL (Free Index) = 363.616243354
delta logL = -6.11004363122e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 363.616182652
delta logL = -3.98484132802e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10659E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3288       1.0000          .0000       5.0000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73394       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   363.6162     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      296 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1398.6        .15001E-01** at limit **
   2  alpha         1.9601        3.0382        .16510        .10353E-06
   3  Normalizat    .10000E-01    .88508E-01    .93319E-02** at limit **
   4  Prefactor     .73392        .79955E-01    .29725E-03    .56366E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.96015
  Normalizat = 0.01
  Prefactor  = 0.733919
 **********
 **   18 **HESSE 
 **********

 FCN=   363.6162     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      323 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9794.9        .16880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9601        2.8270        .66039E-01   -.21765    
   3  Normalizat    .10000E-01    1.8220        .18664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .73392        .37241        .11890E-04   -1.0221    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9873e-07
Minuit parameter uncertainties:
  1  0.0075049
  2  9469.07
  3  2.12863e-06
  4  0.373689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/751940': 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): 102
logL (Free Index) = 363.616182209
delta logL = 4.45365344603e-08

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  1.000e-04  7.505e-03  1.000e-04  1.000e+04 ( 1.000e-12)
364        alpha:  1.960e+00  9.469e+03  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:  7.339e-01  3.737e-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:  1.000e-02  2.129e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 153.768 49.434

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/751940/cmap_HighResolution_545443201_545702401_4FGL_J1015.0+4926_daily_bin1181.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.20e-06', time_completed='2021-09-01 14:55:14.246087', job_id='751940', GAL2='0.73', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630533314.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.73', dlogl='4.45e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1181' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 14:55:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 751940: <4FGL_J1015.0+4926_daily_bin1181> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1181 153.768 49.4336 545443201 545702401 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 :                                   351.57 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             342.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   536 sec.
    Turnaround time :                            551 sec.

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

