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


Performing analysis on: 4FGL_J0916.7+3856_daily_bin1769
RA = 139.19, Dec = 38.9479
tmin = 697852801, tmax = 698112001
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='430862', job_status='RUN', time_executed='2023-02-15 00:34:01.178348', time_epoch_executed='1676450041.18' WHERE source_name='4FGL J0916.7+3856' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430862

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430862/ft1_4FGL_J0916.7+3856_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430862/ft1_4FGL_J0916.7+3856_daily_bin1769.fits outfile=/scratch/kocevski/430862/ft1_filteredMKT_4FGL_J0916.7+3856_daily_bin1769.fits ra=139.19 dec=38.9479 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.35
user 4.11
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.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/430862/ft1_filteredMKT_4FGL_J0916.7+3856_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/430862/ft1_filtered_4FGL_J0916.7+3856_daily_bin1769.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.33
sys 0.14

Number of photons that the gtmktime cut: 604

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430862/ft1_filtered_4FGL_J0916.7+3856_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/430862/ltcube_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.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/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.fits
.....................!
real 12.08
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430862/ft1_filtered_4FGL_J0916.7+3856_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/430862/ltcube_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.fits outfile=/scratch/kocevski/430862/expmap_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.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/430862/ltcube_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.fits
.....................!
real 194.61
user 189.73
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 205 point sources and 0 extended sources

Setting source of interest to:
4FGL J0916.7+3856 @ 139.19 38.9479

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430862/ft1_filtered_4FGL_J0916.7+3856_daily_bin1769.fits scfile=/scratch/kocevski/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.fits outfile=/scratch/kocevski/430862/cmap_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.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=139.19 yref=38.9479 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430862/ft1_filtered_4FGL_J0916.7+3856_daily_bin1769.fits scfile=/scratch/kocevski/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.fits outfile=/scratch/kocevski/430862/cmap_HighResolution_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.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=139.19 yref=38.9479 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/430862/ft1_filtered_4FGL_J0916.7+3856_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430862/Model_4FGL_J0916.7+3856_daily_bin1769.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/430862/ft1_filtered_4FGL_J0916.7+3856_daily_bin1769.fits.....................!
real 56.51
user 55.32
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430862/ft1_filtered_4FGL_J0916.7+3856_daily_bin1769.fits', '/scratch/kocevski/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.fits', expMap='/scratch/kocevski/430862/expmap_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.fits', expCube='/scratch/kocevski/430862/ltcube_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430862/Model_4FGL_J0916.7+3856_daily_bin1769.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0916.7+3856'

4FGL J0916.7+3856
   Spectrum: PowerLaw
