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 64 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_J1415.5+4830_monthly_bin168
RA = 213.899, Dec = 48.5142
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='635403', job_status='RUN', time_executed='2022-05-24 03:15:16.470529', time_epoch_executed='1653387316.47' WHERE source_name='4FGL J1415.5+4830' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635403

Creating custom pfile directory:
/scratch/kocevski/635403/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/635403/ft1_4FGL_J1415.5+4830_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/635403/ft2_4FGL_J1415.5+4830_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635403/ft1_4FGL_J1415.5+4830_monthly_bin168.fits outfile=/scratch/kocevski/635403/ft1_filteredMKT_4FGL_J1415.5+4830_monthly_bin168.fits ra=213.899 dec=48.5142 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.79
user 28.00
sys 0.67

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/635403/ft2_4FGL_J1415.5+4830_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/635403/ft2_4FGL_J1415.5+4830_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/635403/ft1_filteredMKT_4FGL_J1415.5+4830_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/635403/ft1_filtered_4FGL_J1415.5+4830_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.66
sys 0.19

Number of photons that the gtmktime cut: 8268

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/635403/ft1_filtered_4FGL_J1415.5+4830_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/635403/ft2_4FGL_J1415.5+4830_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/635403/ltcube_672451201_675043201_4FGL_J1415.5+4830_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/635403/ft2_4FGL_J1415.5+4830_monthly_bin168.fits
.....................!
real 133.36
user 132.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635403/ft1_filtered_4FGL_J1415.5+4830_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/635403/ft2_4FGL_J1415.5+4830_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/635403/ltcube_672451201_675043201_4FGL_J1415.5+4830_monthly_bin168.fits outfile=/scratch/kocevski/635403/expmap_672451201_675043201_4FGL_J1415.5+4830_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/635403/ltcube_672451201_675043201_4FGL_J1415.5+4830_monthly_bin168.fits
.....................!
real 193.37
user 187.37
sys 5.49

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 205 point sources and 0 extended sources

