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 73 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1415.5+4830_daily_bin1769
RA = 213.899, Dec = 48.5142
tmin = 697852801, tmax = 698112001
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='435929', job_status='RUN', time_executed='2023-02-15 00:51:54.646761', time_epoch_executed='1676451114.65' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435929

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435929/ft1_4FGL_J1415.5+4830_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435929/ft2_4FGL_J1415.5+4830_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435929/ft1_4FGL_J1415.5+4830_daily_bin1769.fits outfile=/scratch/kocevski/435929/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1769.fits ra=213.899 dec=48.5142 rad=12.0 tmin=697852801.0 tmax=698112001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.36
user 4.09
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435929/ft2_4FGL_J1415.5+4830_daily_bin1769.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/435929/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/435929/ft1_filtered_4FGL_J1415.5+4830_daily_bin1769.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 481

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435929/ft1_filtered_4FGL_J1415.5+4830_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/435929/ft2_4FGL_J1415.5+4830_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/435929/ltcube_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.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/435929/ft2_4FGL_J1415.5+4830_daily_bin1769.fits
.....................!
real 11.80
user 11.47
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435929/ft1_filtered_4FGL_J1415.5+4830_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/435929/ft2_4FGL_J1415.5+4830_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/435929/ltcube_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.fits outfile=/scratch/kocevski/435929/expmap_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.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/435929/ltcube_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.fits
.....................!
real 189.57
user 185.14
sys 4.13

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/435929/ft1_filtered_4FGL_J1415.5+4830_daily_bin1769.fits scfile=/scratch/kocevski/435929/ft2_4FGL_J1415.5+4830_daily_bin1769.fits outfile=/scratch/kocevski/435929/cmap_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435929/ft1_filtered_4FGL_J1415.5+4830_daily_bin1769.fits scfile=/scratch/kocevski/435929/ft2_4FGL_J1415.5+4830_daily_bin1769.fits outfile=/scratch/kocevski/435929/cmap_HighResolution_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.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.53
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/435929/ft1_filtered_4FGL_J1415.5+4830_daily_bin1769.fits', '/scratch/kocevski/435929/ft2_4FGL_J1415.5+4830_daily_bin1769.fits', expMap='/scratch/kocevski/435929/expmap_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.fits', expCube='/scratch/kocevski/435929/ltcube_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/435929/Model_4FGL_J1415.5+4830_daily_bin1769.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/435929/ft1_filtered_4FGL_J1415.5+4830_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/435929/ft2_4FGL_J1415.5+4830_daily_bin1769.fits
Exposure map: /scratch/kocevski/435929/expmap_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.fits
Exposure cube: /scratch/kocevski/435929/ltcube_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/435929/Model_4FGL_J1415.5+4830_daily_bin1769.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) = 5158.50397266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19029E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    41.428       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19323E-01   1.0000          .0000       .10000E+07
     4 'norm      '    3.9808       1.0000          .0000       .10000E+07
     5 'Prefactor '    .77090E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .19396E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     8 'norm      '    .10325E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    138.20       1.0000          .0000       .10000E+07
    10 'Prefactor '    .67865E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .63880E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1671       1.0000          .0000       .10000E+07
    13 'Prefactor '    .32846E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.0893       1.0000          .0000       .10000E+07
    15 'Prefactor '    .46871E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .66613E-09   1.0000          .0000       .10000E+07
    17 'Prefactor '    68.938       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15714E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    11.714       1.0000          .0000       .10000E+07
    20 'Prefactor '    10.116       1.0000          .0000       .10000E+07
    21 'norm      '    2.9465       1.0000          .0000       .10000E+07
    22 'Prefactor '    .98159E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    6.9580       1.0000          .0000       .10000E+07
    24 'Prefactor '    .54700E-01   1.0000          .0000       .10000E+07
    25 'norm      '    .11530E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .55690E-04   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.2517       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .40030       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=   5158.433     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2550 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.3250        .39052E-07** at limit **
   2  Prefactor     41.577        1.7312       -.16291E-07    .10563E-01
   3  Prefactor      .0000        35.121        .74074E-06** at limit **
   4  norm          3.9834        3.4777        .40979E-07   -.20393E-03
   5  Prefactor     .74385E-08    46.713       -.78351E-06** at limit **
   6  norm           .0000        1.3079       -.23759E-07** at limit **
   7  norm           .0000        1.8368        .23817E-07** at limit **
   8  norm           .0000        3.2120       -.29685E-08** at limit **
   9  Prefactor     141.47        65.035       -.11376E-05   -.18648E-02
  10  Prefactor     .72037E-06    2.8475        .15863E-06** at limit **
  11  Prefactor     .33473E-07    6.3419       -.53248E-06** at limit **
  12  Prefactor     1.3417        41.925       -.33922E-05    .20683E-01
  13  Prefactor     .11102E-09    4.6935        .31149E-07** at limit **
  14  Prefactor     1.0595        2.5036        .47450E-06   -.42381E-03
  15  Prefactor     .71609E-08    5.9639        .18046E-06** at limit **
  16  norm          .55511E-10    3.8940        .33890E-07** at limit **
  17  Prefactor     68.963        2.5483        .64810E-07    .22802E-01
  18  Prefactor     .49960E-09    21.899        .53604E-06** at limit **
  19  Prefactor     11.648        1.4015        .61224E-07   -.21030E-01
  20  Prefactor     10.152        1.5280        .25704E-07   -.66716E-01
  21  norm          2.9454        1.6092        .19702E-09    .80516E-03
  22  Prefactor     .94297E-06    6.4948       -.65209E-06** at limit **
  23  Prefactor     6.9854        6.4538        .15905E-07    .20785E-02
  24  Prefactor     .67495E-01    4.5269        .82678E-06** at limit **
  25  norm           .0000        1.8671       -.18271E-07** at limit **
  26  Prefactor     .99704E-06    6.7430        .90637E-06** at limit **
  27  Normalizat    1.2507        .18227       -.32998E-05    .78544E-04
  28  Prefactor     .40050        .20436        .37171E-05    .31255E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 41.5769
  Prefactor  = 0
  norm       = 3.98342
  Prefactor  = 7.43849e-09
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 141.474
  Prefactor  = 7.20368e-07
  Prefactor  = 3.34732e-08
  Prefactor  = 1.34172
  Prefactor  = 1.11022e-10
  Prefactor  = 1.05954
  Prefactor  = 7.16094e-09
  norm       = 5.55112e-11
  Prefactor  = 68.9628
  Prefactor  = 4.996e-10
  Prefactor  = 11.6481
  Prefactor  = 10.1515
  norm       = 2.94543
  Prefactor  = 9.42968e-07
  Prefactor  = 6.98538
  Prefactor  = 0.0674949
  norm       = 0
  Prefactor  = 9.97036e-07
  Normalizat = 1.25066
  Prefactor  = 0.4005
 **********
 **   18 **HESSE 
 **********

 FCN=   5158.433     FROM HESSE     STATUS=OK           581 CALLS     3131 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.3138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     41.577        33.801        .15538E-03   -1.5579    
   3  Prefactor      .0000        34.747        .17082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.9834        3.5056        .50527E-03   -1.5668    
   5  Prefactor     .74385E-08    46.762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.2744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.8271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.2144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     141.47        65.811        .85071E-04   -1.5470    
  10  Prefactor     .72037E-06    70.466        .14889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33473E-07    6.5446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3417        74.089        .10633E-02   -1.5685    
  13  Prefactor     .11102E-09    4.6947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0595        2.9441        .11466E-02   -1.5687    
  15  Prefactor     .71609E-08    6.1730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    3.8942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     68.963        34.964        .12045E-03   -1.5542    
  18  Prefactor     .49960E-09    21.920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.648        21.106        .29245E-03   -1.5640    
  20  Prefactor     10.152        10.168        .31480E-03   -1.5644    
  21  norm          2.9454        1.6148        .59141E-03   -1.5674    
  22  Prefactor     .94297E-06    8.9957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.9854        6.4651        .38009E-03   -1.5655    
  24  Prefactor     .67495E-01    5.7043        .10207E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        1.8644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .99704E-06    9.3802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2507        .17360        .33732E-01   -.85051    
  28  Prefactor     .40050        .18926        .79903E-01   -1.1678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5275e-07
