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


Performing analysis on: 4FGL_J2046.8-4258_daily_bin1734
RA = 311.72, Dec = -42.9694
tmin = 688780801, tmax = 689040001
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='776306', job_status='RUN', time_executed='2022-11-02 00:36:42.070297', time_epoch_executed='1667374602.07' WHERE source_name='4FGL J2046.8-4258' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776306

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776306/ft1_4FGL_J2046.8-4258_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776306/ft2_4FGL_J2046.8-4258_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776306/ft1_4FGL_J2046.8-4258_daily_bin1734.fits outfile=/scratch/kocevski/776306/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1734.fits ra=311.72 dec=-42.9694 rad=12.0 tmin=688780801.0 tmax=689040001.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.53
user 3.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776306/ft2_4FGL_J2046.8-4258_daily_bin1734.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/776306/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1734.fits evtable="EVENTS" outfile="/scratch/kocevski/776306/ft1_filtered_4FGL_J2046.8-4258_daily_bin1734.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: 867

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776306/ft1_filtered_4FGL_J2046.8-4258_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776306/ft2_4FGL_J2046.8-4258_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776306/ltcube_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.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/776306/ft2_4FGL_J2046.8-4258_daily_bin1734.fits
.....................!
real 12.02
user 11.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776306/ft1_filtered_4FGL_J2046.8-4258_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776306/ft2_4FGL_J2046.8-4258_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776306/ltcube_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.fits outfile=/scratch/kocevski/776306/expmap_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.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/776306/ltcube_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.fits
.....................!
real 191.33
user 185.90
sys 5.10

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/776306/ft1_filtered_4FGL_J2046.8-4258_daily_bin1734.fits scfile=/scratch/kocevski/776306/ft2_4FGL_J2046.8-4258_daily_bin1734.fits outfile=/scratch/kocevski/776306/cmap_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776306/ft1_filtered_4FGL_J2046.8-4258_daily_bin1734.fits scfile=/scratch/kocevski/776306/ft2_4FGL_J2046.8-4258_daily_bin1734.fits outfile=/scratch/kocevski/776306/cmap_HighResolution_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776306/ft1_filtered_4FGL_J2046.8-4258_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776306/ft2_4FGL_J2046.8-4258_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776306/Model_4FGL_J2046.8-4258_daily_bin1734.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/776306/ft1_filtered_4FGL_J2046.8-4258_daily_bin1734.fits.....................!
real 70.47
user 69.17
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776306/ft1_filtered_4FGL_J2046.8-4258_daily_bin1734.fits', '/scratch/kocevski/776306/ft2_4FGL_J2046.8-4258_daily_bin1734.fits', expMap='/scratch/kocevski/776306/expmap_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.fits', expCube='/scratch/kocevski/776306/ltcube_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776306/Model_4FGL_J2046.8-4258_daily_bin1734.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/776306/ft1_filtered_4FGL_J2046.8-4258_daily_bin1734.fits
Spacecraft file(s): /scratch/kocevski/776306/ft2_4FGL_J2046.8-4258_daily_bin1734.fits
Exposure map: /scratch/kocevski/776306/expmap_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.fits
Exposure cube: /scratch/kocevski/776306/ltcube_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776306/Model_4FGL_J2046.8-4258_daily_bin1734.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) = 9201.17699769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.809       1.0000          .0000       .10000E+07
     2 'norm      '    .15621E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .42844E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .38006E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .35774E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .34960E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .57454E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .29630E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .35390       1.0000          .0000       .10000E+07
    10 'Prefactor '    .40178E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .79724       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.667       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25330E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.6166       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9659       1.0000          .0000       .10000E+07
    16 'norm      '    11.503       1.0000          .0000       .10000E+07
    17 'Prefactor '    .49224E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .32464E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1371       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1481       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=   9201.079     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1313 TOTAL
                     EDM=   .97E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.140        2.2370        .45350E-09   -.38554E-02
   2  norm           .0000        .84306        .13735E-06** at limit **
   3  norm          .22204E-09    4.3147        .21455E-06** at limit **
   4  norm          .11102E-09    44.987        .98111E-06** at limit **
   5  norm          .39553E-01    9.6460       -.68452E-06** at limit **
   6  norm          .34672E-06    25.848       -.65267E-06** at limit **
   7  norm          .33307E-09    7.6835       -.33614E-06** at limit **
   8  norm          .10073E-05    24.344        .28166E-06** at limit **
   9  Prefactor     .14100E-07    76.074       -.13997E-05** at limit **
  10  Prefactor     .23681E-05    19.196        .62767E-06** at limit **
  11  norm          .79740        1.1565        .11917E-06   -.13139E-02
  12  Prefactor     10.778        1.3503        .92485E-08   -.46104E-02
  13  Prefactor     .16653E-09    4.3459        .14954E-06** at limit **
  14  Prefactor     5.6381        1.4494        .31765E-07    .44505E-02
  15  Prefactor     4.0013        4.8358        .49392E-07   -.80154E-04
  16  norm          11.441        4.6488       -.14742E-06    .18457E-02
  17  Prefactor     .10090E-05    52.131        .19622E-06** at limit **
  18  Prefactor     .27756E-09    6.9912        .97053E-07** at limit **
  19  Normalizat    1.1376        .24894       -.26400E-05   -.57828E-05
  20  Prefactor     1.1479        .12539        .73049E-06   -.20225E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 29.1395
  norm       = 0
  norm       = 2.22045e-10
  norm       = 1.11022e-10
  norm       = 0.0395534
  norm       = 3.46723e-07
  norm       = 3.33067e-10
  norm       = 1.00731e-06
  Prefactor  = 1.40998e-08
  Prefactor  = 2.36805e-06
  norm       = 0.797403
  Prefactor  = 10.7785
  Prefactor  = 1.66533e-10
  Prefactor  = 5.63811
  Prefactor  = 4.00128
  norm       = 11.4407
  Prefactor  = 1.00903e-06
  Prefactor  = 2.77556e-10
  Normalizat = 1.13762
  Prefactor  = 1.14786
 **********
 **   18 **HESSE 
 **********

 FCN=   9201.079     FROM HESSE     STATUS=OK           349 CALLS     1662 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.140        25.920        .18634E-03   -1.5600    
   2  norm           .0000        .82701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .22204E-09    4.3138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    11.165        .10847E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .39553E-01    .67427        .43609E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .34672E-06    2.3474        .53027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .33307E-09    7.6736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10073E-05    32.812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .14100E-07    76.243        .95035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .23681E-05    38.226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .79740        1.1660        .53141E-03   -1.5690    
  12  Prefactor     10.778        18.379        .30652E-03   -1.5642    
  13  Prefactor     .16653E-09    4.3410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6381        19.957        .42365E-03   -1.5660    
  15  Prefactor     4.0013        4.8411        .50625E-03   -1.5668    
  16  norm          11.441        4.7536        .29513E-03   -1.5640    
  17  Prefactor     .10090E-05    57.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .27756E-09    6.9721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1376        .21608        .79598E-01   -.88553    
  20  Prefactor     1.1479        .10688        .35992E-01   -.87951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70124e-07
