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


Performing analysis on: 4FGL_J1141.5-1408_daily_bin1746
RA = 175.387, Dec = -14.1457
tmin = 691891201, tmax = 692150401
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='722654', job_status='RUN', time_executed='2022-12-08 00:46:02.290401', time_epoch_executed='1670489162.29' WHERE source_name='4FGL J1141.5-1408' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/722654

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/722654/ft1_4FGL_J1141.5-1408_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/722654/ft1_4FGL_J1141.5-1408_daily_bin1746.fits outfile=/scratch/kocevski/722654/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1746.fits ra=175.387 dec=-14.1457 rad=12.0 tmin=691891201.0 tmax=692150401.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.72
user 4.46
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.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/722654/ft1_filteredMKT_4FGL_J1141.5-1408_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/722654/ft1_filtered_4FGL_J1141.5-1408_daily_bin1746.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 991

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/722654/ft1_filtered_4FGL_J1141.5-1408_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/722654/ltcube_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.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/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.fits
.....................!
real 12.18
user 11.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/722654/ft1_filtered_4FGL_J1141.5-1408_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/722654/ltcube_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.fits outfile=/scratch/kocevski/722654/expmap_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.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/722654/ltcube_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.fits
.....................!
real 191.44
user 186.18
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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1141.5-1408 @ 175.387 -14.1457

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/722654/ft1_filtered_4FGL_J1141.5-1408_daily_bin1746.fits scfile=/scratch/kocevski/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.fits outfile=/scratch/kocevski/722654/cmap_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.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=175.387 yref=-14.1457 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/722654/ft1_filtered_4FGL_J1141.5-1408_daily_bin1746.fits scfile=/scratch/kocevski/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.fits outfile=/scratch/kocevski/722654/cmap_HighResolution_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.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=175.387 yref=-14.1457 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/722654/ft1_filtered_4FGL_J1141.5-1408_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/722654/Model_4FGL_J1141.5-1408_daily_bin1746.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/722654/ft1_filtered_4FGL_J1141.5-1408_daily_bin1746.fits.....................!
real 85.48
user 83.24
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/722654/ft1_filtered_4FGL_J1141.5-1408_daily_bin1746.fits', '/scratch/kocevski/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.fits', expMap='/scratch/kocevski/722654/expmap_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.fits', expCube='/scratch/kocevski/722654/ltcube_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/722654/Model_4FGL_J1141.5-1408_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1141.5-1408'

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  2.590e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
293        Index:  1.965e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/722654/ft1_filtered_4FGL_J1141.5-1408_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/722654/ft2_4FGL_J1141.5-1408_daily_bin1746.fits
Exposure map: /scratch/kocevski/722654/expmap_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.fits
Exposure cube: /scratch/kocevski/722654/ltcube_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/722654/Model_4FGL_J1141.5-1408_daily_bin1746.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) = 10544.9896404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.659       1.0000          .0000       .10000E+07
     2 'Prefactor '    .40463E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .22220E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22670E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.6188       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0904       1.0000          .0000       .10000E+07
     7 'norm      '    4.4513       1.0000          .0000       .10000E+07
     8 'norm      '    .48828       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6453       1.0000          .0000       .10000E+07
    10 'Prefactor '    26.313       1.0000          .0000       .10000E+07
    11 'norm      '    .16363E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .16242E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    22.714       1.0000          .0000       .10000E+07
    14 'norm      '    3.3088       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.2765       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11889E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .15718E-01   1.0000          .0000       .10000E+07
    18 'norm      '    12.570       1.0000          .0000       .10000E+07
    19 'Prefactor '    .88637E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .60213E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    2.8881       1.0000          .0000       .10000E+07
    22 'Prefactor '    9.2605       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1402       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85647       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10544.97     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1964 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.659        5.0428       -.52037E-08    .49379E-02
   2  Prefactor     .19307E-06    5.0211        .25422E-06** at limit **
   3  Prefactor     .52180E-08    41.617        .14361E-06** at limit **
   4  Prefactor     .10608E-06    2.8855       -.12879E-06** at limit **
   5  Prefactor     1.6536        4.0216       -.25796E-06   -.94430E-03
   6  Prefactor     2.0857        1.0418       -.72716E-08    .46245E-02
   7  norm          4.4413        6.3761       -.36981E-07   -.58676E-02
   8  norm          .48823        .67613        .14939E-06    .95023E-02
   9  Prefactor     2.6391        2.5437       -.64354E-07   -.96695E-03
  10  Prefactor     26.306        1.6921        .17299E-08   -.18893    
  11  norm          .11008E-06    3.8602       -.12860E-06** at limit **
  12  Prefactor     .52736E-08    6.9942       -.14408E-06** at limit **
  13  Prefactor     22.653        1.1610        .87645E-08   -.75116E-01
  14  norm          3.3107        3.4257       -.13045E-06   -.17962E-02
  15  Prefactor     4.2738        2.6667       -.23063E-07   -.80186E-03
  16  Prefactor     .40634E-06    1.5490       -.13809E-06** at limit **
  17  Prefactor      .0000        14.040        .23206E-07** at limit **
  18  norm          12.556        4.0424        .56781E-07    .14121E-03
  19  Prefactor     .72164E-09    3.0051        .49648E-07** at limit **
  20  Prefactor     .17902E-06    3.6221        .18197E-06** at limit **
  21  Prefactor     2.8653        1.0339        .11887E-07   -.12857E-02
  22  Prefactor     9.2619        5.2170       -.85433E-07   -.79465E-02
  23  Normalizat    1.1404        .19241        .76116E-05    .28158E-03
  24  Prefactor     .85635        .12123       -.22395E-05    .27700E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6585
  Prefactor  = 1.93068e-07
  Prefactor  = 5.21805e-09
  Prefactor  = 1.06082e-07
  Prefactor  = 1.65361
  Prefactor  = 2.08573
  norm       = 4.44132
  norm       = 0.488229
  Prefactor  = 2.63914
  Prefactor  = 26.3055
  norm       = 1.10079e-07
  Prefactor  = 5.27356e-09
  Prefactor  = 22.6529
  norm       = 3.31074
  Prefactor  = 4.27377
  Prefactor  = 4.06342e-07
  Prefactor  = 0
  norm       = 12.556
  Prefactor  = 7.21645e-10
  Prefactor  = 1.79023e-07
  Prefactor  = 2.86532
  Prefactor  = 9.26193
  Normalizat = 1.14043
  Prefactor  = 0.856353
 **********
 **   18 **HESSE 
 **********

 FCN=   10544.97     FROM HESSE     STATUS=OK           457 CALLS     2421 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.659        5.0408        .29313E-03   -1.5640    
   2  Prefactor     .19307E-06    8.5921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .52180E-08    41.618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10608E-06    3.8328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6536        4.0868        .83164E-03   -1.5682    
   6  Prefactor     2.0857        108.45        .71373E-03   -1.5679    
   7  norm          4.4413        6.4816        .47703E-03   -1.5666    
   8  norm          .48823        .69565        .79897E-03   -1.5694    
   9  Prefactor     2.6391        2.5651        .62658E-03   -1.5675    
  10  Prefactor     26.306        8.2518        .19498E-03   -1.5605    
  11  norm          .11008E-06    4.4418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .52736E-08    7.1765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.653        23.750        .20988E-03   -1.5613    
  14  norm          3.3107        3.4343        .55629E-03   -1.5672    
  15  Prefactor     4.2738        2.6735        .48696E-03   -1.5667    
  16  Prefactor     .40634E-06    4.0389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        5.7201        .11494E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.556        4.6569        .28228E-03   -1.5637    
  19  Prefactor     .72164E-09    3.0220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .17902E-06    8.3717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.8653        17.815        .59774E-03   -1.5674    
  22  Prefactor     9.2619        5.2261        .32909E-03   -1.5647    
  23  Normalizat    1.1404        .16568        .65130E-01   -.88464    
  24  Prefactor     .85635        .10286        .44448E-01   -.97683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92356e-07
