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


Performing analysis on: 4FGL_J0923.5+3852_weekly_bin752
RA = 140.885, Dec = 38.8743
tmin = 693792001, tmax = 694396801
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='435116', job_status='RUN', time_executed='2023-01-03 01:33:35.524488', time_epoch_executed='1672738415.52' WHERE source_name='4FGL J0923.5+3852' and cadence='weekly' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435116

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435116/ft1_4FGL_J0923.5+3852_weekly_bin752.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435116/ft1_4FGL_J0923.5+3852_weekly_bin752.fits outfile=/scratch/kocevski/435116/ft1_filteredMKT_4FGL_J0923.5+3852_weekly_bin752.fits ra=140.885 dec=38.8743 rad=12.0 tmin=693792001.0 tmax=694396801.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 8.66
user 8.29
sys 0.33

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.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/435116/ft1_filteredMKT_4FGL_J0923.5+3852_weekly_bin752.fits evtable="EVENTS" outfile="/scratch/kocevski/435116/ft1_filtered_4FGL_J0923.5+3852_weekly_bin752.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.57
user 0.39
sys 0.17

Number of photons that the gtmktime cut: 571

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435116/ft1_filtered_4FGL_J0923.5+3852_weekly_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/435116/ltcube_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.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/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.fits
.....................!
real 34.88
user 34.27
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435116/ft1_filtered_4FGL_J0923.5+3852_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/435116/ltcube_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.fits outfile=/scratch/kocevski/435116/expmap_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.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/435116/ltcube_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.fits
.....................!
real 192.48
user 186.11
sys 5.94

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

