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


Performing analysis on: 4FGL_J1023.1+3949_daily_bin1754
RA = 155.788, Dec = 39.8226
tmin = 693964801, tmax = 694224001
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='640609', job_status='RUN', time_executed='2023-01-01 01:05:54.988277', time_epoch_executed='1672563954.99' WHERE source_name='4FGL J1023.1+3949' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/640609

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/640609/ft1_4FGL_J1023.1+3949_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/640609/ft2_4FGL_J1023.1+3949_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/640609/ft1_4FGL_J1023.1+3949_daily_bin1754.fits outfile=/scratch/kocevski/640609/ft1_filteredMKT_4FGL_J1023.1+3949_daily_bin1754.fits ra=155.788 dec=39.8226 rad=12.0 tmin=693964801.0 tmax=694224001.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 4.00
user 3.73
sys 0.22

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

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

Number of photons that the gtmktime cut: 285

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/640609/ft1_filtered_4FGL_J1023.1+3949_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/640609/ft2_4FGL_J1023.1+3949_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/640609/ltcube_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.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/640609/ft2_4FGL_J1023.1+3949_daily_bin1754.fits
.....................!
real 19.59
user 19.01
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/640609/ft1_filtered_4FGL_J1023.1+3949_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/640609/ft2_4FGL_J1023.1+3949_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/640609/ltcube_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.fits outfile=/scratch/kocevski/640609/expmap_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.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/640609/ltcube_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.fits
.....................!
real 193.18
user 187.20
sys 4.89

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/640609/ft1_filtered_4FGL_J1023.1+3949_daily_bin1754.fits scfile=/scratch/kocevski/640609/ft2_4FGL_J1023.1+3949_daily_bin1754.fits outfile=/scratch/kocevski/640609/cmap_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/640609/ft1_filtered_4FGL_J1023.1+3949_daily_bin1754.fits scfile=/scratch/kocevski/640609/ft2_4FGL_J1023.1+3949_daily_bin1754.fits outfile=/scratch/kocevski/640609/cmap_HighResolution_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.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.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/640609/ft1_filtered_4FGL_J1023.1+3949_daily_bin1754.fits', '/scratch/kocevski/640609/ft2_4FGL_J1023.1+3949_daily_bin1754.fits', expMap='/scratch/kocevski/640609/expmap_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.fits', expCube='/scratch/kocevski/640609/ltcube_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/640609/Model_4FGL_J1023.1+3949_daily_bin1754.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/640609/ft1_filtered_4FGL_J1023.1+3949_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/640609/ft2_4FGL_J1023.1+3949_daily_bin1754.fits
Exposure map: /scratch/kocevski/640609/expmap_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.fits
Exposure cube: /scratch/kocevski/640609/ltcube_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/640609/Model_4FGL_J1023.1+3949_daily_bin1754.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) = 3080.88192556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2547       1.0000          .0000       .10000E+07
     2 'Prefactor '    .35591E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .26519E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.0565       1.0000          .0000       .10000E+07
     5 'Prefactor '    .51799E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.3185       1.0000          .0000       .10000E+07
     7 'norm      '    .30442E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .34386E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.726       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14460E-03   1.0000          .0000       .10000E+07
    11 'norm      '    3.8866       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3434       1.0000          .0000       .10000E+07
    13 'norm      '    .29154E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .51164E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    38.348       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.6828       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11936       1.0000          .0000       .10000E+07
    18 'Prefactor '    .70551       1.0000          .0000       .10000E+07
    19 'norm      '    3.5417       1.0000          .0000       .10000E+07
    20 'Prefactor '    .47442E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .51003E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .10276E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .92875       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97321       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=   3080.823     FROM MIGRAD    STATUS=CONVERGED    204 CALLS     1603 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2688        11.437       -.26588E-06   -.11405E-03
   2  Prefactor      .0000        24.104       -.32166E-06** at limit **
   3  norm           .0000        9.5535       -.17821E-06** at limit **
   4  Prefactor     5.2490        42.535       -.83043E-07    .12756E-02
   5  Prefactor     .42055E-06    92.543       -.44740E-06** at limit **
   6  Prefactor     4.3483        11.494        .11208E-07   -.18340E-02
   7  norm          .96145E-07    3.5455       -.13406E-07** at limit **
   8  Prefactor      .0000        4.0463       -.11005E-06** at limit **
   9  Prefactor     10.721        5.1895       -.25542E-07   -.62005E-04
  10  Prefactor      .0000        4.6046        .18241E-06** at limit **
  11  norm          3.8886        2.9020        .11564E-07    .12026E-03
  12  Prefactor     3.3554        6.3223       -.75148E-07    .19937E-03
  13  norm          .89817E-07    3.8268        .12803E-07** at limit **
  14  Prefactor     .11979E-05    358.04        .32862E-06** at limit **
  15  Prefactor     37.545        11.342       -.55554E-07   -.44556E-01
  16  Prefactor     3.6415        7.4150        .15705E-07    .19500E-03
  17  Prefactor      .0000        46.198       -.71211E-07** at limit **
  18  Prefactor     .28694E-06    1366.2       -.35999E-05** at limit **
  19  norm          3.5418        .62552        .27707E-08    .69337E-03
  20  Prefactor     .27756E-09    7.1841       -.38982E-06** at limit **
  21  Prefactor      .0000        15.299        .17810E-06** at limit **
  22  norm          .49960E-09    46.336        .75626E-07** at limit **
  23  Normalizat    .92932        .27304        .34352E-05    .13563E-04
  24  Prefactor     .97341        .31662       -.16131E-05    .94352E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.26883
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.24899
  Prefactor  = 4.20552e-07
  Prefactor  = 4.34833
  norm       = 9.61453e-08
  Prefactor  = 0
  Prefactor  = 10.7205
  Prefactor  = 0
  norm       = 3.8886
  Prefactor  = 3.35535
  norm       = 8.9817e-08
  Prefactor  = 1.19788e-06
  Prefactor  = 37.5448
  Prefactor  = 3.64145
  Prefactor  = 0
  Prefactor  = 2.86937e-07
  norm       = 3.54181
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  norm       = 4.996e-10
  Normalizat = 0.929324
  Prefactor  = 0.973412
 **********
 **   18 **HESSE 
 **********

 FCN=   3080.823     FROM HESSE     STATUS=OK           445 CALLS     2048 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2688        11.522        .56113E-03   -1.5672    
   2  Prefactor      .0000        2.6965        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        9.5515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.2490        71.463        .44692E-03   -1.5662    
   5  Prefactor     .42055E-06    96.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3483        11.524        .48451E-03   -1.5666    
   7  norm          .96145E-07    7.2647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.0527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.721        5.2017        .30568E-03   -1.5642    
  10  Prefactor      .0000        4.6074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.8886        2.8978        .51157E-03   -1.5669    
  12  Prefactor     3.3554        6.3611        .55326E-03   -1.5671    
  13  norm          .89817E-07    7.2887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11979E-05    845.38        .15494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     37.545        47.438        .16150E-03   -1.5585    
  16  Prefactor     3.6415        7.4040        .52605E-03   -1.5670    
  17  Prefactor      .0000        45.851        .13436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .28694E-06    1362.4        .60262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.5418        .62527        .40300E-03   -1.5670    
  20  Prefactor     .27756E-09    7.2000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        15.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .49960E-09    46.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .92932        .23824        .45268E-01   -.95437    
  24  Prefactor     .97341        .27470        .45931E-01   -.93621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0609e-07
