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


Performing analysis on: 4FGL_J2046.8-4258_daily_bin1757
RA = 311.72, Dec = -42.9694
tmin = 694742401, tmax = 695001601
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='220718', job_status='RUN', time_executed='2023-01-10 02:17:13.054797', time_epoch_executed='1673345833.05' WHERE source_name='4FGL J2046.8-4258' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/220718

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/220718/ft1_4FGL_J2046.8-4258_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/220718/ft2_4FGL_J2046.8-4258_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/220718/ft1_4FGL_J2046.8-4258_daily_bin1757.fits outfile=/scratch/kocevski/220718/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1757.fits ra=311.72 dec=-42.9694 rad=12.0 tmin=694742401.0 tmax=695001601.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.04
user 2.79
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/220718/ft2_4FGL_J2046.8-4258_daily_bin1757.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/220718/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/220718/ft1_filtered_4FGL_J2046.8-4258_daily_bin1757.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.53
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 273

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/220718/ft1_filtered_4FGL_J2046.8-4258_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/220718/ft2_4FGL_J2046.8-4258_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/220718/ltcube_694742401_695001601_4FGL_J2046.8-4258_daily_bin1757.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/220718/ft2_4FGL_J2046.8-4258_daily_bin1757.fits
.....................!
real 17.05
user 16.56
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/220718/ft1_filtered_4FGL_J2046.8-4258_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/220718/ft2_4FGL_J2046.8-4258_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/220718/ltcube_694742401_695001601_4FGL_J2046.8-4258_daily_bin1757.fits outfile=/scratch/kocevski/220718/expmap_694742401_695001601_4FGL_J2046.8-4258_daily_bin1757.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/220718/ltcube_694742401_695001601_4FGL_J2046.8-4258_daily_bin1757.fits
.....................!
real 193.47
user 187.66
sys 5.22

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/220718/ft1_filtered_4FGL_J2046.8-4258_daily_bin1757.fits scfile=/scratch/kocevski/220718/ft2_4FGL_J2046.8-4258_daily_bin1757.fits outfile=/scratch/kocevski/220718/cmap_694742401_695001601_4FGL_J2046.8-4258_daily_bin1757.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.59
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/220718/ft1_filtered_4FGL_J2046.8-4258_daily_bin1757.fits scfile=/scratch/kocevski/220718/ft2_4FGL_J2046.8-4258_daily_bin1757.fits outfile=/scratch/kocevski/220718/cmap_HighResolution_694742401_695001601_4FGL_J2046.8-4258_daily_bin1757.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.58
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/220718/ft1_filtered_4FGL_J2046.8-4258_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/220718/ft2_4FGL_J2046.8-4258_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/220718/Model_4FGL_J2046.8-4258_daily_bin1757.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/220718/ft1_filtered_4FGL_J2046.8-4258_daily_bin1757.fits.....................!
real 33.29
user 31.95
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4261       1.0000          .0000       .10000E+07
     2 'norm      '    12.974       1.0000          .0000       .10000E+07
     3 'norm      '    .38039E-01   1.0000          .0000       .10000E+07
     4 'norm      '    94.454       1.0000          .0000       .10000E+07
     5 'norm      '    5.8584       1.0000          .0000       .10000E+07
     6 'norm      '    .89742E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .62478E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .19573E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33053E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.7389       1.0000          .0000       .10000E+07
    11 'norm      '    1.2451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36618E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.8295       1.0000          .0000       .10000E+07
    14 'Prefactor '    32.645       1.0000          .0000       .10000E+07
    15 'Prefactor '    .51359E-06   1.0000          .0000       .10000E+07
    16 'norm      '    13.087       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16246E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.2489       1.0000          .0000       .10000E+07
    19 'Normalizat'    .84112       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0134       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=   2945.534     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1543 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6169        21.419        .11724E-04   -.14429E-01
   2  norm          12.728        11.061       -.45795E-06    .45404E-03
   3  norm          .55511E-10    50.228       -.27674E-05** at limit **
   4  norm          96.286        90.603        .11421E-04    .12517E-01
   5  norm          5.8437        6.3624       -.41468E-06    .95244E-04
   6  norm           .0000        6.4615        .28405E-06** at limit **
   7  norm          .55511E-10    15.248        .19537E-05** at limit **
   8  norm           .0000        29.604        .13313E-05** at limit **
   9  Prefactor     .87708E-08    58.534       -.44157E-05** at limit **
  10  Prefactor     3.7801        19.999       -.32244E-05    .27175E-03
  11  norm          1.2501        3.3218       -.46974E-07   -.15319E-03
  12  Prefactor     .30037E-06    75.421        .10014E-04** at limit **
  13  Prefactor     6.6528        11.609       -.77929E-06   -.52096E-03
  14  Prefactor     33.664        9.9279       -.32795E-06    .30639E-01
  15  Prefactor      .0000        1.9029        .38379E-06** at limit **
  16  norm          13.079        6.5951       -.58499E-06   -.32002E-03
  17  Prefactor      .0000        13.099       -.60449E-07** at limit **
  18  Prefactor     5.2373        7.3222       -.27869E-06    .12407E-03
  19  Normalizat    .83967        .39648        .51632E-04   -.53680E-05
  20  Prefactor     1.0139        .20622       -.22320E-04    .68269E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.61694
  norm       = 12.728
  norm       = 5.55112e-11
  norm       = 96.2863
  norm       = 5.84372
  norm       = 0
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 8.77076e-09
  Prefactor  = 3.78011
  norm       = 1.25008
  Prefactor  = 3.00371e-07
  Prefactor  = 6.65278
  Prefactor  = 33.6642
  Prefactor  = 0
  norm       = 13.0791
  Prefactor  = 0
  Prefactor  = 5.23726
  Normalizat = 0.839668
  Prefactor  = 1.01394
 **********
 **   18 **HESSE 
 **********

 FCN=   2945.534     FROM HESSE     STATUS=OK           331 CALLS     1874 TOTAL
                     EDM=   .26E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6169        .64022E+06    .90482E-03   -1.5683    
   2  norm          12.728        12.348        .27784E-03   -1.5637    
   3  norm          .55511E-10    49.639        .16053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          96.286        90.649        .10290E-03   -1.5512    
   5  norm          5.8437        6.3661        .41468E-03   -1.5660    
   6  norm           .0000        6.4168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    15.247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        29.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .87708E-08    58.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7801        19.873        .52194E-03   -1.5669    
  11  norm          1.2501        3.3456        .10033E-02   -1.5686    
  12  Prefactor     .30037E-06    78.901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.6528        11.743        .38369E-03   -1.5656    
  14  Prefactor     33.664        43.699        .17504E-03   -1.5592    
  15  Prefactor      .0000        1.9003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.079        7.0059        .27663E-03   -1.5636    
  17  Prefactor      .0000        13.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.2373        7.3316        .43849E-03   -1.5662    
  19  Normalizat    .83967        .32972        .79040E-01   -.98614    
  20  Prefactor     1.0139        .17012        .42873E-01   -.92266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000260818
