aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 119 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1015.0+4926_daily_bin1754
RA = 153.768, Dec = 49.4336
tmin = 693964801, tmax = 694224001
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='640593', job_status='RUN', time_executed='2023-01-01 01:04:08.118783', time_epoch_executed='1672563848.12' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/640593

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/640593/ft1_4FGL_J1015.0+4926_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/640593/ft2_4FGL_J1015.0+4926_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/640593/ft1_4FGL_J1015.0+4926_daily_bin1754.fits outfile=/scratch/kocevski/640593/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1754.fits ra=153.768 dec=49.4336 rad=12.0 tmin=693964801.0 tmax=694224001.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.03
user 3.81
sys 0.20

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

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

Number of photons that the gtmktime cut: 233

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/640593/ft1_filtered_4FGL_J1015.0+4926_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/640593/ft2_4FGL_J1015.0+4926_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/640593/ltcube_693964801_694224001_4FGL_J1015.0+4926_daily_bin1754.fits outfile=/scratch/kocevski/640593/expmap_693964801_694224001_4FGL_J1015.0+4926_daily_bin1754.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/640593/ltcube_693964801_694224001_4FGL_J1015.0+4926_daily_bin1754.fits
.....................!
real 191.68
user 185.99
sys 5.28

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/640593/ft1_filtered_4FGL_J1015.0+4926_daily_bin1754.fits scfile=/scratch/kocevski/640593/ft2_4FGL_J1015.0+4926_daily_bin1754.fits outfile=/scratch/kocevski/640593/cmap_693964801_694224001_4FGL_J1015.0+4926_daily_bin1754.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/640593/ft1_filtered_4FGL_J1015.0+4926_daily_bin1754.fits scfile=/scratch/kocevski/640593/ft2_4FGL_J1015.0+4926_daily_bin1754.fits outfile=/scratch/kocevski/640593/cmap_HighResolution_693964801_694224001_4FGL_J1015.0+4926_daily_bin1754.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/640593/ft1_filtered_4FGL_J1015.0+4926_daily_bin1754.fits', '/scratch/kocevski/640593/ft2_4FGL_J1015.0+4926_daily_bin1754.fits', expMap='/scratch/kocevski/640593/expmap_693964801_694224001_4FGL_J1015.0+4926_daily_bin1754.fits', expCube='/scratch/kocevski/640593/ltcube_693964801_694224001_4FGL_J1015.0+4926_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/640593/Model_4FGL_J1015.0+4926_daily_bin1754.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  0.000e+00  1.000e+06 ( 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 -5.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/640593/ft1_filtered_4FGL_J1015.0+4926_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/640593/ft2_4FGL_J1015.0+4926_daily_bin1754.fits
Exposure map: /scratch/kocevski/640593/expmap_693964801_694224001_4FGL_J1015.0+4926_daily_bin1754.fits
Exposure cube: /scratch/kocevski/640593/ltcube_693964801_694224001_4FGL_J1015.0+4926_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/640593/Model_4FGL_J1015.0+4926_daily_bin1754.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) = 2547.96996594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.852       1.0000          .0000       .10000E+07
     2 'norm      '    .10645E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.3110       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.0764       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45044E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.4887       1.0000          .0000       .10000E+07
     7 'norm      '    .59984E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    21.165       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.568       1.0000          .0000       .10000E+07
    10 'norm      '    .43581E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.5463       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11165E-01   1.0000          .0000       .10000E+07
    13 'norm      '    1.7771       1.0000          .0000       .10000E+07
    14 'norm      '    .51946E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10396E-02   1.0000          .0000       .10000E+07
    16 'norm      '    4.0090       1.0000          .0000       .10000E+07
    17 'Prefactor '    .96509E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .23609E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .16800       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.0485       1.0000          .0000       .10000E+07
    21 'norm      '    11.685       1.0000          .0000       .10000E+07
    22 'norm      '    .10956E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .61877E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    30.718       1.0000          .0000       .10000E+07
    25 'norm      '    .86310       1.0000          .0000       .10000E+07
    26 'Prefactor '    .93294       1.0000          .0000       .10000E+07
    27 'Prefactor '    4.2037       1.0000          .0000       .10000E+07
    28 'Prefactor '    .22254E-01   1.0000          .0000       .10000E+07
    29 'norm      '    78.576       1.0000          .0000       .10000E+07
    30 'Normalizat'    .71654       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0070       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=   2547.929     FROM MIGRAD    STATUS=CONVERGED    212 CALLS     2942 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.226        40.343       -.62034E-06   -.53192E-01
   2  norm           .0000        .43826        .31607E-07** at limit **
   3  Prefactor     6.3120        4.4498        .22007E-07    .24239E-03
   4  Prefactor     4.9995        9.8443        .40131E-06   -.58922E-01
   5  Prefactor      .0000        3.0360        .25815E-07** at limit **
   6  Prefactor     5.6130        27.772       -.94482E-06    .11626E-01
   7  norm          .55511E-10    10.196        .12023E-06** at limit **
   8  Prefactor     21.986        12.164        .32210E-06    .53822E-01
   9  Prefactor     19.648        11.071        .59350E-07    .24468E-01
  10  norm          .55511E-10    7.1129        .10659E-06** at limit **
  11  Prefactor     4.0300        9.8730        .60348E-06    .61065E-02
  12  Prefactor      .0000        11.171       -.33985E-07** at limit **
  13  norm          1.7791        .85892        .12863E-07    .89663E-03
  14  norm           .0000        7.7162        .21328E-06** at limit **
  15  Prefactor      .0000        3.3162       -.42307E-07** at limit **
  16  norm          4.0114        2.9750        .13609E-07    .14483E-03
  17  Prefactor     .44131E-07    45.619        .18780E-06** at limit **
  18  norm          .16653E-09    8.1225       -.28136E-07** at limit **
  19  Prefactor     .72164E-09    3.2962        .13128E-06** at limit **
  20  Prefactor     7.1263        8.0187        .22748E-07   -.12146E-02
  21  norm          11.737        5.5365        .28233E-07   -.81692E-04
  22  norm           .0000        1.0684        .23199E-08** at limit **
  23  Prefactor     .17764E-08    73.153       -.52773E-06** at limit **
  24  Prefactor     33.931        111.31        .58685E-06   -.11392E-01
  25  norm          .84161        2.4866       -.24527E-07   -.96931E-03
  26  Prefactor     .78266        6.6915       -.16985E-06    .64018E-02
  27  Prefactor     4.6322        8.1092        .46081E-06    .95588E-02
  28  Prefactor     .55511E-10    38.049        .32265E-06** at limit **
  29  norm          79.080        28.330       -.10371E-06    .17795    
  30  Normalizat    .71079        .27160       -.61642E-05   -.78689E-04
  31  Prefactor     1.0104        .33484        .24262E-05   -.54536E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.2262
  norm       = 0
  Prefactor  = 6.31198
  Prefactor  = 4.99948
  Prefactor  = 0
  Prefactor  = 5.61303
  norm       = 5.55112e-11
  Prefactor  = 21.9864
  Prefactor  = 19.6479
  norm       = 5.55112e-11
  Prefactor  = 4.02996
  Prefactor  = 0
  norm       = 1.7791
  norm       = 0
  Prefactor  = 0
  norm       = 4.01137
  Prefactor  = 4.41314e-08
  norm       = 1.66533e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 7.12627
  norm       = 11.7367
  norm       = 0
  Prefactor  = 1.77636e-09
  Prefactor  = 33.9314
  norm       = 0.84161
  Prefactor  = 0.782658
  Prefactor  = 4.63221
  Prefactor  = 5.55112e-11
  norm       = 79.0801
  Normalizat = 0.710788
  Prefactor  = 1.01042
 **********
 **   18 **HESSE 
 **********

 FCN=   2547.929     FROM HESSE     STATUS=OK           684 CALLS     3626 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.226        45.491        .19672E-03   -1.5604    
   2  norm           .0000        .43761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.3120        4.5276        .39933E-03   -1.5658    
   4  Prefactor     4.9995        16.835        .44603E-03   -1.5663    
   5  Prefactor      .0000        3.0267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.6130        36.474        .42864E-03   -1.5661    
   7  norm          .55511E-10    10.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.986        65.936        .21743E-03   -1.5614    
   9  Prefactor     19.648        11.997        .22614E-03   -1.5619    
  10  norm          .55511E-10    7.1141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0300        586.17        .53649E-03   -1.5668    
  12  Prefactor      .0000        11.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.7791        .85875        .71108E-03   -1.5681    
  14  norm           .0000        8.0291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.3226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.0114        2.9720        .50344E-03   -1.5668    
  17  Prefactor     .44131E-07    45.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16653E-09    8.1554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .72164E-09    68.499        .12376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.1263        8.0490        .37762E-03   -1.5655    
  21  norm          11.737        5.5765        .29281E-03   -1.5639    
  22  norm           .0000        1.0676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .17764E-08    77.127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     33.931        112.58        .18045E-03   -1.5591    
  25  norm          .84161        2.6171        .48345E-03   -1.5690    
  26  Prefactor     .78266        1254.5        .43509E-03   -1.5690    
  27  Prefactor     4.6322        68.843        .49128E-03   -1.5665    
  28  Prefactor     .55511E-10    38.048        .16893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          79.080        66.906        .11282E-03   -1.5530    
  30  Normalizat    .71079        .25076        .42511E-01   -1.0347    
  31  Prefactor     1.0104        .29351        .43804E-01   -.92383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7828e-06
