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


Performing analysis on: 4FGL_J2046.8-4258_daily_bin1719
RA = 311.72, Dec = -42.9694
tmin = 684892801, tmax = 685152001
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='666582', job_status='RUN', time_executed='2022-09-18 01:20:40.102556', time_epoch_executed='1663489240.1' WHERE source_name='4FGL J2046.8-4258' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666582

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666582/ft1_4FGL_J2046.8-4258_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666582/ft1_4FGL_J2046.8-4258_daily_bin1719.fits outfile=/scratch/kocevski/666582/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1719.fits ra=311.72 dec=-42.9694 rad=12.0 tmin=684892801.0 tmax=685152001.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 3.11
user 2.89
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.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/666582/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/666582/ft1_filtered_4FGL_J2046.8-4258_daily_bin1719.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 492

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666582/ft1_filtered_4FGL_J2046.8-4258_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/666582/ltcube_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.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/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.fits
.....................!
real 13.39
user 13.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666582/ft1_filtered_4FGL_J2046.8-4258_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/666582/ltcube_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.fits outfile=/scratch/kocevski/666582/expmap_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.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/666582/ltcube_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.fits
.....................!
real 192.57
user 185.75
sys 6.29

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 167 point sources and 0 extended sources

Setting source of interest to:
4FGL J2046.8-4258 @ 311.72 -42.9694

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/666582/ft1_filtered_4FGL_J2046.8-4258_daily_bin1719.fits scfile=/scratch/kocevski/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.fits outfile=/scratch/kocevski/666582/cmap_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.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=311.72 yref=-42.9694 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666582/ft1_filtered_4FGL_J2046.8-4258_daily_bin1719.fits scfile=/scratch/kocevski/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.fits outfile=/scratch/kocevski/666582/cmap_HighResolution_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.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=311.72 yref=-42.9694 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/666582/ft1_filtered_4FGL_J2046.8-4258_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/666582/Model_4FGL_J2046.8-4258_daily_bin1719.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/666582/ft1_filtered_4FGL_J2046.8-4258_daily_bin1719.fits.....................!
real 50.07
user 47.63
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/666582/ft1_filtered_4FGL_J2046.8-4258_daily_bin1719.fits', '/scratch/kocevski/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.fits', expMap='/scratch/kocevski/666582/expmap_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.fits', expCube='/scratch/kocevski/666582/ltcube_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/666582/Model_4FGL_J2046.8-4258_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2046.8-4258'

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  5.589e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  2.134e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.921e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/666582/ft1_filtered_4FGL_J2046.8-4258_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/666582/ft2_4FGL_J2046.8-4258_daily_bin1719.fits
Exposure map: /scratch/kocevski/666582/expmap_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.fits
Exposure cube: /scratch/kocevski/666582/ltcube_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/666582/Model_4FGL_J2046.8-4258_daily_bin1719.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) = 5302.46124306

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7937       1.0000          .0000       .10000E+07
     2 'norm      '    9.0710       1.0000          .0000       .10000E+07
     3 'norm      '    20.102       1.0000          .0000       .10000E+07
     4 'norm      '    .13101E-07   1.0000          .0000       .10000E+07
     5 'norm      '    2.1156       1.0000          .0000       .10000E+07
     6 'norm      '    5.0477       1.0000          .0000       .10000E+07
     7 'norm      '    6.4284       1.0000          .0000       .10000E+07
     8 'norm      '    .40069       1.0000          .0000       .10000E+07
     9 'Prefactor '    35.996       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8193       1.0000          .0000       .10000E+07
    11 'norm      '    .80491E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29423E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.1206       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11207E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.1305       1.0000          .0000       .10000E+07
    16 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .20167E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .18874E-08   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4346       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .82534       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5302.452     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1803 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7985        4.2244        .25564E-06    .48297E-01
   2  norm          9.0715        1.8057        .41221E-07   -.24855E-03
   3  norm          20.106        11.378        .52226E-06    .39091E-03
   4  norm          .19151E-07    15.839        .11957E-05** at limit **
   5  norm          2.1159        1.4689        .32009E-07   -.65100E-03
   6  norm          5.0489        4.0707       -.44037E-08    .11286E-03
   7  norm          6.4290        15.351       -.10676E-05   -.43384E-01
   8  norm          .38550        .64633       -.15482E-06    .31868E-02
   9  Prefactor     35.996        1.3199        .53313E-07   -.67100E-02
  10  Prefactor     6.8434        10.382       -.93108E-06    .84621E-01
  11  norm           .0000        1.0572       -.57323E-07** at limit **
  12  Prefactor     .41672E-06    241.93        .93066E-05** at limit **
  13  Prefactor     6.1240        13.691       -.43646E-06    .66826E-02
  14  Prefactor     .14277E-06    115.50       -.32654E-05** at limit **
  15  Prefactor     6.1327        8.7623        .17538E-06   -.13672E-02
  16  norm           .0000        3.7130        .45094E-07** at limit **
  17  Prefactor     .72164E-09    25.545        .71569E-06** at limit **
  18  Prefactor     .45519E-08    13.478       -.38372E-06** at limit **
  19  Normalizat    1.4343        .35178        .11254E-04   -.52320E-04
  20  Prefactor     .82530        .15992       -.94386E-05   -.10850E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.79855
  norm       = 9.07153
  norm       = 20.1065
  norm       = 1.91513e-08
  norm       = 2.11592
  norm       = 5.04894
  norm       = 6.42897
  norm       = 0.385496
  Prefactor  = 35.9964
  Prefactor  = 6.84342
  norm       = 0
  Prefactor  = 4.16722e-07
  Prefactor  = 6.12404
  Prefactor  = 1.42775e-07
  Prefactor  = 6.13269
  norm       = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 4.55191e-09
  Normalizat = 1.43427
  Prefactor  = 0.825299
 **********
 **   18 **HESSE 
 **********

 FCN=   5302.452     FROM HESSE     STATUS=OK           341 CALLS     2144 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7985        15.401        .35895E-03   -1.5652    
   2  norm          9.0715        1.8041        .33254E-03   -1.5648    
   3  norm          20.106        11.393        .22311E-03   -1.5618    
   4  norm          .19151E-07    15.868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.1159        1.4664        .70889E-03   -1.5679    
   6  norm          5.0489        4.0776        .44732E-03   -1.5663    
   7  norm          6.4290        17.482        .39562E-03   -1.5657    
   8  norm          .38550        20.345        .11869E-01   -1.5696    
   9  Prefactor     35.996        54.333        .16670E-03   -1.5588    
  10  Prefactor     6.8434        23.320        .38398E-03   -1.5656    
  11  norm           .0000        1.0538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .41672E-06    240.88        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.1240        13.723        .40557E-03   -1.5658    
  14  Prefactor     .14277E-06    115.65        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.1327        8.7640        .40524E-03   -1.5658    
  16  norm           .0000        3.7132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .72164E-09    25.609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .45519E-08    13.548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4343        .29485        .76918E-01   -.79642    
  20  Prefactor     .82530        .13436        .44046E-01   -.98802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.29518e-07