Setting source of interest to:
4FGL J1415.5+4830 @ 213.899 48.5142

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/635403/ft1_filtered_4FGL_J1415.5+4830_monthly_bin168.fits scfile=/scratch/kocevski/635403/ft2_4FGL_J1415.5+4830_monthly_bin168.fits outfile=/scratch/kocevski/635403/cmap_672451201_675043201_4FGL_J1415.5+4830_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=213.899 yref=48.5142 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.61
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/635403/ft1_filtered_4FGL_J1415.5+4830_monthly_bin168.fits scfile=/scratch/kocevski/635403/ft2_4FGL_J1415.5+4830_monthly_bin168.fits outfile=/scratch/kocevski/635403/cmap_HighResolution_672451201_675043201_4FGL_J1415.5+4830_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=213.899 yref=48.5142 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.81
user 0.61
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/635403/ft1_filtered_4FGL_J1415.5+4830_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/635403/ft2_4FGL_J1415.5+4830_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/635403/Model_4FGL_J1415.5+4830_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/635403/ft1_filtered_4FGL_J1415.5+4830_monthly_bin168.fits.....................!
real 577.40
user 572.85
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/635403/ft1_filtered_4FGL_J1415.5+4830_monthly_bin168.fits', '/scratch/kocevski/635403/ft2_4FGL_J1415.5+4830_monthly_bin168.fits', expMap='/scratch/kocevski/635403/expmap_672451201_675043201_4FGL_J1415.5+4830_monthly_bin168.fits', expCube='/scratch/kocevski/635403/ltcube_672451201_675043201_4FGL_J1415.5+4830_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/635403/Model_4FGL_J1415.5+4830_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1415.5+4830'

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.339e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  1.944e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/635403/ft1_filtered_4FGL_J1415.5+4830_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/635403/ft2_4FGL_J1415.5+4830_monthly_bin168.fits
Exposure map: /scratch/kocevski/635403/expmap_672451201_675043201_4FGL_J1415.5+4830_monthly_bin168.fits
Exposure cube: /scratch/kocevski/635403/ltcube_672451201_675043201_4FGL_J1415.5+4830_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/635403/Model_4FGL_J1415.5+4830_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) = 90043.3039625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5165       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.895       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1728       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28889E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1870       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .27782E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.141       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .26068       1.0000         .10000E-03   10000.    
    10 'norm      '    4.0619       1.0000         .10000E-03   10000.    
    11 'norm      '    .51876       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1240       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.367       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.5473       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .80578       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.3791       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.9095       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.3415       1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.040       1.0000         .10000E-03   10000.    
    21 'norm      '    3.1165       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.9077       1.0000         .10000E-03   10000.    
    23 'Prefactor '    16.580       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.624       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.3100       1.0000         .10000E-03   10000.    
    27 'Prefactor '    27.474       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.1558       1.0000         .10000E-03   10000.    
    30 'norm      '    2.0657       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .96323       1.0000         .10000E-03   10000.    
    33 'Prefactor '    9.1985       1.0000         .10000E-03   10000.    
    34 'norm      '    1.1179       1.0000         .10000E-03   10000.    
    35 'Prefactor '    .17959       1.0000         .10000E-03   10000.    
    36 'Normalizat'    1.0455       1.0000         .10000E-01   10.000    
    37 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90043.15     FROM MIGRAD    STATUS=CONVERGED   1097 CALLS     4942 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5165        .70481         .0000        .41351E-02
   2  Prefactor     10.896        7.6316         .0000        .25764E-03
   3  Prefactor     5.1728        3.1979         .0000       -.15207E-02
   4  Prefactor     .10000E-03    1.6070         .0000    ** at limit **
   5  norm          1.1873        .93029         .0000        .15291E-01
   6  Prefactor     .10005E-03    2.4499         .0000    ** at limit **
   7  Prefactor     27.140        17.095         .0000       -.23163E-03
   8  Prefactor     .10000E-03    9.2202         .0000    ** at limit **
   9  norm          .26070        .22044         .0000        .14123E-01
  10  norm          4.0627        6.0875         .0000        .22076E-03
  11  norm          .51897        .71426         .0000        .24284E-01
  12  norm          1.1243        2.7592         .0000        .13205    
  13  Prefactor     25.367        9.6919         .0000        .46444E-03
  14  Prefactor     .10000E-03    1.4147         .0000    ** at limit **
  15  Prefactor     9.5473        8.3300         .0000        .53407E-03
  16  Prefactor     .80593        .54330         .0000        .11836E-02
  17  Prefactor     5.3794        4.4889         .0000        .18018E-01
  18  Prefactor     6.9096        4.4147         .0000        .15919E-01
  19  Prefactor     4.3415        .76748         .0000        .23348E-02
  20  Prefactor     14.040        5.6748         .0000       -.58122E-03
  21  norm          3.1164        2.4320         .0000        .15016E-02
  22  Prefactor     5.9077        4.5271         .0000        .10805E-01
  23  Prefactor     16.581        6.7124         .0000        .42925E-02
  24  Prefactor     .10000E-03    11.153         .0000    ** at limit **
  25  Prefactor     11.625        6.7283         .0000        .30275E-03
  26  Prefactor     2.3102        3.4703         .0000        .12210E-02
  27  Prefactor     27.474        8.9770         .0000       -.31158E-03
  28  Prefactor     .10000E-03    .77720         .0000    ** at limit **
  29  Prefactor     2.1596        4.2328         .0000        .26837E-02
  30  norm          2.0657        .37734         .0000        .44148E-02
  31  Prefactor     .10000E-03    .33362         .0000    ** at limit **
  32  Prefactor     .96204        .93236         .0000        .95580E-02
  33  Prefactor     9.1996        2.4182         .0000        .12656E-02
  34  norm          1.1174        .69111         .0000        .93084E-02
  35  Prefactor     .18689        .58736         .0000        .59116E-02
  36  Normalizat    1.0455        .47905E-01     .0000        .21111E-02
  37  Prefactor     1.0067        .52070E-01     .0000        .16384E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.51655
  Prefactor  = 10.896
  Prefactor  = 5.17278
  Prefactor  = 0.000100003
  norm       = 1.18729
  Prefactor  = 0.000100049
  Prefactor  = 27.1398
  Prefactor  = 0.0001
  norm       = 0.260701
  norm       = 4.06274
  norm       = 0.518972
  norm       = 1.12425
  Prefactor  = 25.367
  Prefactor  = 0.0001
  Prefactor  = 9.54727
  Prefactor  = 0.805926
  Prefactor  = 5.37941
  Prefactor  = 6.90964
  Prefactor  = 4.34152
  Prefactor  = 14.0402
  norm       = 3.11642
  Prefactor  = 5.90773
  Prefactor  = 16.5808
  Prefactor  = 0.0001
  Prefactor  = 11.6247
  Prefactor  = 2.31019
  Prefactor  = 27.4739
  Prefactor  = 0.0001
  Prefactor  = 2.15955
  norm       = 2.0657
  Prefactor  = 0.0001
  Prefactor  = 0.962039
  Prefactor  = 9.19955
  norm       = 1.11738
  Prefactor  = 0.18689
  Normalizat = 1.04548
  Prefactor  = 1.00665
 **********
 **   18 **HESSE 
 **********

 FCN=   90043.15     FROM HESSE     STATUS=OK           897 CALLS     5839 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5165        .69676        .16472E-03   -1.5462    
   2  Prefactor     10.896        7.2254        .12138E-03   -1.5048    
   3  Prefactor     5.1728        3.1304        .17676E-03   -1.5253    
   4  Prefactor     .10000E-03    11.925        .68017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1873        .89853        .22526E-03   -1.5490    
   6  Prefactor     .10005E-03    2.5703        .13946       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.140        17.108        .76898E-04   -1.4666    
   8  Prefactor     .10000E-03    9.5419        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .26070        .20101        .12148E-02   -1.5606    
  10  norm          4.0627        6.0705        .20006E-03   -1.5305    
  11  norm          .51897        .70189        .28012E-03   -1.5564    
  12  norm          1.1243        2.7362        .22109E-02   -1.5496    
  13  Prefactor     25.367        9.6819        .79536E-04   -1.4700    
  14  Prefactor     .10000E-03    1.4517        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.5473        8.3028        .12970E-03   -1.5090    
  16  Prefactor     .80593        .54730        .17511E-03   -1.5528    
  17  Prefactor     5.3794        4.4932        .86636E-03   -1.5244    
  18  Prefactor     6.9096        4.3733        .76314E-03   -1.5182    
  19  Prefactor     4.3415        .76359        .96223E-04   -1.5291    
  20  Prefactor     14.040        5.6323        .10689E-03   -1.4958    
  21  norm          3.1164        2.4218        .22968E-03   -1.5355    
  22  Prefactor     5.9077        4.5085        .82608E-03   -1.5222    
  23  Prefactor     16.581        6.6942        .49181E-03   -1.4893    
  24  Prefactor     .10000E-03    11.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     11.625        6.7252        .11750E-03   -1.5026    
  26  Prefactor     2.3102        3.4464        .26995E-03   -1.5404    
  27  Prefactor     27.474        8.9734        .76431E-04   -1.4659    
  28  Prefactor     .10000E-03    7.2313        .49435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     2.1596        3.9565        .28059E-03   -1.5414    
  30  norm          2.0657        .37387        .73713E-04   -1.5421    
  31  Prefactor     .10000E-03    1.3790        .32063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .96204        .85617        .25714E-02   -1.5512    
  33  Prefactor     9.1996        2.3234        .13214E-03   -1.5101    
  34  norm          1.1174        .67785        .17839E-03   -1.5497    
  35  Prefactor     .18689        3.6340        .36926E-02   -1.5622    
  36  Normalizat    1.0455        .55690E-01    .22434E-03   -.91522    
  37  Prefactor     1.0067        .61090E-01    .27292E-03   -.92508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65752e-08