Minuit parameter uncertainties:
  1  45.4914
  2  1.1062e-06
  3  4.5276
  4  16.8349
  5  3.26981e-06
  6  28.6169
  7  5.33006e-05
  8  65.9382
  9  11.9973
  10  3.30512e-05
  11  97.2158
  12  2.27555e-05
  13  0.858752
  14  9.95969e-06
  15  2.05461e-06
  16  2.97198
  17  0.00283925
  18  7.70872e-05
  19  0.000447229
  20  8.049
  21  5.57647
  22  6.9085e-07
  23  0.000737383
  24  112.59
  25  2.61714
  26  62.6811
  27  35.7159
  28  0.000102247
  29  66.9069
  30  0.251164
  31  0.293978
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  4.011e+00  2.972e+00  0.000e+00  1.000e+06 ( 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 -5.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:  1.010e+00  2.940e-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.108e-01  2.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.09
Ra Dec: 153.768 49.434
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.80e-08 +/- 2.07e-08
Energy Flux (Fixed Index): 3.23e-05 +/- 2.40e-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) = 2547.34386035
delta logL = 0.585286919373

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2547.32958724
delta logL = 0.599560027776

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5335       1.0000          .0000       .10000E+07
     2 'alpha     '    1.2095       1.0000          .0000       5.0000    
     3 'Normalizat'    .71956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0042       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=   2547.330     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      200 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5340        2.6260        .53750E-03   -.98286E-04
   2  alpha         1.2099        .39593        .21135       -.32541E-04
   3  Normalizat    .71982        .21864        .42551E-01   -.22368E-04
   4  Prefactor     1.0039        .28823        .44377E-01    .20509E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.53402
  alpha      = 1.20991
  Normalizat = 0.71982
  Prefactor  = 1.0039
 **********
 **   18 **HESSE 
 **********

 FCN=   2547.330     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5340        2.9116        .67875E-05   -1.5670    
   2  alpha         1.2099        .45305        .90356E-02   -.54222    
   3  Normalizat    .71982        .24926        .23546E-03   -1.0312    
   4  Prefactor     1.0039        .32866        .26522E-03   -.92600    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6584e-11