Minuit parameter uncertainties:
  1  25.9202
  2  2.58262e-06
  3  5.98398e-05
  4  6.88458e-05
  5  0.326616
  6  0.00180435
  7  0.000100997
  8  0.0114982
  9  0.00207245
  10  0.0190285
  11  1.16595
  12  18.3787
  13  5.26899e-05
  14  19.9569
  15  4.84111
  16  4.75357
  17  0.0152617
  18  8.82815e-05
  19  0.216253
  20  0.106902
Done.

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

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  1.410e-08  2.072e-03  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:  1.148e+00  1.069e-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.138e+00  2.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 311.720 -42.969
Photon Flux Upper Limit: 7.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776306/likelihoodResults_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.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) = 9201.08571853
delta logL = -0.00632018326178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9201.07939135
delta logL = 6.99170595908e-06

Fit tolerance = 1e-08

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

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

 FCN=   9201.079     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      417 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45647E-01    1.1081        .13607E-01** at limit **
   2  Index         2.9867        .61836        .50000        .73603E-04
   3  Normalizat    1.1374        .22526E-02    .79603E-01   -.57318E-04
   4  Prefactor     1.1479        .11525E-02    .35994E-01    .49499E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0456467
  Index      = 2.98667
  Normalizat = 1.13745
  Prefactor  = 1.1479
 **********
 **   18 **HESSE 
 **********

 FCN=   9201.079     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      458 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45647E-01    118.70        .74748E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9867        7.5026        .29954E-01   -.41443    
   3  Normalizat    1.1374        .15029E-01    .35238E-03   -.88558    
   4  Prefactor     1.1479        .76909E-02    .17878E-03   -.87950    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.17714e-06
Minuit parameter uncertainties:
  1  4.65554
  2  52.6804
  3  0.0150292
  4  0.00769093
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776306': 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) = 9201.07939001
delta logL = 8.33354533825e-06

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  4.565e-02  4.656e+00  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  2.987e+00  5.268e+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:  1.148e+00  7.691e-03  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.137e+00  1.503e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/776306/cmap_HighResolution_688780801_689040001_4FGL_J2046.8-4258_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-03', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2022-11-02 00:47:09.643715', job_id='776306', GAL2='1.15', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1667375229.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='8.33e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1734' AND source_name='4FGL J2046.8-4258' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:47:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 776306: <4FGL_J2046.8-4258_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2046.8-4258_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:14 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:16 2022
Terminated at Wed Nov  2 00:47:10 2022
Results reported at Wed Nov  2 00:47:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2046.8-4258_daily_bin1734 311.72 -42.9694 688780801 689040001 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 :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            716 sec.

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

