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


Performing analysis on: 4FGL_J1415.5+4830_weekly_bin759
RA = 213.899, Dec = 48.5142
tmin = 698025601, tmax = 698630401
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='592276', job_status='RUN', time_executed='2023-02-21 03:40:40.443346', time_epoch_executed='1676979640.44' WHERE source_name='4FGL J1415.5+4830' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592276

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592276/ft1_4FGL_J1415.5+4830_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592276/ft2_4FGL_J1415.5+4830_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592276/ft1_4FGL_J1415.5+4830_weekly_bin759.fits outfile=/scratch/kocevski/592276/ft1_filteredMKT_4FGL_J1415.5+4830_weekly_bin759.fits ra=213.899 dec=48.5142 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.52
user 8.20
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592276/ft2_4FGL_J1415.5+4830_weekly_bin759.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/592276/ft1_filteredMKT_4FGL_J1415.5+4830_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/592276/ft1_filtered_4FGL_J1415.5+4830_weekly_bin759.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.54
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 1116

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592276/ft1_filtered_4FGL_J1415.5+4830_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/592276/ft2_4FGL_J1415.5+4830_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/592276/ltcube_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.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/592276/ft2_4FGL_J1415.5+4830_weekly_bin759.fits
.....................!
real 26.97
user 26.52
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592276/ft1_filtered_4FGL_J1415.5+4830_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/592276/ft2_4FGL_J1415.5+4830_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/592276/ltcube_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.fits outfile=/scratch/kocevski/592276/expmap_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.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/592276/ltcube_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.fits
.....................!
real 190.25
user 185.42
sys 4.46

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/592276/ft1_filtered_4FGL_J1415.5+4830_weekly_bin759.fits scfile=/scratch/kocevski/592276/ft2_4FGL_J1415.5+4830_weekly_bin759.fits outfile=/scratch/kocevski/592276/cmap_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592276/ft1_filtered_4FGL_J1415.5+4830_weekly_bin759.fits scfile=/scratch/kocevski/592276/ft2_4FGL_J1415.5+4830_weekly_bin759.fits outfile=/scratch/kocevski/592276/cmap_HighResolution_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.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.58
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592276/ft1_filtered_4FGL_J1415.5+4830_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/592276/ft2_4FGL_J1415.5+4830_weekly_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592276/Model_4FGL_J1415.5+4830_weekly_bin759.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/592276/ft1_filtered_4FGL_J1415.5+4830_weekly_bin759.fits.....................!
real 84.78
user 83.19
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/592276/ft1_filtered_4FGL_J1415.5+4830_weekly_bin759.fits', '/scratch/kocevski/592276/ft2_4FGL_J1415.5+4830_weekly_bin759.fits', expMap='/scratch/kocevski/592276/expmap_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.fits', expCube='/scratch/kocevski/592276/ltcube_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/592276/Model_4FGL_J1415.5+4830_weekly_bin759.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  0.000e+00  1.000e+06 ( 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/592276/ft1_filtered_4FGL_J1415.5+4830_weekly_bin759.fits
Spacecraft file(s): /scratch/kocevski/592276/ft2_4FGL_J1415.5+4830_weekly_bin759.fits
Exposure map: /scratch/kocevski/592276/expmap_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.fits
Exposure cube: /scratch/kocevski/592276/ltcube_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/592276/Model_4FGL_J1415.5+4830_weekly_bin759.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 12248.7719336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14959E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    60.787       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92201E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.4843       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6504       1.0000          .0000       .10000E+07
     6 'norm      '    1.0089       1.0000          .0000       .10000E+07
     7 'norm      '    .27115E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .26260E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.627       1.0000          .0000       .10000E+07
    10 'Prefactor '    .72908E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.8106       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36745E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .64235E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.8478       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15287E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .10609E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    14.033       1.0000          .0000       .10000E+07
    18 'Prefactor '    .47920E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .49319E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .29956E-02   1.0000          .0000       .10000E+07
    21 'norm      '    2.4448       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.2197       1.0000          .0000       .10000E+07
    23 'Prefactor '    .22266       1.0000          .0000       .10000E+07
    24 'Prefactor '    .63392E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .40906E-06   1.0000          .0000       .10000E+07
    26 'Prefactor '    .12131E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0769       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .97927       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12248.57     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     2079 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    2.1452        .23230E-06** at limit **
   2  Prefactor     59.267        23.167        .20540E-06    .10233    
   3  Prefactor     .52230E-06    20.532        .15215E-05** at limit **
   4  norm          1.4898        1.8132       -.55380E-07   -.18968E-03
   5  Prefactor     4.5835        1.1310        .12465E-06   -.47369E-03
   6  norm          1.0099        .83769        .61574E-09    .39053E-03
   7  norm          .25676E-04    15.160        .20321E-05** at limit **
   8  norm          .11102E-08    4.3016       -.14430E-05** at limit **
   9  Prefactor     10.959        14.986        .82387E-06   -.12325E-01
  10  Prefactor     .28311E-06    2.2832        .69242E-06** at limit **
  11  Prefactor     6.8110        3.3848        .10589E-06    .33420E-03
  12  Prefactor     .27889E-06    8.3479        .24989E-05** at limit **
  13  Prefactor     .55511E-10    2.0279        .34614E-07** at limit **
  14  Prefactor     2.8561        1.9324        .84958E-07    .12226E-02
  15  Prefactor     .16653E-09    2.3770        .61659E-07** at limit **
  16  norm          .12768E-08    4.5701        .84543E-06** at limit **
  17  Prefactor     14.007        4.7746       -.40216E-06   -.34793E-01
  18  Prefactor     .33268E-06    8.4966        .24125E-05** at limit **
  19  Prefactor     .53318E-06    148.74       -.77903E-05** at limit **
  20  Prefactor     .64393E-08    9.7085       -.53133E-06** at limit **
  21  norm          2.4444        .91337        .20488E-07   -.81585E-03
  22  Prefactor     1.2323        7.3036       -.80459E-06   -.79862E-04
  23  Prefactor     .17859        19.788        .64394E-06** at limit **
  24  Prefactor     .18652E-07    11.189        .56368E-06** at limit **
  25  norm           .0000        2.3354       -.44286E-06** at limit **
  26  Prefactor     .14183E-06    15.435       -.19058E-05** at limit **
  27  Normalizat    1.0778        .13894        .28583E-05    .34832E-05
  28  Prefactor     .97932        .16131       -.29379E-05    .15587E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 59.2669
  Prefactor  = 5.22304e-07
  norm       = 1.48981
  Prefactor  = 4.58354
  norm       = 1.00991
  norm       = 2.56759e-05
  norm       = 1.11022e-09
  Prefactor  = 10.9591
  Prefactor  = 2.83107e-07
  Prefactor  = 6.81104
  Prefactor  = 2.78888e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85609
  Prefactor  = 1.66533e-10
  norm       = 1.27676e-09
  Prefactor  = 14.0066
  Prefactor  = 3.32678e-07
  Prefactor  = 5.33185e-07
  Prefactor  = 6.43929e-09
  norm       = 2.44442
  Prefactor  = 1.23231
  Prefactor  = 0.178592
  Prefactor  = 1.86517e-08
  norm       = 0
  Prefactor  = 1.41831e-07
  Normalizat = 1.07779
  Prefactor  = 0.97932
 **********
 **   18 **HESSE 
 **********

 FCN=   12248.57     FROM HESSE     STATUS=OK           589 CALLS     2668 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    2.1440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     59.267        27.878        .12827E-03   -1.5554    
   3  Prefactor     .52230E-06    22.045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4898        1.8302        .88026E-03   -1.5684    
   5  Prefactor     4.5835        169.43        .46645E-03   -1.5665    
   6  norm          1.0099        .84324        .44081E-03   -1.5688    
   7  norm          .25676E-04    2.2908        .50189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11102E-08    4.3092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.959        30.822        .29354E-03   -1.5642    
  10  Prefactor     .28311E-06    11.351        .14723E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.8110        3.4270        .38423E-03   -1.5656    
  12  Prefactor     .27889E-06    18.264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    2.0351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8561        2.1696        .60224E-03   -1.5674    
  15  Prefactor     .16653E-09    2.3872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .12768E-08    4.5941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.007        17.005        .26712E-03   -1.5633    
  18  Prefactor     .33268E-06    17.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .53318E-06    146.05        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .64393E-08    9.6316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.4444        .91465        .65401E-03   -1.5677    
  22  Prefactor     1.2323        7.2814        .10211E-02   -1.5686    
  23  Prefactor     .17859        1.4094        .82192E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .18652E-07    11.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        2.2859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .14183E-06    16.575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0778        .12378        .39030E-01   -.90468    
  28  Prefactor     .97932        .13828        .46007E-01   -.93422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19708e-06
Minuit parameter uncertainties:
  1  2.4566e-05
  2  27.8776
  3  0.00678649
  4  1.83021
  5  55.7359
  6  0.843238
  7  0.0153385
  8  0.000137453
  9  30.8229
  10  0.00358545
  11  3.42697
  12  0.00451391
  13  2.19382e-05
  14  2.16961
  15  4.10965e-05
  16  0.00015175
  17  17.005
  18  0.00488819
  19  0.0176493
  20  0.00049793
  21  0.914653
  22  5.991
  23  1.00342
  24  0.000916661
  25  3.54005e-07
  26  0.0030663
  27  0.123809
  28  0.138327
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  6.811e+00  3.427e+00  0.000e+00  1.000e+06 ( 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:  9.793e-01  1.383e-01  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.078e+00  1.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.21
Ra Dec: 213.899 48.514
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 2.90e-08 +/- 1.46e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 1.16e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12248.5092174
delta logL = 0.0655044359009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12248.4870398
delta logL = 0.0876821082093

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7260       1.0000          .0000       .10000E+07
     2 'Index     '    1.8029       1.0000          .0000       10.000    
     3 'Normalizat'    1.0822       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97670       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=   12248.49     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      279 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7263        4.3735        .14421E-04    .18447E-03
   2  Index         1.8029        .33885        .71364E-02    .58371E-03
   3  Normalizat    1.0821        .13579        .22039E-03   -.33014E-04
   4  Prefactor     .97673        .16067        .27206E-03   -.94441E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.72629
  Index      = 1.80285
  Normalizat = 1.08214
  Prefactor  = 0.976733
 **********
 **   18 **HESSE 
 **********

 FCN=   12248.49     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7263        4.3010        .57685E-06   -1.5652    
   2  Index         1.8029        .33324        .14273E-02   -.69376    
   3  Normalizat    1.0821        .13591        .88157E-05   -.90327    
   4  Prefactor     .97673        .16084        .10882E-04   -.93509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35658e-12
Minuit parameter uncertainties:
  1  4.30098
  2  0.333658
  3  0.135955
  4  0.160923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592276': 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) = 12248.4870398
delta logL = 0.0876821291313

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  7.726e+00  4.301e+00  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  1.803e+00  3.337e-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:  9.767e-01  1.609e-01  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.082e+00  1.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.39
Ra Dec: 213.899 48.514
Photon Index (Free Index): 1.80 +/- 0.33
Photon Flux (Free Index): 2.49e-08 +/- 1.58e-08
Energy Flux (Free Index): 2.96e-05 +/- 2.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/592276/cmap_HighResolution_698025601_698630401_4FGL_J1415.5+4830_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.90e-08', energy_flux2='2.96e-05', photon_flux_error='1.46e-08', dlogl='8.77e-02', energy_flux='2.31e-05', photon_flux2='2.49e-08', job_status='DONE', time_completed='2023-02-21 03:56:57.646372', photon_index_error2='0.33', photon_index2='1.80', ts='10.21', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.35e-05', EG='1.08', time_epoch_completed='1676980617.65', return_code='0', job_id='592276', GAL2='0.98', EG2='1.08', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='1.58e-08', ts2='10.39', photon_index='1.94' WHERE bin_id='759' AND source_name='4FGL J1415.5+4830' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:56:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 592276: <4FGL_J1415.5+4830_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1415.5+4830_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 03:40:25 2023
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:40:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:40:26 2023
Terminated at Tue Feb 21 03:56:58 2023
Results reported at Tue Feb 21 03:56:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_weekly_bin759 213.899 48.5142 698025601 698630401 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 :                                   978.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             308.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            993 sec.

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

