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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin1772
RA = 213.899, Dec = 48.5142
tmin = 698630401, tmax = 698889601
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='635729', job_status='RUN', time_executed='2023-02-24 01:51:20.966336', time_epoch_executed='1677232280.97' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635729

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/635729/ft1_4FGL_J1415.5+4830_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/635729/ft2_4FGL_J1415.5+4830_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635729/ft1_4FGL_J1415.5+4830_daily_bin1772.fits outfile=/scratch/kocevski/635729/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1772.fits ra=213.899 dec=48.5142 rad=12.0 tmin=698630401.0 tmax=698889601.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 2.99
user 2.80
sys 0.18

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

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

Number of photons that the gtmktime cut: 604

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/635729/ft1_filtered_4FGL_J1415.5+4830_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/635729/ft2_4FGL_J1415.5+4830_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/635729/ltcube_698630401_698889601_4FGL_J1415.5+4830_daily_bin1772.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/635729/ft2_4FGL_J1415.5+4830_daily_bin1772.fits
.....................!
real 12.42
user 12.08
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635729/ft1_filtered_4FGL_J1415.5+4830_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/635729/ft2_4FGL_J1415.5+4830_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/635729/ltcube_698630401_698889601_4FGL_J1415.5+4830_daily_bin1772.fits outfile=/scratch/kocevski/635729/expmap_698630401_698889601_4FGL_J1415.5+4830_daily_bin1772.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/635729/ltcube_698630401_698889601_4FGL_J1415.5+4830_daily_bin1772.fits
.....................!
real 191.33
user 185.64
sys 5.34

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/635729/ft1_filtered_4FGL_J1415.5+4830_daily_bin1772.fits scfile=/scratch/kocevski/635729/ft2_4FGL_J1415.5+4830_daily_bin1772.fits outfile=/scratch/kocevski/635729/cmap_698630401_698889601_4FGL_J1415.5+4830_daily_bin1772.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.54
user 0.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7391       1.0000          .0000       .10000E+07
     2 'Prefactor '    .70916       1.0000          .0000       .10000E+07
     3 'Prefactor '    32.877       1.0000          .0000       .10000E+07
     4 'norm      '    1.7251       1.0000          .0000       .10000E+07
     5 'Prefactor '    .38900E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .48803       1.0000          .0000       .10000E+07
     7 'norm      '    .19429E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .14982E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .72976E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .36904E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.0247       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31683E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.4036       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.9001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31367E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .56788E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    26.373       1.0000          .0000       .10000E+07
    18 'Prefactor '    .55314E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9845       1.0000          .0000       .10000E+07
    20 'Prefactor '    12.807       1.0000          .0000       .10000E+07
    21 'norm      '    3.9283       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.5343       1.0000          .0000       .10000E+07
    23 'Prefactor '    5.6516       1.0000          .0000       .10000E+07
    24 'Prefactor '    .19398       1.0000          .0000       .10000E+07
    25 'norm      '    3.8827       1.0000          .0000       .10000E+07
    26 'Prefactor '    5.0253       1.0000          .0000       .10000E+07
    27 'Normalizat'    .92194       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .94694       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=   6680.432     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     2495 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7670        4.8744       -.89969E-06    .46984E-02
   2  Prefactor     .27949E-05    80.503       -.11339E-04** at limit **
   3  Prefactor     34.077        19.271        .19167E-05   -.17889E-02
   4  norm          1.7207        3.0400        .38560E-06    .14438E-02
   5  Prefactor     .65941E-05    19.139       -.35558E-05** at limit **
   6  norm          .48519        1.0378        .73122E-06   -.10624E-02
   7  norm          .55511E-10    1.1045       -.75859E-07** at limit **
   8  norm          .55511E-10    5.3489       -.15999E-06** at limit **
   9  Prefactor     .13323E-07    12.692        .65455E-06** at limit **
  10  Prefactor     .13523E-06    9.5193        .47016E-05** at limit **
  11  Prefactor     1.0213        4.6743        .27768E-05    .10444E-02
  12  Prefactor     .39413E-06    6.5204       -.42174E-05** at limit **
  13  Prefactor     4.4350        10.007        .13864E-05    .28728E-02
  14  Prefactor     1.8954        2.0209       -.34413E-06    .26450E-02
  15  Prefactor     .88080E-06    3.8030       -.97772E-06** at limit **
  16  norm          .77716E-09    4.1841       -.18988E-06** at limit **
  17  Prefactor     26.528        1.4363        .39145E-07   -.28823E-01
  18  Prefactor     .31413E-05    24.926       -.20268E-05** at limit **
  19  Prefactor     3.8785        2.4745        .17307E-06    .13214E-01
  20  Prefactor     12.777        2.2779        .39029E-06   -.20640E-01
  21  norm          3.9293        1.4423        .23256E-08    .63957E-02
  22  Prefactor     7.5750        8.8647        .16892E-05   -.15691E-03
  23  Prefactor     5.6294        4.3443        .62345E-06    .99935E-03
  24  Prefactor     .21327E-05    5.3627        .46112E-06** at limit **
  25  norm          3.8776        2.7579        .34112E-06   -.21238E-03
  26  Prefactor     5.0574        7.1675        .29153E-05    .21546E-02
  27  Normalizat    .92224        .17611       -.23754E-04    .22581E-04
  28  Prefactor     .94667        .20713       -.10459E-04    .10526E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.76699
  Prefactor  = 2.79493e-06
  Prefactor  = 34.0774
  norm       = 1.72068
  Prefactor  = 6.59411e-06
  norm       = 0.485195
  norm       = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 1.33227e-08
  Prefactor  = 1.35225e-07
  Prefactor  = 1.02125
  Prefactor  = 3.94129e-07
  Prefactor  = 4.43497
  Prefactor  = 1.89536
  Prefactor  = 8.80795e-07
  norm       = 7.77156e-10
  Prefactor  = 26.5284
  Prefactor  = 3.14127e-06
  Prefactor  = 3.87851
  Prefactor  = 12.7772
  norm       = 3.92929
  Prefactor  = 7.57499
  Prefactor  = 5.6294
  Prefactor  = 2.13268e-06
  norm       = 3.87763
  Prefactor  = 5.05735
  Normalizat = 0.922236
  Prefactor  = 0.946671
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.432     FROM HESSE     STATUS=OK           585 CALLS     3080 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7670        4.9043        .46197E-03   -1.5664    
   2  Prefactor     .27949E-05    117.45        .59968E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     34.077        36.203        .17443E-03   -1.5591    
   4  norm          1.7207        3.0801        .79925E-03   -1.5682    
   5  Prefactor     .65941E-05    44.496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .48519        1.0674        .79923E-03   -1.5694    
   7  norm          .55511E-10    1.1136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    5.3467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .13323E-07    12.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .13523E-06    10.892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0213        4.6614        .12658E-02   -1.5688    
  12  Prefactor     .39413E-06    8.9106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4350        10.045        .47968E-03   -1.5666    
  14  Prefactor     1.8954        2.3529        .75423E-03   -1.5680    
  15  Prefactor     .88080E-06    9.2822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .77716E-09    4.1892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.528        25.512        .19476E-03   -1.5605    
  18  Prefactor     .31413E-05    41.782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.8785        43.067        .50503E-03   -1.5669    
  20  Prefactor     12.777        17.018        .27964E-03   -1.5636    
  21  norm          3.9293        1.4525        .50875E-03   -1.5668    
  22  Prefactor     7.5750        9.8975        .36513E-03   -1.5653    
  23  Prefactor     5.6294        4.3498        .42231E-03   -1.5661    
  24  Prefactor     .21327E-05    4.5081        .91556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.8776        2.7620        .51183E-03   -1.5669    
  26  Prefactor     5.0574        7.1909        .44833E-03   -1.5663    
  27  Normalizat    .92224        .15427        .45181E-01   -.95683    
  28  Prefactor     .94667        .17819        .45600E-01   -.94529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8671e-07
