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


Performing analysis on: 4FGL_J1015.0+4926_monthly_bin168
RA = 153.768, Dec = 49.4336
tmin = 672451201, tmax = 675043201
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='629416', job_status='RUN', time_executed='2022-05-24 02:52:56.256588', time_epoch_executed='1653385976.26' WHERE source_name='4FGL J1015.0+4926' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/629416

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/629416/ft1_4FGL_J1015.0+4926_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/629416/ft2_4FGL_J1015.0+4926_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/629416/ft1_4FGL_J1015.0+4926_monthly_bin168.fits outfile=/scratch/kocevski/629416/ft1_filteredMKT_4FGL_J1015.0+4926_monthly_bin168.fits ra=153.768 dec=49.4336 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.77
user 27.99
sys 0.62

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/629416/ft2_4FGL_J1015.0+4926_monthly_bin168.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/629416/ft1_filteredMKT_4FGL_J1015.0+4926_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/629416/ft1_filtered_4FGL_J1015.0+4926_monthly_bin168.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.86
user 0.65
sys 0.19

Number of photons that the gtmktime cut: 8094

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/629416/ft1_filtered_4FGL_J1015.0+4926_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/629416/ft2_4FGL_J1015.0+4926_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/629416/ltcube_672451201_675043201_4FGL_J1015.0+4926_monthly_bin168.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/629416/ft2_4FGL_J1015.0+4926_monthly_bin168.fits
.....................!
real 129.08
user 127.96
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/629416/ft1_filtered_4FGL_J1015.0+4926_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/629416/ft2_4FGL_J1015.0+4926_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/629416/ltcube_672451201_675043201_4FGL_J1015.0+4926_monthly_bin168.fits outfile=/scratch/kocevski/629416/expmap_672451201_675043201_4FGL_J1015.0+4926_monthly_bin168.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/629416/ltcube_672451201_675043201_4FGL_J1015.0+4926_monthly_bin168.fits
.....................!
real 192.96
user 186.72
sys 5.77

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 225 point sources and 0 extended sources

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

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/629416/ft1_filtered_4FGL_J1015.0+4926_monthly_bin168.fits scfile=/scratch/kocevski/629416/ft2_4FGL_J1015.0+4926_monthly_bin168.fits outfile=/scratch/kocevski/629416/cmap_672451201_675043201_4FGL_J1015.0+4926_monthly_bin168.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.79
user 0.63
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/629416/ft1_filtered_4FGL_J1015.0+4926_monthly_bin168.fits scfile=/scratch/kocevski/629416/ft2_4FGL_J1015.0+4926_monthly_bin168.fits outfile=/scratch/kocevski/629416/cmap_HighResolution_672451201_675043201_4FGL_J1015.0+4926_monthly_bin168.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.83
user 0.62
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .32481E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .11401       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .71696       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.9221       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8411       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.3487       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7200       1.0000         .10000E-03   10000.    
    11 'norm      '    .99816       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.7749       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5463       1.0000         .10000E-03   10000.    
    14 'norm      '    1.5069       1.0000         .10000E-03   10000.    
    15 'norm      '    4.3836       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .64066E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.400       1.0000         .10000E-03   10000.    
    18 'norm      '    5.7761       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.2646       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.626       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.1286       1.0000         .10000E-03   10000.    
    24 'norm      '    3.5800       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    30.535       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    2.1987       1.0000         .10000E-03   10000.    
    30 'Prefactor '    8.0766       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.0455       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.0566       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   88274.54     FROM MIGRAD    STATUS=CONVERGED    993 CALLS     4468 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    4.6712         .0000    ** at limit **
   2  Prefactor     .10000E-03    2.4433         .0000    ** at limit **
   3  norm          .11397        .13808         .0000        .27523E-01
   4  Prefactor     .71726        1.0709         .0000        .19639E-01
   5  Prefactor     6.9219        2.1596         .0000        .17234E-02
   6  Prefactor     2.8412        .89846         .0000        .59877E-02
   7  Prefactor     .10000E-03    1.3781         .0000    ** at limit **
   8  norm          .10000E-03    .67111         .0000    ** at limit **
   9  Prefactor     1.3491        5.0743         .0000        .41294E-01
  10  Prefactor     2.7196        1.5750         .0000        .19607    
  11  norm          .99791        1.2085         .0000        .61816E-02
  12  Prefactor     5.7751        7.7131         .0000        .65050E-02
  13  Prefactor     6.5483        7.8010         .0000        .57716E-03
  14  norm          1.5069        .14603         .0000        .15669E-02
  15  norm          4.3835        2.5118         .0000        .42028E-01
  16  Prefactor     .67086E-01    .23106         .0000        .55276E-02
  17  Prefactor     13.398        6.8966         .0000       -.21052E-03
  18  norm          5.7761        .75240         .0000       -.15549E-02
  19  Prefactor     .10002E-03    4.3479         .0000    ** at limit **
  20  norm          1.2666        2.3612         .0000        .75156E-02
  21  Prefactor     12.627        4.8673         .0000        .88700E-02
  22  Prefactor     .10000E-03    .21708         .0000    ** at limit **
  23  norm          2.1286        .67368         .0000        .89326E-03
  24  norm          3.5800        .45195         .0000        .31913E-04
  25  Prefactor     .10001E-03    1.5605         .0000    ** at limit **
  26  Prefactor     .10002E-03    5.6857         .0000    ** at limit **
  27  Prefactor     30.535        18.942         .0000       -.31760E-03
  28  Prefactor     .10000E-03    6.1965         .0000    ** at limit **
  29  norm          2.1988        .48134         .0000        .92366E-03
  30  Prefactor     8.0778        7.8218         .0000        .34776E-03
  31  Prefactor     .10000E-03    1.7226         .0000    ** at limit **
  32  Prefactor     .10000E-03    3.8032         .0000    ** at limit **
  33  norm          .10003E-03    6.2913         .0000    ** at limit **
  34  Normalizat    1.0454        .45720E-01     .0000       -.33177E-03
  35  Prefactor     1.0566        .56416E-01     .0000       -.36942E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100015
  Prefactor  = 0.000100001
  norm       = 0.113972
  Prefactor  = 0.717261
  Prefactor  = 6.92191
  Prefactor  = 2.84118
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.34907
  Prefactor  = 2.71956
  norm       = 0.997906
  Prefactor  = 5.77514
  Prefactor  = 6.54835
  norm       = 1.50691
  norm       = 4.38346
  Prefactor  = 0.0670861
  Prefactor  = 13.3983
  norm       = 5.77606
  Prefactor  = 0.000100017
  norm       = 1.26659
  Prefactor  = 12.6268
  Prefactor  = 0.0001
  norm       = 2.12864
  norm       = 3.58003
  Prefactor  = 0.000100006
  Prefactor  = 0.000100022
  Prefactor  = 30.5354
  Prefactor  = 0.000100003
  norm       = 2.19876
  Prefactor  = 8.07775
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100026
  Normalizat = 1.04543
  Prefactor  = 1.05665
 **********
 **   18 **HESSE 
 **********

 FCN=   88274.54     FROM HESSE     STATUS=OK           802 CALLS     5270 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    4.8844        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4618        .17932       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11397        .96974E-01    .67982E-03   -1.5640    
   4  Prefactor     .71726        .80650        .20587E-03   -1.5539    
   5  Prefactor     6.9219        2.1542        .15249E-03   -1.5182    
   6  Prefactor     2.8412        .89117        .14750E-03   -1.5371    
   7  Prefactor     .10000E-03    1.3945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .67268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.3491        5.0127        .18842E-02   -1.5476    
  10  Prefactor     2.7196        1.5566        .12347E-02   -1.5378    
  11  norm          .99791        .99094        .32814E-02   -1.5508    
  12  Prefactor     5.7751        7.5935        .83567E-03   -1.5227    
  13  Prefactor     6.5483        7.5357        .15685E-03   -1.5196    
  14  norm          1.5069        .14585        .33874E-04   -1.5462    
  15  norm          4.3835        2.5057        .96183E-03   -1.5289    
  16  Prefactor     .67086E-01    3.5480        .24452E-02   -1.5656    
  17  Prefactor     13.398        6.8432        .10942E-03   -1.4976    
  18  norm          5.7761        .75208        .89831E-04   -1.5227    
  19  Prefactor     .10002E-03    4.4464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.2666        2.3059        .39623E-03   -1.5483    
  21  Prefactor     12.627        4.9049        .56365E-03   -1.4997    
  22  Prefactor     .10000E-03    .50952        .26065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.1286        .67644        .11214E-03   -1.5416    
  24  norm          3.5800        .45181        .68626E-04   -1.5330    
  25  Prefactor     .10001E-03    7.8356        .70984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10002E-03    5.7104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     30.535        18.938        .72508E-04   -1.4602    
  28  Prefactor     .10000E-03    6.2099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          2.1988        .48044        .92472E-04   -1.5411    
  30  Prefactor     8.0778        7.8220        .14108E-03   -1.5139    
  31  Prefactor     .10000E-03    1.7522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    3.8125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  norm          .10003E-03    6.4592        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    1.0454        .53556E-01    .22630E-03   -.91524    
  35  Prefactor     1.0566        .66563E-01    .29546E-03   -.90864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34361e-07
