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


Performing analysis on: 4FGL_J1015.0+4926_daily_bin1756
RA = 153.768, Dec = 49.4336
tmin = 694483201, tmax = 694742401
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='10428', job_status='RUN', time_executed='2023-01-07 00:43:06.167290', time_epoch_executed='1673080986.17' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10428

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10428/ft1_4FGL_J1015.0+4926_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10428/ft2_4FGL_J1015.0+4926_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10428/ft1_4FGL_J1015.0+4926_daily_bin1756.fits outfile=/scratch/kocevski/10428/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1756.fits ra=153.768 dec=49.4336 rad=12.0 tmin=694483201.0 tmax=694742401.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 3.04
user 2.75
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/10428/ft2_4FGL_J1015.0+4926_daily_bin1756.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/10428/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/10428/ft1_filtered_4FGL_J1015.0+4926_daily_bin1756.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.51
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 272

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10428/ft1_filtered_4FGL_J1015.0+4926_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/10428/ft2_4FGL_J1015.0+4926_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/10428/ltcube_694483201_694742401_4FGL_J1015.0+4926_daily_bin1756.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/10428/ft2_4FGL_J1015.0+4926_daily_bin1756.fits
.....................!
real 16.34
user 15.86
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10428/ft1_filtered_4FGL_J1015.0+4926_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/10428/ft2_4FGL_J1015.0+4926_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/10428/ltcube_694483201_694742401_4FGL_J1015.0+4926_daily_bin1756.fits outfile=/scratch/kocevski/10428/expmap_694483201_694742401_4FGL_J1015.0+4926_daily_bin1756.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/10428/ltcube_694483201_694742401_4FGL_J1015.0+4926_daily_bin1756.fits
.....................!
real 193.49
user 187.45
sys 5.43

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/10428/ft1_filtered_4FGL_J1015.0+4926_daily_bin1756.fits scfile=/scratch/kocevski/10428/ft2_4FGL_J1015.0+4926_daily_bin1756.fits outfile=/scratch/kocevski/10428/cmap_694483201_694742401_4FGL_J1015.0+4926_daily_bin1756.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10428/ft1_filtered_4FGL_J1015.0+4926_daily_bin1756.fits scfile=/scratch/kocevski/10428/ft2_4FGL_J1015.0+4926_daily_bin1756.fits outfile=/scratch/kocevski/10428/cmap_HighResolution_694483201_694742401_4FGL_J1015.0+4926_daily_bin1756.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.100       1.0000          .0000       .10000E+07
     2 'norm      '    .98255E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10583E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30570E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .56326E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2470       1.0000          .0000       .10000E+07
     7 'norm      '    19.903       1.0000          .0000       .10000E+07
     8 'Prefactor '    .26309E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .87443E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .12364E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    12.599       1.0000          .0000       .10000E+07
    12 'Prefactor '    .26836E-02   1.0000          .0000       .10000E+07
    13 'norm      '    1.5328       1.0000          .0000       .10000E+07
    14 'norm      '    .30867E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    11.031       1.0000          .0000       .10000E+07
    16 'norm      '    3.3174       1.0000          .0000       .10000E+07
    17 'Prefactor '    .40485E-02   1.0000          .0000       .10000E+07
    18 'norm      '    2.2638       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.8280       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.8989       1.0000          .0000       .10000E+07
    21 'norm      '    6.9978       1.0000          .0000       .10000E+07
    22 'norm      '    .83267E-09   1.0000          .0000       .10000E+07
    23 'Prefactor '    .59256       1.0000          .0000       .10000E+07
    24 'Prefactor '    .90425E-01   1.0000          .0000       .10000E+07
    25 'norm      '    1.5293       1.0000          .0000       .10000E+07
    26 'Prefactor '    7.6796       1.0000          .0000       .10000E+07
    27 'Prefactor '    14.042       1.0000          .0000       .10000E+07
    28 'Prefactor '    .18459E-04   1.0000          .0000       .10000E+07
    29 'norm      '    .28373E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0842       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .60544       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=   3074.998     FROM MIGRAD    STATUS=CONVERGED    210 CALLS     4121 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.863        6.1018       -.46207E-06    .54736E-01
   2  norm           .0000        .46959       -.34101E-06** at limit **
   3  Prefactor      .0000        3.2932        .31017E-06** at limit **
   4  Prefactor     .17076E-05    72.028        .67068E-05** at limit **
   5  Prefactor      .0000        3.9123       -.69092E-06** at limit **
   6  Prefactor     8.4951        26.546       -.15030E-05   -.38603E-01
   7  norm          20.028        4.9693        .31706E-06    .18526E-01
   8  Prefactor      .0000        32.565        .15722E-06** at limit **
   9  Prefactor     .55511E-10    7.1202        .94456E-06** at limit **
  10  norm          .55511E-10    6.8997       -.71045E-06** at limit **
  11  Prefactor     12.697        2.0420        .15230E-06    .40801E-02
  12  Prefactor     .11973E-05    9.9052       -.40180E-06** at limit **
  13  norm          1.5329        .74128        .72216E-07    .46316E-04
  14  norm          .83267E-09    10.647        .13269E-05** at limit **
  15  Prefactor     11.035        9.9065       -.10103E-05    .12693E-02
  16  norm          3.3230        4.2326        .55662E-06   -.12880E-02
  17  Prefactor     .27700E-07    16.483        .54176E-05** at limit **
  18  norm          2.2841        23.023        .40469E-05    .68220E-02
  19  Prefactor     4.9221        17.827       -.25184E-05   -.31794E-01
  20  Prefactor     4.9490        5.3691       -.69055E-07   -.14226E-02
  21  norm          6.9900        3.7987        .52631E-06    .38072E-02
  22  norm           .0000        1.1508       -.32903E-07** at limit **
  23  Prefactor     .32337E-05    161.97       -.12261E-04** at limit **
  24  Prefactor     .55511E-10    44.105        .15385E-05** at limit **
  25  norm          1.5332        1.7348        .48543E-06    .80544E-03
  26  Prefactor     8.1716        13.957       -.29643E-05    .53628E-01
  27  Prefactor     14.027        6.5574       -.10226E-05   -.15831    
  28  Prefactor     .23352E-05    375.64       -.32043E-05** at limit **
  29  norm          .60491E-06    8.3259       -.56560E-06** at limit **
  30  Normalizat    1.0834        .25055       -.14322E-05    .30058E-04
  31  Prefactor     .60543        .31413       -.63068E-05    .14566E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.8628
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.70763e-06
  Prefactor  = 0
  Prefactor  = 8.49514
  norm       = 20.0275
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 12.6973
  Prefactor  = 1.19726e-06
  norm       = 1.53287
  norm       = 8.32667e-10
  Prefactor  = 11.0351
  norm       = 3.32304
  Prefactor  = 2.77001e-08
  norm       = 2.28412
  Prefactor  = 4.92214
  Prefactor  = 4.94898
  norm       = 6.98999
  norm       = 0
  Prefactor  = 3.23369e-06
  Prefactor  = 5.55112e-11
  norm       = 1.53316
  Prefactor  = 8.17159
  Prefactor  = 14.0274
  Prefactor  = 2.33524e-06
  norm       = 6.04905e-07
  Normalizat = 1.0834
  Prefactor  = 0.60543
 **********
 **   18 **HESSE 
 **********

 FCN=   3074.998     FROM HESSE     STATUS=OK           680 CALLS     4801 TOTAL
                     EDM=   .50E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.863        211.32        .16420E-03   -1.5587    
   2  norm           .0000        .46940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.2950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .17076E-05    81.686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.4951        34.038        .34887E-03   -1.5650    
   7  norm          20.028        38.049        .22423E-03   -1.5618    
   8  Prefactor      .0000        32.480        .16652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    7.1292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    6.8980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.697        191.88        .28195E-03   -1.5637    
  12  Prefactor     .11973E-05    17.813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.5329        .74032        .72856E-03   -1.5683    
  14  norm          .83267E-09    10.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.035        9.9018        .30140E-03   -1.5642    
  16  norm          3.3230        4.2557        .55553E-03   -1.5672    
  17  Prefactor     .27700E-07    16.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.2841        23.498        .68242E-03   -1.5678    
  19  Prefactor     4.9221        41.584        .45760E-03   -1.5664    
  20  Prefactor     4.9490        5.3909        .45420E-03   -1.5663    
  21  norm          6.9900        4.6557        .37900E-03   -1.5655    
  22  norm           .0000        1.1236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .32337E-05    185.89        .69897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .55511E-10    44.075        .14194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.5332        1.8102        .86285E-03   -1.5683    
  26  Prefactor     8.1716        98.155        .36162E-03   -1.5651    
  27  Prefactor     14.027        18.476        .26704E-03   -1.5633    
  28  Prefactor     .23352E-05    378.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .60491E-06    17.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0834        .22161        .38681E-01   -.90287    
  31  Prefactor     .60543        .27420        .74894E-01   -1.0736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04983e-06