319    Prefactor:  7.215e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
320        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.655e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430862/ft1_filtered_4FGL_J0916.7+3856_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/430862/ft2_4FGL_J0916.7+3856_daily_bin1769.fits
Exposure map: /scratch/kocevski/430862/expmap_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.fits
Exposure cube: /scratch/kocevski/430862/ltcube_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430862/Model_4FGL_J0916.7+3856_daily_bin1769.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) = 6565.26605622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81428       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.029       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11297E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12346E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17769E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.1959       1.0000          .0000       .10000E+07
     7 'Prefactor '    34.227       1.0000          .0000       .10000E+07
     8 'Prefactor '    .18424E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6610       1.0000          .0000       .10000E+07
    10 'norm      '    1.2132       1.0000          .0000       .10000E+07
    11 'Prefactor '    .67245E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .11685E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .18919E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.5487       1.0000          .0000       .10000E+07
    16 'Prefactor '    .44427E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .14060       1.0000          .0000       .10000E+07
    18 'Prefactor '    .43506E-03   1.0000          .0000       .10000E+07
    19 'norm      '    13.811       1.0000          .0000       .10000E+07
    20 'Prefactor '    34.229       1.0000          .0000       .10000E+07
    21 'Prefactor '    .63005E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .14413E-02   1.0000          .0000       .10000E+07
    23 'norm      '    41.266       1.0000          .0000       .10000E+07
    24 'Normalizat'    .91747       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0892       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6565.223     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1683 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81451        .50347       -.42633E-08    .10097E-02
   2  Prefactor     14.016        1.4867       -.14747E-07    .14010E-01
   3  Prefactor      .0000        1.4298       -.88917E-07** at limit **
   4  Prefactor     .24863E-06    4.3516        .19069E-06** at limit **
   5  Prefactor      .0000        3.0716        .34400E-06** at limit **
   6  norm          1.1982        3.8007       -.52170E-06    .39989E-03
   7  Prefactor     34.766        2.9258        .18872E-07    .85098E-01
   8  Prefactor     .24536E-07    12.478        .41794E-06** at limit **
   9  Prefactor     3.6666        3.7150        .27904E-06   -.36140E-03
  10  norm          1.2111        1.4384        .36776E-07   -.22829E-03
  11  Prefactor     .25657E-06    29.721       -.84806E-06** at limit **
  12  norm           .0000        .22735       -.23946E-06** at limit **
  13  Prefactor      .0000        1.5167       -.27719E-06** at limit **
  14  norm          .66613E-09    4.9129       -.14362E-06** at limit **
  15  Prefactor     5.5460        2.6804       -.99931E-07    .77022E-03
  16  Prefactor      .0000        2.0484       -.21667E-07** at limit **
  17  Prefactor     .15289        .68724        .45044E-07** at limit **
  18  Prefactor     .16653E-09    4.2109        .10691E-06** at limit **
  19  norm          13.592        2.3802       -.54045E-07    .41220E-01
  20  Prefactor     34.751        4.8224        .73612E-07   -.14997    
  21  Prefactor     .10719E-06    4.9862        .21994E-06** at limit **
  22  Prefactor     .20817E-07    6.9593        .13070E-06** at limit **
  23  norm          41.280        1.0259        .20688E-09    .77293E-02
  24  Normalizat    .91643        .18803       -.71123E-05   -.60517E-05
  25  Prefactor     1.0898        .20668        .77648E-05   -.35379E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.814508
  Prefactor  = 14.0157
  Prefactor  = 0
  Prefactor  = 2.48634e-07
  Prefactor  = 0
  norm       = 1.19823
  Prefactor  = 34.7663
  Prefactor  = 2.45359e-08
  Prefactor  = 3.66657
  norm       = 1.21112
  Prefactor  = 2.56573e-07
  norm       = 0
  Prefactor  = 0
  norm       = 6.66134e-10
  Prefactor  = 5.54598
  Prefactor  = 0
  Prefactor  = 0.152886
  Prefactor  = 1.66533e-10
  norm       = 13.5919
  Prefactor  = 34.7507
  Prefactor  = 1.07192e-07
  Prefactor  = 2.08167e-08
  norm       = 41.28
  Normalizat = 0.916432
  Prefactor  = 1.08978
 **********
 **   18 **HESSE 
 **********

 FCN=   6565.223     FROM HESSE     STATUS=OK           481 CALLS     2164 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81451        .51137        .51877E-03   -1.5690    
   2  Prefactor     14.016        12.971        .26715E-03   -1.5633    
   3  Prefactor      .0000        1.4310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .24863E-06    8.8853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.0761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.1982        3.8391        .10392E-02   -1.5686    
   7  Prefactor     34.766        23.981        .17095E-03   -1.5590    
   8  Prefactor     .24536E-07    12.676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6666        3.7511        .52768E-03   -1.5670    
  10  norm          1.2111        1.4724        .10259E-02   -1.5686    
  11  Prefactor     .25657E-06    30.579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .21870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.5096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .66613E-09    4.9295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.5460        2.7042        .42628E-03   -1.5661    
  16  Prefactor      .0000        2.0372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15289        4.9503        .55965E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16653E-09    4.2254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.592        18.474        .26926E-03   -1.5634    
  20  Prefactor     34.751        26.816        .17095E-03   -1.5590    
  21  Prefactor     .10719E-06    9.4118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .20817E-07    7.0510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          41.280        14.673        .15569E-03   -1.5579    
  24  Normalizat    .91643        .16214        .45124E-01   -.95885    
  25  Prefactor     1.0898        .17601        .56894E-01   -.89794    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.96121e-07