Minuit parameter uncertainties:
  1  0.000546197
  2  8.41398e-05
  3  0.096974
  4  0.806516
  5  2.15423
  6  0.891176
  7  7.00661e-06
  8  6.23105e-06
  9  5.01423
  10  1.55659
  11  0.990957
  12  7.59472
  13  7.53682
  14  0.145849
  15  2.50575
  16  0.975086
  17  6.84364
  18  0.752082
  19  0.000545854
  20  2.30607
  21  4.9051
  22  2.14495e-06
  23  0.67644
  24  0.45181
  25  0.000424499
  26  0.000708763
  27  18.9416
  28  0.000289667
  29  0.480437
  30  7.82301
  31  4.53854e-06
  32  7.21876e-05
  33  0.000825243
  34  0.0535588
  35  0.0665677
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  5.776e+00  7.521e-01  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:  1.057e+00  6.657e-02  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.045e+00  5.356e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 282.26
Ra Dec: 153.768 49.434
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 4.03e-08 +/- 5.24e-09
Energy Flux (Fixed Index): 4.66e-05 +/- 6.06e-06

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) = 88274.1724254
delta logL = 0.371031506656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 88274.150489
delta logL = 0.392967939886

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6185       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6570       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0503       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0541       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=   88274.15     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      221 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6184        .80467        .42370E-02   -.47306E-03
   2  alpha         1.6570        .97127E-01    .27484       -.26085E-03
   3  Normalizat    1.0503        .42735E-01    .40538E-01    .11417E-03
   4  Prefactor     1.0541        .55997E-01    .66869E-01    .17633E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.61843
  alpha      = 1.65697
  Normalizat = 1.05028
  Prefactor  = 1.05408
 **********
 **   18 **HESSE 
 **********

 FCN=   88274.15     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6184        .77655        .90592E-04   -1.5234    
   2  alpha         1.6570        .10377        .10927E-01   -.34395    
   3  Normalizat    1.0503        .50404E-01    .22586E-03   -.91364    
   4  Prefactor     1.0541        .66035E-01    .29581E-03   -.90948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1203e-09
