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


Performing analysis on: 4FGL_J0931.9+6737_daily_bin1776
RA = 142.984, Dec = 67.6213
tmin = 699667201, tmax = 699926401
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='830067', job_status='RUN', time_executed='2023-03-08 00:26:03.497347', time_epoch_executed='1678263963.5' WHERE source_name='4FGL J0931.9+6737' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830067

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830067/ft1_4FGL_J0931.9+6737_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830067/ft1_4FGL_J0931.9+6737_daily_bin1776.fits outfile=/scratch/kocevski/830067/ft1_filteredMKT_4FGL_J0931.9+6737_daily_bin1776.fits ra=142.984 dec=67.6213 rad=12.0 tmin=699667201.0 tmax=699926401.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.94
user 3.69
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.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/830067/ft1_filteredMKT_4FGL_J0931.9+6737_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/830067/ft1_filtered_4FGL_J0931.9+6737_daily_bin1776.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 751

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/830067/ft1_filtered_4FGL_J0931.9+6737_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/830067/ltcube_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.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/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.fits
.....................!
real 12.08
user 11.69
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830067/ft1_filtered_4FGL_J0931.9+6737_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/830067/ltcube_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.fits outfile=/scratch/kocevski/830067/expmap_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.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/830067/ltcube_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.fits
.....................!
real 190.57
user 185.42
sys 4.79

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

Setting source of interest to:
4FGL J0931.9+6737 @ 142.984 67.6213

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/830067/ft1_filtered_4FGL_J0931.9+6737_daily_bin1776.fits scfile=/scratch/kocevski/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.fits outfile=/scratch/kocevski/830067/cmap_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.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=142.984 yref=67.6213 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/830067/ft1_filtered_4FGL_J0931.9+6737_daily_bin1776.fits scfile=/scratch/kocevski/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.fits outfile=/scratch/kocevski/830067/cmap_HighResolution_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.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=142.984 yref=67.6213 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/830067/ft1_filtered_4FGL_J0931.9+6737_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830067/Model_4FGL_J0931.9+6737_daily_bin1776.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/830067/ft1_filtered_4FGL_J0931.9+6737_daily_bin1776.fits.....................!
real 87.70
user 86.30
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/830067/ft1_filtered_4FGL_J0931.9+6737_daily_bin1776.fits', '/scratch/kocevski/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.fits', expMap='/scratch/kocevski/830067/expmap_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.fits', expCube='/scratch/kocevski/830067/ltcube_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/830067/Model_4FGL_J0931.9+6737_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0931.9+6737'

4FGL J0931.9+6737
   Spectrum: PowerLaw
