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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1744
RA = 140.895, Dec = 41.4283
tmin = 691372801, tmax = 691632001
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='571832', job_status='RUN', time_executed='2022-12-02 00:31:04.500508', time_epoch_executed='1669969864.5' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571832

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571832/ft1_4FGL_J0923.5+4125_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571832/ft1_4FGL_J0923.5+4125_daily_bin1744.fits outfile=/scratch/kocevski/571832/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1744.fits ra=140.895 dec=41.4283 rad=12.0 tmin=691372801.0 tmax=691632001.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.57
user 2.33
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.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/571832/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/571832/ft1_filtered_4FGL_J0923.5+4125_daily_bin1744.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.32
sys 0.16

Number of photons that the gtmktime cut: 590

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571832/ft1_filtered_4FGL_J0923.5+4125_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/571832/ltcube_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.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/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.fits
.....................!
real 12.73
user 12.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571832/ft1_filtered_4FGL_J0923.5+4125_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/571832/ltcube_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.fits outfile=/scratch/kocevski/571832/expmap_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.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/571832/ltcube_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.fits
.....................!
real 191.65
user 185.33
sys 6.01

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

Setting source of interest to:
4FGL J0923.5+4125 @ 140.895 41.4283

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/571832/ft1_filtered_4FGL_J0923.5+4125_daily_bin1744.fits scfile=/scratch/kocevski/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.fits outfile=/scratch/kocevski/571832/cmap_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.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.895 yref=41.4283 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/571832/ft1_filtered_4FGL_J0923.5+4125_daily_bin1744.fits scfile=/scratch/kocevski/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.fits outfile=/scratch/kocevski/571832/cmap_HighResolution_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.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.895 yref=41.4283 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/571832/ft1_filtered_4FGL_J0923.5+4125_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/571832/Model_4FGL_J0923.5+4125_daily_bin1744.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/571832/ft1_filtered_4FGL_J0923.5+4125_daily_bin1744.fits.....................!
real 55.18
user 53.79
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/571832/ft1_filtered_4FGL_J0923.5+4125_daily_bin1744.fits', '/scratch/kocevski/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.fits', expMap='/scratch/kocevski/571832/expmap_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.fits', expCube='/scratch/kocevski/571832/ltcube_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/571832/Model_4FGL_J0923.5+4125_daily_bin1744.xml', optimizer='MINUIT')

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

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.066e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/571832/ft1_filtered_4FGL_J0923.5+4125_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/571832/ft2_4FGL_J0923.5+4125_daily_bin1744.fits
Exposure map: /scratch/kocevski/571832/expmap_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.fits
Exposure cube: /scratch/kocevski/571832/ltcube_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/571832/Model_4FGL_J0923.5+4125_daily_bin1744.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) = 6595.18648686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81267E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.5619       1.0000          .0000       .10000E+07
     3 'Prefactor '    .81371E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.452       1.0000          .0000       .10000E+07
     5 'norm      '    .98836       1.0000          .0000       .10000E+07
     6 'norm      '    9.7684       1.0000          .0000       .10000E+07
     7 'Prefactor '    .22393E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .41207E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.2578       1.0000          .0000       .10000E+07
    10 'norm      '    .35333E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .41030E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .14388E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.5726       1.0000          .0000       .10000E+07
    14 'norm      '    7.9116       1.0000          .0000       .10000E+07
    15 'Prefactor '    .92394       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16133E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .14463E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15861E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .24115E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .76644E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    11.257       1.0000          .0000       .10000E+07
    22 'Prefactor '    74.354       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.5186       1.0000          .0000       .10000E+07
    24 'norm      '    1.7594       1.0000          .0000       .10000E+07
    25 'Prefactor '    .90986       1.0000          .0000       .10000E+07
    26 'Prefactor '    .17520E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .53260E-02   1.0000          .0000       .10000E+07
    28 'Normalizat'    .81033       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.4665       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6595.125     FROM MIGRAD    STATUS=CONVERGED    241 CALLS     2776 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    6.6622        .16760E-06** at limit **
   2  Prefactor     4.5391        3.9050        .45936E-06   -.14289E-02
   3  Prefactor     .83267E-09    11.959       -.14740E-05** at limit **
   4  Prefactor     24.486        2.5977       -.21858E-06   -.53496E-01
   5  norm          .98431        2.0231        .45028E-06   -.30081E-01
   6  norm          9.7866        7.3912       -.66347E-07    .61321E-02
   7  Prefactor     .11491E-07    29.625       -.48337E-05** at limit **
   8  Prefactor     .47740E-08    26.058        .37450E-05** at limit **
   9  Prefactor     2.2648        3.4510       -.56474E-06    .15073E-03
  10  norm           .0000        .97181       -.27350E-06** at limit **
  11  Prefactor     .62655E-06    22.135       -.10102E-06** at limit **
  12  norm           .0000        1.0041       -.25897E-07** at limit **
  13  Prefactor     2.5740        2.4255        .23470E-06   -.91614E-04
  14  norm          7.8911        8.5129       -.21721E-06   -.34967E-02
  15  Prefactor     .92159        1.3646        .19968E-06    .20183E-02
  16  Prefactor     .11990E-07    4.0573       -.15302E-05** at limit **
  17  Prefactor      .0000        1.6223       -.52291E-07** at limit **
  18  Prefactor     .10103E-07    4.2956        .66881E-06** at limit **
  19  norm          .12551E-05    37.924       -.73489E-05** at limit **
  20  Prefactor     .10209E-05    27.955        .71622E-06** at limit **
  21  Prefactor     11.297        7.2345       -.44982E-07   -.80560E-03
  22  Prefactor     76.132        30.862        .18711E-05    .16425E-01
  23  Prefactor     1.4997        7.3156        .11248E-05   -.16668E-03
  24  norm          1.6858        6.2633        .10001E-07   -.67624E-03
  25  Prefactor     .92336        3.3696       -.44939E-06   -.64798E-03
  26  Prefactor     .77716E-09    4.3747        .34671E-06** at limit **
  27  norm          .27200E-08    11.560        .38309E-06** at limit **
  28  Normalizat    .80835        .21023       -.10921E-04   -.27308E-04
  29  Prefactor     1.4678        .24013        .15955E-04    .14469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 4.5391
  Prefactor  = 8.32667e-10
  Prefactor  = 24.4857
  norm       = 0.984306
  norm       = 9.78662
  Prefactor  = 1.14908e-08
  Prefactor  = 4.77396e-09
  Prefactor  = 2.2648
  norm       = 0
  Prefactor  = 6.26554e-07
  norm       = 0
  Prefactor  = 2.57401
  norm       = 7.89113
  Prefactor  = 0.921593
  Prefactor  = 1.19904e-08
  Prefactor  = 0
  Prefactor  = 1.0103e-08
  norm       = 1.25505e-06
  Prefactor  = 1.02091e-06
  Prefactor  = 11.2968
  Prefactor  = 76.1315
  Prefactor  = 1.49973
  norm       = 1.68583
  Prefactor  = 0.923357
  Prefactor  = 7.77156e-10
  norm       = 2.72005e-09
  Normalizat = 0.808346
  Prefactor  = 1.46782
 **********
 **   18 **HESSE 
 **********

 FCN=   6595.125     FROM HESSE     STATUS=OK           621 CALLS     3397 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    6.6606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.5391        3.9088        .47107E-03   -1.5665    
   3  Prefactor     .83267E-09    12.000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.486        14.532        .20227E-03   -1.5609    
   5  norm          .98431        5.2699        .43353E-03   -1.5688    
   6  norm          9.7866        7.5216        .32038E-03   -1.5645    
   7  Prefactor     .11491E-07    31.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .47740E-08    26.332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.2648        3.4898        .68342E-03   -1.5678    
  10  norm           .0000        .97100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .62655E-06    46.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .30421        .21353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.5740        2.8421        .63610E-03   -1.5676    
  14  norm          7.8911        8.5467        .35624E-03   -1.5652    
  15  Prefactor     .92159        1.3744        .44119E-03   -1.5689    
  16  Prefactor     .11990E-07    4.4988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.6255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10103E-07    4.6080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .12551E-05    81.776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10209E-05    49.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.297        7.2362        .29834E-03   -1.5641    
  22  Prefactor     76.132        40.969        .11598E-03   -1.5533    
  23  Prefactor     1.4997        7.3739        .86689E-03   -1.5683    
  24  norm          1.6858        6.3016        .78970E-03   -1.5682    
  25  Prefactor     .92336        3.3836        .45081E-03   -1.5689    
  26  Prefactor     .77716E-09    4.3646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .27200E-08    11.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .80835        .17935        .63875E-01   -.99760    
  29  Prefactor     1.4678        .20237        .58399E-01   -.78445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68229e-06
