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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1751
RA = 140.885, Dec = 38.8743
tmin = 693187201, tmax = 693446401
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='73826', job_status='RUN', time_executed='2022-12-23 00:27:23.961451', time_epoch_executed='1671784043.96' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73826

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73826/ft1_4FGL_J0923.5+3852_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73826/ft2_4FGL_J0923.5+3852_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73826/ft1_4FGL_J0923.5+3852_daily_bin1751.fits outfile=/scratch/kocevski/73826/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1751.fits ra=140.885 dec=38.8743 rad=12.0 tmin=693187201.0 tmax=693446401.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.63
user 3.40
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73826/ft2_4FGL_J0923.5+3852_daily_bin1751.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/73826/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/73826/ft1_filtered_4FGL_J0923.5+3852_daily_bin1751.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 559

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73826/ft1_filtered_4FGL_J0923.5+3852_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/73826/ft2_4FGL_J0923.5+3852_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/73826/ltcube_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.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/73826/ft2_4FGL_J0923.5+3852_daily_bin1751.fits
.....................!
real 13.26
user 12.83
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73826/ft1_filtered_4FGL_J0923.5+3852_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73826/ft2_4FGL_J0923.5+3852_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/73826/ltcube_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.fits outfile=/scratch/kocevski/73826/expmap_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.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/73826/ltcube_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.fits
.....................!
real 190.56
user 185.63
sys 4.35

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/73826/ft1_filtered_4FGL_J0923.5+3852_daily_bin1751.fits scfile=/scratch/kocevski/73826/ft2_4FGL_J0923.5+3852_daily_bin1751.fits outfile=/scratch/kocevski/73826/cmap_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73826/ft1_filtered_4FGL_J0923.5+3852_daily_bin1751.fits scfile=/scratch/kocevski/73826/ft2_4FGL_J0923.5+3852_daily_bin1751.fits outfile=/scratch/kocevski/73826/cmap_HighResolution_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/73826/ft1_filtered_4FGL_J0923.5+3852_daily_bin1751.fits', '/scratch/kocevski/73826/ft2_4FGL_J0923.5+3852_daily_bin1751.fits', expMap='/scratch/kocevski/73826/expmap_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.fits', expCube='/scratch/kocevski/73826/ltcube_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/73826/Model_4FGL_J0923.5+3852_daily_bin1751.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/73826/ft1_filtered_4FGL_J0923.5+3852_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/73826/ft2_4FGL_J0923.5+3852_daily_bin1751.fits
Exposure map: /scratch/kocevski/73826/expmap_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.fits
Exposure cube: /scratch/kocevski/73826/ltcube_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/73826/Model_4FGL_J0923.5+3852_daily_bin1751.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) = 6137.91505847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44140E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.3730       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.077       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10828E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .27714E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10622E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.5603       1.0000          .0000       .10000E+07
     8 'norm      '    .11964E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1397       1.0000          .0000       .10000E+07
    10 'norm      '    .34182       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34972E-08   1.0000          .0000       .10000E+07
    12 'norm      '    8.5460       1.0000          .0000       .10000E+07
    13 'Prefactor '    .52042E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .14111E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .49226E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.625       1.0000          .0000       .10000E+07
    17 'norm      '    1.2461       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.8645       1.0000          .0000       .10000E+07
    19 'Prefactor '    29.715       1.0000          .0000       .10000E+07
    20 'Prefactor '    .23874E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40695E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .86569E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.6203       1.0000          .0000       .10000E+07
    24 'norm      '    .20338E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .91619       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1369       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=   6137.892     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     2205 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96534E-07    6.6719        .13575E-07** at limit **
   2  Prefactor     3.3693        3.1898       -.14828E-07   -.25390E-03
   3  Prefactor     13.072        1.0347        .24989E-09   -.41922E-03
   4  Prefactor     .49960E-09    2.6405        .26763E-07** at limit **
   5  norm          .66613E-09    2.8923        .38185E-07** at limit **
   6  Prefactor     .10242E-06    8.2802        .34522E-06** at limit **
   7  Prefactor     4.5412        2.9692        .30470E-07    .34163E-02
   8  norm           .0000        .63486       -.12465E-07** at limit **
   9  Prefactor     2.1636        1.7396       -.85169E-08    .28392E-02
  10  norm          .34220        .31925        .27983E-07    .15037E-01
  11  Prefactor     .20539E-08    1.4862        .33066E-07** at limit **
  12  norm          8.5066        6.0558       -.82623E-08   -.18522E-03
  13  Prefactor      .0000        .85821        .24799E-07** at limit **
  14  Prefactor      .0000        .90539        .25468E-07** at limit **
  15  Prefactor     .10714E-06    22.869        .39673E-06** at limit **
  16  Prefactor     27.985        6.8121        .23751E-07   -.10595    
  17  norm          1.2430        7.3814        .11674E-07   -.25510E-01
  18  Prefactor     9.8871        1.3781        .16962E-08   -.17923E-01
  19  Prefactor     29.422        4.6447        .95228E-08    .62652E-01
  20  Prefactor     .79681E-06    6.3952        .25441E-06** at limit **
  21  norm          .58675E-07    6.1483       -.16754E-07** at limit **
  22  Prefactor     .71609E-08    2.2288        .43145E-07** at limit **
  23  Prefactor     4.6338        4.9914        .12776E-08   -.16170E-04
  24  norm          .44409E-09    3.1482        .17041E-07** at limit **
  25  Normalizat    .91711        .18449        .29118E-06    .27604E-03
  26  Prefactor     1.1368        .21025        .16613E-05    .28206E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.65339e-08
  Prefactor  = 3.36931
  Prefactor  = 13.072
  Prefactor  = 4.996e-10
  norm       = 6.66134e-10
  Prefactor  = 1.02418e-07
  Prefactor  = 4.54122
  norm       = 0
  Prefactor  = 2.16355
  norm       = 0.342196
  Prefactor  = 2.05391e-09
  norm       = 8.50655
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.07137e-07
  Prefactor  = 27.9848
  norm       = 1.24301
  Prefactor  = 9.88712
  Prefactor  = 29.4216
  Prefactor  = 7.96807e-07
  norm       = 5.86753e-08
  Prefactor  = 7.16094e-09
  Prefactor  = 4.63377
  norm       = 4.44089e-10
  Normalizat = 0.91711
  Prefactor  = 1.13679
 **********
 **   18 **HESSE 
 **********

 FCN=   6137.892     FROM HESSE     STATUS=OK           506 CALLS     2711 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96534E-07    7.1968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3693        3.2116        .55072E-03   -1.5671    
   3  Prefactor     13.072        21.360        .27674E-03   -1.5636    
   4  Prefactor     .49960E-09    2.9385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .66613E-09    4.1769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10242E-06    13.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.5412        2.9815        .47115E-03   -1.5665    
   8  norm           .0000        .63269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1636        15.253        .70435E-03   -1.5679    
  10  norm          .34220        .31957        .93283E-03   -1.5696    
  11  Prefactor     .20539E-08    3.2896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.5066        6.3319        .34266E-03   -1.5650    
  13  Prefactor      .0000        .85507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .90282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10714E-06    23.564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     27.985        22.344        .18694E-03   -1.5602    
  17  norm          1.2430        16.638        .10026E-02   -1.5686    
  18  Prefactor     9.8871        13.415        .31881E-03   -1.5645    
  19  Prefactor     29.422        24.772        .18348E-03   -1.5599    
  20  Prefactor     .79681E-06    13.504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .58675E-07    6.5413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .71609E-08    3.1334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.6338        5.0006        .46801E-03   -1.5665    
  24  norm          .44409E-09    4.2481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .91711        .16107        .45108E-01   -.95861    
  26  Prefactor     1.1368        .18177        .56951E-01   -.88299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09743e-07