Minuit parameter uncertainties:
  1  0.511368
  2  12.9715
  3  6.07647e-07
  4  0.00297266
  5  1.46617e-05
  6  3.83916
  7  23.9813
  8  0.00111509
  9  3.75112
  10  1.47243
  11  0.00560218
  12  1.60321e-06
  13  2.78971e-06
  14  0.000113719
  15  2.70419
  16  1.36111e-06
  17  1.73992
  18  5.39698e-05
  19  18.4738
  20  26.816
  21  0.00200888
  22  0.00076617
  23  14.6729
  24  0.162231
  25  0.176108
Done.

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

Extracting fit parameters...

4FGL J0916.7+3856
   Spectrum: PowerLaw
319    Prefactor:  2.566e-07  5.602e-03  0.000e+00  1.000e+06 ( 1.000e-13)
320        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.655e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  1.090e+00  1.761e-01  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  9.164e-01  1.622e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 139.190 38.948
Photon Flux Upper Limit: 7.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430862/likelihoodResults_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6565.23982242
delta logL = -0.0169789195788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6564.4981993
delta logL = 0.724644200932

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6564.498     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      242 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30131        4.0453        .85243E-03    .68073E-02
   2  Index         4.9337        2.7067        .10874        .10812E-03
   3  Normalizat    .84136        .35344E-01    .44148E-01   -.49807E-04
   4  Prefactor     1.1430        .39512E-01    .55719E-01   -.42181E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.301308
  Index      = 4.93366
  Normalizat = 0.841355
  Prefactor  = 1.14297
 **********
 **   18 **HESSE 
 **********

 FCN=   6564.498     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      277 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30131        11.610        .38801E-04   -1.5697    
   2  Index         4.9337        7.3142        .55184E-02   -.13268E-01
   3  Normalizat    .84136        .13773        .25397E-03   -.98553    
   4  Prefactor     1.1430        .15060        .24637E-03   -.88105    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.726e-10
Minuit parameter uncertainties:
  1  3.74074
  2  6.03118
  3  0.137783
  4  0.150655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430862': 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) = 6564.49819828
delta logL = 0.724645223826

Extracting fit parameters...

4FGL J0916.7+3856
   Spectrum: PowerLaw
319    Prefactor:  3.013e-01  3.741e+00  0.000e+00  1.000e+06 ( 1.000e-13)
320        Index:  4.934e+00  6.031e+00  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  9.655e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  1.143e+00  1.507e-01  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  8.414e-01  1.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.58
Ra Dec: 139.190 38.948
Photon Index (Free Index): 4.93 +/- 6.03
Photon Flux (Free Index): 5.56e-08 +/- 4.88e-08
Energy Flux (Free Index): 7.44e-06 +/- 8.48e-06

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/430862/cmap_HighResolution_697852801_698112001_4FGL_J0916.7+3856_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', comment='SUCCESS', energy_flux2='7.44e-06', dlogl='7.25e-01', photon_flux2='5.56e-08', job_status='DONE', time_completed='2023-02-15 00:45:02.910015', photon_index_error2='6.03', photon_index2='4.93', ts='-0.00', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='7.04e-08', energy_flux_error2='8.48e-06', EG='0.92', time_epoch_completed='1676450702.91', return_code='0', job_id='430862', GAL2='1.14', EG2='0.84', return_code2='102', photon_flux_error2='4.88e-08', ts2='1.58', photon_index='2.46' WHERE bin_id='1769' AND source_name='4FGL J0916.7+3856' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:45:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 430862: <4FGL_J0916.7+3856_daily_bin1769> in cluster <slac> Done

Job <4FGL_J0916.7+3856_daily_bin1769> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Feb 15 00:30:18 2023
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:30:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:30:19 2023
Terminated at Wed Feb 15 00:45:03 2023
Results reported at Wed Feb 15 00:45:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0916.7+3856_daily_bin1769 139.19 38.9479 697852801 698112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0916.7+3856 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   662.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            885 sec.

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

