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


Performing analysis on: 4FGL_J0800.9+4401_daily_bin1771
RA = 120.246, Dec = 44.0181
tmin = 698371201, tmax = 698630401
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='542022', job_status='RUN', time_executed='2023-02-21 00:32:36.288388', time_epoch_executed='1676968356.29' WHERE source_name='4FGL J0800.9+4401' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542022

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542022/ft1_4FGL_J0800.9+4401_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542022/ft1_4FGL_J0800.9+4401_daily_bin1771.fits outfile=/scratch/kocevski/542022/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1771.fits ra=120.246 dec=44.0181 rad=12.0 tmin=698371201.0 tmax=698630401.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.06
user 2.85
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.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/542022/ft1_filteredMKT_4FGL_J0800.9+4401_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/542022/ft1_filtered_4FGL_J0800.9+4401_daily_bin1771.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.46
user 0.33
sys 0.13

Number of photons that the gtmktime cut: 277

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542022/ft1_filtered_4FGL_J0800.9+4401_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/542022/ltcube_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.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/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.fits
.....................!
real 13.27
user 12.89
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542022/ft1_filtered_4FGL_J0800.9+4401_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/542022/ltcube_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.fits outfile=/scratch/kocevski/542022/expmap_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.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/542022/ltcube_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.fits
.....................!
real 192.11
user 186.38
sys 5.36

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

