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


Performing analysis on: 4FGL_J2046.8-4258_daily_bin1754
RA = 311.72, Dec = -42.9694
tmin = 693964801, tmax = 694224001
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='653244', job_status='RUN', time_executed='2023-01-01 01:49:39.095293', time_epoch_executed='1672566579.1' WHERE source_name='4FGL J2046.8-4258' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/653244

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/653244/ft1_4FGL_J2046.8-4258_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/653244/ft2_4FGL_J2046.8-4258_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/653244/ft1_4FGL_J2046.8-4258_daily_bin1754.fits outfile=/scratch/kocevski/653244/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1754.fits ra=311.72 dec=-42.9694 rad=12.0 tmin=693964801.0 tmax=694224001.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.94
user 3.71
sys 0.22

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

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

Number of photons that the gtmktime cut: 513

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/653244/ft1_filtered_4FGL_J2046.8-4258_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/653244/ft2_4FGL_J2046.8-4258_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/653244/ltcube_693964801_694224001_4FGL_J2046.8-4258_daily_bin1754.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/653244/ft2_4FGL_J2046.8-4258_daily_bin1754.fits
.....................!
real 15.32
user 14.91
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/653244/ft1_filtered_4FGL_J2046.8-4258_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/653244/ft2_4FGL_J2046.8-4258_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/653244/ltcube_693964801_694224001_4FGL_J2046.8-4258_daily_bin1754.fits outfile=/scratch/kocevski/653244/expmap_693964801_694224001_4FGL_J2046.8-4258_daily_bin1754.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/653244/ltcube_693964801_694224001_4FGL_J2046.8-4258_daily_bin1754.fits
.....................!
real 191.94
user 186.30
sys 5.17

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/653244/ft1_filtered_4FGL_J2046.8-4258_daily_bin1754.fits scfile=/scratch/kocevski/653244/ft2_4FGL_J2046.8-4258_daily_bin1754.fits outfile=/scratch/kocevski/653244/cmap_693964801_694224001_4FGL_J2046.8-4258_daily_bin1754.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.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/653244/ft1_filtered_4FGL_J2046.8-4258_daily_bin1754.fits scfile=/scratch/kocevski/653244/ft2_4FGL_J2046.8-4258_daily_bin1754.fits outfile=/scratch/kocevski/653244/cmap_HighResolution_693964801_694224001_4FGL_J2046.8-4258_daily_bin1754.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/653244/ft1_filtered_4FGL_J2046.8-4258_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/653244/ft2_4FGL_J2046.8-4258_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/653244/Model_4FGL_J2046.8-4258_daily_bin1754.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/653244/ft1_filtered_4FGL_J2046.8-4258_daily_bin1754.fits.....................!
real 46.68
user 45.37
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.073       1.0000          .0000       .10000E+07
     2 'norm      '    7.2127       1.0000          .0000       .10000E+07
     3 'norm      '    .13378E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .47193       1.0000          .0000       .10000E+07
     5 'norm      '    7.7324       1.0000          .0000       .10000E+07
     6 'norm      '    1.6087       1.0000          .0000       .10000E+07
     7 'norm      '    11.340       1.0000          .0000       .10000E+07
     8 'norm      '    .14692E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .35393E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12800E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .30759       1.0000          .0000       .10000E+07
    12 'Prefactor '    23.388       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.8793       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.6064       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5364       1.0000          .0000       .10000E+07
    16 'norm      '    8.0181       1.0000          .0000       .10000E+07
    17 'Prefactor '    .88306E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .85911E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    .93104       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0438       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=   5338.771     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1236 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.213        1.2409       -.86303E-08   -.68814E-02
   2  norm          7.2168        1.9431       -.13352E-06    .33453E-02
   3  norm          .55511E-10    4.3038       -.31759E-06** at limit **
   4  norm          .44844        1.1803        .32405E-06   -.21761E-02
   5  norm          7.7395        3.1185       -.53693E-06   -.50404E-03
   6  norm          1.6214        3.5411        .65471E-07    .81033E-03
   7  norm          11.889        14.900        .70296E-06    .50599E-03
   8  norm          .33867E-06    13.274       -.26440E-06** at limit **
   9  Prefactor     .38858E-09    21.311       -.29658E-05** at limit **
  10  Prefactor     .11102E-09    11.983       -.49549E-06** at limit **
  11  norm          .31215        2.5316       -.12019E-06    .31212E-03
  12  Prefactor     24.977        32.164        .12610E-05   -.44928E-02
  13  Prefactor     3.9370        9.8123        .34841E-06   -.44837E-03
  14  Prefactor     1.5561        1.6984        .22098E-06    .12456E-02
  15  Prefactor     3.4938        6.3146       -.20603E-06   -.11330E-03
  16  norm          8.0075        5.1053        .80116E-06    .81433E-03
  17  Prefactor     .53751E-06    9.8596       -.97218E-06** at limit **
  18  Prefactor      .0000        4.4512       -.54484E-06** at limit **
  19  Normalizat    .93033        .30907       -.23806E-04   -.46617E-05
  20  Prefactor     1.0428        .15387        .65541E-05   -.57641E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 24.213
  norm       = 7.21684
  norm       = 5.55112e-11
  norm       = 0.448439
  norm       = 7.7395
  norm       = 1.62142
  norm       = 11.8887
  norm       = 3.38674e-07
  Prefactor  = 3.88578e-10
  Prefactor  = 1.11022e-10
  norm       = 0.312147
  Prefactor  = 24.9772
  Prefactor  = 3.93696
  Prefactor  = 1.55612
  Prefactor  = 3.49381
  norm       = 8.00746
  Prefactor  = 5.37514e-07
  Prefactor  = 0
  Normalizat = 0.930327
  Prefactor  = 1.04279
 **********
 **   18 **HESSE 
 **********

 FCN=   5338.771     FROM HESSE     STATUS=OK           347 CALLS     1583 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.213        24.728        .20386E-03   -1.5610    
   2  norm          7.2168        1.9434        .37325E-03   -1.5654    
   3  norm          .55511E-10    4.3082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .44844        13.446        .10002E-01   -1.5695    
   5  norm          7.7395        3.1190        .36038E-03   -1.5652    
   6  norm          1.6214        3.5870        .83496E-03   -1.5682    
   7  norm          11.889        14.885        .29725E-03   -1.5639    
   8  norm          .33867E-06    32.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .38858E-09    21.357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    33.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .31215        1.4159        .29732E-02   -1.5697    
  12  Prefactor     24.977        32.726        .20683E-03   -1.5608    
  13  Prefactor     3.9370        9.8558        .51206E-03   -1.5668    
  14  Prefactor     1.5561        75.736        .83573E-03   -1.5683    
  15  Prefactor     3.4938        6.3133        .53727E-03   -1.5671    
  16  norm          8.0075        5.2366        .35385E-03   -1.5651    
  17  Prefactor     .53751E-06    36.440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        4.4540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .93033        .26935        .80612E-01   -.95403    
  20  Prefactor     1.0428        .13200        .40285E-01   -.91316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61558e-07