Minuit parameter uncertainties:
  1  0.696767
  2  7.22602
  3  3.13049
  4  0.000378531
  5  0.898541
  6  0.000711202
  7  17.1106
  8  7.50465e-05
  9  0.201008
  10  6.07142
  11  0.701905
  12  2.73652
  13  9.6825
  14  3.16575e-06
  15  8.30377
  16  0.547303
  17  4.49347
  18  4.37349
  19  0.763596
  20  5.63253
  21  2.42189
  22  4.50874
  23  6.69455
  24  9.20645e-05
  25  6.72568
  26  3.44671
  27  8.97382
  28  1.80622e-05
  29  3.95696
  30  0.373875
  31  9.9204e-06
  32  0.856177
  33  2.32344
  34  0.677858
  35  1.6479
  36  0.0556933
  37  0.0610938
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  8.059e-01  5.473e-01  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  1.944e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.007e+00  6.109e-02  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.045e+00  5.569e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.94
Ra Dec: 213.899 48.514
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 3.43e-09 +/- 2.33e-09
Energy Flux (Fixed Index): 2.73e-06 +/- 1.85e-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) = 90041.9157267
delta logL = 1.22991291173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90041.9152989
delta logL = 1.23034072966

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60315       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1885       1.0000          .0000       10.000    
     3 'Normalizat'    1.0469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0071       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+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=   90041.92     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      275 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60316        .53612        .22489E-02   -.19740E-02
   2  Index         1.1883        .45898        .25220E-01   -.11915E-03
   3  Normalizat    1.0469        .49999E-01    .22419E-03   -.34832E-02
   4  Prefactor     1.0071        .60110E-01    .27285E-03   -.24746E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.603159
  Index      = 1.18832
  Normalizat = 1.04693
  Prefactor  = 1.00714
 **********
 **   18 **HESSE 
 **********

 FCN=   90041.92     FROM HESSE     STATUS=OK            27 CALLS      302 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60316        .54877        .89956E-04   -1.5553    
   2  Index         1.1883        .46957        .10088E-02   -.86692    
   3  Normalizat    1.0469        .50048E-01    .44838E-04   -.91474    
   4  Prefactor     1.0071        .60170E-01    .10914E-04   -.92492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7236e-10
