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


Performing analysis on: 4FGL_J0931.9+6737_daily_bin1758
RA = 142.984, Dec = 67.6213
tmin = 695001601, tmax = 695260801
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='362244', job_status='RUN', time_executed='2023-01-13 00:31:55.934636', time_epoch_executed='1673598715.93' WHERE source_name='4FGL J0931.9+6737' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362244

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362244/ft1_4FGL_J0931.9+6737_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362244/ft2_4FGL_J0931.9+6737_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362244/ft1_4FGL_J0931.9+6737_daily_bin1758.fits outfile=/scratch/kocevski/362244/ft1_filteredMKT_4FGL_J0931.9+6737_daily_bin1758.fits ra=142.984 dec=67.6213 rad=12.0 tmin=695001601.0 tmax=695260801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.78
user 2.57
sys 0.20

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

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

Number of photons that the gtmktime cut: 725

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362244/ft1_filtered_4FGL_J0931.9+6737_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/362244/ft2_4FGL_J0931.9+6737_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/362244/ltcube_695001601_695260801_4FGL_J0931.9+6737_daily_bin1758.fits outfile=/scratch/kocevski/362244/expmap_695001601_695260801_4FGL_J0931.9+6737_daily_bin1758.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/362244/ltcube_695001601_695260801_4FGL_J0931.9+6737_daily_bin1758.fits
.....................!
real 193.40
user 186.78
sys 5.83

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/362244/ft1_filtered_4FGL_J0931.9+6737_daily_bin1758.fits scfile=/scratch/kocevski/362244/ft2_4FGL_J0931.9+6737_daily_bin1758.fits outfile=/scratch/kocevski/362244/cmap_695001601_695260801_4FGL_J0931.9+6737_daily_bin1758.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.61
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362244/ft1_filtered_4FGL_J0931.9+6737_daily_bin1758.fits scfile=/scratch/kocevski/362244/ft2_4FGL_J0931.9+6737_daily_bin1758.fits outfile=/scratch/kocevski/362244/cmap_HighResolution_695001601_695260801_4FGL_J0931.9+6737_daily_bin1758.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.58
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4137       1.0000          .0000       .10000E+07
     2 'Prefactor '    65.415       1.0000          .0000       .10000E+07
     3 'Prefactor '    .43930       1.0000          .0000       .10000E+07
     4 'norm      '    .17275E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14484E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .33029E-07   1.0000          .0000       .10000E+07
     7 'norm      '    7.1136       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12550E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.857       1.0000          .0000       .10000E+07
    10 'norm      '    1.1234       1.0000          .0000       .10000E+07
    11 'Prefactor '    .51372E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30611E-03   1.0000          .0000       .10000E+07
    13 'norm      '    15.747       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12910E-03   1.0000          .0000       .10000E+07
    15 'norm      '    1.6114       1.0000          .0000       .10000E+07
    16 'norm      '    23.812       1.0000          .0000       .10000E+07
    17 'Prefactor '    .91854E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15353E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .14920E-05   1.0000          .0000       .10000E+07
    20 'norm      '    1.4630       1.0000          .0000       .10000E+07
    21 'Prefactor '    .66509E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.5028       1.0000          .0000       .10000E+07
    23 'norm      '    2.7697       1.0000          .0000       .10000E+07
    24 'norm      '    .30501E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .21787E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .48371E-05   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.2941       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .65882       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=   7830.515     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     2000 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4138        .61300        .14704E-07    .22860E-02
   2  Prefactor     68.276        38.672       -.58353E-08   -.36106E-01
   3  Prefactor     .13295E-06    17.588       -.35581E-07** at limit **
   4  norm          .27756E-09    2.8155       -.17190E-06** at limit **
   5  Prefactor     .48977E-06    2.9477       -.71305E-07** at limit **
   6  Prefactor      .0000        3.4997        .13092E-06** at limit **
   7  norm          7.0682        2.6697        .22538E-08   -.27413E-02
   8  Prefactor     .72164E-08    11.652        .26793E-06** at limit **
   9  Prefactor     17.740        15.367        .18924E-07    .60960E-01
  10  norm          1.1246        .82275        .10197E-07    .13265E-02
  11  Prefactor     .16653E-08    5.4788       -.14691E-06** at limit **
  12  Prefactor      .0000        10.203        .84288E-07** at limit **
  13  norm          15.768        1.3900       -.49096E-08    .74859E-04
  14  Prefactor     .11512E-05    30.373       -.10766E-07** at limit **
  15  norm          1.6132        .77218        .69553E-08    .13943E-02
  16  norm          23.754        5.3713        .18074E-07   -.32727E-01
  17  Prefactor     .61062E-09    3.7041       -.13877E-06** at limit **
  18  Prefactor     .10553E-06    5.6853       -.71722E-07** at limit **
  19  Prefactor     .83267E-09    4.0260       -.18608E-06** at limit **
  20  norm          1.4647        1.3645       -.23416E-08   -.11209E-03
  21  Prefactor     .27522E-05    43.393        .25052E-06** at limit **
  22  Prefactor     1.5203        2.3282        .12327E-06    .14798E-02
  23  norm          2.7693        .69689       -.88352E-08   -.56051E-03
  24  norm          .36138E-07    5.9934       -.91582E-07** at limit **
  25  Prefactor     .11657E-08    10.400        .98383E-07** at limit **
  26  Prefactor      .0000        .82979        .17849E-07** at limit **
  27  Normalizat    1.2938        .18461       -.25715E-05    .87970E-05
  28  Prefactor     .65787        .15296        .31657E-05    .58501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.41378
  Prefactor  = 68.2758
  Prefactor  = 1.32949e-07
  norm       = 2.77556e-10
  Prefactor  = 4.89775e-07
  Prefactor  = 0
  norm       = 7.0682
  Prefactor  = 7.21645e-09
  Prefactor  = 17.7403
  norm       = 1.12462
  Prefactor  = 1.66533e-09
  Prefactor  = 0
  norm       = 15.7682
  Prefactor  = 1.15119e-06
  norm       = 1.61315
  norm       = 23.7538
  Prefactor  = 6.10623e-10
  Prefactor  = 1.05527e-07
  Prefactor  = 8.32667e-10
  norm       = 1.46471
  Prefactor  = 2.75219e-06
  Prefactor  = 1.52031
  norm       = 2.76932
  norm       = 3.61378e-08
  Prefactor  = 1.16573e-09
  Prefactor  = 0
  Normalizat = 1.29381
  Prefactor  = 0.657869
 **********
 **   18 **HESSE 
 **********

 FCN=   7830.515     FROM HESSE     STATUS=OK           581 CALLS     2581 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4138        .61016        .91043E-03   -1.5684    
   2  Prefactor     68.276        40.589        .12365E-03   -1.5543    
   3  Prefactor     .13295E-06    150.20        .85068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .27756E-09    2.7950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .48977E-06    7.2062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.3758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.0682        2.9071        .37587E-03   -1.5655    
   8  Prefactor     .72164E-08    13.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.740        25.913        .24367E-03   -1.5624    
  10  norm          1.1246        .82027        .11059E-02   -1.5687    
  11  Prefactor     .16653E-08    5.4952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.768        11.803        .25213E-03   -1.5629    
  14  Prefactor     .11512E-05    38.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.6132        .77827        .83407E-03   -1.5683    
  16  norm          23.754        19.338        .20497E-03   -1.5610    
  17  Prefactor     .61062E-09    3.7028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10553E-06    6.6469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .83267E-09    4.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.4647        1.3636        .88896E-03   -1.5684    
  21  Prefactor     .27522E-05    51.749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.5203        2.3602        .87293E-03   -1.5683    
  23  norm          2.7693        .72282        .61128E-03   -1.5675    
  24  norm          .36138E-07    .93741        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .11657E-08    12.449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        .83004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2938        .16204        .54791E-01   -.83751    
  28  Prefactor     .65787        .13372        .62635E-01   -1.0520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5136e-07
