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


Performing analysis on: 4FGL_J1023.1+3949_daily_bin1756
RA = 155.788, Dec = 39.8226
tmin = 694483201, tmax = 694742401
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='10444', job_status='RUN', time_executed='2023-01-07 00:43:36.466579', time_epoch_executed='1673081016.47' WHERE source_name='4FGL J1023.1+3949' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10444

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10444/ft1_4FGL_J1023.1+3949_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10444/ft1_4FGL_J1023.1+3949_daily_bin1756.fits outfile=/scratch/kocevski/10444/ft1_filteredMKT_4FGL_J1023.1+3949_daily_bin1756.fits ra=155.788 dec=39.8226 rad=12.0 tmin=694483201.0 tmax=694742401.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.02
user 2.76
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.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/10444/ft1_filteredMKT_4FGL_J1023.1+3949_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/10444/ft1_filtered_4FGL_J1023.1+3949_daily_bin1756.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.54
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 311

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10444/ft1_filtered_4FGL_J1023.1+3949_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/10444/ltcube_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.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/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.fits
.....................!
real 17.01
user 16.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10444/ft1_filtered_4FGL_J1023.1+3949_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/10444/ltcube_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.fits outfile=/scratch/kocevski/10444/expmap_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.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/10444/ltcube_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.fits
.....................!
real 193.64
user 186.93
sys 5.93

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

Setting source of interest to:
4FGL J1023.1+3949 @ 155.788 39.8226

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/10444/ft1_filtered_4FGL_J1023.1+3949_daily_bin1756.fits scfile=/scratch/kocevski/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.fits outfile=/scratch/kocevski/10444/cmap_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.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=155.788 yref=39.8226 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10444/ft1_filtered_4FGL_J1023.1+3949_daily_bin1756.fits scfile=/scratch/kocevski/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.fits outfile=/scratch/kocevski/10444/cmap_HighResolution_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.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=155.788 yref=39.8226 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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/10444/ft1_filtered_4FGL_J1023.1+3949_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/10444/Model_4FGL_J1023.1+3949_daily_bin1756.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/10444/ft1_filtered_4FGL_J1023.1+3949_daily_bin1756.fits.....................!
real 35.65
user 34.30
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/10444/ft1_filtered_4FGL_J1023.1+3949_daily_bin1756.fits', '/scratch/kocevski/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.fits', expMap='/scratch/kocevski/10444/expmap_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.fits', expCube='/scratch/kocevski/10444/ltcube_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/10444/Model_4FGL_J1023.1+3949_daily_bin1756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1023.1+3949'

4FGL J1023.1+3949
   Spectrum: LogParabola
