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


Performing analysis on: 4FGL_J2046.8-4258_daily_bin1732
RA = 311.72, Dec = -42.9694
tmin = 688262401, tmax = 688521601
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='647479', job_status='RUN', time_executed='2022-10-27 00:38:03.303397', time_epoch_executed='1666856283.3' WHERE source_name='4FGL J2046.8-4258' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647479

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647479/ft1_4FGL_J2046.8-4258_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647479/ft2_4FGL_J2046.8-4258_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647479/ft1_4FGL_J2046.8-4258_daily_bin1732.fits outfile=/scratch/kocevski/647479/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1732.fits ra=311.72 dec=-42.9694 rad=12.0 tmin=688262401.0 tmax=688521601.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.50
user 3.29
sys 0.19

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

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

Number of photons that the gtmktime cut: 619

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647479/ft1_filtered_4FGL_J2046.8-4258_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647479/ft2_4FGL_J2046.8-4258_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647479/ltcube_688262401_688521601_4FGL_J2046.8-4258_daily_bin1732.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/647479/ft2_4FGL_J2046.8-4258_daily_bin1732.fits
.....................!
real 12.04
user 11.71
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647479/ft1_filtered_4FGL_J2046.8-4258_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647479/ft2_4FGL_J2046.8-4258_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647479/ltcube_688262401_688521601_4FGL_J2046.8-4258_daily_bin1732.fits outfile=/scratch/kocevski/647479/expmap_688262401_688521601_4FGL_J2046.8-4258_daily_bin1732.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/647479/ltcube_688262401_688521601_4FGL_J2046.8-4258_daily_bin1732.fits
.....................!
real 191.73
user 186.30
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/647479/ft1_filtered_4FGL_J2046.8-4258_daily_bin1732.fits scfile=/scratch/kocevski/647479/ft2_4FGL_J2046.8-4258_daily_bin1732.fits outfile=/scratch/kocevski/647479/cmap_688262401_688521601_4FGL_J2046.8-4258_daily_bin1732.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647479/ft1_filtered_4FGL_J2046.8-4258_daily_bin1732.fits scfile=/scratch/kocevski/647479/ft2_4FGL_J2046.8-4258_daily_bin1732.fits outfile=/scratch/kocevski/647479/cmap_HighResolution_688262401_688521601_4FGL_J2046.8-4258_daily_bin1732.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.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647479/ft1_filtered_4FGL_J2046.8-4258_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647479/ft2_4FGL_J2046.8-4258_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647479/Model_4FGL_J2046.8-4258_daily_bin1732.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/647479/ft1_filtered_4FGL_J2046.8-4258_daily_bin1732.fits.....................!
real 57.08
user 55.78
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0169       1.0000          .0000       .10000E+07
     2 'norm      '    .56670       1.0000          .0000       .10000E+07
     3 'norm      '    .43513E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .39453E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .59204E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .31547E-06   1.0000          .0000       .10000E+07
     7 'norm      '    18.032       1.0000          .0000       .10000E+07
     8 'norm      '    .64470       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17550       1.0000          .0000       .10000E+07
    10 'Prefactor '    .89833E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .38714E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.8185       1.0000          .0000       .10000E+07
    13 'Prefactor '    .49123E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.9331       1.0000          .0000       .10000E+07
    15 'Prefactor '    .75245E-03   1.0000          .0000       .10000E+07
    16 'norm      '    11.427       1.0000          .0000       .10000E+07
    17 'Prefactor '    .52256E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .37224E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.5462       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .82957       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=   6708.156     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1229 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1266        1.1081        .11307E-07   -.13620E-02
   2  norm          .56721        1.0868        .20060E-06   -.19318E-02
   3  norm           .0000        4.1744       -.49330E-06** at limit **
   4  norm          .57176E-08    6.6347       -.86438E-07** at limit **
   5  norm           .0000        1.5504       -.14299E-06** at limit **
   6  norm          .55511E-10    4.4751        .22184E-06** at limit **
   7  norm          18.041        2.1699       -.27055E-07   -.42695E-01
   8  norm          .62319        .73754        .94174E-07    .55421E-02
   9  Prefactor     .98256E-05    446.40       -.10511E-05** at limit **
  10  Prefactor      .0000        13.848       -.40823E-06** at limit **
  11  norm           .0000        1.1350        .31400E-07** at limit **
  12  Prefactor     1.3873        8.6113        .43734E-06   -.11983E-01
  13  Prefactor     .58842E-08    7.7226       -.66627E-06** at limit **
  14  Prefactor     9.2551        5.1679       -.18199E-06   -.47855E-01
  15  Prefactor     .99920E-09    6.3160        .33974E-06** at limit **
  16  norm          11.398        5.3540        .19780E-08    .30504E-02
  17  Prefactor     .51070E-08    30.946        .17795E-05** at limit **
  18  Prefactor      .0000        3.6198       -.11382E-06** at limit **
  19  Normalizat    1.5465        .26815       -.55729E-05    .81957E-04
  20  Prefactor     .82951        .13035       -.73937E-06    .10352E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.12665
  norm       = 0.567215
  norm       = 0
  norm       = 5.71765e-09
  norm       = 0
  norm       = 5.55112e-11
  norm       = 18.0406
  norm       = 0.623187
  Prefactor  = 9.82558e-06
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.38729
  Prefactor  = 5.88418e-09
  Prefactor  = 9.25514
  Prefactor  = 9.99201e-10
  norm       = 11.3981
  Prefactor  = 5.10703e-09
  Prefactor  = 0
  Normalizat = 1.54649
  Prefactor  = 0.829511
 **********
 **   18 **HESSE 
 **********

 FCN=   6708.156     FROM HESSE     STATUS=OK           331 CALLS     1560 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1266        20.901        .50292E-03   -1.5667    
   2  norm          .56721        1.1000        .72265E-03   -1.5693    
   3  norm           .0000        4.1701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .57176E-08    6.6887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.5274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    4.3240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.041        14.983        .23558E-03   -1.5623    
   8  norm          .62319        51.883        .65316E-03   -1.5692    
   9  Prefactor     .98256E-05    476.47        .12229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        13.874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.1265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3873        123.30        .77414E-03   -1.5684    
  13  Prefactor     .58842E-08    7.7382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.2551        23.237        .33511E-03   -1.5647    
  15  Prefactor     .99920E-09    6.2300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.398        5.4855        .29610E-03   -1.5640    
  17  Prefactor     .51070E-08    31.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        3.6205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.5465        .22848        .67893E-01   -.76480    
  20  Prefactor     .82951        .11138        .44101E-01   -.98650    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57804e-07