Minuit parameter uncertainties:
  1  15.4014
  2  1.80412
  3  11.3934
  4  0.00110226
  5  1.46643
  6  4.07757
  7  17.4824
  8  5.60105
  9  54.3333
  10  23.3198
  11  9.71969e-07
  12  0.0200387
  13  13.723
  14  0.00812805
  15  8.76404
  16  3.53541e-06
  17  0.000275831
  18  0.000495361
  19  0.295201
  20  0.134415
Done.

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

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  3.600e+01  5.433e+01  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  2.134e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.921e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  8.253e-01  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.434e+00  2.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.80
Ra Dec: 311.720 -42.969
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666582/likelihoodResults_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.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) = 5302.44207532
delta logL = 0.0101728951231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5302.43671671
delta logL = 0.015531510262

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.212       1.0000          .0000       .10000E+07
     2 'Index     '    1.9587       1.0000          .0000       10.000    
     3 'Normalizat'    1.4376       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82440       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+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=   5302.437     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      262 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.213        75.625        .60855E-05   -.62770E-04
   2  Index         1.9586        .98482        .10182E-01   -.17524E-04
   3  Normalizat    1.4378        .34082        .34004E-03    .44801E-04
   4  Prefactor     .82431        .15694        .19893E-03    .84924E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.2134
  Index      = 1.95859
  Normalizat = 1.43784
  Prefactor  = 0.824306
 **********
 **   18 **HESSE 
 **********

 FCN=   5302.437     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.213        73.387        .12171E-05   -1.5576    
   2  Index         1.9586        .95642        .40729E-03   -.65389    
   3  Normalizat    1.4378        .34106        .13602E-04   -.79540    
   4  Prefactor     .82431        .15708        .79572E-05   -.98839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44833e-11
Minuit parameter uncertainties:
  1  73.389
  2  0.965933
  3  0.341604
  4  0.157165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666582': 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) = 5302.43671653
delta logL = 0.0155316884293

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  4.321e+01  7.339e+01  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  1.959e+00  9.659e-01  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  1.921e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  8.243e-01  1.572e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.438e+00  3.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.80
Ra Dec: 311.720 -42.969

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/666582/cmap_HighResolution_684892801_685152001_4FGL_J2046.8-4258_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.00e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2022-09-18 01:29:26.043319', job_id='666582', GAL2='0.82', fit_tolerance='1e-08', EG2='1.44', EG='1.43', time_epoch_completed='1663489766.04', return_code2='0', ts='0.80', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.55e-02', ts2='0.83', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1719' AND source_name='4FGL J2046.8-4258' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:29:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 666582: <4FGL_J2046.8-4258_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2046.8-4258_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 01:15:35 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:16:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:16:42 2022
Terminated at Sun Sep 18 01:29:26 2022
Results reported at Sun Sep 18 01:29:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2046.8-4258_daily_bin1719 311.72 -42.9694 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2046.8-4258 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   527.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             243.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            831 sec.

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