Minuit parameter uncertainties:
  1  176.532
  2  2.48658e-06
  3  3.87796e-06
  4  0.0236213
  5  1.26263e-05
  6  34.0095
  7  38.049
  8  6.75965e-06
  9  3.85275e-05
  10  3.9918e-05
  11  98.7235
  12  0.00923625
  13  0.740321
  14  0.000185601
  15  9.90185
  16  4.25573
  17  0.00136004
  18  14.6524
  19  28.6137
  20  5.39091
  21  4.65575
  22  2.79347e-06
  23  0.0490362
  24  0.000101169
  25  1.81025
  26  56.6433
  27  18.4763
  28  0.059445
  29  0.00654127
  30  0.221805
  31  0.274812
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  3.323e+00  4.256e+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:  6.054e-01  2.748e-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.083e+00  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.84
Ra Dec: 153.768 49.434
Photon Flux Upper Limit: 9.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.09e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/10428/likelihoodResults_694483201_694742401_4FGL_J1015.0+4926_daily_bin1756.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): 0
logL (Free Index) = 3074.97986159
delta logL = 0.0184419338766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3074.97964514
delta logL = 0.0186583815589

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3230       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5854       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60054       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=   3074.980     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      203 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3190        5.4151        .55505E-03    .19867E-02
   2  alpha         1.5852        .84244        .30868       -.23742E-04
   3  Normalizat    1.0883        .21097        .38496E-01   -.13091E-05
   4  Prefactor     .60064        .27259        .75159E-01    .16765E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.31898
  alpha      = 1.58522
  Normalizat = 1.08827
  Prefactor  = 0.600637
 **********
 **   18 **HESSE 
 **********

 FCN=   3074.980     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3190        4.1910        .12139E-04   -1.5672    
   2  alpha         1.5852        .78103        .15260E-01   -.37461    
   3  Normalizat    1.0883        .24284        .19853E-03   -.90129    
   4  Prefactor     .60064        .31142        .33277E-03   -1.0756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38741e-12
Minuit parameter uncertainties:
  1  4.191
  2  0.796494
  3  0.243089
  4  0.312322
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10428': 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) = 3074.97964466
delta logL = 0.0186588608422

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  3.319e+00  4.191e+00  0.000e+00  1.000e+06 ( 1.000e-12)
364        alpha:  1.585e+00  7.965e-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:  6.006e-01  3.123e-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.088e+00  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.84
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/10428/cmap_HighResolution_694483201_694742401_4FGL_J1015.0+4926_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-04', job_status='DONE', photon_flux_upper_limit='9.41e-08', time_completed='2023-01-07 00:54:04.316843', job_id='10428', GAL2='0.60', fit_tolerance='1e-08', EG2='1.09', EG='1.08', time_epoch_completed='1673081644.32', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='1.87e-02', ts2='0.88', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1756' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 00:54:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 10428: <4FGL_J1015.0+4926_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:40:18 2023
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:42:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:42:25 2023
Terminated at Sat Jan  7 00:54:05 2023
Results reported at Sat Jan  7 00:54:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1756 153.768 49.4336 694483201 694742401 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 :                                   659.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            827 sec.

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