Minuit parameter uncertainties:
  1  5.78943e-05
  2  3.90881
  3  0.000202744
  4  14.532
  5  4.55511
  6  7.52164
  7  0.00120207
  8  0.000707702
  9  3.48985
  10  4.21329e-06
  11  0.0108499
  12  2.69638e-06
  13  2.84214
  14  8.54669
  15  1.37437
  16  0.000465006
  17  4.41346e-06
  18  0.000431081
  19  0.020262
  20  0.0142113
  21  7.23621
  22  40.9692
  23  6.651
  24  6.30166
  25  3.38364
  26  0.000117691
  27  0.000352126
  28  0.17948
  29  0.202477
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  9.216e-01  1.374e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.468e+00  2.025e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  8.083e-01  1.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.86
Ra Dec: 140.895 41.428
Photon Flux Upper Limit: 7.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/571832/likelihoodResults_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.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) = 6594.78515963
delta logL = 0.340016586944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6594.74799668
delta logL = 0.377179531153

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6594.748     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      207 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3422        2.8263        .94544E-03    .20630E-01
   2  Index         1.6427        .91145        .28362       -.15114E-04
   3  Normalizat    .81616        .16804        .63594E-01    .18077E-04
   4  Prefactor     1.4604        .20036        .58502E-01    .77383E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.3422
  Index      = 1.64266
  Normalizat = 0.816159
  Prefactor  = 1.46041
 **********
 **   18 **HESSE 
 **********

 FCN=   6594.748     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3422        1.6893        .11381E-04   -1.5685    
   2  Index         1.6427        .69007        .11580E-01   -.73619    
   3  Normalizat    .81616        .19781        .28130E-03   -.99472    
   4  Prefactor     1.4604        .23640        .25869E-03   -.78655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.64913e-10
