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


Performing analysis on: 4FGL_J0922.6+4454_daily_bin1747
RA = 140.659, Dec = 44.9131
tmin = 692150401, tmax = 692409601
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='794312', job_status='RUN', time_executed='2022-12-11 00:31:29.640124', time_epoch_executed='1670747489.64' WHERE source_name='4FGL J0922.6+4454' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794312

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794312/ft1_4FGL_J0922.6+4454_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794312/ft1_4FGL_J0922.6+4454_daily_bin1747.fits outfile=/scratch/kocevski/794312/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1747.fits ra=140.659 dec=44.9131 rad=12.0 tmin=692150401.0 tmax=692409601.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.97
user 3.74
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.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/794312/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/794312/ft1_filtered_4FGL_J0922.6+4454_daily_bin1747.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.49
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 671

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794312/ft1_filtered_4FGL_J0922.6+4454_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/794312/ltcube_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.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/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.fits
.....................!
real 11.77
user 11.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794312/ft1_filtered_4FGL_J0922.6+4454_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/794312/ltcube_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.fits outfile=/scratch/kocevski/794312/expmap_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.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/794312/ltcube_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.fits
.....................!
real 190.23
user 185.25
sys 4.62

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

Setting source of interest to:
4FGL J0922.6+4454 @ 140.659 44.9131

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/794312/ft1_filtered_4FGL_J0922.6+4454_daily_bin1747.fits scfile=/scratch/kocevski/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.fits outfile=/scratch/kocevski/794312/cmap_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.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=140.659 yref=44.9131 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794312/ft1_filtered_4FGL_J0922.6+4454_daily_bin1747.fits scfile=/scratch/kocevski/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.fits outfile=/scratch/kocevski/794312/cmap_HighResolution_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.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=140.659 yref=44.9131 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794312/ft1_filtered_4FGL_J0922.6+4454_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794312/Model_4FGL_J0922.6+4454_daily_bin1747.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/794312/ft1_filtered_4FGL_J0922.6+4454_daily_bin1747.fits.....................!
real 65.94
user 64.14
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794312/ft1_filtered_4FGL_J0922.6+4454_daily_bin1747.fits', '/scratch/kocevski/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.fits', expMap='/scratch/kocevski/794312/expmap_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.fits', expCube='/scratch/kocevski/794312/ltcube_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794312/Model_4FGL_J0922.6+4454_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0922.6+4454'

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.166e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/794312/ft1_filtered_4FGL_J0922.6+4454_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/794312/ft2_4FGL_J0922.6+4454_daily_bin1747.fits
Exposure map: /scratch/kocevski/794312/expmap_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.fits
Exposure cube: /scratch/kocevski/794312/ltcube_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794312/Model_4FGL_J0922.6+4454_daily_bin1747.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) = 7398.30680023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41873       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15483E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .76666E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.7837       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.1779       1.0000          .0000       .10000E+07
     6 'norm      '    .27846E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .52269E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1599       1.0000          .0000       .10000E+07
     9 'Prefactor '    .52952E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .28747E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    18.132       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54679E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .50437E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.9143       1.0000          .0000       .10000E+07
    15 'norm      '    .68506E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .57793E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18576E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .98429E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9525       1.0000          .0000       .10000E+07
    20 'norm      '    .13196E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .14173E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    15.958       1.0000          .0000       .10000E+07
    23 'Prefactor '    .40561E-03   1.0000          .0000       .10000E+07
    24 'norm      '    2.0602       1.0000          .0000       .10000E+07
    25 'norm      '    54.373       1.0000          .0000       .10000E+07
    26 'Prefactor '    .20459E-02   1.0000          .0000       .10000E+07
    27 'norm      '    1.8640       1.0000          .0000       .10000E+07
    28 'Normalizat'    .73673       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.4261       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7398.245     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     2107 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41897        .53948        .46373E-07    .89813E-04
   2  Prefactor     .55511E-10    2.6123        .89220E-07** at limit **
   3  Prefactor     .66114E-07    3.3883        .60110E-07** at limit **
   4  Prefactor     8.7646        3.0453        .32681E-07   -.20519E-01
   5  Prefactor     6.1790        1.3443       -.31297E-07   -.29161E-02
   6  norm          .27756E-09    2.5177        .17947E-06** at limit **
   7  norm           .0000        2.0177       -.75453E-07** at limit **
   8  Prefactor     4.1562        1.0302       -.56054E-08   -.94524E-04
   9  Prefactor     .10769E-07    3.3470        .19231E-06** at limit **
  10  Prefactor     .20517E-06    4.9559        .25027E-07** at limit **
  11  Prefactor     18.159        5.2516        .36676E-07   -.11758E-02
  12  Prefactor     .16653E-09    2.9221        .17863E-06** at limit **
  13  norm           .0000        .46791       -.93996E-07** at limit **
  14  Prefactor     1.9134        2.3765       -.16914E-06   -.45625E-03
  15  norm          .34417E-08    6.4814        .30132E-06** at limit **
  16  Prefactor      .0000        1.7952       -.10243E-07** at limit **
  17  Prefactor     .55511E-10    2.1189        .51419E-07** at limit **
  18  Prefactor     .13878E-08    1.8400        .21243E-06** at limit **
  19  Prefactor     3.9575        1.5294       -.43440E-07   -.98324E-03
  20  norm           .0000        2.5579        .90857E-07** at limit **
  21  Prefactor     .84377E-08    2.9766        .15377E-06** at limit **
  22  Prefactor     15.990        5.6066       -.95769E-07   -.87814E-02
  23  Prefactor     .10442E-06    11.870       -.29913E-06** at limit **
  24  norm          2.0601        .75662       -.13712E-07   -.91843E-03
  25  norm          54.377        1.0137       -.10967E-08    .41439E-03
  26  Prefactor     .34972E-07    7.0489       -.39302E-07** at limit **
  27  norm          1.8648        1.5277        .48041E-08    .63043E-04
  28  Normalizat    .73637        .19390        .53177E-06   -.37049E-05
  29  Prefactor     1.4263        .21635       -.27776E-05   -.43664E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.418969
  Prefactor  = 5.55112e-11
  Prefactor  = 6.61138e-08
  Prefactor  = 8.76457
  Prefactor  = 6.17903
  norm       = 2.77556e-10
  norm       = 0
  Prefactor  = 4.1562
  Prefactor  = 1.07692e-08
  Prefactor  = 2.05169e-07
  Prefactor  = 18.1588
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 1.91343
  norm       = 3.44169e-09
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.38778e-09
  Prefactor  = 3.95746
  norm       = 0
  Prefactor  = 8.43769e-09
  Prefactor  = 15.9899
  Prefactor  = 1.04416e-07
  norm       = 2.06008
  norm       = 54.3769
  Prefactor  = 3.4972e-08
  norm       = 1.86482
  Normalizat = 0.736368
  Prefactor  = 1.42631
 **********
 **   18 **HESSE 
 **********

 FCN=   7398.245     FROM HESSE     STATUS=OK           615 CALLS     2722 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41897        .64760        .16332E-02   -1.5695    
   2  Prefactor     .55511E-10    5.1247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .66114E-07    10.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7646        8.9504        .33796E-03   -1.5649    
   5  Prefactor     6.1790        7.2787        .40366E-03   -1.5658    
   6  norm          .27756E-09    2.5439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.0210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.1562        12.928        .49393E-03   -1.5667    
   9  Prefactor     .10769E-07    12.013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .20517E-06    14.235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.159        5.3082        .23493E-03   -1.5623    
  12  Prefactor     .16653E-09    11.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .30699        .14901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.9134        2.7112        .75094E-03   -1.5680    
  15  norm          .34417E-08    6.6866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        2.6616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    2.1242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13878E-08    2.5518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9575        12.159        .50714E-03   -1.5668    
  20  norm           .0000        5.1358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .84377E-08    11.398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.990        7.9391        .25045E-03   -1.5628    
  23  Prefactor     .10442E-06    15.508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.0601        .75762        .71969E-03   -1.5679    
  25  norm          54.377        16.135        .13562E-03   -1.5560    
  26  Prefactor     .34972E-07    8.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.8648        1.5285        .76283E-03   -1.5681    
  28  Normalizat    .73637        .16919        .67535E-01   -1.0247    
  29  Prefactor     1.4263        .18578        .57549E-01   -.79625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.39991e-08
