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


Performing analysis on: 4FGL_J0801.1+6444_daily_bin1714
RA = 120.293, Dec = 64.7438
tmin = 683596801, tmax = 683856001
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='60874', job_status='RUN', time_executed='2022-09-16 13:31:46.710093', time_epoch_executed='1663360306.71' WHERE source_name='4FGL J0801.1+6444' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/60874

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/60874/ft1_4FGL_J0801.1+6444_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/60874/ft1_4FGL_J0801.1+6444_daily_bin1714.fits outfile=/scratch/kocevski/60874/ft1_filteredMKT_4FGL_J0801.1+6444_daily_bin1714.fits ra=120.293 dec=64.7438 rad=12.0 tmin=683596801.0 tmax=683856001.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.49
user 3.27
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.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/60874/ft1_filteredMKT_4FGL_J0801.1+6444_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/60874/ft1_filtered_4FGL_J0801.1+6444_daily_bin1714.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.31
sys 0.18

Number of photons that the gtmktime cut: 912

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/60874/ft1_filtered_4FGL_J0801.1+6444_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/60874/ltcube_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.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/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.fits
.....................!
real 13.66
user 13.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/60874/ft1_filtered_4FGL_J0801.1+6444_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/60874/ltcube_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.fits outfile=/scratch/kocevski/60874/expmap_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.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/60874/ltcube_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.fits
.....................!
real 191.33
user 185.44
sys 5.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 220 point sources and 0 extended sources

Setting source of interest to:
4FGL J0801.1+6444 @ 120.293 64.7438

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/60874/ft1_filtered_4FGL_J0801.1+6444_daily_bin1714.fits scfile=/scratch/kocevski/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.fits outfile=/scratch/kocevski/60874/cmap_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.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=120.293 yref=64.7438 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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/60874/ft1_filtered_4FGL_J0801.1+6444_daily_bin1714.fits scfile=/scratch/kocevski/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.fits outfile=/scratch/kocevski/60874/cmap_HighResolution_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.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=120.293 yref=64.7438 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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/60874/ft1_filtered_4FGL_J0801.1+6444_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/60874/Model_4FGL_J0801.1+6444_daily_bin1714.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/60874/ft1_filtered_4FGL_J0801.1+6444_daily_bin1714.fits.....................!
real 106.81
user 105.26
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/60874/ft1_filtered_4FGL_J0801.1+6444_daily_bin1714.fits', '/scratch/kocevski/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.fits', expMap='/scratch/kocevski/60874/expmap_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.fits', expCube='/scratch/kocevski/60874/ltcube_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/60874/Model_4FGL_J0801.1+6444_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0801.1+6444'

4FGL J0801.1+6444
   Spectrum: PowerLaw