Minuit parameter uncertainties:
  1  5.0408
  2  0.00257583
  3  0.000933934
  4  0.00127533
  5  4.08679
  6  30.0809
  7  6.4816
  8  0.695653
  9  2.56509
  10  8.25184
  11  0.00139831
  12  0.000388714
  13  23.7501
  14  3.43433
  15  2.67351
  16  0.00256224
  17  6.099e-06
  18  4.6569
  19  9.36703e-05
  20  0.00244844
  21  14.2895
  22  5.22609
  23  0.165754
  24  0.102882
Done.

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

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  2.265e+01  2.375e+01  0.000e+00  1.000e+06 ( 1.000e-14)
293        Index:  1.965e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  8.564e-01  1.029e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  1.140e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.33
Ra Dec: 175.387 -14.146
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.99e-08 +/- 2.08e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.57e-05

TS (Fixed Index): 1.33
Ra Dec: 175.387 -14.146
Photon Flux Upper Limit: 6.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/722654/likelihoodResults_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.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) = 10544.6135654
delta logL = 0.361324333255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10544.5409968
delta logL = 0.433892922088

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8824       1.0000          .0000       .10000E+07
     2 'Index     '    2.5859       1.0000          .0000       10.000    
     3 'Normalizat'    1.1171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+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=   10544.54     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      299 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8869        33.477        .13443E-04    .39884E-02
   2  Index         2.5859        1.4637        .57304E-02    .19605E-03
   3  Normalizat    1.1171        .19520        .29060E-03   -.53844E-03
   4  Prefactor     .86432        .12325        .20795E-03   -.45878E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.8869
  Index      = 2.58588
  Normalizat = 1.1171
  Prefactor  = 0.864321
 **********
 **   18 **HESSE 
 **********

 FCN=   10544.54     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8869        16.374        .53771E-06   -1.5648    
   2  Index         2.5859        .72601        .22921E-03   -.50388    
   3  Normalizat    1.1171        .19120        .58119E-04   -.89205    
   4  Prefactor     .86432        .12142        .41591E-04   -.97399    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38609e-10
