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


Performing analysis on: 4FGL_J1834.7-5858_daily_bin1760
RA = 278.687, Dec = -58.9818
tmin = 695520001, tmax = 695779201
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='745930', job_status='RUN', time_executed='2023-01-19 01:30:27.304072', time_epoch_executed='1674120627.3' WHERE source_name='4FGL J1834.7-5858' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/745930

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/745930/ft1_4FGL_J1834.7-5858_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/745930/ft1_4FGL_J1834.7-5858_daily_bin1760.fits outfile=/scratch/kocevski/745930/ft1_filteredMKT_4FGL_J1834.7-5858_daily_bin1760.fits ra=278.687 dec=-58.9818 rad=12.0 tmin=695520001.0 tmax=695779201.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.45
user 2.24
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.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/745930/ft1_filteredMKT_4FGL_J1834.7-5858_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/745930/ft1_filtered_4FGL_J1834.7-5858_daily_bin1760.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.52
user 0.34
sys 0.18

Number of photons that the gtmktime cut: 157

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/745930/ft1_filtered_4FGL_J1834.7-5858_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/745930/ltcube_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.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/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.fits
.....................!
real 16.26
user 15.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/745930/ft1_filtered_4FGL_J1834.7-5858_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/745930/ltcube_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.fits outfile=/scratch/kocevski/745930/expmap_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.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/745930/ltcube_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.fits
.....................!
real 191.93
user 187.11
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
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Added 312 point sources and 11 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1834.7-5858 @ 278.687 -58.9818

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/745930/ft1_filtered_4FGL_J1834.7-5858_daily_bin1760.fits scfile=/scratch/kocevski/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.fits outfile=/scratch/kocevski/745930/cmap_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.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=278.687 yref=-58.9818 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.56
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/745930/ft1_filtered_4FGL_J1834.7-5858_daily_bin1760.fits scfile=/scratch/kocevski/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.fits outfile=/scratch/kocevski/745930/cmap_HighResolution_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.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=278.687 yref=-58.9818 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/745930/ft1_filtered_4FGL_J1834.7-5858_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/745930/Model_4FGL_J1834.7-5858_daily_bin1760.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
Working on...
/scratch/kocevski/745930/ft1_filtered_4FGL_J1834.7-5858_daily_bin1760.fits.......................!
real 69.00
user 67.56
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/745930/ft1_filtered_4FGL_J1834.7-5858_daily_bin1760.fits', '/scratch/kocevski/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.fits', expMap='/scratch/kocevski/745930/expmap_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.fits', expCube='/scratch/kocevski/745930/ltcube_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/745930/Model_4FGL_J1834.7-5858_daily_bin1760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1834.7-5858'

4FGL J1834.7-5858
   Spectrum: PowerLaw
788    Prefactor:  8.724e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
789        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
790        Scale:  1.666e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/745930/ft1_filtered_4FGL_J1834.7-5858_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/745930/ft2_4FGL_J1834.7-5858_daily_bin1760.fits
Exposure map: /scratch/kocevski/745930/expmap_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.fits
Exposure cube: /scratch/kocevski/745930/ltcube_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/745930/Model_4FGL_J1834.7-5858_daily_bin1760.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) = 1665.355698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .80991E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25611E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10009E+06   1.0000          .0000       .10000E+07
     4 'norm      '    .44089E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    32.746       1.0000          .0000       .10000E+07
     6 'Prefactor '    .29093E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .87275E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .91455E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .77558E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .34311E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .51012       1.0000          .0000       .10000E+07
    12 'norm      '    103.32       1.0000          .0000       .10000E+07
    13 'norm      '    .38767       1.0000          .0000       .10000E+07
    14 'norm      '    .68079E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .22326       1.0000          .0000       .10000E+07
    16 'Prefactor '    .50532E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .49999       1.0000          .0000       .10000E+07
    18 'norm      '    .11592E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    39.617       1.0000          .0000       .10000E+07
    20 'norm      '    .99032       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0134       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .45366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1140E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1665.058     FROM MIGRAD    STATUS=CONVERGED    228 CALLS     2368 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61617E-08    20.642       -.90185E-08** at limit **
   2  Prefactor     .53624E-07    26.972       -.33634E-08** at limit **
   3  Prefactor     .10009E+06    8.1757        .17722E-08   -2.5090    
   4  norm          .61062E-09    97.426       -.84550E-07** at limit **
   5  Prefactor     .13961E-06    412.40       -.45633E-06** at limit **
   6  Prefactor     .20587E-05    234.78       -.15870E-05** at limit **
   7  norm          .29604E-06    30.226       -.11642E-06** at limit **
   8  Prefactor     .27250E-06    32.427        .26165E-06** at limit **
   9  Prefactor     .30420E-07    28.517       -.21306E-07** at limit **
  10  Prefactor     .27756E-09    9.2059        .11292E-07** at limit **
  11  Prefactor     .19564E-04    148.41       -.23857E-06** at limit **
  12  norm          107.36        123.87       -.62028E-06    .20086E-02
  13  norm          .19850E-03    148.00       -.12060E-05** at limit **
  14  norm           .0000        1.8094       -.13045E-07** at limit **
  15  Prefactor     .11102E-09    78.849       -.13485E-07** at limit **
  16  Prefactor     .31197E-07    224.55        .75497E-06** at limit **
  17  Prefactor     .15276E-03    40.783        .46808E-06** at limit **
  18  norm          .61879E-05    40.475        .68899E-07** at limit **
  19  Prefactor     39.254        26.664        .17634E-06   -.47874E-01
  20  norm          .98971        3.1549        .66871E-07    .70767E-03
  21  Normalizat    1.0161        .64660        .16161E-05    .25640E-04
  22  Prefactor     .45338        .17725       -.10720E-05    .12372E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.16174e-09
  Prefactor  = 5.36238e-08
  Prefactor  = 100092
  norm       = 6.10623e-10
  Prefactor  = 1.39611e-07
  Prefactor  = 2.05874e-06
  norm       = 2.96041e-07
  Prefactor  = 2.72504e-07
  Prefactor  = 3.04201e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 1.95638e-05
  norm       = 107.359
  norm       = 0.000198497
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 3.11973e-08
  Prefactor  = 0.000152758
  norm       = 6.18788e-06
  Prefactor  = 39.2543
  norm       = 0.989714
  Normalizat = 1.01609
  Prefactor  = 0.45338
 **********
 **   18 **HESSE 
 **********

 FCN=   1665.058     FROM HESSE     STATUS=OK           372 CALLS     2740 TOTAL
                     EDM=   .22E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61617E-08    20.659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .53624E-07    27.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10009E+06    17734.        .44202E-05   -.92699    
   4  norm          .61062E-09    97.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13961E-06    413.62        .17477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .20587E-05    264.18        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .29604E-06    30.456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27250E-06    32.625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .30420E-07    28.527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27756E-09    9.2051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .19564E-04    163.75        .77698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          107.36        124.16        .98388E-04   -1.5501    
  13  norm          .19850E-03    1325.4        .90929E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.8068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-09    78.867        .11376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .31197E-07    226.55        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15276E-03    159.57        .78710E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .61879E-05    45.316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     39.254        26.964        .15889E-03   -1.5583    
  20  norm          .98971        3.1809        .43423E-03   -1.5688    
  21  Normalizat    1.0161        .56913        .92736E-01   -.92493    
  22  Prefactor     .45338        .15123        .39019E-01   -1.1417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.0220103
