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


Performing analysis on: 4FGL_J0931.9+6737_daily_bin1750
RA = 142.984, Dec = 67.6213
tmin = 692928001, tmax = 693187201
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='3785', job_status='RUN', time_executed='2022-12-20 00:26:39.831114', time_epoch_executed='1671524799.83' WHERE source_name='4FGL J0931.9+6737' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3785

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3785/ft1_4FGL_J0931.9+6737_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3785/ft2_4FGL_J0931.9+6737_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3785/ft1_4FGL_J0931.9+6737_daily_bin1750.fits outfile=/scratch/kocevski/3785/ft1_filteredMKT_4FGL_J0931.9+6737_daily_bin1750.fits ra=142.984 dec=67.6213 rad=12.0 tmin=692928001.0 tmax=693187201.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.47
user 3.22
sys 0.22

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

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

Number of photons that the gtmktime cut: 806

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/3785/ft1_filtered_4FGL_J0931.9+6737_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/3785/ft2_4FGL_J0931.9+6737_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/3785/ltcube_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.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/3785/ft2_4FGL_J0931.9+6737_daily_bin1750.fits
.....................!
real 12.20
user 11.74
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3785/ft1_filtered_4FGL_J0931.9+6737_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/3785/ft2_4FGL_J0931.9+6737_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/3785/ltcube_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.fits outfile=/scratch/kocevski/3785/expmap_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.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/3785/ltcube_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.fits
.....................!
real 191.96
user 185.70
sys 5.16

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/3785/ft1_filtered_4FGL_J0931.9+6737_daily_bin1750.fits scfile=/scratch/kocevski/3785/ft2_4FGL_J0931.9+6737_daily_bin1750.fits outfile=/scratch/kocevski/3785/cmap_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.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.58
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3785/ft1_filtered_4FGL_J0931.9+6737_daily_bin1750.fits scfile=/scratch/kocevski/3785/ft2_4FGL_J0931.9+6737_daily_bin1750.fits outfile=/scratch/kocevski/3785/cmap_HighResolution_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/3785/ft1_filtered_4FGL_J0931.9+6737_daily_bin1750.fits', '/scratch/kocevski/3785/ft2_4FGL_J0931.9+6737_daily_bin1750.fits', expMap='/scratch/kocevski/3785/expmap_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.fits', expCube='/scratch/kocevski/3785/ltcube_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/3785/Model_4FGL_J0931.9+6737_daily_bin1750.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/3785/ft1_filtered_4FGL_J0931.9+6737_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/3785/ft2_4FGL_J0931.9+6737_daily_bin1750.fits
Exposure map: /scratch/kocevski/3785/expmap_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.fits
Exposure cube: /scratch/kocevski/3785/ltcube_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/3785/Model_4FGL_J0931.9+6737_daily_bin1750.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) = 8434.13777047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5903       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.5106       1.0000          .0000       .10000E+07
     3 'Prefactor '    .80695       1.0000          .0000       .10000E+07
     4 'norm      '    1.4417       1.0000          .0000       .10000E+07
     5 'Prefactor '    .70831E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .67696E-06   1.0000          .0000       .10000E+07
     7 'norm      '    1.3258       1.0000          .0000       .10000E+07
     8 'Prefactor '    37.293       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.3131       1.0000          .0000       .10000E+07
    10 'norm      '    2.1927       1.0000          .0000       .10000E+07
    11 'Prefactor '    17.644       1.0000          .0000       .10000E+07
    12 'Prefactor '    14.864       1.0000          .0000       .10000E+07
    13 'norm      '    .13152E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    16.771       1.0000          .0000       .10000E+07
    15 'norm      '    .12434E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .19519E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.8763       1.0000          .0000       .10000E+07
    18 'Prefactor '    .46850E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.5061       1.0000          .0000       .10000E+07
    20 'norm      '    4.6708       1.0000          .0000       .10000E+07
    21 'Prefactor '    .12542E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .52311E-02   1.0000          .0000       .10000E+07
    23 'norm      '    6.2956       1.0000          .0000       .10000E+07
    24 'norm      '    .26429E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    17.469       1.0000          .0000       .10000E+07
    26 'Prefactor '    2.0917       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .81678       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=   8434.133     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     2551 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5907        .68737        .35072E-08   -.16104E-03
   2  Prefactor     2.5144        12.109       -.28824E-06   -.14599E-02
   3  Prefactor     .28990        849.90       -.57060E-05    .19788E-02
   4  norm          1.4398        2.2798        .30856E-07    .34820E-03
   5  Prefactor      .0000        2.3576        .12719E-06** at limit **
   6  Prefactor      .0000        .56329       -.18025E-07** at limit **
   7  norm          1.3249        1.3667       -.16035E-07   -.84870E-03
   8  Prefactor     37.514        5.0586        .37564E-07    .14850    
   9  Prefactor     6.3050        2.8282       -.84079E-08   -.88292E-02
  10  norm          2.1921        .92836       -.16826E-07   -.20471E-02
  11  Prefactor     17.640        2.0523        .45725E-08   -.46924E-01
  12  Prefactor     14.848        10.014        .17802E-06    .57148E-02
  13  norm           .0000        3.8719        .10175E-06** at limit **
  14  Prefactor     16.811        2.2202       -.38872E-07    .36811E-02
  15  norm           .0000        .34679       -.25529E-07** at limit **
  16  norm          .11102E-09    21.135       -.12782E-06** at limit **
  17  Prefactor     1.8304        20.779       -.17701E-06    .98213E-03
  18  Prefactor      .0000        31.901       -.21493E-08** at limit **
  19  Prefactor     5.5206        1.4604       -.26488E-07   -.76861E-02
  20  norm          4.6676        2.3711        .35934E-08    .12318E-02
  21  Prefactor     .49127E-07    51.856        .51222E-06** at limit **
  22  Prefactor     .55511E-10    7.0246        .43873E-07** at limit **
  23  norm          6.2965        1.0149        .13589E-07    .66282E-02
  24  norm           .0000        3.4098        .17893E-07** at limit **
  25  Prefactor     17.373        18.557        .17564E-06    .15702E-01
  26  Prefactor     2.0909        2.9546       -.44796E-07   -.92316E-03
  27  Normalizat    1.1205        .18441        .11450E-05    .22762E-04
  28  Prefactor     .81661        .14930       -.14480E-05   -.36616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.59066
  Prefactor  = 2.51439
  Prefactor  = 0.289902
  norm       = 1.4398
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.32491
  Prefactor  = 37.5135
  Prefactor  = 6.30499
  norm       = 2.19212
  Prefactor  = 17.6395
  Prefactor  = 14.8478
  norm       = 0
  Prefactor  = 16.8115
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 1.8304
  Prefactor  = 0
  Prefactor  = 5.52056
  norm       = 4.66764
  Prefactor  = 4.91274e-08
  Prefactor  = 5.55112e-11
  norm       = 6.29646
  norm       = 0
  Prefactor  = 17.3727
  Prefactor  = 2.09094
  Normalizat = 1.12054
  Prefactor  = 0.816608
 **********
 **   18 **HESSE 
 **********

 FCN=   8434.133     FROM HESSE     STATUS=OK           593 CALLS     3144 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5907        .69112        .84113E-03   -1.5683    
   2  Prefactor     2.5144        12.411        .64459E-03   -1.5676    
   3  Prefactor     .28990        39.823        .12269E-01   -1.5697    
   4  norm          1.4398        2.3116        .89797E-03   -1.5684    
   5  Prefactor      .0000        2.3511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .55790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3249        1.4239        .95426E-03   -1.5685    
   8  Prefactor     37.514        38.692        .16377E-03   -1.5585    
   9  Prefactor     6.3050        12.850        .39926E-03   -1.5658    
  10  norm          2.1921        .93365        .69471E-03   -1.5678    
  11  Prefactor     17.640        10.940        .23817E-03   -1.5624    
  12  Prefactor     14.848        10.362        .25952E-03   -1.5631    
  13  norm           .0000        3.8835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.811        34.917        .24430E-03   -1.5626    
  15  norm           .0000        .33990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11102E-09    21.109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.8304        22.769        .75985E-03   -1.5681    
  18  Prefactor      .0000        31.634        .15668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.5206        19.414        .42795E-03   -1.5661    
  20  norm          4.6676        2.9109        .46541E-03   -1.5665    
  21  Prefactor     .49127E-07    52.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .55511E-10    6.9707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.2965        1.0520        .39982E-03   -1.5658    
  24  norm           .0000        .92157        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     17.373        18.854        .23936E-03   -1.5625    
  26  Prefactor     2.0909        2.9861        .71348E-03   -1.5679    
  27  Normalizat    1.1205        .16742        .58566E-01   -.89095    
  28  Prefactor     .81661        .13333        .43935E-01   -.99119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.93188e-07