Minuit parameter uncertainties:
  1  0.77655
  2  0.103804
  3  0.0504063
  4  0.0660399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/629416': 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) = 88274.150489
delta logL = 0.392967944659

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  5.618e+00  7.765e-01  1.000e-04  1.000e+04 ( 1.000e-12)
364        alpha:  1.657e+00  1.038e-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:  1.054e+00  6.604e-02  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.050e+00  5.041e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 282.76
Ra Dec: 153.768 49.434
Photon Index (Free Index): 1.66 +/- 0.10
Photon Flux (Free Index): 3.59e-08 +/- 6.67e-09
Energy Flux (Free Index): 5.35e-05 +/- 1.13e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/629416/cmap_HighResolution_672451201_675043201_4FGL_J1015.0+4926_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.03e-08', energy_flux2='5.35e-05', photon_flux_error='5.24e-09', dlogl='3.93e-01', energy_flux='4.66e-05', photon_flux2='3.59e-08', job_status='DONE', time_completed='2022-05-24 05:37:56.851500', photon_index_error2='0.10', photon_index2='1.66', ts='282.26', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.13e-05', EG='1.05', time_epoch_completed='1653395876.85', return_code='0', job_id='629416', GAL2='1.05', EG2='1.05', return_code2='0', energy_flux_error='6.06e-06', photon_flux_error2='6.67e-09', ts2='282.76', photon_index='1.75' WHERE bin_id='168' AND source_name='4FGL J1015.0+4926' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 05:37:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 629416: <4FGL_J1015.0+4926_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1015.0+4926_monthly_bin168> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue May 24 02:50:26 2022
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:52:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 02:52:09 2022
Terminated at Tue May 24 05:37:58 2022
Results reported at Tue May 24 05:37:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_monthly_bin168 153.768 49.4336 672451201 675043201 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 :                                   9869.00 sec.
    Max Memory :                                 1264 MB
    Average Memory :                             449.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9948 sec.
    Turnaround time :                            10052 sec.

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