Minuit parameter uncertainties:
  1  0.548776
  2  0.471236
  3  0.0500506
  4  0.0601737
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635403': 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) = 90041.9152987
delta logL = 1.23034090572

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  6.032e-01  5.488e-01  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  1.188e+00  4.712e-01  0.000e+00  1.000e+01 (-1.000e+00)
324        Scale:  2.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.007e+00  6.017e-02  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.047e+00  5.005e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.38
Ra Dec: 213.899 48.514
Photon Index (Free Index): 1.19 +/- 0.47
Photon Flux (Free Index): 9.10e-10 +/- 9.37e-10
Energy Flux (Free Index): 7.87e-06 +/- 7.34e-06

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/635403/cmap_HighResolution_672451201_675043201_4FGL_J1415.5+4830_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.43e-09', energy_flux2='7.87e-06', photon_flux_error='2.33e-09', dlogl='1.23e+00', energy_flux='2.73e-06', photon_flux2='9.10e-10', job_status='DONE', time_completed='2022-05-24 06:04:02.071391', photon_index_error2='0.47', photon_index2='1.19', ts='8.94', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='7.34e-06', EG='1.05', time_epoch_completed='1653397442.07', return_code='0', job_id='635403', GAL2='1.01', EG2='1.05', return_code2='0', energy_flux_error='1.85e-06', photon_flux_error2='9.37e-10', ts2='11.38', photon_index='1.94' WHERE bin_id='168' AND source_name='4FGL J1415.5+4830' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 06:04:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 635403: <4FGL_J1415.5+4830_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1415.5+4830_monthly_bin168> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue May 24 03:10:30 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 03:14:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 03:14:03 2022
Terminated at Tue May 24 06:06:19 2022
Results reported at Tue May 24 06:06:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_monthly_bin168 213.899 48.5142 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1415.5+4830 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9823.00 sec.
    Max Memory :                                 1100 MB
    Average Memory :                             427.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10261 sec.
    Turnaround time :                            10549 sec.

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