Setting source of interest to:
4FGL J0923.5+3852 @ 140.885 38.8743

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/435116/ft1_filtered_4FGL_J0923.5+3852_weekly_bin752.fits scfile=/scratch/kocevski/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.fits outfile=/scratch/kocevski/435116/cmap_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.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.885 yref=38.8743 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.44
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435116/ft1_filtered_4FGL_J0923.5+3852_weekly_bin752.fits scfile=/scratch/kocevski/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.fits outfile=/scratch/kocevski/435116/cmap_HighResolution_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.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.885 yref=38.8743 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.64
user 0.45
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/435116/ft1_filtered_4FGL_J0923.5+3852_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/435116/Model_4FGL_J0923.5+3852_weekly_bin752.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/435116/ft1_filtered_4FGL_J0923.5+3852_weekly_bin752.fits.....................!
real 53.26
user 51.24
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/435116/ft1_filtered_4FGL_J0923.5+3852_weekly_bin752.fits', '/scratch/kocevski/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.fits', expMap='/scratch/kocevski/435116/expmap_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.fits', expCube='/scratch/kocevski/435116/ltcube_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/435116/Model_4FGL_J0923.5+3852_weekly_bin752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0923.5+3852'

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.377e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/435116/ft1_filtered_4FGL_J0923.5+3852_weekly_bin752.fits
Spacecraft file(s): /scratch/kocevski/435116/ft2_4FGL_J0923.5+3852_weekly_bin752.fits
Exposure map: /scratch/kocevski/435116/expmap_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.fits
Exposure cube: /scratch/kocevski/435116/ltcube_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/435116/Model_4FGL_J0923.5+3852_weekly_bin752.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) = 6187.31567426

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48777E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.9554       1.0000          .0000       .10000E+07
     3 'Prefactor '    .60982E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.4858       1.0000          .0000       .10000E+07
     5 'norm      '    .63795E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10540E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.4444       1.0000          .0000       .10000E+07
     8 'norm      '    .50210E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.5869       1.0000          .0000       .10000E+07
    10 'norm      '    .73219E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4992       1.0000          .0000       .10000E+07
    12 'norm      '    4.0681       1.0000          .0000       .10000E+07
    13 'Prefactor '    .80824E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .37115E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.7170       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.0390       1.0000          .0000       .10000E+07
    17 'norm      '    .28060E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.817       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.388       1.0000          .0000       .10000E+07
    20 'Prefactor '    .50396E-03   1.0000          .0000       .10000E+07
    21 'norm      '    14.604       1.0000          .0000       .10000E+07
    22 'Prefactor '    .20752E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    2.4513       1.0000          .0000       .10000E+07
    24 'norm      '    .75663E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .76562       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0573       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6187.282     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2223 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-08    7.8357       -.28114E-06** at limit **
   2  Prefactor     3.9696        2.9718       -.15031E-06   -.31953E-02
   3  Prefactor     .11696E-06    17.403        .18807E-06** at limit **
   4  Prefactor     5.5630        2.8864        .47837E-07    .49988E-01
   5  norm           .0000        1.4569       -.34720E-07** at limit **
   6  Prefactor     .86264E-07    13.574        .28582E-06** at limit **
   7  Prefactor     4.4417        3.2707        .60121E-07    .17733E-02
   8  norm           .0000        .63339       -.23770E-07** at limit **
   9  Prefactor     5.6223        2.0880       -.37657E-08    .75083E-02
  10  norm           .0000        .13994        .33155E-07** at limit **
  11  Prefactor     1.4949        1.8086       -.60563E-07   -.77073E-03
  12  norm          4.0714        6.0467       -.55866E-07   -.60550E-03
  13  Prefactor      .0000        1.1746       -.18453E-08** at limit **
  14  Prefactor      .0000        .67920       -.30931E-07** at limit **
  15  Prefactor     4.7127        6.2954       -.29606E-07   -.51309E-02
  16  Prefactor     5.0401        1.9678        .85899E-08    .17252E-01
  17  norm          .72164E-09    4.2083       -.23087E-07** at limit **
  18  Prefactor     26.426        19.108        .18272E-06   -.38231E-01
  19  Prefactor     10.037        11.891       -.18684E-06    .11438E-01
  20  Prefactor     .21494E-06    2.7855       -.24794E-06** at limit **
  21  norm          14.619        2.9132        .13589E-07    .77303E-01
  22  Prefactor      .0000        1.0999        .52167E-07** at limit **
  23  Prefactor     2.4557        3.2091       -.54229E-07   -.21271E-05
  24  norm          .19301E-06    2.7593       -.30232E-06** at limit **
  25  Normalizat    .76536        .17659       -.11336E-05    .22770E-04
  26  Prefactor     1.0572        .19702        .23412E-05    .38717E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-09
  Prefactor  = 3.96962
  Prefactor  = 1.16962e-07
  Prefactor  = 5.56299
  norm       = 0
  Prefactor  = 8.62643e-08
  Prefactor  = 4.44168
  norm       = 0
  Prefactor  = 5.62227
  norm       = 0
  Prefactor  = 1.49489
  norm       = 4.07145
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.7127
  Prefactor  = 5.04013
  norm       = 7.21645e-10
  Prefactor  = 26.4256
  Prefactor  = 10.0374
  Prefactor  = 2.14939e-07
  norm       = 14.6191
  Prefactor  = 0
  Prefactor  = 2.45566
  norm       = 1.93012e-07
  Normalizat = 0.765361
  Prefactor  = 1.05722
 **********
 **   18 **HESSE 
 **********

 FCN=   6187.282     FROM HESSE     STATUS=OK           506 CALLS     2729 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-08    7.8677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9696        2.9826        .50694E-03   -1.5668    
   3  Prefactor     .11696E-06    17.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5630        9.9749        .42876E-03   -1.5661    
   5  norm           .0000        1.4600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .86264E-07    13.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4417        3.3283        .47742E-03   -1.5666    
   8  norm           .0000        .63018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6223        14.583        .42479E-03   -1.5661    
  10  norm           .0000        .13932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4949        1.8546        .87434E-03   -1.5684    
  12  norm          4.0714        6.6556        .49965E-03   -1.5668    
  13  Prefactor      .0000        1.1637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .67767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.7127        6.6198        .46308E-03   -1.5665    
  16  Prefactor     5.0401        11.903        .44771E-03   -1.5663    
  17  norm          .72164E-09    4.2728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.426        23.085        .19685E-03   -1.5605    
  19  Prefactor     10.037        19.839        .31063E-03   -1.5645    
  20  Prefactor     .21494E-06    5.0842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          14.619        11.120        .26183E-03   -1.5631    
  22  Prefactor      .0000        1.0995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.4557        3.2176        .65307E-03   -1.5677    
  24  norm          .19301E-06    5.0063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .76536        .15480        .43160E-01   -1.0137    
  26  Prefactor     1.0572        .17019        .39499E-01   -.90846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41072e-07