Minuit parameter uncertainties:
  1  1.14549e-05
  2  33.8011
  3  2.18436e-05
  4  3.50562
  5  0.00117868
  6  1.54128e-06
  7  3.81434e-06
  8  1.70718e-05
  9  65.8118
  10  0.0142495
  11  0.000935911
  12  19.9409
  13  4.43986e-05
  14  2.94407
  15  0.000420614
  16  3.44607e-05
  17  34.9644
  18  0.000208992
  19  21.1062
  20  10.1682
  21  1.61484
  22  0.00582501
  23  6.4651
  24  1.24099
  25  6.66535e-06
  26  0.00611637
  27  0.173676
  28  0.189551
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  3.347e-08  9.359e-04  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:  4.005e-01  1.896e-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.251e+00  1.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 213.899 48.514
Photon Flux Upper Limit: 5.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/435929/likelihoodResults_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.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) = 5156.90123974
delta logL = 1.53194497001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5156.88018458
delta logL = 1.55300013361

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58999E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.1992       1.0000          .0000       10.000    
     3 'Normalizat'    1.1570       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46131       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.

 FCN=   5156.880     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      297 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58883E-01    .57792        .24287E-03** at limit **
   2  Index         4.2002        1.8965        .72133E-01    .20005E-03
   3  Normalizat    1.1572        .43493E-01    .36044E-01    .38946E-04
   4  Prefactor     .46108        .49679E-01    .74711E-01    .57738E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0588832
  Index      = 4.20022
  Normalizat = 1.15723
  Prefactor  = 0.461081
 **********
 **   18 **HESSE 
 **********

 FCN=   5156.880     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      328 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58883E-01    1.2039        .10877E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2002        3.0469        .28202E-02   -.16065    
   3  Normalizat    1.1572        .16421        .18928E-03   -.87935    
   4  Prefactor     .46108        .18511        .33086E-03   -1.1380    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.10053e-10