Minuit parameter uncertainties:
  1  0.647598
  2  3.1578e-05
  3  0.00166745
  4  8.95037
  5  7.27874
  6  5.19883e-05
  7  6.79973e-06
  8  12.9283
  9  0.000719741
  10  0.00341787
  11  5.30822
  12  9.60356e-05
  13  5.85529e-07
  14  2.71121
  15  0.000303225
  16  1.5096e-05
  17  1.6669e-05
  18  0.000119213
  19  12.1596
  20  1.67498e-05
  21  0.000619805
  22  7.93908
  23  0.00254485
  24  0.757621
  25  16.1347
  26  0.00109127
  27  1.52851
  28  0.169314
  29  0.185867
Done.

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

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.913e+00  2.711e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.426e+00  1.859e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  7.364e-01  1.693e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.88
Ra Dec: 140.659 44.913
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794312/likelihoodResults_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.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) = 7398.22025552
delta logL = 0.0248172107322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7397.96318794
delta logL = 0.281884792499

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7397.963     FROM MIGRAD    STATUS=CONVERGED    295 CALLS      620 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48451E-04    .10108E-03    .12829E-04** at limit **
   2  Index         9.0817        1.0600        .33299        .60667E-04
   3  Normalizat    .70761        .16757        .68777E-01   -.66056E-04
   4  Prefactor     1.4595        .18686        .57038E-01   -.86857E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.84507e-05
  Index      = 9.08166
  Normalizat = 0.707612
  Prefactor  = 1.45945
 **********
 **   18 **HESSE 
 **********

 FCN=   7397.963     FROM HESSE     STATUS=OK            31 CALLS      651 TOTAL
                     EDM=   .86E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48451E-04    .11449E-03    .74902E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.0817        1.2031        .15077E-02   -99.576    
   3  Normalizat    .70761        .19345        .30435E-03   -1.0359    
   4  Prefactor     1.4595        .21866        .25219E-03   -.78682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.58813e-07