Minuit parameter uncertainties:
  1  18.5746
  2  1.09999
  3  3.31591e-06
  4  0.000391851
  5  1.87314e-06
  6  2.45739e-05
  7  14.9834
  8  11.3725
  9  0.136856
  10  1.39672e-05
  11  1.64779e-06
  12  26.158
  13  0.000426025
  14  23.2371
  15  0.000156752
  16  5.48552
  17  0.000800857
  18  1.744e-05
  19  0.228629
  20  0.111408
Done.

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

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  9.826e-06  1.369e-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.295e-01  1.114e-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.546e+00  2.286e-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: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647479/likelihoodResults_688262401_688521601_4FGL_J2046.8-4258_daily_bin1732.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) = 6708.1565647
delta logL = -0.0010304262305

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6707.29208725
delta logL = 0.863447021846

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79123       1.0000          .0000       .10000E+07
     2 'Index     '    4.4144       1.0000          .0000       10.000    
     3 'Normalizat'    1.4163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86467       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=   6707.292     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      237 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .78733        11.504        .53591E-03    .12153E-01
   2  Index         4.4161        2.3154        .79605E-01    .24979E-03
   3  Normalizat    1.4163        .69446E-01    .70343E-01    .13052E-04
   4  Prefactor     .86468        .33112E-01    .44553E-01    .10334E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.787332
  Index      = 4.41608
  Normalizat = 1.41633
  Prefactor  = 0.864675
 **********
 **   18 **HESSE 
 **********

 FCN=   6707.292     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .78733        23.605        .55250E-05   -1.5690    
   2  Index         4.4161        3.6929        .39472E-02   -.11705    
   3  Normalizat    1.4163        .24021        .31123E-03   -.80157    
   4  Prefactor     .86468        .11266        .18653E-03   -.97387    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14197e-09
Minuit parameter uncertainties:
  1  8.62214
  2  4.16403
  3  0.240404
  4  0.112685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647479': 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) = 6707.29208635
delta logL = 0.863447926741

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  7.873e-01  8.622e+00  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  4.416e+00  4.164e+00  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.647e-01  1.127e-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.416e+00  2.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.89
Ra Dec: 311.720 -42.969
Photon Index (Free Index): 4.42 +/- 4.16
Photon Flux (Free Index): 1.08e-07 +/- 8.79e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/647479/cmap_HighResolution_688262401_688521601_4FGL_J2046.8-4258_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', comment='SUCCESS', energy_flux2='1.52e-05', dlogl='8.63e-01', photon_flux2='1.08e-07', job_status='DONE', time_completed='2022-10-27 00:46:48.518761', photon_index_error2='4.16', photon_index2='4.42', ts='-0.00', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='1.32e-05', EG='1.55', time_epoch_completed='1666856808.52', return_code='0', job_id='647479', GAL2='0.86', EG2='1.42', return_code2='102', photon_flux_error2='8.79e-08', ts2='1.89', photon_index='2.13' WHERE bin_id='1732' AND source_name='4FGL J2046.8-4258' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:46:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 647479: <4FGL_J2046.8-4258_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2046.8-4258_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:30 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:31 2022
Terminated at Thu Oct 27 00:46:49 2022
Results reported at Thu Oct 27 00:46:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2046.8-4258_daily_bin1732 311.72 -42.9694 688262401 688521601 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.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            679 sec.

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

