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


Performing analysis on: 4FGL_J1645.6+6329_daily_bin1713
RA = 251.405, Dec = 63.4958
tmin = 683337601, tmax = 683596801
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='171565', job_status='RUN', time_executed='2022-09-16 19:42:56.295816', time_epoch_executed='1663382576.3' WHERE source_name='4FGL J1645.6+6329' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/171565

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/171565/ft1_4FGL_J1645.6+6329_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/171565/ft1_4FGL_J1645.6+6329_daily_bin1713.fits outfile=/scratch/kocevski/171565/ft1_filteredMKT_4FGL_J1645.6+6329_daily_bin1713.fits ra=251.405 dec=63.4958 rad=12.0 tmin=683337601.0 tmax=683596801.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.51
user 3.28
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.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/171565/ft1_filteredMKT_4FGL_J1645.6+6329_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/171565/ft1_filtered_4FGL_J1645.6+6329_daily_bin1713.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: 723

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/171565/ft1_filtered_4FGL_J1645.6+6329_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/171565/ltcube_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.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/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.fits
.....................!
real 13.31
user 12.92
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/171565/ft1_filtered_4FGL_J1645.6+6329_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/171565/ltcube_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.fits outfile=/scratch/kocevski/171565/expmap_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.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/171565/ltcube_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.fits
.....................!
real 190.89
user 185.46
sys 5.09

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

