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


Performing analysis on: 4FGL_J2046.8-4258_daily_bin1665
RA = 311.72, Dec = -42.9694
tmin = 670896001, tmax = 671155201
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='356912', job_status='RUN', time_executed='2022-04-09 00:37:12.151061', time_epoch_executed='1649489832.15' WHERE source_name='4FGL J2046.8-4258' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356912

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356912/ft1_4FGL_J2046.8-4258_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356912/ft2_4FGL_J2046.8-4258_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356912/ft1_4FGL_J2046.8-4258_daily_bin1665.fits outfile=/scratch/kocevski/356912/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1665.fits ra=311.72 dec=-42.9694 rad=12.0 tmin=670896001.0 tmax=671155201.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 5.39
user 5.11
sys 0.26

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

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

Number of photons that the gtmktime cut: 1062

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/356912/ft1_filtered_4FGL_J2046.8-4258_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/356912/ft2_4FGL_J2046.8-4258_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/356912/ltcube_670896001_671155201_4FGL_J2046.8-4258_daily_bin1665.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/356912/ft2_4FGL_J2046.8-4258_daily_bin1665.fits
.....................!
real 11.72
user 11.34
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356912/ft1_filtered_4FGL_J2046.8-4258_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/356912/ft2_4FGL_J2046.8-4258_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/356912/ltcube_670896001_671155201_4FGL_J2046.8-4258_daily_bin1665.fits outfile=/scratch/kocevski/356912/expmap_670896001_671155201_4FGL_J2046.8-4258_daily_bin1665.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/356912/ltcube_670896001_671155201_4FGL_J2046.8-4258_daily_bin1665.fits
.....................!
real 190.79
user 185.75
sys 4.60

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/356912/ft1_filtered_4FGL_J2046.8-4258_daily_bin1665.fits scfile=/scratch/kocevski/356912/ft2_4FGL_J2046.8-4258_daily_bin1665.fits outfile=/scratch/kocevski/356912/cmap_670896001_671155201_4FGL_J2046.8-4258_daily_bin1665.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356912/ft1_filtered_4FGL_J2046.8-4258_daily_bin1665.fits scfile=/scratch/kocevski/356912/ft2_4FGL_J2046.8-4258_daily_bin1665.fits outfile=/scratch/kocevski/356912/cmap_HighResolution_670896001_671155201_4FGL_J2046.8-4258_daily_bin1665.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/356912/ft1_filtered_4FGL_J2046.8-4258_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/356912/ft2_4FGL_J2046.8-4258_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/356912/Model_4FGL_J2046.8-4258_daily_bin1665.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/356912/ft1_filtered_4FGL_J2046.8-4258_daily_bin1665.fits.....................!
real 82.08
user 80.70
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    10.375       1.0000         .10000E-03   10000.    
     3 'norm      '    6.0060       1.0000         .10000E-03   10000.    
     4 'norm      '    24.527       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.7489       1.0000         .10000E-03   10000.    
     8 'norm      '    3.6573       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .63146       1.0000         .10000E-03   10000.    
    13 'norm      '    .48044       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.5119       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14771E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.5723       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.6758       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1306       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0405       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=   11051.63     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2185 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.2344        .44178E-06** at limit **
   2  norm          10.375        1.5583       -.12903E-07   -.75684E-04
   3  norm          6.0069        6.8441        .54626E-06   -.15943E-03
   4  norm          24.521        16.548        .10409E-06   -.11523E-04
   5  norm          .10000E-03    .47625        .27224E-08** at limit **
   6  Prefactor     .10000E-03    21.265        .30359E-05** at limit **
   7  norm          1.7501        2.8618       -.61514E-06   -.12627E-02
   8  norm          3.6572        5.4484       -.28682E-06   -.29506E-03
   9  norm          .10000E-03    6.4442       -.33231E-06** at limit **
  10  Prefactor     .10000E-03    35.754        .19422E-04** at limit **
  11  Prefactor     .10000E-03    64.826       -.26483E-04** at limit **
  12  Prefactor     .66756        6.5789        .76507E-07   -.45220E-03
  13  norm          .48022        1.0825       -.70681E-06   -.29028E-02
  14  Prefactor     7.5115        12.799       -.30854E-06   -.42377E-04
  15  Prefactor     .10000E-03    30.119       -.17311E-04** at limit **
  16  Prefactor     .10000E-03    6.1142       -.18183E-06** at limit **
  17  Prefactor     .10000E-03    55.799        .18172E-04** at limit **
  18  Prefactor     .10000E-03    2.6374        .27195E-08** at limit **
  19  norm          7.5744        3.3796       -.36788E-07   -.27230E-03
  20  Prefactor     .10000E-03    4.6697       -.67384E-08** at limit **
  21  Prefactor     2.6757        3.0456        .63562E-07    .17243E-03
  22  Normalizat    1.1307        .18679        .10953E-06   -.10006E-03
  23  Prefactor     1.0405        .94017E-01    .65019E-07   -.11777E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 10.3754
  norm       = 6.00686
  norm       = 24.5207
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.75006
  norm       = 3.6572
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.66756
  norm       = 0.480219
  Prefactor  = 7.51149
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 7.57436
  Prefactor  = 0.0001
  Prefactor  = 2.67572
  Normalizat = 1.13073
  Prefactor  = 1.04049
 **********
 **   18 **HESSE 
 **********

 FCN=   11051.63     FROM HESSE     STATUS=OK           370 CALLS     2555 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.2348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.375        1.5591        .48903E-04   -1.5064    
   3  norm          6.0069        6.8261        .16384E-03   -1.5218    
   4  norm          24.521        16.518        .80884E-04   -1.4717    
   5  norm          .10000E-03    .49017        .14166E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.7501        2.8681        .22002E-03   -1.5443    
   8  norm          3.6572        5.4512        .21122E-03   -1.5325    
   9  norm          .10000E-03    6.4514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    64.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .66756        42.175        .51972E-02   -1.5545    
  13  norm          .48022        1.0885        .16118E-03   -1.5569    
  14  Prefactor     7.5115        12.798        .14633E-03   -1.5160    
  15  Prefactor     .10000E-03    29.814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.2612        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    56.338        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.6946        .16661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.5744        3.3811        .12541E-03   -1.5157    
  20  Prefactor     .10000E-03    4.7329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.6757        3.0467        .19101E-03   -1.5381    
  22  Normalizat    1.1307        .21677        .34758E-03   -.88771    
  23  Prefactor     1.0405        .11022        .18345E-03   -.91392    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32657e-09