Minuit parameter uncertainties:
  1  1.68934
  2  0.694118
  3  0.197988
  4  0.236581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571832': 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) = 6594.74799668
delta logL = 0.377179532996

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.342e+00  1.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  1.643e+00  6.941e-01  0.000e+00  1.000e+01 (-1.000e+00)
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.460e+00  2.366e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  8.162e-01  1.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 140.895 41.428
Photon Index (Free Index): 1.64 +/- 0.69
Photon Flux (Free Index): 7.98e-09 +/- 1.16e-08
Energy Flux (Free Index): 1.57e-05 +/- 3.03e-05

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/571832/cmap_HighResolution_691372801_691632001_4FGL_J0923.5+4125_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', comment='SUCCESS', energy_flux2='1.57e-05', dlogl='3.77e-01', photon_flux2='7.98e-09', job_status='DONE', time_completed='2022-12-02 00:44:28.833646', photon_index_error2='0.69', photon_index2='1.64', ts='0.86', fit_tolerance='1e-08', GAL='1.47', photon_index_error='0.00', photon_flux_upper_limit='7.39e-08', energy_flux_error2='3.03e-05', EG='0.81', time_epoch_completed='1669970668.83', return_code='0', job_id='571832', GAL2='1.46', EG2='0.82', return_code2='0', photon_flux_error2='1.16e-08', ts2='1.62', photon_index='2.36' WHERE bin_id='1744' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 00:44:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 571832: <4FGL_J0923.5+4125_daily_bin1744> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 00:30:19 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 00:30:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 00:30:20 2022
Terminated at Fri Dec  2 00:44:29 2022
Results reported at Fri Dec  2 00:44:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1744 140.895 41.4283 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+4125 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   806.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

