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 23 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0931.9+6737_monthly_bin168
RA = 142.984, Dec = 67.6213
tmin = 672451201, tmax = 675043201
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='628290', job_status='RUN', time_executed='2022-05-24 02:49:50.933013', time_epoch_executed='1653385790.93' WHERE source_name='4FGL J0931.9+6737' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/628290

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/628290/ft1_4FGL_J0931.9+6737_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/628290/ft2_4FGL_J0931.9+6737_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/628290/ft1_4FGL_J0931.9+6737_monthly_bin168.fits outfile=/scratch/kocevski/628290/ft1_filteredMKT_4FGL_J0931.9+6737_monthly_bin168.fits ra=142.984 dec=67.6213 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.94
user 27.95
sys 0.78

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/628290/ft2_4FGL_J0931.9+6737_monthly_bin168.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/628290/ft1_filteredMKT_4FGL_J0931.9+6737_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/628290/ft1_filtered_4FGL_J0931.9+6737_monthly_bin168.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.86
user 0.69
sys 0.17

Number of photons that the gtmktime cut: 12070

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/628290/ft1_filtered_4FGL_J0931.9+6737_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/628290/ft2_4FGL_J0931.9+6737_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/628290/ltcube_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.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/628290/ft2_4FGL_J0931.9+6737_monthly_bin168.fits
.....................!
real 131.36
user 130.67
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/628290/ft1_filtered_4FGL_J0931.9+6737_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/628290/ft2_4FGL_J0931.9+6737_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/628290/ltcube_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.fits outfile=/scratch/kocevski/628290/expmap_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.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/628290/ltcube_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.fits
.....................!
real 192.73
user 186.40
sys 5.93

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/628290/ft1_filtered_4FGL_J0931.9+6737_monthly_bin168.fits scfile=/scratch/kocevski/628290/ft2_4FGL_J0931.9+6737_monthly_bin168.fits outfile=/scratch/kocevski/628290/cmap_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.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.80
user 0.64
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/628290/ft1_filtered_4FGL_J0931.9+6737_monthly_bin168.fits scfile=/scratch/kocevski/628290/ft2_4FGL_J0931.9+6737_monthly_bin168.fits outfile=/scratch/kocevski/628290/cmap_HighResolution_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.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.81
user 0.63
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/628290/ft1_filtered_4FGL_J0931.9+6737_monthly_bin168.fits', '/scratch/kocevski/628290/ft2_4FGL_J0931.9+6737_monthly_bin168.fits', expMap='/scratch/kocevski/628290/expmap_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.fits', expCube='/scratch/kocevski/628290/ltcube_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/628290/Model_4FGL_J0931.9+6737_monthly_bin168.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  1.000e-04  1.000e+04 ( 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/628290/ft1_filtered_4FGL_J0931.9+6737_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/628290/ft2_4FGL_J0931.9+6737_monthly_bin168.fits
Exposure map: /scratch/kocevski/628290/expmap_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.fits
Exposure cube: /scratch/kocevski/628290/ltcube_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/628290/Model_4FGL_J0931.9+6737_monthly_bin168.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) = 126382.965166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3671       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4564       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0357       1.0000         .10000E-03   10000.    
     6 'norm      '    1.2477       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2289       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .25094       1.0000         .10000E-03   10000.    
     9 'norm      '    .38547       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.9831       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7264       1.0000         .10000E-03   10000.    
    13 'norm      '    .88955       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .72925       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .31093       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0380       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.0880       1.0000         .10000E-03   10000.    
    19 'norm      '    9.0254       1.0000         .10000E-03   10000.    
    20 'norm      '    21.072       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.4856       1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.537       1.0000         .10000E-03   10000.    
    24 'norm      '    1.6574       1.0000         .10000E-03   10000.    
    25 'Prefactor '    27.331       1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.7714       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .50283E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    1.4160       1.0000         .10000E-03   10000.    
    29 'norm      '    .42512       1.0000         .10000E-03   10000.    
    30 'Prefactor '    2.2192       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .34518E-02   1.0000         .10000E-03   10000.    
    32 'Prefactor '    2.0258       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0871       1.0000         .10000E-01   10.000    
    34 'Prefactor '    1.0081       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   126382.2     FROM MIGRAD    STATUS=CONVERGED    951 CALLS     4321 TOTAL
                     EDM=   .26E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3671        .23029         .0000       -.18019E-02
   2  Prefactor     .10109E-03    25.899         .0000    ** at limit **
   3  Prefactor     .10000E-03    3.3921         .0000    ** at limit **
   4  Prefactor     6.4588        3.7718         .0000       -.95400E-03
   5  Prefactor     2.0282        8.5577         .0000        .94921E-02
   6  norm          1.2478        .64589         .0000        .16428E-01
   7  Prefactor     2.2291        .81503         .0000        .26749E-02
   8  Prefactor     .25094        .23668         .0000        .29520E-01
   9  norm          .38650        .39660         .0000        .37829E-01
  10  Prefactor     7.9854        5.0544         .0000       -.19064E-02
  11  Prefactor     .10000E-03    1.0977         .0000    ** at limit **
  12  Prefactor     1.7265        1.3284         .0000        .71394E-02
  13  norm          .88957        .20064         .0000        .11750E-01
  14  Prefactor     .73279        1.6362         .0000        .37189    
  15  Prefactor     .31099        .61981         .0000        .17529E-01
  16  Prefactor     .10000E-03    .51454         .0000    ** at limit **
  17  norm          1.0381        1.1757         .0000        .73429E-02
  18  Prefactor     5.0883        7.5948         .0000        .75225E-02
  19  norm          9.0254        .33146         .0000        .12398E-02
  20  norm          21.079        4.5375         .0000       -.18725E-02
  21  Prefactor     .10001E-03    .43988         .0000    ** at limit **
  22  Prefactor     7.4871        4.8452         .0000        .27892E-02
  23  Prefactor     12.540        4.5506         .0000       -.51446E-03
  24  norm          1.6572        .54144         .0000        .58985E-02
  25  Prefactor     27.333        10.105         .0000        .99697E-03
  26  Prefactor     7.7720        15.890         .0000       -.19307E-03
  27  Prefactor     .10000E-03    .14510         .0000    ** at limit **
  28  norm          1.4161        .18705         .0000        .90511E-02
  29  norm          .42565        .78268         .0000        .30415E-01
  30  Prefactor     2.2190        2.1728         .0000        .13936E-01
  31  Prefactor     .10380E-03    .69155         .0000    ** at limit **
  32  Prefactor     2.0258        .69364         .0000        .10563E-03
  33  Normalizat    1.0871        .45201E-01     .0000        .11789E-02
  34  Prefactor     1.0081        .37692E-01     .0000        .88891E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.36708
  Prefactor  = 0.00010109
  Prefactor  = 0.0001
  Prefactor  = 6.45878
  Prefactor  = 2.02822
  norm       = 1.24777
  Prefactor  = 2.22914
  Prefactor  = 0.250936
  norm       = 0.386501
  Prefactor  = 7.98543
  Prefactor  = 0.0001
  Prefactor  = 1.72654
  norm       = 0.889569
  Prefactor  = 0.732788
  Prefactor  = 0.31099
  Prefactor  = 0.0001
  norm       = 1.03815
  Prefactor  = 5.08829
  norm       = 9.02536
  norm       = 21.0787
  Prefactor  = 0.000100005
  Prefactor  = 7.48709
  Prefactor  = 12.5399
  norm       = 1.65723
  Prefactor  = 27.3329
  Prefactor  = 7.772
  Prefactor  = 0.0001
  norm       = 1.41612
  norm       = 0.425654
  Prefactor  = 2.21895
  Prefactor  = 0.0001038
  Prefactor  = 2.02578
  Normalizat = 1.08711
  Prefactor  = 1.00808
 **********
 **   18 **HESSE 
 **********

 FCN=   126382.2     FROM HESSE     STATUS=OK           784 CALLS     5105 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3671        .23025        .51541E-04   -1.5400    
   2  Prefactor     .10109E-03    26.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.4296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.4588        3.7462        .15795E-03   -1.5200    
   5  Prefactor     2.0282        8.5719        .14495E-02   -1.5423    
   6  norm          1.2478        .63054        .19281E-03   -1.5485    
   7  Prefactor     2.2291        .81265        .18711E-03   -1.5409    
   8  Prefactor     .25094        .26521        .15496E-02   -1.5608    
   9  norm          .38650        .39516        .21273E-03   -1.5584    
  10  Prefactor     7.9854        5.0533        .14191E-03   -1.5143    
  11  Prefactor     .10000E-03    1.1051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7265        1.3186        .31960E-03   -1.5445    
  13  norm          .88957        .19274        .71409E-03   -1.5519    
  14  Prefactor     .73279        1.6210        .24347E-02   -1.5537    
  15  Prefactor     .31099        .71723        .38081E-02   -1.5596    
  16  Prefactor     .10000E-03    .52556        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0381        1.0087        .37587E-02   -1.5504    
  18  Prefactor     5.0883        7.4027        .89125E-03   -1.5257    
  19  norm          9.0254        .33118        .37219E-04   -1.5107    
  20  norm          21.079        4.5367        .87255E-04   -1.4789    
  21  Prefactor     .10001E-03    .66312        .68073E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.4871        4.9667        .14658E-03   -1.5161    
  23  Prefactor     12.540        4.5741        .11313E-03   -1.5000    
  24  norm          1.6572        .53950        .12272E-03   -1.5450    
  25  Prefactor     27.333        10.157        .76630E-04   -1.4662    
  26  Prefactor     7.7720        15.879        .14384E-03   -1.5150    
  27  Prefactor     .10000E-03    .30305        .41537E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          1.4161        .18675        .47363E-04   -1.5470    
  29  norm          .42565        .54826        .20617E-03   -1.5577    
  30  Prefactor     2.2190        1.5831        .25044E-03   -1.5410    
  31  Prefactor     .10380E-03    .83726        .11936       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     2.0258        .69464        .16828E-03   -1.5423    
  33  Normalizat    1.0871        .51526E-01    .27764E-03   -.90167    
  34  Prefactor     1.0081        .43252E-01    .25299E-03   -.92461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.308e-07