Minuit parameter uncertainties:
  1  0.000713853
  2  0.00240793
  3  17744.7
  4  0.000489297
  5  0.0151983
  6  0.0466443
  7  0.00600549
  8  0.00596371
  9  0.00186389
  10  0.000101284
  11  0.113203
  12  124.168
  13  1.02609
  14  3.11601e-06
  15  0.000191416
  16  0.00531543
  17  0.312262
  18  0.0334911
  19  26.9644
  20  3.18091
  21  0.572585
  22  0.151368
Done.

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

Extracting fit parameters...

4FGL J1834.7-5858
   Spectrum: PowerLaw
788    Prefactor:  1.110e-10  1.914e-04  0.000e+00  1.000e+06 ( 1.000e-14)
789        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
790        Scale:  1.666e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1122    Prefactor:  4.534e-01  1.514e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1123        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1124        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1098   Normalization:  1.016e+00  5.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 278.687 -58.982
Photon Flux Upper Limit: 2.77e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/745930/likelihoodResults_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.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): 102
logL (Free Index) = 1665.06429036
delta logL = -0.00600688895815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1665.05828365
delta logL = -1.76520643436e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41078E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.7995       1.0000          .0000       10.000    
     3 'Normalizat'    1.0164       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .45328       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1140E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1665.058     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      267 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    6.4347        .42118E-03** at limit **
   2  Index         .99167        5.2301        .50000       -.34106E-11
   3  Normalizat    1.0161        .26591E-02    .92734E-01   -.94113E-05
   4  Prefactor     .45338        .76685E-03    .39014E-01   -.37289E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 0.991674
  Normalizat = 1.01609
  Prefactor  = 0.45338
 **********
 **   18 **HESSE 
 **********

 FCN=   1665.058     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      296 TOTAL
                     EDM=   .56E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    32.145        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .99167        5.4905        .50000       -.93008    
   3  Normalizat    1.0161        .59266E-02    .41076E-03   -.92493    
   4  Prefactor     .45338        .17127E-02    .17119E-03   -1.1417    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.60907e-13
Minuit parameter uncertainties:
  1  0.000176278
  2  212681
  3  0.00592665
  4  0.00171272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/745930': 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) = 1665.05828347
delta logL = 7.73070496507e-12

Extracting fit parameters...

4FGL J1834.7-5858
   Spectrum: PowerLaw
788    Prefactor:  2.220e-10  1.763e-04  0.000e+00  1.000e+06 ( 1.000e-14)
789        Index:  9.917e-01  2.127e+05  0.000e+00  1.000e+01 (-1.000e+00)
790        Scale:  1.666e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1122    Prefactor:  4.534e-01  1.713e-03  0.000e+00  1.000e+01 ( 1.000e+00)
1123        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1124        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1098   Normalization:  1.016e+00  5.927e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 278.687 -58.982

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/745930/cmap_HighResolution_695520001_695779201_4FGL_J1834.7-5858_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.14e-02', job_status='DONE', photon_flux_upper_limit='2.77e-07', time_completed='2023-01-19 01:39:59.202750', job_id='745930', GAL2='0.45', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1674121199.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.45', dlogl='7.73e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1760' AND source_name='4FGL J1834.7-5858' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:39:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 745930: <4FGL_J1834.7-5858_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1834.7-5858_daily_bin1760> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jan 19 01:25:25 2023
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 01:26:56 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 01:26:56 2023
Terminated at Thu Jan 19 01:40:00 2023
Results reported at Thu Jan 19 01:40:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1834.7-5858_daily_bin1760 278.687 -58.9818 695520001 695779201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1834.7-5858 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   574.00 sec.
    Max Memory :                                 1260 MB
    Average Memory :                             284.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            875 sec.

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