Minuit parameter uncertainties:
  1  0.691121
  2  11.1726
  3  6.79554
  4  2.31158
  5  1.48961e-05
  6  1.10351e-06
  7  1.42387
  8  38.6924
  9  12.8496
  10  0.933652
  11  10.9402
  12  10.3625
  13  3.95736e-06
  14  34.917
  15  1.22291e-06
  16  9.60622e-05
  17  12.9115
  18  8.53912e-06
  19  19.4139
  20  2.91088
  21  0.0031995
  22  4.7117e-05
  23  1.05204
  24  1.30385e-07
  25  18.8543
  26  2.98611
  27  0.1675
  28  0.133379
Done.

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

Extracting fit parameters...

4FGL J0931.9+6737
   Spectrum: PowerLaw
333    Prefactor:  1.764e+01  1.094e+01  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:  8.166e-01  1.334e-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:  1.121e+00  1.675e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.19
Ra Dec: 142.984 67.621
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 4.67e-08 +/- 2.90e-08
Energy Flux (Fixed Index): 1.83e-05 +/- 1.14e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8433.85970771
delta logL = 0.273549571049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8433.85326134
delta logL = 0.279995937437

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.858       1.0000          .0000       .10000E+07
     2 'Index     '    2.6725       1.0000          .0000       10.000    
     3 'Normalizat'    1.1067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82289       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=   8433.853     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      249 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.863        112.60        .30380E-03    .11964E-02
   2  Index         2.6725        2.6182        .13881        .16346E-03
   3  Normalizat    1.1068        .64288E-01    .58862E-01    .12885E-04
   4  Prefactor     .82288        .49252E-01    .44014E-01    .17902E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8635
  Index      = 2.67248
  Normalizat = 1.10677
  Prefactor  = 0.822877
 **********
 **   18 **HESSE 
 **********

 FCN=   8433.853     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.863        13.193        .12152E-04   -1.5642    
   2  Index         2.6725        .65412        .49672E-02   -.48420    
   3  Normalizat    1.1068        .17227        .26031E-03   -.89535    
   4  Prefactor     .82288        .14788        .25493E-03   -.98890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.41374e-09