Minuit parameter uncertainties:
  1  0.230253
  2  0.0107222
  3  2.06829e-05
  4  3.74636
  5  8.34108
  6  0.630539
  7  0.812652
  8  0.265212
  9  0.395159
  10  5.05353
  11  1.48467e-06
  12  1.31862
  13  0.192739
  14  1.62111
  15  0.717254
  16  6.02798e-07
  17  1.00876
  18  7.40399
  19  0.331177
  20  4.53675
  21  0.000117447
  22  4.96702
  23  4.57421
  24  0.5395
  25  10.1573
  26  15.8872
  27  2.07059e-05
  28  0.18675
  29  0.548271
  30  1.58317
  31  0.00356742
  32  0.69464
  33  0.0515283
  34  0.0432533
Done.

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

Extracting fit parameters...

4FGL J0931.9+6737
   Spectrum: PowerLaw
333    Prefactor:  7.328e-01  1.621e+00  1.000e-04  1.000e+04 ( 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.008e+00  4.325e-02  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.087e+00  5.153e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 142.984 67.621
Photon Flux Upper Limit: 1.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.39e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/628290/likelihoodResults_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.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) = 126382.194829
delta logL = 0.000184100572369

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 126382.194826
delta logL = 0.00018709723372

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73279       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2561       1.0000          .0000       10.000    
     3 'Normalizat'    1.0872       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0081       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   126382.2     FROM MIGRAD    STATUS=FAILED       103 CALLS      269 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73775        1.6929        .24374E-02    .14607E-01
   2  Index         2.2552        1.1316        .14375E-01    .41126E-05
   3  Normalizat    1.0872        .47594E-01    .27764E-03    .26206E-05
   4  Prefactor     1.0081        .42248E-01    .25299E-03    .71899E-06
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   126382.2     FROM SIMPLEX   STATUS=UNCHANGED     70 CALLS      339 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73775        1.6929        .68803E-04   -1.5536    
   2  Index         2.2552        1.1316        .10495E-02   -.58111    
   3  Normalizat    1.0872        .47594E-01    .61270E-04   -.90165    
   4  Prefactor     1.0081        .42248E-01    .69649E-04   -.92461    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   126382.2     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      368 TOTAL
                     EDM=   .82E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73775        1.6431        .48748E-03   -.41419E-04
   2  Index         2.2552        1.1009        .57499E-03    .12654E-05
   3  Normalizat    1.0872        .47620E-01    .11106E-04    .32758E-05
   4  Prefactor     1.0081        .42270E-01    .10120E-04    .71899E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.737748
  Index      = 2.25524
  Normalizat = 1.08715
  Prefactor  = 1.00808
 **********
 **   18 **HESSE 
 **********

 FCN=   126382.2     FROM HESSE     STATUS=OK            23 CALLS      391 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73775        1.6399        .19499E-04   -1.5536    
   2  Index         2.2552        1.0987        .23000E-04   -.58111    
   3  Normalizat    1.0872        .47583E-01    .22211E-05   -.90165    
   4  Prefactor     1.0081        .42245E-01    .10120E-04   -.92461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68579e-12