333    Prefactor:  3.199e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
334        Index:  2.277e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
335        Scale:  1.290e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/830067/ft1_filtered_4FGL_J0931.9+6737_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/830067/ft2_4FGL_J0931.9+6737_daily_bin1776.fits
Exposure map: /scratch/kocevski/830067/expmap_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.fits
Exposure cube: /scratch/kocevski/830067/ltcube_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/830067/Model_4FGL_J0931.9+6737_daily_bin1776.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) = 8002.98377234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67610       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13054E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13071E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.4656       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.0919       1.0000          .0000       .10000E+07
     6 'Prefactor '    .42767E-04   1.0000          .0000       .10000E+07
     7 'norm      '    5.6612       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30578E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .68902E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .45814       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.0243       1.0000          .0000       .10000E+07
    12 'Prefactor '    .39653E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .16061E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96769E-04   1.0000          .0000       .10000E+07
    15 'norm      '    1.9641       1.0000          .0000       .10000E+07
    16 'norm      '    .53267E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .11801E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .13420E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .54389E-03   1.0000          .0000       .10000E+07
    20 'norm      '    2.9231       1.0000          .0000       .10000E+07
    21 'Prefactor '    .34617       1.0000          .0000       .10000E+07
    22 'Prefactor '    4.1098       1.0000          .0000       .10000E+07
    23 'norm      '    3.8665       1.0000          .0000       .10000E+07
    24 'norm      '    .66058E-07   1.0000          .0000       .10000E+07
    25 'Prefactor '    .14745E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .44869E-04   1.0000          .0000       .10000E+07
    27 'Normalizat'    .75218       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1529       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8002.799     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1962 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67605        .54469       -.34897E-07   -.10245E-02
   2  Prefactor     .12007E-06    2.5602        .34666E-06** at limit **
   3  Prefactor     .13822E-07    34.240       -.47127E-06** at limit **
   4  norm          1.4660        2.2576        .23724E-06   -.16120E-03
   5  Prefactor     3.0730        5.5972        .33165E-07   -.58671E-05
   6  Prefactor      .0000        3.5380        .69413E-07** at limit **
   7  norm          5.6617        2.2246       -.30368E-07    .15059E-02
   8  Prefactor     .16154E-07    9.4720        .29138E-06** at limit **
   9  Prefactor     .17431E-07    30.530        .33318E-05** at limit **
  10  norm          .45819        .59069       -.86792E-07   -.11234E-02
  11  Prefactor     6.0174        1.2896       -.74623E-07   -.11492E-01
  12  Prefactor      .0000        2.7881        .33229E-06** at limit **
  13  norm           .0000        2.1637        .71650E-07** at limit **
  14  Prefactor     .69278E-07    3.1671        .10757E-06** at limit **
  15  norm          1.9636        .71263       -.95480E-07    .76774E-03
  16  norm          .55511E-10    4.5981        .40324E-06** at limit **
  17  Prefactor     .49960E-09    4.9750       -.13082E-06** at limit **
  18  Prefactor     .17764E-08    16.215       -.59143E-06** at limit **
  19  Prefactor     .77716E-09    5.3918        .75002E-06** at limit **
  20  norm          2.9227        1.7886        .74232E-07   -.29664E-03
  21  Prefactor     .26401E-06    2.7013        .42074E-06** at limit **
  22  Prefactor     4.1232        3.9858       -.10073E-07   -.31757E-03
  23  norm          3.8654        .89161       -.17088E-07   -.36629E-03
  24  norm           .0000        .67548        .35389E-06** at limit **
  25  Prefactor     .16653E-08    2.8106        .18950E-06** at limit **
  26  Prefactor      .0000        1.1660       -.49403E-07** at limit **
  27  Normalizat    .75223        .17254        .14620E-04   -.28669E-04
  28  Prefactor     1.1529        .15491       -.13805E-04   -.13814E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.676048
  Prefactor  = 1.20071e-07
  Prefactor  = 1.38223e-08
  norm       = 1.46596
  Prefactor  = 3.073
  Prefactor  = 0
  norm       = 5.66165
  Prefactor  = 1.61537e-08
  Prefactor  = 1.74305e-08
  norm       = 0.458189
  Prefactor  = 6.01737
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.92779e-08
  norm       = 1.96357
  norm       = 5.55112e-11
  Prefactor  = 4.996e-10
  Prefactor  = 1.77636e-09
  Prefactor  = 7.77156e-10
  norm       = 2.92271
  Prefactor  = 2.64011e-07
  Prefactor  = 4.12321
  norm       = 3.8654
  norm       = 0
  Prefactor  = 1.66533e-09
  Prefactor  = 0
  Normalizat = 0.752229
  Prefactor  = 1.15288
 **********
 **   18 **HESSE 
 **********

 FCN=   8002.799     FROM HESSE     STATUS=OK           577 CALLS     2539 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67605        .54566        .62670E-03   -1.5692    
   2  Prefactor     .12007E-06    8.2239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .13822E-07    34.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4660        2.3060        .88787E-03   -1.5684    
   5  Prefactor     3.0730        5.6198        .57650E-03   -1.5673    
   6  Prefactor      .0000        .86710        .29794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.6617        2.2265        .42195E-03   -1.5660    
   8  Prefactor     .16154E-07    10.092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .17431E-07    31.036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .45819        .67015        .17487E-02   -1.5694    
  11  Prefactor     6.0174        9.4880        .40885E-03   -1.5659    
  12  Prefactor      .0000        2.7973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        2.1642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .69278E-07    7.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.9636        .71745        .73978E-03   -1.5680    
  16  norm          .55511E-10    4.6056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .49960E-09    5.0192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .17764E-08    16.266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .77716E-09    5.4277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.9227        1.7937        .59392E-03   -1.5674    
  21  Prefactor     .26401E-06    48.603        .96008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.1232        3.9855        .49702E-03   -1.5667    
  23  norm          3.8654        .88935        .51294E-03   -1.5669    
  24  norm           .0000        .67426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .16653E-08    8.0086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        1.1648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .75223        .15501        .65735E-01   -1.0187    
  28  Prefactor     1.1529        .13919        .35851E-01   -.87794    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57664e-07