Minuit parameter uncertainties:
  1  2.9116
  2  0.456496
  3  0.249654
  4  0.329318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/640593': 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) = 2547.32958626
delta logL = 0.599561004901

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  3.534e+00  2.912e+00  0.000e+00  1.000e+06 ( 1.000e-12)
364        alpha:  1.210e+00  4.565e-01  0.000e+00  5.000e+00 ( 1.000e+00)
365         beta:  4.278e-02  0.000e+00 -5.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:  1.004e+00  3.293e-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.198e-01  2.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.29
Ra Dec: 153.768 49.434
Photon Index (Free Index): 1.21 +/- 0.46
Photon Flux (Free Index): 1.86e-08 +/- 1.49e-08
Energy Flux (Free Index): 1.05e-04 +/- 1.31e-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/640593/cmap_HighResolution_693964801_694224001_4FGL_J1015.0+4926_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.80e-08', energy_flux2='1.05e-04', photon_flux_error='2.07e-08', dlogl='6.00e-01', energy_flux='3.23e-05', photon_flux2='1.86e-08', job_status='DONE', time_completed='2023-01-01 01:12:50.808913', photon_index_error2='0.46', photon_index2='1.21', ts='10.09', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.31e-04', EG='0.71', time_epoch_completed='1672564370.81', return_code='0', job_id='640593', GAL2='1.00', EG2='0.72', return_code2='0', energy_flux_error='2.40e-05', photon_flux_error2='1.49e-08', ts2='11.29', photon_index='1.75' WHERE bin_id='1754' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:12:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 640593: <4FGL_J1015.0+4926_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan  1 01:00:20 2023
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:01:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:01:59 2023
Terminated at Sun Jan  1 01:12:51 2023
Results reported at Sun Jan  1 01:12:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1754 153.768 49.4336 693964801 694224001 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 :                                   524.54 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            751 sec.

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