Minuit parameter uncertainties:
  1  0.000114494
  2  1.24089
  3  0.193637
  4  0.218797
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794312': 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) = 7397.9631775
delta logL = 0.281895226196

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  4.845e-05  1.145e-04  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  9.082e+00  1.241e+00  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.459e+00  2.188e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  7.076e-01  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.51
Ra Dec: 140.659 44.913
Photon Index (Free Index): 9.08 +/- 1.24
Photon Flux (Free Index): 4.78e-08 +/- 2.14e-07
Energy Flux (Free Index): 5.43e-06 +/- 2.43e-05

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/794312/cmap_HighResolution_692150401_692409601_4FGL_J0922.6+4454_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.41e-03', comment='SUCCESS', energy_flux2='5.43e-06', dlogl='2.82e-01', photon_flux2='4.78e-08', job_status='DONE', time_completed='2022-12-11 00:45:30.897207', photon_index_error2='1.24', photon_index2='9.08', ts='0.88', fit_tolerance='1e-08', GAL='1.43', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='2.43e-05', EG='0.74', time_epoch_completed='1670748330.9', return_code='0', job_id='794312', GAL2='1.46', EG2='0.71', return_code2='0', photon_flux_error2='2.14e-07', ts2='1.51', photon_index='2.87' WHERE bin_id='1747' AND source_name='4FGL J0922.6+4454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:45:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 794312: <4FGL_J0922.6+4454_daily_bin1747> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:30:26 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:30:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:30:27 2022
Terminated at Sun Dec 11 00:45:31 2022
Results reported at Sun Dec 11 00:45:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+4454_daily_bin1747 140.659 44.9131 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0922.6+4454 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   843.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            905 sec.

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