Minuit parameter uncertainties:
  1  1422.56
  2  12.3484
  3  0.000120355
  4  90.6504
  5  6.36607
  6  3.56234e-06
  7  5.0111e-05
  8  1.71093e-05
  9  0.0014331
  10  17.3345
  11  3.34559
  12  0.00973676
  13  11.7426
  14  43.6991
  15  1.75816e-06
  16  7.0059
  17  1.61279e-05
  18  7.33163
  19  0.330507
  20  0.170211
Done.

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

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  8.771e-09  1.433e-03  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  2.134e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.921e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.014e+00  1.702e-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.397e-01  3.305e-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.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/220718/likelihoodResults_694742401_695001601_4FGL_J2046.8-4258_daily_bin1757.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) = 2945.54258621
delta logL = -0.00815621544825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2945.53443136
delta logL = -1.36841617859e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12033E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.9263       1.0000          .0000       10.000    
     3 'Normalizat'    .83992       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0137       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2945.534     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      235 TOTAL
                     EDM=   .17E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        65.551        .42118E-03** at limit **
   2  Index         1.1001        .81139       -.27699E-04     .0000    
   3  Normalizat    .83967        1.1775        .79952E-05    .58433E-05
   4  Prefactor     1.0139        1.2539       -.34080E-05    .48175E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.10009
  Normalizat = 0.839668
  Prefactor  = 1.01394
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2945.534     FROM HESSE     STATUS=FAILED         9 CALLS      244 TOTAL
                     EDM=   .17E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        65.551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .68864E-01    1.1646       -.27699E-04   -.89464    
   3  Normalizat    .83967        1.1775        .79952E-05   -.98614    
   4  Prefactor     1.0139        1.2539       -.34080E-05   -.92266    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.67425e-13
Minuit parameter uncertainties:
  1  1.16469e-05
  2  0.820771
  3  1.21656
  4  1.29305
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/220718': 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): 101
logL (Free Index) = 2945.53442999
delta logL = 7.54880602472e-11

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  1.165e-05  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  1.100e+00  8.208e-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.014e+00  1.293e+00  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.397e-01  1.217e+00  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/220718/cmap_HighResolution_694742401_695001601_4FGL_J2046.8-4258_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.74e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2023-01-10 02:24:20.079527', job_id='220718', GAL2='1.01', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1673346260.08', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='7.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1757' AND source_name='4FGL J2046.8-4258' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:24:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 220718: <4FGL_J2046.8-4258_daily_bin1757> in cluster <slac> Done

Job <4FGL_J2046.8-4258_daily_bin1757> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan 10 02:15:20 2023
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:16:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:16:41 2023
Terminated at Tue Jan 10 02:24:20 2023
Results reported at Tue Jan 10 02:24:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2046.8-4258_daily_bin1757 311.72 -42.9694 694742401 695001601 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 :                                   428.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   459 sec.
    Turnaround time :                            540 sec.

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

