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


Performing analysis on: 4FGL_J0946.6+1016_daily_bin1765
RA = 146.661, Dec = 10.277
tmin = 696816001, tmax = 697075201
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='631255', job_status='RUN', time_executed='2023-02-03 00:47:28.808031', time_epoch_executed='1675414048.81' WHERE source_name='4FGL J0946.6+1016' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631255

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631255/ft1_4FGL_J0946.6+1016_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631255/ft1_4FGL_J0946.6+1016_daily_bin1765.fits outfile=/scratch/kocevski/631255/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1765.fits ra=146.661 dec=10.277 rad=12.0 tmin=696816001.0 tmax=697075201.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.72
user 3.46
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.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/631255/ft1_filteredMKT_4FGL_J0946.6+1016_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/631255/ft1_filtered_4FGL_J0946.6+1016_daily_bin1765.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.16

Number of photons that the gtmktime cut: 545

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631255/ft1_filtered_4FGL_J0946.6+1016_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/631255/ltcube_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.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/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.fits
.....................!
real 17.03
user 16.56
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631255/ft1_filtered_4FGL_J0946.6+1016_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/631255/ltcube_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.fits outfile=/scratch/kocevski/631255/expmap_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.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/631255/ltcube_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.fits
.....................!
real 194.42
user 188.78
sys 4.54

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J0946.6+1016 @ 146.661 10.277

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/631255/ft1_filtered_4FGL_J0946.6+1016_daily_bin1765.fits scfile=/scratch/kocevski/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.fits outfile=/scratch/kocevski/631255/cmap_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.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=146.661 yref=10.277 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631255/ft1_filtered_4FGL_J0946.6+1016_daily_bin1765.fits scfile=/scratch/kocevski/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.fits outfile=/scratch/kocevski/631255/cmap_HighResolution_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.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=146.661 yref=10.277 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.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631255/ft1_filtered_4FGL_J0946.6+1016_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631255/Model_4FGL_J0946.6+1016_daily_bin1765.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/631255/ft1_filtered_4FGL_J0946.6+1016_daily_bin1765.fits.....................!
real 62.23
user 60.60
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/631255/ft1_filtered_4FGL_J0946.6+1016_daily_bin1765.fits', '/scratch/kocevski/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.fits', expMap='/scratch/kocevski/631255/expmap_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.fits', expCube='/scratch/kocevski/631255/ltcube_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/631255/Model_4FGL_J0946.6+1016_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0946.6+1016'

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  1.452e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  2.344e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
202         beta:  8.006e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/631255/ft1_filtered_4FGL_J0946.6+1016_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/631255/ft2_4FGL_J0946.6+1016_daily_bin1765.fits
Exposure map: /scratch/kocevski/631255/expmap_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.fits
Exposure cube: /scratch/kocevski/631255/ltcube_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/631255/Model_4FGL_J0946.6+1016_daily_bin1765.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) = 6156.83600163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89189E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.235       1.0000          .0000       .10000E+07
     3 'norm      '    3.8850       1.0000          .0000       .10000E+07
     4 'norm      '    .11958       1.0000          .0000       .10000E+07
     5 'Prefactor '    .90132E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16931       1.0000          .0000       .10000E+07
     9 'Prefactor '    85.599       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79836E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16226E-05   1.0000          .0000       .10000E+07
    12 'Normalizat'    .88389       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0168       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6156.647     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      703 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    90.137        .96811E-07** at limit **
   2  Prefactor     12.233        4.4047       -.28411E-07   -.61666E-03
   3  norm          3.8832        1.6613       -.21822E-07    .52638E-03
   4  norm          .11927        .42507        .85288E-08** at limit **
   5  Prefactor     .27700E-07    10.941       -.96486E-07** at limit **
   6  Prefactor     1.0459        21.466        .28748E-06    .39279E-03
   7  Prefactor     .11102E-09    4.4228        .12017E-06** at limit **
   8  Prefactor     .86458E-04    712.99       -.22301E-06** at limit **
   9  Prefactor     85.397        18.173       -.13488E-07    .16261    
  10  Prefactor     .33307E-09    22.589        .14893E-06** at limit **
  11  Prefactor     .38358E-07    11.902       -.12913E-06** at limit **
  12  Normalizat    .88379        .20553        .14971E-05    .90024E-04
  13  Prefactor     1.0172        .17394        .92442E-06    .12249E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 12.2326
  norm       = 3.88321
  norm       = 0.119269
  Prefactor  = 2.77001e-08
  Prefactor  = 1.04588
  Prefactor  = 1.11022e-10
  Prefactor  = 8.64575e-05
  Prefactor  = 85.397
  Prefactor  = 3.33067e-10
  Prefactor  = 3.83582e-08
  Normalizat = 0.883795
  Prefactor  = 1.01718
 **********
 **   18 **HESSE 
 **********

 FCN=   6156.647     FROM HESSE     STATUS=OK           181 CALLS      884 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    3.6716        .83597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.233        4.4220        .28613E-03   -1.5638    
   3  norm          3.8832        1.6649        .51167E-03   -1.5669    
   4  norm          .11927        .38172        .13431E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27700E-07    11.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.0459        21.904        .11812E-02   -1.5688    
   7  Prefactor     .11102E-09    4.4333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .86458E-04    45.776        .15425E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     85.397        56.290        .10809E-03   -1.5523    
  10  Prefactor     .33307E-09    22.617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .38358E-07    11.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .88379        .17915        .44695E-01   -.97032    
  13  Prefactor     1.0172        .14927        .42474E-01   -.92159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00288e-06