298    Prefactor:  2.258e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
299        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  2.934e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/60874/ft1_filtered_4FGL_J0801.1+6444_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/60874/ft2_4FGL_J0801.1+6444_daily_bin1714.fits
Exposure map: /scratch/kocevski/60874/expmap_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.fits
Exposure cube: /scratch/kocevski/60874/ltcube_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/60874/Model_4FGL_J0801.1+6444_daily_bin1714.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) = 9786.67475878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.270       1.0000          .0000       .10000E+07
     2 'Prefactor '    .39719E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    29.335       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12228E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17050E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .25722E-02   1.0000          .0000       .10000E+07
     7 'norm      '    2.7345       1.0000          .0000       .10000E+07
     8 'Prefactor '    .18700E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .60556       1.0000          .0000       .10000E+07
    10 'Prefactor '    59.794       1.0000          .0000       .10000E+07
    11 'norm      '    .98959E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.4359       1.0000          .0000       .10000E+07
    13 'norm      '    .11944E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .32641E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40024E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .47368E-06   1.0000          .0000       .10000E+07
    17 'norm      '    5.9433       1.0000          .0000       .10000E+07
    18 'Prefactor '    .79252E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    28.618       1.0000          .0000       .10000E+07
    20 'Prefactor '    .66950E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .77495       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4955       1.0000          .0000       .10000E+07
    23 'Prefactor '    9.3876       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1259       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86766       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9784.526     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1214 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.583        2.5662        .24152E-06    .77508E-02
   2  Prefactor     .33518E-06    8.7270        .24739E-05** at limit **
   3  Prefactor     28.868        2.7426       -.11153E-07    .47902E-02
   4  Prefactor     .21116E-06    23.610        .19952E-05** at limit **
   5  Prefactor     .27756E-09    4.9470       -.53927E-06** at limit **
   6  Prefactor     .66575E-06    4.2281       -.12160E-06** at limit **
   7  norm          2.7346        .66810        .22060E-06    .72383E-02
   8  Prefactor     .28366E-06    5.0014       -.74105E-06** at limit **
   9  norm          .60414        .60063       -.17027E-06   -.19068E-02
  10  Prefactor     58.257        26.202       -.23962E-05    .46786E-01
  11  norm          .24741E-06    1.5238        .12536E-05** at limit **
  12  Prefactor     6.4300        3.7568        .61935E-07    .26651E-03
  13  norm           .0000        1.1866        .27633E-06** at limit **
  14  Prefactor      .0000        .73121       -.50128E-06** at limit **
  15  Prefactor      .0000        2.3243       -.31194E-06** at limit **
  16  Prefactor      .0000        2.1825       -.28405E-06** at limit **
  17  norm          5.9392        2.2074        .16172E-07   -.24376E-02
  18  Prefactor     .55511E-10    8.6337       -.15365E-05** at limit **
  19  Prefactor     28.576        1.5503       -.93266E-07   -.96040E-02
  20  Prefactor     .10650E-05    9.2437        .37662E-06** at limit **
  21  norm          .77550        .67555        .39214E-06   -.46021E-04
  22  Prefactor     7.2802        7.2821       -.47158E-06   -.48266E-01
  23  Prefactor     9.2395        7.9164        .31178E-06    .51319E-01
  24  Normalizat    1.1279        .18305        .33196E-05    .32151E-04
  25  Prefactor     .86747        .11907        .32177E-05   -.20910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.5829
  Prefactor  = 3.35176e-07
  Prefactor  = 28.8678
  Prefactor  = 2.11164e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 6.65745e-07
  norm       = 2.73465
  Prefactor  = 2.83662e-07
  norm       = 0.60414
  Prefactor  = 58.2572
  norm       = 2.47413e-07
  Prefactor  = 6.43004
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 5.93921
  Prefactor  = 5.55112e-11
  Prefactor  = 28.5757
  Prefactor  = 1.06498e-06
  norm       = 0.775503
  Prefactor  = 7.28019
  Prefactor  = 9.23946
  Normalizat = 1.12789
  Prefactor  = 0.867469
 **********
 **   18 **HESSE 
 **********

 FCN=   9784.526     FROM HESSE     STATUS=OK           479 CALLS     1693 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.583        28.923        .17339E-03   -1.5592    
   2  Prefactor     .33518E-06    11.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.868        22.881        .18466E-03   -1.5601    
   4  Prefactor     .21116E-06    24.896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    4.9526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .66575E-06    12.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7346        .67002        .61548E-03   -1.5675    
   8  Prefactor     .28366E-06    13.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .60414        .61177        .68731E-03   -1.5692    
  10  Prefactor     58.257        28.561        .12933E-03   -1.5555    
  11  norm          .24741E-06    1.9202        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.4300        3.7571        .39538E-03   -1.5657    
  13  norm           .0000        1.1859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .72796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        2.3247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        2.1790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.9392        2.2102        .41166E-03   -1.5659    
  18  Prefactor     .55511E-10    8.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     28.576        15.294        .18696E-03   -1.5601    
  20  Prefactor     .10650E-05    14.895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .77550        .68951        .54821E-03   -1.5690    
  22  Prefactor     7.2802        10.714        .36608E-03   -1.5654    
  23  Prefactor     9.2395        10.642        .32685E-03   -1.5647    
  24  Normalizat    1.1279        .16273        .63606E-01   -.88861    
  25  Prefactor     .86747        .10380        .44591E-01   -.97287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92737e-07
