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


Performing analysis on: 4FGL_J0316.2+0905_daily_bin1740
RA = 49.0583, Dec = 9.0946
tmin = 690336001, tmax = 690595201
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='823078', job_status='RUN', time_executed='2022-11-20 00:13:49.522090', time_epoch_executed='1668932029.52' WHERE source_name='4FGL J0316.2+0905' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823078

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823078/ft1_4FGL_J0316.2+0905_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823078/ft1_4FGL_J0316.2+0905_daily_bin1740.fits outfile=/scratch/kocevski/823078/ft1_filteredMKT_4FGL_J0316.2+0905_daily_bin1740.fits ra=49.0583 dec=9.0946 rad=12.0 tmin=690336001.0 tmax=690595201.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 2.96
user 2.71
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.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/823078/ft1_filteredMKT_4FGL_J0316.2+0905_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/823078/ft1_filtered_4FGL_J0316.2+0905_daily_bin1740.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823078/ft1_filtered_4FGL_J0316.2+0905_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/823078/ltcube_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.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/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.fits
.....................!
real 15.57
user 15.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823078/ft1_filtered_4FGL_J0316.2+0905_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/823078/ltcube_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.fits outfile=/scratch/kocevski/823078/expmap_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.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/823078/ltcube_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.fits
.....................!
real 193.26
user 186.92
sys 4.82

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

Setting source of interest to:
4FGL J0316.2+0905 @ 49.0583 9.0946

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/823078/ft1_filtered_4FGL_J0316.2+0905_daily_bin1740.fits scfile=/scratch/kocevski/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.fits outfile=/scratch/kocevski/823078/cmap_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.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=49.0583 yref=9.0946 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823078/ft1_filtered_4FGL_J0316.2+0905_daily_bin1740.fits scfile=/scratch/kocevski/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.fits outfile=/scratch/kocevski/823078/cmap_HighResolution_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.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=49.0583 yref=9.0946 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/823078/ft1_filtered_4FGL_J0316.2+0905_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/823078/Model_4FGL_J0316.2+0905_daily_bin1740.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/823078/ft1_filtered_4FGL_J0316.2+0905_daily_bin1740.fits..........................!
real 23.76
user 22.34
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/823078/ft1_filtered_4FGL_J0316.2+0905_daily_bin1740.fits', '/scratch/kocevski/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.fits', expMap='/scratch/kocevski/823078/expmap_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.fits', expCube='/scratch/kocevski/823078/ltcube_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/823078/Model_4FGL_J0316.2+0905_daily_bin1740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0316.2+0905'

4FGL J0316.2+0905
   Spectrum: PowerLaw
300    Prefactor:  2.138e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.929e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  2.754e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/823078/ft1_filtered_4FGL_J0316.2+0905_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/823078/ft2_4FGL_J0316.2+0905_daily_bin1740.fits
Exposure map: /scratch/kocevski/823078/expmap_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.fits
Exposure cube: /scratch/kocevski/823078/ltcube_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/823078/Model_4FGL_J0316.2+0905_daily_bin1740.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) = 996.951034982

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20829E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14228E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13505E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .94330E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53326       1.0000          .0000       .10000E+07
     6 'Prefactor '    .43124E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .10777E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13173       1.0000          .0000       .10000E+07
     9 'Prefactor '    69.799       1.0000          .0000       .10000E+07
    10 'Prefactor '    .53683E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.639       1.0000          .0000       .10000E+07
    12 'norm      '    36.158       1.0000          .0000       .10000E+07
    13 'norm      '    7.4051       1.0000          .0000       .10000E+07
    14 'Prefactor '    .15239E-02   1.0000          .0000       .10000E+07
    15 'norm      '    43.911       1.0000          .0000       .10000E+07
    16 'Prefactor '    .23363       1.0000          .0000       .10000E+07
    17 'Prefactor '    .42049       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.6373       1.0000          .0000       .10000E+07
    20 'norm      '    .87078E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    248.17       1.0000          .0000       .10000E+07
    22 'Normalizat'    .18069       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89981       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   996.9360     FROM MIGRAD    STATUS=CONVERGED    267 CALLS     2593 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        96.202       -.52755E-06** at limit **
   2  Prefactor     .55511E-10    32.985       -.14100E-05** at limit **
   3  Prefactor     .16653E-09    32.866       -.40212E-06** at limit **
   4  norm           .0000        1.4308       -.13238E-06** at limit **
   5  Prefactor     .14377E-07    252.44        .35113E-05** at limit **
   6  Prefactor      .0000        13.116        .54116E-06** at limit **
   7  norm          .55511E-10    33.812       -.22861E-05** at limit **
   8  Prefactor      .0000        85.714       -.18751E-05** at limit **
   9  Prefactor     74.158        204.62        .12712E-05    .34116E-03
  10  Prefactor      .0000        95.842        .97408E-06** at limit **
  11  Prefactor     10.599        18.698        .99189E-07    .11396E-03
  12  norm          36.448        38.530        .70104E-06   -.68991E-03
  13  norm          7.2478        18.554       -.18870E-06   -.62429E-03
  14  Prefactor      .0000        10.660        .19443E-06** at limit **
  15  norm          44.070        9.0087       -.14567E-06    .19424E-01
  16  Prefactor      .0000        119.96        .74110E-06** at limit **
  17  Prefactor     .55511E-10    231.93       -.55108E-05** at limit **
  18  Prefactor     .20761E-06    411.51        .60360E-06** at limit **
  19  Prefactor     3.3054        249.39       -.41578E-05   -.97132E-03
  20  norm           .0000        74.554       -.58151E-07** at limit **
  21  Prefactor     222.98        489.96        .41310E-05   -.15357E-03
  22  Normalizat    .17905        .50622        .36788E-04   -.77319E-05
  23  Prefactor     .90218        .25815       -.16882E-04   -.26303E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 1.43774e-08
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 74.1585
  Prefactor  = 0
  Prefactor  = 10.5988
  norm       = 36.4479
  norm       = 7.24783
  Prefactor  = 0
  norm       = 44.0697
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.07612e-07
  Prefactor  = 3.30538
  norm       = 0
  Prefactor  = 222.977
  Normalizat = 0.179055
  Prefactor  = 0.902181
 **********
 **   18 **HESSE 
 **********

 FCN=   996.9360     FROM HESSE     STATUS=OK           412 CALLS     3005 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        96.630        .16983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    32.843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    32.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.4247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14377E-07    256.07        .75432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        13.087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    33.776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        85.343        .13145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     74.158        208.58        .11970E-03   -1.5536    
  10  Prefactor      .0000        95.452        .15397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.599        19.349        .30692E-03   -1.5643    
  12  norm          36.448        38.484        .16632E-03   -1.5587    
  13  norm          7.2478        18.921        .36833E-03   -1.5654    
  14  Prefactor      .0000        10.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          44.070        46.998        .15092E-03   -1.5575    
  16  Prefactor      .0000        117.06        .11206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    223.17        .87150E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .20761E-06    419.37        .87481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3054        250.32        .62760E-03   -1.5672    
  20  norm           .0000        74.613        .14290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     222.98        492.53        .63486E-04   -1.5409    
  22  Normalizat    .17905        .69454        .15831       -1.3099    
  23  Prefactor     .90218        .31265        .33630E-01   -.96065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11543e-08