Minuit parameter uncertainties:
  1  1.75253e-07
  2  1.55911
  3  6.82697
  4  16.5206
  5  2.16155e-09
  6  3.73597e-06
  7  2.86835
  8  5.45198
  9  5.16198e-06
  10  0.000173649
  11  4.67087e-05
  12  10.6192
  13  1.08855
  14  12.8024
  15  4.06646e-05
  16  3.87675e-06
  17  0.000369277
  18  2.59537e-07
  19  3.38116
  20  2.02173e-06
  21  3.04691
  22  0.216944
  23  0.110244
Done.

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

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  4.671e-05  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.040e+00  1.102e-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.131e+00  2.169e-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: 6.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/356912/likelihoodResults_670896001_671155201_4FGL_J2046.8-4258_daily_bin1665.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) = 11051.6318643
delta logL = -7.43241726013e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11051.6317901
delta logL = -1.2473174138e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0838       1.0000          .0000       10.000    
     3 'Normalizat'    1.1307       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0405       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=   11051.63     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      241 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6514.3        .90712E-02** at limit **
   2  Index         2.1467        6.0731        .50000       -.10720E-04
   3  Normalizat    1.1307        .36611E-01    .78524E-01    .24752E-03
   4  Prefactor     1.0405        .18717E-01    .40501E-01    .52340E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.14674
  Normalizat = 1.13073
  Prefactor  = 1.04049
 **********
 **   18 **HESSE 
 **********

 FCN=   11051.63     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      272 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7730.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1467        8.9181        .50000       -.60730    
   3  Normalizat    1.1307        .56791E-01    .34758E-03   -.88771    
   4  Prefactor     1.0405        .29087E-01    .18345E-03   -.91392    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.80439e-08
Minuit parameter uncertainties:
  1  0.00316481
  2  42.3139
  3  0.0567943
  4  0.0290874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356912': 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) = 11051.6317899
delta logL = 3.13848431688e-08

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  3.165e-03  1.000e-04  1.000e+04 ( 1.000e-14)
283        Index:  2.147e+00  4.231e+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.040e+00  2.909e-02  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.131e+00  5.679e-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/356912/cmap_HighResolution_670896001_671155201_4FGL_J2046.8-4258_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-03', job_status='DONE', photon_flux_upper_limit='6.52e-08', time_completed='2022-04-09 00:51:31.312539', job_id='356912', GAL2='1.04', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1649490691.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.14e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1665' AND source_name='4FGL J2046.8-4258' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:51:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 356912: <4FGL_J2046.8-4258_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2046.8-4258_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:35 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:36 2022
Terminated at Sat Apr  9 00:51:32 2022
Results reported at Sat Apr  9 00:51:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2046.8-4258_daily_bin1665 311.72 -42.9694 670896001 671155201 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 :                                   861.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