Minuit parameter uncertainties:
  1  13.193
  2  0.656522
  3  0.172353
  4  0.147947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3785': 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) = 8433.85326035
delta logL = 0.279996929326

Extracting fit parameters...

4FGL J0931.9+6737
   Spectrum: PowerLaw
333    Prefactor:  1.086e+01  1.319e+01  0.000e+00  1.000e+06 ( 1.000e-13)
334        Index:  2.672e+00  6.565e-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:  8.229e-01  1.479e-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:  1.107e+00  1.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.70
Ra Dec: 142.984 67.621
Photon Index (Free Index): 2.67 +/- 0.66
Photon Flux (Free Index): 6.04e-08 +/- 3.71e-08
Energy Flux (Free Index): 1.49e-05 +/- 9.81e-06

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/3785/cmap_HighResolution_692928001_693187201_4FGL_J0931.9+6737_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.67e-08', energy_flux2='1.49e-05', photon_flux_error='2.90e-08', dlogl='2.80e-01', energy_flux='1.83e-05', photon_flux2='6.04e-08', job_status='DONE', time_completed='2022-12-20 00:42:01.476145', photon_index_error2='0.66', photon_index2='2.67', ts='4.19', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='9.81e-06', EG='1.12', time_epoch_completed='1671525721.48', return_code='0', job_id='3785', GAL2='0.82', EG2='1.11', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='3.71e-08', ts2='4.70', photon_index='2.28' WHERE bin_id='1750' AND source_name='4FGL J0931.9+6737' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:42:01 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 3785: <4FGL_J0931.9+6737_daily_bin1750> in cluster <slac> Done

Job <4FGL_J0931.9+6737_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 00:25:29 2022
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:25:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:25:34 2022
Terminated at Tue Dec 20 00:42:01 2022
Results reported at Tue Dec 20 00:42:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0931.9+6737_daily_bin1750 142.984 67.6213 692928001 693187201 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 :                                   921.12 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             358.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            992 sec.

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