Minuit parameter uncertainties:
  1  0.000322541
  2  2.98263
  3  0.00289399
  4  9.97489
  5  8.19667e-07
  6  0.00219315
  7  3.32829
  8  6.95701e-07
  9  14.5829
  10  7.04447e-07
  11  1.8546
  12  6.65562
  13  4.23576e-07
  14  9.42434e-07
  15  6.61982
  16  11.9027
  17  0.000109567
  18  23.0847
  19  19.8395
  20  0.00209078
  21  11.1204
  22  2.65251e-06
  23  3.21757
  24  0.00196591
  25  0.154892
  26  0.170276
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  4.071e+00  6.656e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.057e+00  1.703e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  7.654e-01  1.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: 7.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/435116/likelihoodResults_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.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) = 6187.25301834
delta logL = 0.0287498774132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6187.24726343
delta logL = 0.0345047904957

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4206       1.0000          .0000       .10000E+07
     2 'alpha     '    2.9305       1.0000          .0000       5.0000    
     3 'Normalizat'    .76096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0607       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6187.247     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      196 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4229        11.817        .54669E-03   -.48067E-02
   2  alpha         2.9298        3.6381        .41950E-01   -.80473E-04
   3  Normalizat    .76102        .14642        .43099E-01   -.58419E-04
   4  Prefactor     1.0606        .16925        .39320E-01    .15399E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.42294
  alpha      = 2.92977
  Normalizat = 0.761024
  Prefactor  = 1.06065
 **********
 **   18 **HESSE 
 **********

 FCN=   6187.247     FROM HESSE     STATUS=OK            29 CALLS      225 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4229        6.0757        .19943E-04   -1.5671    
   2  alpha         2.9298        1.2191        .16780E-02    .17276    
   3  Normalizat    .76102        .16941        .23337E-03   -1.0153    
   4  Prefactor     1.0606        .19523        .23245E-03   -.90734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57808e-09
Minuit parameter uncertainties:
  1  6.07567
  2  1.27539
  3  0.169526
  4  0.195359
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435116': 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) = 6187.24726319
delta logL = 0.0345050300984

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.423e+00  6.076e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  2.930e+00  1.275e+00  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  2.149e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.061e+00  1.954e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  7.610e-01  1.695e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
Ra Dec: 140.885 38.874

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/435116/cmap_HighResolution_693792001_694396801_4FGL_J0923.5+3852_weekly_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-05', job_status='DONE', photon_flux_upper_limit='7.73e-08', time_completed='2023-01-03 01:46:12.799342', job_id='435116', GAL2='1.06', fit_tolerance='1e-08', EG2='0.76', EG='0.77', time_epoch_completed='1672739172.8', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.45e-02', ts2='0.63', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='752' AND source_name='4FGL J0923.5+3852' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan  3 01:46:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 435116: <4FGL_J0923.5+3852_weekly_bin752> in cluster <slac> Done

Job <4FGL_J0923.5+3852_weekly_bin752> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan  3 01:30:33 2023
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan  3 01:32:03 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan  3 01:32:03 2023
Terminated at Tue Jan  3 01:46:13 2023
Results reported at Tue Jan  3 01:46:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_weekly_bin752 140.885 38.8743 693792001 694396801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+3852 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   757.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            940 sec.

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

