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 31 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2046.8-4258_daily_bin1697
RA = 311.72, Dec = -42.9694
tmin = 679190401, tmax = 679449601
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='857556', job_status='RUN', time_executed='2022-07-14 00:36:22.622293', time_epoch_executed='1657784182.62' WHERE source_name='4FGL J2046.8-4258' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857556

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857556/ft1_4FGL_J2046.8-4258_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857556/ft2_4FGL_J2046.8-4258_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857556/ft1_4FGL_J2046.8-4258_daily_bin1697.fits outfile=/scratch/kocevski/857556/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1697.fits ra=311.72 dec=-42.9694 rad=12.0 tmin=679190401.0 tmax=679449601.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.44
user 3.20
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857556/ft1_filtered_4FGL_J2046.8-4258_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857556/ft2_4FGL_J2046.8-4258_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857556/ltcube_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.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/857556/ft2_4FGL_J2046.8-4258_daily_bin1697.fits
.....................!
real 11.69
user 11.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857556/ft1_filtered_4FGL_J2046.8-4258_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857556/ft2_4FGL_J2046.8-4258_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857556/ltcube_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.fits outfile=/scratch/kocevski/857556/expmap_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.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/857556/ltcube_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.fits
.....................!
real 190.75
user 185.35
sys 5.00

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/857556/ft1_filtered_4FGL_J2046.8-4258_daily_bin1697.fits scfile=/scratch/kocevski/857556/ft2_4FGL_J2046.8-4258_daily_bin1697.fits outfile=/scratch/kocevski/857556/cmap_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.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.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857556/ft1_filtered_4FGL_J2046.8-4258_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857556/ft2_4FGL_J2046.8-4258_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857556/Model_4FGL_J2046.8-4258_daily_bin1697.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/857556/ft1_filtered_4FGL_J2046.8-4258_daily_bin1697.fits.....................!
real 53.38
user 52.08
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/857556/ft1_filtered_4FGL_J2046.8-4258_daily_bin1697.fits', '/scratch/kocevski/857556/ft2_4FGL_J2046.8-4258_daily_bin1697.fits', expMap='/scratch/kocevski/857556/expmap_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.fits', expCube='/scratch/kocevski/857556/ltcube_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/857556/Model_4FGL_J2046.8-4258_daily_bin1697.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  1.000e-04  1.000e+04 ( 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/857556/ft1_filtered_4FGL_J2046.8-4258_daily_bin1697.fits
Spacecraft file(s): /scratch/kocevski/857556/ft2_4FGL_J2046.8-4258_daily_bin1697.fits
Exposure map: /scratch/kocevski/857556/expmap_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.fits
Exposure cube: /scratch/kocevski/857556/ltcube_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/857556/Model_4FGL_J2046.8-4258_daily_bin1697.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) = 6509.63700525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.116       1.0000         .10000E-03   10000.    
     2 'norm      '    5.8637       1.0000         .10000E-03   10000.    
     3 'norm      '    3.5590       1.0000         .10000E-03   10000.    
     4 'norm      '    3.9824       1.0000         .10000E-03   10000.    
     5 'norm      '    .95978       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.5380       1.0000         .10000E-03   10000.    
     8 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.565       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10384E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.396       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.2403       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.861       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .35491E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89676       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0326       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.

 FCN=   6509.625     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2588 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.115        21.537        .27075E-07   -.73393E-06
   2  norm          5.8637        1.6674        .26368E-07   -.26672E-04
   3  norm          3.5580        11.224       -.17525E-05   -.77741E-04
   4  norm          3.9799        19.280        .11084E-04   -.50376E-04
   5  norm          .95982        1.7592        .22566E-06   -.34806E-04
   6  Prefactor     .10000E-03    81.881       -.11726E-05** at limit **
   7  norm          6.5382        4.2691       -.20611E-06   -.98694E-04
   8  norm          .10000E-03    10.806        .63953E-06** at limit **
   9  norm          .10000E-03    6.4069        .65025E-07** at limit **
  10  Prefactor     .10000E-03    11.776       -.48013E-06** at limit **
  11  Prefactor     20.641        101.39        .11757E-04    .95394E-04
  12  Prefactor     .10000E-03    36.378        .14540E-05** at limit **
  13  norm          .10000E-03    .92785        .10957E-06** at limit **
  14  Prefactor     11.398        25.521        .22587E-05   -.92724E-05
  15  Prefactor     .10000E-03    23.259       -.18198E-05** at limit **
  16  Prefactor     9.2397        8.4222        .18415E-06    .99251E-05
  17  Prefactor     23.855        37.614        .82309E-06    .35735E-04
  18  Prefactor     .10000E-03    1.7367       -.52735E-07** at limit **
  19  norm          .10000E-03    4.7344       -.38990E-06** at limit **
  20  Prefactor     .10000E-03    17.148        .12168E-05** at limit **
  21  Prefactor     .32443E-02    9.5397       -.15783E-05    .53213E-03
  22  Normalizat    .89684        .24371       -.18682E-05    .67377E-04
  23  Prefactor     1.0326        .11593       -.68415E-07    .10723E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.1154
  norm       = 5.86369
  norm       = 3.55801
  norm       = 3.97986
  norm       = 0.959824
  Prefactor  = 0.0001
  norm       = 6.53819
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.6406
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 11.3985
  Prefactor  = 0.000100001
  Prefactor  = 9.23973
  Prefactor  = 23.8545
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.00324427
  Normalizat = 0.896837
  Prefactor  = 1.0326
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.625     FROM HESSE     STATUS=OK           380 CALLS     2968 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.115        21.543        .96809E-04   -1.4880    
   2  norm          5.8637        1.6681        .53243E-04   -1.5224    
   3  norm          3.5580        11.193        .21424E-03   -1.5331    
   4  norm          3.9799        19.666        .10105E-02   -1.5309    
   5  norm          .95982        1.6373        .13930E-02   -1.5512    
   6  Prefactor     .10000E-03    82.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.5382        4.2677        .12937E-03   -1.5197    
   8  norm          .10000E-03    10.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.4082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.641        109.00        .88322E-04   -1.4799    
  12  Prefactor     .10000E-03    37.445        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.1671        .14776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.398        25.519        .59336E-03   -1.5033    
  15  Prefactor     .10000E-03    23.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.2397        8.4239        .13184E-03   -1.5100    
  17  Prefactor     23.855        37.640        .82004E-04   -1.4731    
  18  Prefactor     .10000E-03    1.7537        .10381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.8062        .17070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    17.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32443E-02    15.785        .69875E-01   -1.5697    
  22  Normalizat    .89684        .28203        .36472E-03   -.96571    
  23  Prefactor     1.0326        .13595        .17275E-03   -.91651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.70244e-09