Setting source of interest to:
4FGL J0800.9+4401 @ 120.246 44.0181

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/542022/ft1_filtered_4FGL_J0800.9+4401_daily_bin1771.fits scfile=/scratch/kocevski/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.fits outfile=/scratch/kocevski/542022/cmap_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.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.246 yref=44.0181 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542022/ft1_filtered_4FGL_J0800.9+4401_daily_bin1771.fits scfile=/scratch/kocevski/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.fits outfile=/scratch/kocevski/542022/cmap_HighResolution_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.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.246 yref=44.0181 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/542022/ft1_filtered_4FGL_J0800.9+4401_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/542022/Model_4FGL_J0800.9+4401_daily_bin1771.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/542022/ft1_filtered_4FGL_J0800.9+4401_daily_bin1771.fits......................!
real 39.88
user 38.54
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/542022/ft1_filtered_4FGL_J0800.9+4401_daily_bin1771.fits', '/scratch/kocevski/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.fits', expMap='/scratch/kocevski/542022/expmap_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.fits', expCube='/scratch/kocevski/542022/ltcube_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/542022/Model_4FGL_J0800.9+4401_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0800.9+4401'

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  1.350e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.600e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/542022/ft1_filtered_4FGL_J0800.9+4401_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/542022/ft2_4FGL_J0800.9+4401_daily_bin1771.fits
Exposure map: /scratch/kocevski/542022/expmap_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.fits
Exposure cube: /scratch/kocevski/542022/ltcube_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/542022/Model_4FGL_J0800.9+4401_daily_bin1771.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) = 3121.22390016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5396       1.0000          .0000       .10000E+07
     2 'norm      '    .16848E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .20033E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    57.561       1.0000          .0000       .10000E+07
     5 'norm      '    9.5700       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12929E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    42.478       1.0000          .0000       .10000E+07
     8 'norm      '    4.5941       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.668       1.0000          .0000       .10000E+07
    10 'Prefactor '    32.725       1.0000          .0000       .10000E+07
    11 'norm      '    4.7395       1.0000          .0000       .10000E+07
    12 'norm      '    2.4550       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.7971       1.0000          .0000       .10000E+07
    14 'Prefactor '    149.47       1.0000          .0000       .10000E+07
    15 'Prefactor '    22.007       1.0000          .0000       .10000E+07
    16 'norm      '    .28003E-03   1.0000          .0000       .10000E+07
    17 'norm      '    2.6988       1.0000          .0000       .10000E+07
    18 'norm      '    1.4120       1.0000          .0000       .10000E+07
    19 'Prefactor '    .11956E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    19.318       1.0000          .0000       .10000E+07
    21 'Prefactor '    .32260E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .58859E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10666E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .30443E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .11763E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    .69402       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .76124       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3121.218     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2495 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5320        5.6935        .26823E-07    .15835E-02
   2  norm          .55511E-10    2.2232        .38775E-07** at limit **
   3  Prefactor      .0000        2.8264       -.14419E-07** at limit **
   4  Prefactor     57.602        18.538       -.12222E-06    .10794    
   5  norm          9.5693        11.225        .22030E-07    .32786E-02
   6  Prefactor      .0000        7.5991       -.12764E-07** at limit **
   7  Prefactor     42.751        36.409       -.40867E-07    .90627E-01
   8  norm          4.5920        1.6724        .27136E-08    .64760E-03
   9  Prefactor     19.638        3.7922        .33987E-07   -.39018E-02
  10  Prefactor     32.810        23.644        .11585E-06    .10683    
  11  norm          4.4946        30.253        .64766E-06    .16749E-01
  12  norm          2.4598        3.7177        .47661E-07    .23159E-02
  13  Prefactor     6.0202        7.9090        .83024E-07    .24499E-01
  14  Prefactor     146.30        139.51       -.44234E-06    .22460E-01
  15  Prefactor     22.079        14.424        .10365E-07    .95990E-01
  16  norm           .0000        2.5496        .51781E-08** at limit **
  17  norm          2.6988        2.3702       -.67219E-08   -.90089E-03
  18  norm          1.4140        1.2827       -.79404E-08   -.43732E-02
  19  Prefactor     .18319E-08    20.304        .13285E-06** at limit **
  20  Prefactor     19.297        10.499       -.73679E-08   -.13722E-01
  21  Prefactor     .15321E-07    23.113        .72042E-07** at limit **
  22  Prefactor     .53846E-08    8.9211        .13813E-07** at limit **
  23  Prefactor     .93259E-08    9.3308       -.27272E-07** at limit **
  24  norm           .0000        3.9656       -.26427E-07** at limit **
  25  norm          .55511E-10    4.9411        .20391E-07** at limit **
  26  Normalizat    .69566        .33597        .77360E-06   -.51968E-05
  27  Prefactor     .76071        .20861       -.75102E-06   -.34128E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.53202
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 57.6015
  norm       = 9.56928
  Prefactor  = 0
  Prefactor  = 42.7506
  norm       = 4.59205
  Prefactor  = 19.638
  Prefactor  = 32.8095
  norm       = 4.49457
  norm       = 2.45978
  Prefactor  = 6.02024
  Prefactor  = 146.298
  Prefactor  = 22.0795
  norm       = 0
  norm       = 2.69884
  norm       = 1.41396
  Prefactor  = 1.83187e-09
  Prefactor  = 19.2971
  Prefactor  = 1.53211e-08
  Prefactor  = 5.38458e-09
  Prefactor  = 9.32587e-09
  norm       = 0
  norm       = 5.55112e-11
  Normalizat = 0.695656
  Prefactor  = 0.760708
 **********
 **   18 **HESSE 
 **********

 FCN=   3121.218     FROM HESSE     STATUS=OK           544 CALLS     3039 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5320        5.7136        .53702E-03   -1.5670    
   2  norm          .55511E-10    2.2212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.8216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     57.602        27.944        .13181E-03   -1.5556    
   5  norm          9.5693        11.260        .32370E-03   -1.5646    
   6  Prefactor      .0000        7.5937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.751        44.725        .15345E-03   -1.5577    
   8  norm          4.5920        1.6741        .46937E-03   -1.5665    
   9  Prefactor     19.638        21.167        .22556E-03   -1.5619    
  10  Prefactor     32.810        39.333        .17483E-03   -1.5593    
  11  norm          4.4946        46.570        .46195E-03   -1.5666    
  12  norm          2.4598        3.9279        .65253E-03   -1.5677    
  13  Prefactor     6.0202        19.387        .41690E-03   -1.5659    
  14  Prefactor     146.30        140.59        .81800E-04   -1.5466    
  15  Prefactor     22.079        16.017        .21322E-03   -1.5614    
  16  norm           .0000        2.5480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.6988        2.3773        .61985E-03   -1.5675    
  18  norm          1.4140        1.2789        .91118E-03   -1.5684    
  19  Prefactor     .18319E-08    20.316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.297        10.512        .22760E-03   -1.5620    
  21  Prefactor     .15321E-07    23.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .53846E-08    8.9385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .93259E-08    9.3486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        3.9673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .55511E-10    4.9408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .69566        .31374        .79422E-01   -1.0406    
  27  Prefactor     .76071        .18326        .43211E-01   -1.0119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25159e-06