Minuit parameter uncertainties:
  1  2.92536e-05
  2  4.42196
  3  1.66488
  4  0.38172
  5  0.0011049
  6  9.57273
  7  4.34094e-05
  8  0.125821
  9  56.29
  10  0.000177225
  11  0.0013538
  12  0.179274
  13  0.149333
Done.

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

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  3.883e+00  1.665e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  2.344e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
202         beta:  8.006e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.017e+00  1.493e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  8.838e-01  1.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.33
Ra Dec: 146.661 10.277
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 1.16e-07 +/- 4.98e-08
Energy Flux (Fixed Index): 3.73e-05 +/- 1.60e-05

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) = 6156.51672119
delta logL = 0.130395720564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6156.51214087
delta logL = 0.134976042001

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5774       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6276       1.0000          .0000       5.0000    
     3 'Normalizat'    .85257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6156.512     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      226 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5774        21.827        .53406E-03    .11537E-01
   2  alpha         2.6276        3.7503        .30453        .35700E-04
   3  Normalizat    .85258        .91662E-01    .44293E-01    .17015E-04
   4  Prefactor     1.0361        .76068E-01    .40802E-01    .38676E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.57741
  alpha      = 2.62759
  Normalizat = 0.852576
  Prefactor  = 1.0361
 **********
 **   18 **HESSE 
 **********

 FCN=   6156.512     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5774        1.8620        .56575E-05   -1.5670    
   2  alpha         2.6276        .59756        .11725E-01    .51060E-01
   3  Normalizat    .85258        .21190        .26684E-03   -.98147    
   4  Prefactor     1.0361        .17815        .21117E-03   -.91536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0361e-09
Minuit parameter uncertainties:
  1  1.86199
  2  0.603413
  3  0.21211
  4  0.178247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631255': 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) = 6156.51214087
delta logL = 0.134976043424

Extracting fit parameters...

4FGL J0946.6+1016
   Spectrum: LogParabola
200         norm:  3.577e+00  1.862e+00  0.000e+00  1.000e+06 ( 1.000e-11)
201        alpha:  2.628e+00  6.034e-01  0.000e+00  5.000e+00 ( 1.000e+00)
202         beta:  8.006e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
203           Eb:  5.052e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.036e+00  1.782e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  8.526e-01  2.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.66
Ra Dec: 146.661 10.277
Photon Index (Free Index): 2.63 +/- 0.60
Photon Flux (Free Index): 1.39e-07 +/- 6.82e-08
Energy Flux (Free Index): 3.49e-05 +/- 1.53e-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/631255/cmap_HighResolution_696816001_697075201_4FGL_J0946.6+1016_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.16e-07', energy_flux2='3.49e-05', photon_flux_error='4.98e-08', dlogl='1.35e-01', energy_flux='3.73e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2023-02-03 00:54:49.915268', photon_index_error2='0.60', photon_index2='2.63', ts='10.33', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.53e-05', EG='0.88', time_epoch_completed='1675414489.92', return_code='0', job_id='631255', GAL2='1.04', EG2='0.85', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='6.82e-08', ts2='10.66', photon_index='2.34' WHERE bin_id='1765' AND source_name='4FGL J0946.6+1016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 00:54:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 631255: <4FGL_J0946.6+1016_daily_bin1765> in cluster <slac> Done

Job <4FGL_J0946.6+1016_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:45:14 2023
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:45:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:45:19 2023
Terminated at Fri Feb  3 00:54:50 2023
Results reported at Fri Feb  3 00:54:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0946.6+1016_daily_bin1765 146.661 10.277 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0946.6+1016 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   441.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            576 sec.

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