Setting source of interest to:
4FGL J1645.6+6329 @ 251.405 63.4958

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/171565/ft1_filtered_4FGL_J1645.6+6329_daily_bin1713.fits scfile=/scratch/kocevski/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.fits outfile=/scratch/kocevski/171565/cmap_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.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=251.405 yref=63.4958 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/171565/ft1_filtered_4FGL_J1645.6+6329_daily_bin1713.fits scfile=/scratch/kocevski/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.fits outfile=/scratch/kocevski/171565/cmap_HighResolution_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.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=251.405 yref=63.4958 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/171565/ft1_filtered_4FGL_J1645.6+6329_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/171565/Model_4FGL_J1645.6+6329_daily_bin1713.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/171565/ft1_filtered_4FGL_J1645.6+6329_daily_bin1713.fits.....................!
real 68.29
user 66.93
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/171565/ft1_filtered_4FGL_J1645.6+6329_daily_bin1713.fits', '/scratch/kocevski/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.fits', expMap='/scratch/kocevski/171565/expmap_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.fits', expCube='/scratch/kocevski/171565/ltcube_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/171565/Model_4FGL_J1645.6+6329_daily_bin1713.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1645.6+6329'

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  3.385e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/171565/ft1_filtered_4FGL_J1645.6+6329_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/171565/ft2_4FGL_J1645.6+6329_daily_bin1713.fits
Exposure map: /scratch/kocevski/171565/expmap_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.fits
Exposure cube: /scratch/kocevski/171565/ltcube_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/171565/Model_4FGL_J1645.6+6329_daily_bin1713.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) = 7682.64191632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92915E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .14938E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .17639       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.4078       1.0000          .0000       .10000E+07
     5 'norm      '    4.9786       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21395E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .23576E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .84952E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.6805       1.0000          .0000       .10000E+07
    10 'Prefactor '    .57083E-04   1.0000          .0000       .10000E+07
    11 'norm      '    14.863       1.0000          .0000       .10000E+07
    12 'Prefactor '    .26740E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.4918       1.0000          .0000       .10000E+07
    14 'norm      '    .16037E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12557E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .29738E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10769E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.3829       1.0000          .0000       .10000E+07
    19 'Prefactor '    38.393       1.0000          .0000       .10000E+07
    20 'Prefactor '    .21892E-03   1.0000          .0000       .10000E+07
    21 'norm      '    1.5728       1.0000          .0000       .10000E+07
    22 'norm      '    .98566E-06   1.0000          .0000       .10000E+07
    23 'Prefactor '    6.7613       1.0000          .0000       .10000E+07
    24 'Prefactor '    .40521E-01   1.0000          .0000       .10000E+07
    25 'Prefactor '    7.4852       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0348       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .99441       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7682.528     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     2521 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26090E-08    7.2987       -.96227E-07** at limit **
   2  norm           .0000        1.2522       -.61474E-07** at limit **
   3  Prefactor     .20928E-07    1.1885        .27330E-06** at limit **
   4  Prefactor     9.3986        3.6394        .10283E-06    .44219E-02
   5  norm          4.9666        5.0197        .19933E-06    .18762E-02
   6  Prefactor     .13084E-06    17.352       -.62803E-06** at limit **
   7  norm          .10547E-08    5.8026        .57287E-06** at limit **
   8  Prefactor     .22204E-08    1.2184        .22011E-06** at limit **
   9  Prefactor     5.6644        5.7027       -.81462E-07   -.69802E-03
  10  Prefactor     .34972E-07    5.1049        .60496E-06** at limit **
  11  norm          14.928        8.1300        .13903E-07    .26010E-02
  12  Prefactor     .55511E-10    23.507       -.17164E-06** at limit **
  13  Prefactor     4.4786        1.4661       -.47973E-07    .82406E-02
  14  norm          .15919E-01    2.4399        .47541E-07** at limit **
  15  Prefactor     .13236E-05    2.8418       -.15659E-07** at limit **
  16  Prefactor      .0000        9.7103        .69363E-06** at limit **
  17  Prefactor     .55511E-10    3.4553        .18215E-06** at limit **
  18  Prefactor     5.3493        5.0403       -.72898E-07    .45941E-03
  19  Prefactor     38.643        3.3733        .48967E-07   -.31231E-01
  20  Prefactor     .62172E-08    60.971       -.13093E-05** at limit **
  21  norm          1.5743        1.8661        .41538E-07    .50507E-03
  22  norm          .38858E-09    3.5824       -.59986E-08** at limit **
  23  Prefactor     6.6408        1.4685       -.42437E-07    .10197E-01
  24  Prefactor     .61062E-09    34.731       -.73672E-07** at limit **
  25  Prefactor     7.4975        6.8443        .17570E-06    .56684E-02
  26  Normalizat    1.0348        .19027        .14805E-05    .23456E-05
  27  Prefactor     .99450        .16176       -.45439E-05    .11766E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.60902e-09
  norm       = 0
  Prefactor  = 2.09277e-08
  Prefactor  = 9.39857
  norm       = 4.96663
  Prefactor  = 1.3084e-07
  norm       = 1.05471e-09
  Prefactor  = 2.22045e-09
  Prefactor  = 5.66436
  Prefactor  = 3.4972e-08
  norm       = 14.9276
  Prefactor  = 5.55112e-11
  Prefactor  = 4.4786
  norm       = 0.0159186
  Prefactor  = 1.32361e-06
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 5.34933
  Prefactor  = 38.6433
  Prefactor  = 6.21725e-09
  norm       = 1.57432
  norm       = 3.88578e-10
  Prefactor  = 6.64078
  Prefactor  = 6.10623e-10
  Prefactor  = 7.49755
  Normalizat = 1.03476
  Prefactor  = 0.994502
 **********
 **   18 **HESSE 
 **********

 FCN=   7682.528     FROM HESSE     STATUS=OK           546 CALLS     3067 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26090E-08    7.3384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.2465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .20928E-07    91.700        .12212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3986        8.4869        .32649E-03   -1.5647    
   5  norm          4.9666        7.4996        .45048E-03   -1.5663    
   6  Prefactor     .13084E-06    19.194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10547E-08    11.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    114.14        .14352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6644        5.7161        .42122E-03   -1.5660    
  10  Prefactor     .34972E-07    11.188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.928        8.1631        .25954E-03   -1.5631    
  12  Prefactor     .55511E-10    4.5236        .10247E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4786        9.3651        .47482E-03   -1.5666    
  14  norm          .15919E-01    .36975        .17313E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13236E-05    20.827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        9.8083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    3.4720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.3493        5.0455        .43290E-03   -1.5662    
  19  Prefactor     38.643        37.995        .16141E-03   -1.5584    
  20  Prefactor     .62172E-08    61.308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.5743        1.8905        .84716E-03   -1.5683    
  22  norm          .38858E-09    3.5676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.6408        19.051        .38564E-03   -1.5656    
  24  Prefactor     .61062E-09    34.768        .15940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     7.4975        6.8955        .36633E-03   -1.5653    
  26  Normalizat    1.0348        .16452        .41718E-01   -.91875    
  27  Prefactor     .99450        .13970        .46197E-01   -.92913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49185e-07