Minuit parameter uncertainties:
  1  0.00166715
  2  3.21156
  3  21.3606
  4  7.83739e-05
  5  0.000105849
  6  0.00237453
  7  2.98154
  8  1.56279e-06
  9  11.4892
  10  0.31957
  11  0.000163427
  12  6.33192
  13  3.69121e-06
  14  3.77723e-06
  15  0.00317782
  16  22.3441
  17  9.09541
  18  13.4152
  19  24.7721
  20  0.00656068
  21  0.00123927
  22  0.000299574
  23  5.0006
  24  8.92187e-05
  25  0.161159
  26  0.181869
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  8.507e+00  6.332e+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.137e+00  1.819e-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:  9.171e-01  1.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.32
Ra Dec: 140.885 38.874
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 9.25e-06 +/- 6.88e-06

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) = 6137.43588467
delta logL = 0.455986969768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6137.34799273
delta logL = 0.543878914028

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.656       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9011       1.0000          .0000       5.0000    
     3 'Normalizat'    .93052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1244       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=   6137.348     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      214 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.658        14.146        .29318E-03    .31271E-02
   2  alpha         1.9013        .97174        .42753        .36467E-06
   3  Normalizat    .93053        .15554        .45290E-01    .11404E-04
   4  Prefactor     1.1244        .18003        .57197E-01    .12733E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6582
  alpha      = 1.90125
  Normalizat = 0.930533
  Prefactor  = 1.12436
 **********
 **   18 **HESSE 
 **********

 FCN=   6137.348     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.658        8.1578        .58636E-04   -1.5640    
   2  alpha         1.9013        .62685        .18032E-01   -.24185    
   3  Normalizat    .93053        .18011        .23857E-03   -.95395    
   4  Prefactor     1.1244        .20843        .25292E-03   -.88692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4422e-13
Minuit parameter uncertainties:
  1  8.15782
  2  0.634033
  3  0.180228
  4  0.208578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73826': 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) = 6137.34799266
delta logL = 0.543878980318

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.166e+01  8.158e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  1.901e+00  6.340e-01  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.124e+00  2.086e-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:  9.305e-01  1.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.41
Ra Dec: 140.885 38.874
Photon Index (Free Index): 1.90 +/- 0.63
Photon Flux (Free Index): 2.62e-08 +/- 2.09e-08
Energy Flux (Free Index): 1.29e-05 +/- 1.01e-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/73826/cmap_HighResolution_693187201_693446401_4FGL_J0923.5+3852_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='1.29e-05', photon_flux_error='2.59e-08', dlogl='5.44e-01', energy_flux='9.25e-06', photon_flux2='2.62e-08', job_status='DONE', time_completed='2022-12-23 00:37:45.848647', photon_index_error2='0.63', photon_index2='1.90', ts='4.32', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='1.01e-05', EG='0.92', time_epoch_completed='1671784665.85', return_code='0', job_id='73826', GAL2='1.12', EG2='0.93', return_code2='0', energy_flux_error='6.88e-06', photon_flux_error2='2.09e-08', ts2='5.41', photon_index='2.61' WHERE bin_id='1751' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:37:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 73826: <4FGL_J0923.5+3852_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1751> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 23 00:25:27 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:25:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:25:28 2022
Terminated at Fri Dec 23 00:37:46 2022
Results reported at Fri Dec 23 00:37:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1751 140.885 38.8743 693187201 693446401 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 :                                   623.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             308.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            739 sec.

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