Minuit parameter uncertainties:
  1  21.5527
  2  1.6681
  3  11.1991
  4  17.703
  5  1.63738
  6  0.000261022
  7  4.26788
  8  8.22441e-05
  9  4.26362e-06
  10  0.000126112
  11  95.136
  12  0.000355048
  13  0.000121507
  14  25.5429
  15  0.000282855
  16  8.42495
  17  37.6779
  18  2.16521e-06
  19  9.85968e-06
  20  0.000267333
  21  0.44568
  22  0.282498
  23  0.135999
Done.

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

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  2.064e+01  9.514e+01  1.000e-04  1.000e+04 ( 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.033e+00  1.360e-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:  8.968e-01  2.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/857556/likelihoodResults_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.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) = 6509.04049256
delta logL = 0.584990751307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6509.01119365
delta logL = 0.614289660696

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3735       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4001       1.0000          .0000       10.000    
     3 'Normalizat'    .81484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0524       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6509.011     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      314 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2647        332.43        .69269E-03   -.17581E-03
   2  Index         3.4052        6.6647        .48852E-02   -.36434E-04
   3  Normalizat    .81483        .23474        .38083E-03   -.22061E-04
   4  Prefactor     1.0526        .11728        .17120E-03   -.10691E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.26471
  Index      = 3.40517
  Normalizat = 0.814829
  Prefactor  = 1.05255
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.011     FROM HESSE     STATUS=OK            25 CALLS      339 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2647        28.697        .27708E-04   -1.5133    
   2  Index         3.4052        1.3647        .19541E-03   -.32464    
   3  Normalizat    .81483        .27118        .15233E-04   -.99521    
   4  Prefactor     1.0526        .13357        .68480E-05   -.90998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07917e-11
Minuit parameter uncertainties:
  1  28.7451
  2  1.3843
  3  0.271634
  4  0.133616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857556': 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) = 6509.01118314
delta logL = 0.61430016818

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  8.265e+00  2.875e+01  1.000e-04  1.000e+04 ( 1.000e-14)
283        Index:  3.405e+00  1.384e+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:  1.053e+00  1.336e-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:  8.148e-01  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.38
Ra Dec: 311.720 -42.969
Photon Index (Free Index): 3.41 +/- 1.38
Photon Flux (Free Index): 8.09e-08 +/- 8.01e-08
Energy Flux (Free Index): 1.38e-05 +/- 1.39e-05

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/857556/cmap_HighResolution_679190401_679449601_4FGL_J2046.8-4258_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.84e-03', comment='SUCCESS', energy_flux2='1.38e-05', dlogl='6.14e-01', photon_flux2='8.09e-08', job_status='DONE', time_completed='2022-07-14 00:47:02.785733', photon_index_error2='1.38', photon_index2='3.41', ts='0.05', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.39e-05', EG='0.90', time_epoch_completed='1657784822.79', return_code='0', job_id='857556', GAL2='1.05', EG2='0.81', return_code2='0', photon_flux_error2='8.01e-08', ts2='1.38', photon_index='2.13' WHERE bin_id='1697' AND source_name='4FGL J2046.8-4258' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:47:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 857556: <4FGL_J2046.8-4258_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2046.8-4258_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:41 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:41 2022
Terminated at Thu Jul 14 00:47:03 2022
Results reported at Thu Jul 14 00:47:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2046.8-4258_daily_bin1697 311.72 -42.9694 679190401 679449601 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 :                                   642.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            682 sec.

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