Minuit parameter uncertainties:
  1  0.61016
  2  40.5891
  3  0.00893679
  4  5.69409e-05
  5  0.00375732
  6  1.00847e-05
  7  2.90715
  8  0.000613909
  9  25.9131
  10  0.820269
  11  0.000191907
  12  2.57564e-05
  13  11.8027
  14  0.0132663
  15  0.778272
  16  19.3379
  17  9.59231e-05
  18  0.00167489
  19  0.000117281
  20  1.36359
  21  0.0238684
  22  2.36021
  23  0.722824
  24  0.000368071
  25  0.000242746
  26  7.46291e-06
  27  0.162099
  28  0.133783
Done.

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

Extracting fit parameters...

4FGL J0931.9+6737
   Spectrum: PowerLaw
333    Prefactor:  1.665e-09  1.919e-04  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:  6.579e-01  1.338e-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.294e+00  1.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/362244/likelihoodResults_695001601_695260801_4FGL_J0931.9+6737_daily_bin1758.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) = 7830.52494892
delta logL = -0.0103636545273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7830.51458527
delta logL = -6.33190211374e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29865E-07   1.0000          .0000       .10000E+07
     2 'Index     '    2.3673       1.0000          .0000       10.000    
     3 'Normalizat'    1.2938       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65787       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=   7830.515     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      222 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    4.6516       -.82371E-06** at limit **
   2  Index         .99568        2.1318       -.79339E-04   -.16587E-09
   3  Normalizat    1.2938        .17929        .42474E-05    .78921E-04
   4  Prefactor     .65787        .15243       -.83769E-05    .17361E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 0.995682
  Normalizat = 1.29381
  Prefactor  = 0.657869
 **********
 **   18 **HESSE 
 **********

 FCN=   7830.515     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      261 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    3.1751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .99568        6.9312        .50000       -.92874    
   3  Normalizat    1.2938        .34770E-02    .54791E-01   -.83751    
   4  Prefactor     .65787        .29488E-02    .62635E-01   -1.0520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.96507e-11
Minuit parameter uncertainties:
  1  5.24549e-05
  2  50463.9
  3  0.00347699
  4  0.00294885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362244': 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) = 7830.51458526
delta logL = 1.05501385406e-10

Extracting fit parameters...

4FGL J0931.9+6737
   Spectrum: PowerLaw
333    Prefactor:  2.220e-10  5.245e-05  0.000e+00  1.000e+06 ( 1.000e-13)
334        Index:  9.957e-01  5.046e+04  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:  6.579e-01  2.949e-03  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.294e+00  3.477e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/362244/cmap_HighResolution_695001601_695260801_4FGL_J0931.9+6737_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.43e-08', time_completed='2023-01-13 00:46:58.738031', job_id='362244', GAL2='0.66', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1673599618.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.06e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1758' AND source_name='4FGL J0931.9+6737' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:46:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 362244: <4FGL_J0931.9+6737_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0931.9+6737_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 00:30:22 2023
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:31:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:31:39 2023
Terminated at Fri Jan 13 00:46:59 2023
Results reported at Fri Jan 13 00:46:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0931.9+6737_daily_bin1758 142.984 67.6213 695001601 695260801 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 :                                   903.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             357.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            997 sec.

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