Minuit parameter uncertainties:
  1  5.71362
  2  1.77105e-05
  3  4.97744e-06
  4  27.9444
  5  11.2596
  6  7.36387e-06
  7  44.7255
  8  1.6741
  9  21.1675
  10  39.333
  11  28.9355
  12  3.92792
  13  19.3871
  14  140.593
  15  16.0172
  16  4.20018e-06
  17  2.37735
  18  1.2789
  19  0.000384535
  20  10.5124
  21  0.00119058
  22  0.000438732
  23  0.000589864
  24  8.55359e-06
  25  2.55329e-05
  26  0.314555
  27  0.183411
Done.

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

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  6.020e+00  1.939e+01  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.600e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  7.607e-01  1.834e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  6.957e-01  3.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 120.246 44.018
Photon Flux Upper Limit: 1.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.40e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542022/likelihoodResults_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3120.55110947
delta logL = 0.667347184327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3120.53184279
delta logL = 0.686613871146

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3120.532     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      267 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50756        7.7483        .73751E-03    .70819E-02
   2  Index         4.1598        2.5663        .87425E-01    .10579E-03
   3  Normalizat    .56043        .75290E-01    .87390E-01    .19552E-04
   4  Prefactor     .81468        .46833E-01    .43906E-01    .36122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.507561
  Index      = 4.15985
  Normalizat = 0.560428
  Prefactor  = 0.814682
 **********
 **   18 **HESSE 
 **********

 FCN=   3120.532     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      300 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50756        17.900        .33136E-05   -1.5694    
   2  Index         4.1598        6.9000        .32577E-02   -.16883    
   3  Normalizat    .56043        .31289        .38717E-03   -1.0969    
   4  Prefactor     .81468        .19078        .20306E-03   -.99189    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.27166e-10
Minuit parameter uncertainties:
  1  6.02832
  2  5.02877
  3  0.313884
  4  0.190936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542022': 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) = 3120.53183718
delta logL = 0.68661947211

Extracting fit parameters...

4FGL J0800.9+4401
   Spectrum: PowerLaw
278    Prefactor:  5.076e-01  6.028e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  4.160e+00  5.029e+00  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.600e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  8.147e-01  1.909e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  5.604e-01  3.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.70
Ra Dec: 120.246 44.018
Photon Index (Free Index): 4.16 +/- 5.03
Photon Flux (Free Index): 1.65e-07 +/- 1.66e-07
Energy Flux (Free Index): 2.40e-05 +/- 2.17e-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/542022/cmap_HighResolution_698371201_698630401_4FGL_J0800.9+4401_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.40e-02', comment='SUCCESS', energy_flux2='2.40e-05', dlogl='6.87e-01', photon_flux2='1.65e-07', job_status='DONE', time_completed='2023-02-21 00:41:20.639750', photon_index_error2='5.03', photon_index2='4.16', ts='0.15', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.85e-07', energy_flux_error2='2.17e-05', EG='0.70', time_epoch_completed='1676968880.64', return_code='0', job_id='542022', GAL2='0.81', EG2='0.56', return_code2='102', photon_flux_error2='1.66e-07', ts2='1.70', photon_index='2.17' WHERE bin_id='1771' AND source_name='4FGL J0800.9+4401' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:41:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 542022: <4FGL_J0800.9+4401_daily_bin1771> in cluster <slac> Done

Job <4FGL_J0800.9+4401_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 00:30:17 2023
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:30:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:30:18 2023
Terminated at Tue Feb 21 00:41:25 2023
Results reported at Tue Feb 21 00:41:25 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.9+4401_daily_bin1771 120.246 44.0181 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0800.9+4401 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   526.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             244.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            668 sec.

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