Minuit parameter uncertainties:
  1  4.90427
  2  0.0362369
  3  36.2037
  4  3.08013
  5  0.0342589
  6  1.06744
  7  1.29253e-05
  8  4.09931e-05
  9  0.000830809
  10  0.0024275
  11  4.3637
  12  0.00374794
  13  10.0455
  14  2.35292
  15  0.00571864
  16  0.000115873
  17  25.5121
  18  0.0229131
  19  25.8488
  20  17.0182
  21  1.45245
  22  9.89757
  23  4.34975
  24  0.00620138
  25  2.762
  26  7.19096
  27  0.154344
  28  0.1783
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.021e+00  4.364e+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.467e-01  1.783e-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:  9.222e-01  1.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/635729/likelihoodResults_698630401_698889601_4FGL_J1415.5+4830_daily_bin1772.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) = 6679.79647145
delta logL = 0.635092631608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6679.77102147
delta logL = 0.660542616751

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50708       1.0000          .0000       .10000E+07
     2 'Index     '    3.1717       1.0000          .0000       10.000    
     3 'Normalizat'    .88239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96670       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=   6679.771     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      245 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50541        8.8005        .78000E-03    .11974E-01
   2  Index         3.1731        2.5238        .92347E-01    .18907E-03
   3  Normalizat    .88261        .36938E-01    .44676E-01    .88665E-05
   4  Prefactor     .96635        .43101E-01    .45850E-01    .12161E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.50541
  Index      = 3.17311
  Normalizat = 0.882609
  Prefactor  = 0.966354
 **********
 **   18 **HESSE 
 **********

 FCN=   6679.771     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      278 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50541        21.457        .52978E-05   -1.5694    
   2  Index         3.1731        6.5815        .51140E-02   -.37404    
   3  Normalizat    .88261        .18283        .23044E-03   -.97074    
   4  Prefactor     .96635        .20998        .26154E-03   -.93860    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.78904e-07