Minuit parameter uncertainties:
  1  24.7281
  2  1.94342
  3  3.54851e-05
  4  4.91116
  5  3.11904
  6  3.58703
  7  14.8846
  8  0.00661856
  9  0.000177924
  10  0.000117205
  11  1.32962
  12  32.7259
  13  9.8558
  14  21.7125
  15  6.31334
  16  5.23658
  17  0.00885168
  18  1.06891e-05
  19  0.269745
  20  0.132042
Done.

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

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  3.886e-10  1.779e-04  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.043e+00  1.320e-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:  9.303e-01  2.697e-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: 5.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/653244/likelihoodResults_693964801_694224001_4FGL_J2046.8-4258_daily_bin1754.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) = 5338.79340511
delta logL = -0.0223468245549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5338.77105905
delta logL = -7.67742676544e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29125E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.0359       1.0000          .0000       10.000    
     3 'Normalizat'    .93016       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0428       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=   5338.771     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      233 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18874E-08    11.299        .42118E-03** at limit **
   2  Index         .92788        9.3033        .40817       -.17269E-09
   3  Normalizat    .93033        .44095E-02    .80612E-01    .93598E-04
   4  Prefactor     1.0428        .23135E-02    .40349E-01    .11697E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88738e-09
  Index      = 0.927884
  Normalizat = 0.930327
  Prefactor  = 1.04279
 **********
 **   18 **HESSE 
 **********

 FCN=   5338.771     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      260 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18874E-08    19.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .92788        9.1749        .50000       -.95173    
   3  Normalizat    .93033        .57159E-02    .35684E-03   -.95403    
   4  Prefactor     1.0428        .30050E-02    .17698E-03   -.91316    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.38652e-10
Minuit parameter uncertainties:
  1  0.000379142
  2  64746.4
  3  0.00571588
  4  0.00300497
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/653244': 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) = 5338.77105829
delta logL = -3.36513039656e-11

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  1.887e-09  3.791e-04  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  9.279e-01  6.475e+04  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.043e+00  3.005e-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:  9.303e-01  5.716e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/653244/cmap_HighResolution_693964801_694224001_4FGL_J2046.8-4258_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.06e-03', job_status='DONE', photon_flux_upper_limit='5.35e-08', time_completed='2023-01-01 01:57:58.058737', job_id='653244', GAL2='1.04', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1672567078.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='-3.37e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1754' AND source_name='4FGL J2046.8-4258' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:57:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 653244: <4FGL_J2046.8-4258_daily_bin1754> in cluster <slac> Done

Job <4FGL_J2046.8-4258_daily_bin1754> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jan  1 01:45:17 2023
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:46:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:46:41 2023
Terminated at Sun Jan  1 01:57:58 2023
Results reported at Sun Jan  1 01:57:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2046.8-4258_daily_bin1754 311.72 -42.9694 693964801 694224001 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 :                                   501.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             268.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            761 sec.

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