Minuit parameter uncertainties:
  1  28.9231
  2  0.003868
  3  22.8815
  4  0.00458559
  5  7.55961e-05
  6  0.00576954
  7  0.670023
  8  0.00391996
  9  0.611772
  10  28.5611
  11  0.00137849
  12  3.75713
  13  2.24513e-06
  14  2.37791e-06
  15  1.42085e-05
  16  9.95973e-06
  17  2.21022
  18  5.32928e-05
  19  15.2944
  20  0.0079657
  21  0.689506
  22  10.7139
  23  10.6418
  24  0.162802
  25  0.103826
Done.

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

Extracting fit parameters...

4FGL J0801.1+6444
   Spectrum: PowerLaw
298    Prefactor:  5.826e+01  2.856e+01  0.000e+00  1.000e+06 ( 1.000e-14)
299        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  2.934e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  8.675e-01  1.038e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.128e+00  1.628e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.47
Ra Dec: 120.293 64.744
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 5.82e-08 +/- 2.85e-08
Energy Flux (Fixed Index): 3.48e-05 +/- 1.70e-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) = 9784.48847812
delta logL = 0.0378317767518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9784.48304417
delta logL = 0.0432657290694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.508       1.0000          .0000       .10000E+07
     2 'Index     '    2.1902       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87140       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9784.483     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      289 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.501        43.555        .56853E-05    .14318E-02
   2  Index         2.1901        .49744        .47512E-02    .60246E-04
   3  Normalizat    1.1158        .18157        .28266E-03   -.57483E-03
   4  Prefactor     .87152        .11933        .21337E-03   -.11858E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.5009
  Index      = 2.19012
  Normalizat = 1.11575
  Prefactor  = 0.871515
 **********
 **   18 **HESSE 
 **********

 FCN=   9784.483     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.501        38.304        .11371E-05   -1.5567    
   2  Index         2.1901        .43691        .19005E-03   -.59677    
   3  Normalizat    1.1158        .18029        .56532E-04   -.89248    
   4  Prefactor     .87152        .11910        .42674E-04   -.97144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.57009e-10
Minuit parameter uncertainties:
  1  38.304
  2  0.437723
  3  0.180392
  4  0.119131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/60874': 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) = 9784.48304286
delta logL = 0.0432670378996

Extracting fit parameters...

4FGL J0801.1+6444
   Spectrum: PowerLaw
298    Prefactor:  4.950e+01  3.830e+01  0.000e+00  1.000e+06 ( 1.000e-14)
299        Index:  2.190e+00  4.377e-01  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  2.934e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  8.715e-01  1.191e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.116e+00  1.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.53
Ra Dec: 120.293 64.744
Photon Index (Free Index): 2.19 +/- 0.44
Photon Flux (Free Index): 6.81e-08 +/- 4.58e-08
Energy Flux (Free Index): 3.12e-05 +/- 1.77e-05

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/60874/cmap_HighResolution_683596801_683856001_4FGL_J0801.1+6444_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.82e-08', energy_flux2='3.12e-05', photon_flux_error='2.85e-08', dlogl='4.33e-02', energy_flux='3.48e-05', photon_flux2='6.81e-08', job_status='DONE', time_completed='2022-09-16 13:44:09.334458', photon_index_error2='0.44', photon_index2='2.19', ts='12.47', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.77e-05', EG='1.13', time_epoch_completed='1663361049.33', return_code='0', job_id='60874', GAL2='0.87', EG2='1.12', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='4.58e-08', ts2='12.53', photon_index='2.06' WHERE bin_id='1714' AND source_name='4FGL J0801.1+6444' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:44:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 60874: <4FGL_J0801.1+6444_daily_bin1714> in cluster <slac> Done

Job <4FGL_J0801.1+6444_daily_bin1714> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 13:30:16 2022
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:30:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:30:56 2022
Terminated at Fri Sep 16 13:44:10 2022
Results reported at Fri Sep 16 13:44:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0801.1+6444_daily_bin1714 120.293 64.7438 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0801.1+6444 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   744.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             340.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            834 sec.

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