Minuit parameter uncertainties:
  1  16.3736
  2  0.729375
  3  0.191317
  4  0.12146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/722654': 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) = 10544.5409967
delta logL = 0.433893050054

Extracting fit parameters...

4FGL J1141.5-1408
   Spectrum: PowerLaw
292    Prefactor:  8.887e+00  1.637e+01  0.000e+00  1.000e+06 ( 1.000e-14)
293        Index:  2.586e+00  7.294e-01  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  3.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  8.643e-01  1.215e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  1.117e+00  1.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.20
Ra Dec: 175.387 -14.146
Photon Index (Free Index): 2.59 +/- 0.73
Photon Flux (Free Index): 4.00e-08 +/- 3.58e-08
Energy Flux (Free Index): 1.06e-05 +/- 9.19e-06

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/722654/cmap_HighResolution_691891201_692150401_4FGL_J1141.5-1408_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.07e-03', comment='SUCCESS', photon_flux='1.99e-08', energy_flux2='1.06e-05', photon_flux_error='2.08e-08', dlogl='4.34e-01', energy_flux='1.50e-05', photon_flux2='4.00e-08', job_status='DONE', time_completed='2022-12-08 01:00:46.673684', photon_index_error2='0.73', photon_index2='2.59', ts='1.33', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='9.19e-06', EG='1.14', time_epoch_completed='1670490046.67', return_code='0', job_id='722654', GAL2='0.86', EG2='1.12', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='3.58e-08', ts2='2.20', photon_index='1.97' WHERE bin_id='1746' AND source_name='4FGL J1141.5-1408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:00:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 722654: <4FGL_J1141.5-1408_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1141.5-1408_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:45:16 2022
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:45:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:45:18 2022
Terminated at Thu Dec  8 01:00:47 2022
Results reported at Thu Dec  8 01:00:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1141.5-1408_daily_bin1746 175.387 -14.1457 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1141.5-1408 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   885.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            931 sec.

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