329         norm:  9.888e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
330        alpha:  2.250e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  5.203e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/10444/ft1_filtered_4FGL_J1023.1+3949_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/10444/ft2_4FGL_J1023.1+3949_daily_bin1756.fits
Exposure map: /scratch/kocevski/10444/expmap_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.fits
Exposure cube: /scratch/kocevski/10444/ltcube_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/10444/Model_4FGL_J1023.1+3949_daily_bin1756.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) = 3499.40526115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.511       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20428E-03   1.0000          .0000       .10000E+07
     3 'norm      '    15.096       1.0000          .0000       .10000E+07
     4 'Prefactor '    .92078E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .14266E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .45386E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    19.594       1.0000          .0000       .10000E+07
     9 'Prefactor '    .86793E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .35848E-04   1.0000          .0000       .10000E+07
    11 'norm      '    2.2342       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.7864       1.0000          .0000       .10000E+07
    13 'norm      '    2.8004       1.0000          .0000       .10000E+07
    14 'Prefactor '    117.11       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.4953       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.1624       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.3716       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15958E-01   1.0000          .0000       .10000E+07
    19 'norm      '    2.9708       1.0000          .0000       .10000E+07
    20 'Prefactor '    36.975       1.0000          .0000       .10000E+07
    21 'Prefactor '    .23854E-03   1.0000          .0000       .10000E+07
    22 'norm      '    3.7057       1.0000          .0000       .10000E+07
    23 'Normalizat'    .64649       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2300       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3499.365     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     2001 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.717        8.2450        .68360E-07    .37068E-01
   2  Prefactor      .0000        5.5874        .12848E-06** at limit **
   3  norm          16.080        31.251        .13861E-06   -.10617E-01
   4  Prefactor     .27756E-09    34.446       -.74556E-06** at limit **
   5  Prefactor     .10285E-03    494.22       -.95707E-07** at limit **
   6  Prefactor     .77716E-09    20.491        .20200E-06** at limit **
   7  norm          .18319E-08    11.346        .59347E-07** at limit **
   8  Prefactor     19.596        14.351        .71835E-07   -.45205E-02
   9  Prefactor      .0000        3.1381        .79360E-07** at limit **
  10  Prefactor     .16653E-09    8.4383       -.16196E-06** at limit **
  11  norm          2.2438        4.2488       -.55077E-07    .48732E-04
  12  Prefactor     5.8506        10.170        .73282E-07   -.28219E-02
  13  norm          2.9318        4.3410       -.18479E-07    .12602E-01
  14  Prefactor     120.87        51.956        .75877E-07   -.71350E-01
  15  Prefactor     1.5145        401.70        .21229E-05    .12744E-02
  16  Prefactor     5.1735        5.6578       -.15326E-07   -.10819E-02
  17  Prefactor     9.3792        6.0046       -.43791E-07   -.52150E-01
  18  Prefactor      .0000        36.910       -.12360E-06** at limit **
  19  norm          2.9712        .52550       -.42960E-08   -.13975E-03
  20  Prefactor     36.892        18.875       -.12558E-07    .32784E-01
  21  Prefactor     .11102E-09    8.6105       -.95527E-07** at limit **
  22  norm          3.9673        7.8412        .59722E-07   -.21637E-03
  23  Normalizat    .64596        .27529       -.33484E-05   -.37620E-05
  24  Prefactor     1.2299        .33155        .13948E-05   -.32644E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 20.7171
  Prefactor  = 0
  norm       = 16.0803
  Prefactor  = 2.77556e-10
  Prefactor  = 0.00010285
  Prefactor  = 7.77156e-10
  norm       = 1.83187e-09
  Prefactor  = 19.5956
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  norm       = 2.24385
  Prefactor  = 5.85064
  norm       = 2.93179
  Prefactor  = 120.872
  Prefactor  = 1.51454
  Prefactor  = 5.17349
  Prefactor  = 9.37915
  Prefactor  = 0
  norm       = 2.97118
  Prefactor  = 36.8919
  Prefactor  = 1.11022e-10
  norm       = 3.96726
  Normalizat = 0.645964
  Prefactor  = 1.22994
 **********
 **   18 **HESSE 
 **********

 FCN=   3499.365     FROM HESSE     STATUS=OK           449 CALLS     2450 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.717        33.754        .22087E-03   -1.5617    
   2  Prefactor      .0000        5.5931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.080        32.527        .25752E-03   -1.5628    
   4  Prefactor     .27756E-09    34.502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10285E-03    713.11        .57178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .77716E-09    20.495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .18319E-08    11.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.596        14.325        .22599E-03   -1.5619    
   9  Prefactor      .0000        3.1254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16653E-09    8.4318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2438        4.2770        .68745E-03   -1.5678    
  12  Prefactor     5.8506        10.526        .41729E-03   -1.5660    
  13  norm          2.9318        22.783        .60768E-03   -1.5674    
  14  Prefactor     120.87        90.634        .92412E-04   -1.5488    
  15  Prefactor     1.5145        413.10        .64675E-03   -1.5683    
  16  Prefactor     5.1735        5.7240        .44222E-03   -1.5662    
  17  Prefactor     9.3792        28.369        .32713E-03   -1.5647    
  18  Prefactor      .0000        36.797        .17319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.9712        .52527        .38255E-03   -1.5673    
  20  Prefactor     36.892        19.554        .16447E-03   -1.5586    
  21  Prefactor     .11102E-09    8.6219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.9673        7.8660        .52436E-03   -1.5668    
  23  Normalizat    .64596        .23050        .66028E-01   -1.0607    
  24  Prefactor     1.2299        .27883        .62268E-01   -.85415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.29834e-07