Minuit parameter uncertainties:
  1  11.5218
  2  1.18021e-05
  3  3.69989e-06
  4  38.7361
  5  0.0127325
  6  11.5239
  7  0.00167137
  8  5.71938e-07
  9  5.20174
  10  5.78219e-06
  11  2.89777
  12  6.36113
  13  0.00161806
  14  0.0636532
  15  47.4382
  16  7.404
  17  3.09862e-05
  18  0.0395531
  19  0.62527
  20  9.041e-05
  21  2.48771e-06
  22  0.000301056
  23  0.238512
  24  0.275095
Done.

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

Extracting fit parameters...

4FGL J1023.1+3949
   Spectrum: LogParabola
329         norm:  8.982e-08  1.618e-03  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:  9.734e-01  2.751e-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:  9.293e-01  2.385e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 155.788 39.823
Photon Flux Upper Limit: 8.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/640609/likelihoodResults_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.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) = 3080.88901966
delta logL = -0.0661218528389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3080.70436971
delta logL = 0.118528096034

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40109       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .89053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0039       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.

 FCN=   3080.704     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      279 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .40391        8.2981        .89361E-03    .72670E-02
   2  alpha         5.0000        2.5000        .46267    ** at limit **
   3  Normalizat    .89119        .26745        .44780E-01    .10537E-04
   4  Prefactor     1.0030        .28242        .64496E-01   -.95454E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.403913
  alpha      = 5
  Normalizat = 0.891189
  Prefactor  = 1.00301
 **********
 **   18 **HESSE 
 **********

 FCN=   3080.704     FROM HESSE     STATUS=OK            27 CALLS      306 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .40391        .92274        .75824E-05   -1.5695    
   2  alpha         5.0000        3.8439        .43699E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .89119        .26002        .24090E-03   -.96770    
   4  Prefactor     1.0030        .31686        .28524E-03   -.92629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32379e-10
Minuit parameter uncertainties:
  1  0.922744
  2  1.97065e-05
  3  0.260391
  4  0.317454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/640609': 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) = 3080.7043572
delta logL = 0.118540603728

Extracting fit parameters...

4FGL J1023.1+3949
   Spectrum: LogParabola
329         norm:  4.039e-01  9.227e-01  0.000e+00  1.000e+06 ( 1.000e-12)
330        alpha:  5.000e+00  1.971e-05  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.003e+00  3.175e-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:  8.912e-01  2.604e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/640609/cmap_HighResolution_693964801_694224001_4FGL_J1023.1+3949_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-05', job_status='DONE', photon_flux_upper_limit='8.77e-08', time_completed='2023-01-01 01:14:07.746220', job_id='640609', GAL2='1.00', fit_tolerance='1e-08', EG2='0.89', EG='0.93', time_epoch_completed='1672564447.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.19e-01', ts2='0.27', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1754' AND source_name='4FGL J1023.1+3949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:14:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 640609: <4FGL_J1023.1+3949_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1023.1+3949_daily_bin1754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan  1 01:00:21 2023
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:02:06 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:02:06 2023
Terminated at Sun Jan  1 01:14:08 2023
Results reported at Sun Jan  1 01:14:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.1+3949_daily_bin1754 155.788 39.8226 693964801 694224001 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 :                                   494.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             246.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            827 sec.

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