Minuit parameter uncertainties:
  1  0.545659
  2  0.00198749
  3  0.00138403
  4  2.30598
  5  5.61982
  6  6.68914e-06
  7  2.2265
  8  0.000807726
  9  0.00147065
  10  0.670154
  11  9.48803
  12  5.07073e-06
  13  3.33408e-06
  14  0.00148059
  15  0.717454
  16  2.75786e-05
  17  0.000100865
  18  0.0003403
  19  0.000128621
  20  1.79369
  21  0.00716432
  22  3.9855
  23  0.88935
  24  1.35634e-06
  25  0.000229188
  26  2.13002e-06
  27  0.1551
  28  0.139234
Done.

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

Extracting fit parameters...

4FGL J0931.9+6737
   Spectrum: PowerLaw
333    Prefactor:  6.017e+00  9.488e+00  0.000e+00  1.000e+06 ( 1.000e-13)
334        Index:  2.277e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
335        Scale:  1.290e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  1.153e+00  1.392e-01  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  7.522e-01  1.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 142.984 67.621
Photon Flux Upper Limit: 7.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/830067/likelihoodResults_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.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) = 8002.6532678
delta logL = 0.146100250327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8002.64206634
delta logL = 0.157301707711

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8002.642     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      242 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.824        473.16        .30428E-03   -.22947E-02
   2  Index         1.8841        5.8944        .26500        .25057E-04
   3  Normalizat    .75949        .52613E-01    .65451E-01   -.16991E-04
   4  Prefactor     1.1455        .44869E-01    .36069E-01    .52400E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8242
  Index      = 1.88412
  Normalizat = 0.759493
  Prefactor  = 1.14548
 **********
 **   18 **HESSE 
 **********

 FCN=   8002.642     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.824        14.512        .12171E-04   -1.5642    
   2  Index         1.8841        .60899        .90534E-02   -.67280    
   3  Normalizat    .75949        .16877        .28957E-03   -1.0159    
   4  Prefactor     1.1455        .15603        .21905E-03   -.88026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75893e-10
Minuit parameter uncertainties:
  1  14.5117
  2  0.611483
  3  0.168889
  4  0.156093
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830067': 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) = 8002.64206624
delta logL = 0.157301807917

Extracting fit parameters...

4FGL J0931.9+6737
   Spectrum: PowerLaw
333    Prefactor:  1.082e+01  1.451e+01  0.000e+00  1.000e+06 ( 1.000e-13)
334        Index:  1.884e+00  6.115e-01  0.000e+00  1.000e+01 (-1.000e+00)
335        Scale:  1.290e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  1.145e+00  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  7.595e-01  1.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
Ra Dec: 142.984 67.621

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/830067/cmap_HighResolution_699667201_699926401_4FGL_J0931.9+6737_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-03', job_status='DONE', photon_flux_upper_limit='7.55e-08', time_completed='2023-03-08 00:40:55.401059', job_id='830067', GAL2='1.15', fit_tolerance='1e-08', EG2='0.76', EG='0.75', time_epoch_completed='1678264855.4', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.57e-01', ts2='0.84', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1776' AND source_name='4FGL J0931.9+6737' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:40:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 830067: <4FGL_J0931.9+6737_daily_bin1776> in cluster <slac> Done

Job <4FGL_J0931.9+6737_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 00:25:31 2023
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:25:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:25:32 2023
Terminated at Wed Mar  8 00:40:56 2023
Results reported at Wed Mar  8 00:40:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0931.9+6737_daily_bin1776 142.984 67.6213 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0931.9+6737 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   893.21 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             361.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