Minuit parameter uncertainties:
  1  1.64001
  2  1.11173
  3  0.0475845
  4  0.0422464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/628290': 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) = 126382.194822
delta logL = 0.000191811050172

Extracting fit parameters...

4FGL J0931.9+6737
   Spectrum: PowerLaw
333    Prefactor:  7.377e-01  1.640e+00  1.000e-04  1.000e+04 ( 1.000e-13)
334        Index:  2.255e+00  1.112e+00  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.008e+00  4.225e-02  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.087e+00  4.758e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/628290/cmap_HighResolution_672451201_675043201_4FGL_J0931.9+6737_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.39e-04', job_status='DONE', photon_flux_upper_limit='1.23e-08', time_completed='2022-05-24 08:01:07.740612', job_id='628290', GAL2='1.01', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1653404467.74', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.92e-04', ts2='0.24', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='168' AND source_name='4FGL J0931.9+6737' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 08:01:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 628290: <4FGL_J0931.9+6737_monthly_bin168> in cluster <slac> Done

Job <4FGL_J0931.9+6737_monthly_bin168> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue May 24 02:45:38 2022
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:49:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 02:49:20 2022
Terminated at Tue May 24 08:01:09 2022
Results reported at Tue May 24 08:01:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0931.9+6737_monthly_bin168 142.984 67.6213 672451201 675043201 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 :                                   18634.00 sec.
    Max Memory :                                 1101 MB
    Average Memory :                             528.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   18711 sec.
    Turnaround time :                            18931 sec.

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