Minuit parameter uncertainties:
  1  33.7538
  2  1.80432e-05
  3  32.5274
  4  0.000185756
  5  0.541707
  6  0.000254959
  7  0.000291718
  8  14.3246
  9  1.81433e-06
  10  7.70484e-05
  11  4.277
  12  10.5256
  13  16.3457
  14  90.6355
  15  50.0299
  16  5.72396
  17  28.3693
  18  9.07826e-06
  19  0.525265
  20  19.5539
  21  6.76107e-05
  22  7.86601
  23  0.230848
  24  0.279168
Done.

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

Extracting fit parameters...

4FGL J1023.1+3949
   Spectrum: LogParabola
329         norm:  2.932e+00  1.635e+01  0.000e+00  1.000e+06 ( 1.000e-12)
330        alpha:  2.250e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  5.203e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.230e+00  2.792e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  6.460e-01  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 155.788 39.823
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/10444/likelihoodResults_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.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) = 3499.35648337
delta logL = 0.00864624780343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3499.35580331
delta logL = 0.00932630695161

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3499.356     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      286 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6956        20.352        .24816E-04    .38941E-04
   2  alpha         2.8269        3.8804        .61288E-01    .54135E-05
   3  Normalizat    .63961        .26236        .29354E-03    .23954E-04
   4  Prefactor     1.2351        .32744        .27487E-03   -.97839E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.69559
  alpha      = 2.8269
  Normalizat = 0.639608
  Prefactor  = 1.23509
 **********
 **   18 **HESSE 
 **********

 FCN=   3499.356     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6956        15.551        .99263E-06   -1.5675    
   2  alpha         2.8269        3.8058        .24515E-02    .13113    
   3  Normalizat    .63961        .26295        .11742E-04   -1.0633    
   4  Prefactor     1.2351        .32750        .54973E-04   -.85258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45406e-10
Minuit parameter uncertainties:
  1  12.949
  2  3.18226
  3  0.263464
  4  0.328043
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10444': 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) = 3499.35580145
delta logL = 0.00932816581144

Extracting fit parameters...

4FGL J1023.1+3949
   Spectrum: LogParabola
329         norm:  2.696e+00  1.295e+01  0.000e+00  1.000e+06 ( 1.000e-12)
330        alpha:  2.827e+00  3.182e+00  0.000e+00  5.000e+00 ( 1.000e+00)
331         beta:  1.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  5.203e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.235e+00  3.280e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  6.396e-01  2.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 155.788 39.823

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/10444/cmap_HighResolution_694483201_694742401_4FGL_J1023.1+3949_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-05', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2023-01-07 00:52:15.911861', job_id='10444', GAL2='1.24', fit_tolerance='1e-08', EG2='0.64', EG='0.65', time_epoch_completed='1673081535.91', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='9.33e-03', ts2='0.06', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1756' AND source_name='4FGL J1023.1+3949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 00:52:15 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 10444: <4FGL_J1023.1+3949_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1023.1+3949_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:40:19 2023
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:42:46 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:42:46 2023
Terminated at Sat Jan  7 00:52:16 2023
Results reported at Sat Jan  7 00:52:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.1+3949_daily_bin1756 155.788 39.8226 694483201 694742401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1023.1+3949 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   521.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   570 sec.
    Turnaround time :                            717 sec.

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