Minuit parameter uncertainties:
  1  0.000276393
  2  1.94501e-06
  3  0.00277148
  4  8.4869
  5  7.49961
  6  0.00316975
  7  0.000218596
  8  0.00100237
  9  5.71614
  10  0.00125056
  11  8.16314
  12  2.39825e-05
  13  9.36515
  14  0.153438
  15  0.0105008
  16  2.00107e-05
  17  2.49233e-05
  18  5.04552
  19  37.9957
  20  0.00123593
  21  1.8905
  22  7.34021e-05
  23  19.0508
  24  0.00029218
  25  6.89552
  26  0.164598
  27  0.139755
Done.

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

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  1.493e+01  8.163e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  9.945e-01  1.398e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.035e+00  1.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.99
Ra Dec: 251.405 63.496
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 5.12e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 8.68e-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) = 7682.42213114
delta logL = 0.105827342977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7682.4171094
delta logL = 0.110849082695

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.565       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0768       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0495       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+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=   7682.417     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      231 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.566        8.7889        .10144E-04   -.11008E-01
   2  alpha         2.0768        .63134        .18126E-01   -.10837E-03
   3  Normalizat    1.0495        .18589        .25161E-03    .13962E-03
   4  Prefactor     .98664        .15999        .22380E-03    .14259E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.5659
  alpha      = 2.07683
  Normalizat = 1.04947
  Prefactor  = 0.986644
 **********
 **   18 **HESSE 
 **********

 FCN=   7682.417     FROM HESSE     STATUS=OK            23 CALLS      254 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.566        8.7980        .20288E-05   -1.5629    
   2  alpha         2.0768        .63172        .72505E-03   -.17009    
   3  Normalizat    1.0495        .18603        .10065E-04   -.91391    
   4  Prefactor     .98664        .16012        .89520E-05   -.93176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.542e-09
Minuit parameter uncertainties:
  1  8.798
  2  0.638857
  3  0.186142
  4  0.160194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/171565': 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) = 7682.4171093
delta logL = 0.110849189284

Extracting fit parameters...

4FGL J1645.6+6329
   Spectrum: LogParabola
352         norm:  1.557e+01  8.798e+00  0.000e+00  1.000e+06 ( 1.000e-12)
353        alpha:  2.077e+00  6.389e-01  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.788e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  5.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  9.866e-01  1.602e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.049e+00  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.21
Ra Dec: 251.405 63.496
Photon Index (Free Index): 2.08 +/- 0.64
Photon Flux (Free Index): 4.11e-08 +/- 3.15e-08
Energy Flux (Free Index): 1.70e-05 +/- 1.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/171565/cmap_HighResolution_683337601_683596801_4FGL_J1645.6+6329_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.12e-08', energy_flux2='1.70e-05', photon_flux_error='2.80e-08', dlogl='1.11e-01', energy_flux='1.59e-05', photon_flux2='4.11e-08', job_status='DONE', time_completed='2022-09-16 19:56:06.989096', photon_index_error2='0.64', photon_index2='2.08', ts='7.99', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.01e-05', EG='1.03', time_epoch_completed='1663383366.99', return_code='0', job_id='171565', GAL2='0.99', EG2='1.05', return_code2='0', energy_flux_error='8.68e-06', photon_flux_error2='3.15e-08', ts2='8.21', photon_index='2.38' WHERE bin_id='1713' AND source_name='4FGL J1645.6+6329' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:56:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 171565: <4FGL_J1645.6+6329_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1645.6+6329_daily_bin1713> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 19:40:23 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:41:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 19:41:56 2022
Terminated at Fri Sep 16 19:56:07 2022
Results reported at Fri Sep 16 19:56:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1645.6+6329_daily_bin1713 251.405 63.4958 683337601 683596801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1645.6+6329 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   792.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            944 sec.

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