Minuit parameter uncertainties:
  1  0.532491
  2  3.28393
  3  0.164287
  4  0.185349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435929': 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): 102
logL (Free Index) = 5156.8801818
delta logL = 1.55300290979

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  5.888e-02  5.325e-01  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  4.200e+00  3.284e+00  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:  4.611e-01  1.853e-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.157e+00  1.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.24
Ra Dec: 213.899 48.514
Photon Index (Free Index): 4.20 +/- 3.28
Photon Flux (Free Index): 7.80e-08 +/- 5.02e-08
Energy Flux (Free Index): 1.13e-05 +/- 8.45e-06

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/435929/cmap_HighResolution_697852801_698112001_4FGL_J1415.5+4830_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-03', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='1.55e+00', photon_flux2='7.80e-08', job_status='DONE', time_completed='2023-02-15 01:03:00.656099', photon_index_error2='3.28', photon_index2='4.20', ts='-0.00', fit_tolerance='1e-08', GAL='0.40', photon_index_error='0.00', photon_flux_upper_limit='5.24e-08', energy_flux_error2='8.45e-06', EG='1.25', time_epoch_completed='1676451780.66', return_code='0', job_id='435929', GAL2='0.46', EG2='1.16', return_code2='102', photon_flux_error2='5.02e-08', ts2='3.24', photon_index='1.94' WHERE bin_id='1769' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:03:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 435929: <4FGL_J1415.5+4830_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:50:27 2023
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:50:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:50:28 2023
Terminated at Wed Feb 15 01:03:01 2023
Results reported at Wed Feb 15 01:03:01 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin1769 213.899 48.5142 697852801 698112001 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 :                                   668.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            754 sec.

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