Minuit parameter uncertainties:
  1  6.58622
  2  5.27391
  3  0.182957
  4  0.210159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635729': 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) = 6679.77101895
delta logL = 0.660545132112

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  5.054e-01  6.586e+00  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  3.173e+00  5.274e+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:  9.664e-01  2.102e-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:  8.826e-01  1.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 213.899 48.514
Photon Index (Free Index): 3.17 +/- 5.27
Photon Flux (Free Index): 4.14e-08 +/- 5.23e-08
Energy Flux (Free Index): 7.66e-06 +/- 1.18e-05

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/635729/cmap_HighResolution_698630401_698889601_4FGL_J1415.5+4830_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.95e-03', comment='SUCCESS', energy_flux2='7.66e-06', dlogl='6.61e-01', photon_flux2='4.14e-08', job_status='DONE', time_completed='2023-02-24 02:03:46.992030', photon_index_error2='5.27', photon_index2='3.17', ts='0.06', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='5.29e-08', energy_flux_error2='1.18e-05', EG='0.92', time_epoch_completed='1677233026.99', return_code='0', job_id='635729', GAL2='0.97', EG2='0.88', return_code2='102', photon_flux_error2='5.23e-08', ts2='1.41', photon_index='1.94' WHERE bin_id='1772' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 02:03:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 635729: <4FGL_J1415.5+4830_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin1772> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb 24 01:50:17 2023
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:50:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:50:19 2023
Terminated at Fri Feb 24 02:03:48 2023
Results reported at Fri Feb 24 02:03:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin1772 213.899 48.5142 698630401 698889601 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 :                                   747.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            811 sec.

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