Minuit parameter uncertainties:
  1  7.98149e-06
  2  0.000101852
  3  0.000148343
  4  8.64583e-07
  5  0.00383967
  6  1.20089e-05
  7  6.71212e-05
  8  8.99996e-05
  9  208.605
  10  4.16732e-05
  11  19.3492
  12  38.4844
  13  18.9207
  14  4.45007e-06
  15  46.9989
  16  9.99752e-05
  17  0.000258421
  18  0.0186643
  19  57.5314
  20  2.25371e-06
  21  492.621
  22  0.699866
  23  0.313278
Done.

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

Extracting fit parameters...

4FGL J0316.2+0905
   Spectrum: PowerLaw
300    Prefactor:  5.551e-11  2.584e-04  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.929e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  2.754e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  9.022e-01  3.133e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.791e-01  6.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.058 9.095
Photon Flux Upper Limit: 5.98e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.46e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/823078/likelihoodResults_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.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) = 996.938470369
delta logL = -0.00247250971131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 996.936061211
delta logL = -6.33508708461e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   996.9360     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      228 TOTAL
                     EDM=   .26E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        185.61        .42118E-03** at limit **
   2  Index         1.8212        .98045        .37034E-04     .0000    
   3  Normalizat    .17906        .44022       -.20319E-04    .47247E-06
   4  Prefactor     .90218        1.2462        .29064E-05    .68576E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.82116
  Normalizat = 0.179055
  Prefactor  = 0.902181
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   996.9360     FROM HESSE     STATUS=FAILED         9 CALLS      237 TOTAL
                     EDM=   .26E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        185.61        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .34161        1.5838        .37034E-04   -.68900    
   3  Normalizat    .17906        .44022       -.20319E-04   -1.3099    
   4  Prefactor     .90218        1.2462        .29064E-05   -.96065    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.62556e-14
Minuit parameter uncertainties:
  1  5.07227e-05
  2  0.991318
  3  0.449268
  4  1.28924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823078': 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) = 996.93599786
delta logL = 1.70530256582e-12

Extracting fit parameters...

4FGL J0316.2+0905
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  5.072e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.821e+00  9.913e-01  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  2.754e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  9.022e-01  1.289e+00  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.791e-01  4.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.058 9.095

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/823078/cmap_HighResolution_690336001_690595201_4FGL_J0316.2+0905_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-02', job_status='DONE', photon_flux_upper_limit='5.98e-07', time_completed='2022-11-20 00:19:59.861127', job_id='823078', GAL2='0.90', fit_tolerance='1e-08', EG2='0.18', EG='0.18', time_epoch_completed='1668932399.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.71e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1740' AND source_name='4FGL J0316.2+0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:19:59 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 823079: <4FGL_J0316.2+0905_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0316.2+0905_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:27 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:13:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:13:11 2022
Terminated at Sun Nov 20 00:19:48 2022
Results reported at Sun Nov 20 00:19:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0316.2+0905_daily_bin1740 49.0583 9.0946 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0316.2+0905 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   368.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             279.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   396 sec.
    Turnaround time :                            861 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 823078: <4FGL_J0316.2+0905_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0316.2+0905_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:27 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:13:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:13:11 2022
Terminated at Sun Nov 20 00:20:00 2022
Results reported at Sun Nov 20 00:20:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0316.2+0905_daily_bin1740 49.0583 9.0946 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0316.2+0905 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   371.03 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             337.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   409 sec.
    Turnaround time :                            873 sec.

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

