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


Performing analysis on: 4FGL_J1628.6+7706_daily_bin1752
RA = 247.154, Dec = 77.1099
tmin = 693446401, tmax = 693705601
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='267960', job_status='RUN', time_executed='2022-12-26 01:14:37.083053', time_epoch_executed='1672046077.08' WHERE source_name='4FGL J1628.6+7706' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/267960

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/267960/ft1_4FGL_J1628.6+7706_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/267960/ft1_4FGL_J1628.6+7706_daily_bin1752.fits outfile=/scratch/kocevski/267960/ft1_filteredMKT_4FGL_J1628.6+7706_daily_bin1752.fits ra=247.154 dec=77.1099 rad=12.0 tmin=693446401.0 tmax=693705601.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.48
user 3.28
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.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/267960/ft1_filteredMKT_4FGL_J1628.6+7706_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/267960/ft1_filtered_4FGL_J1628.6+7706_daily_bin1752.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: 902

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/267960/ft1_filtered_4FGL_J1628.6+7706_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/267960/ltcube_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.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/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.fits
.....................!
real 13.27
user 12.85
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/267960/ft1_filtered_4FGL_J1628.6+7706_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/267960/ltcube_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.fits outfile=/scratch/kocevski/267960/expmap_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.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/267960/ltcube_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.fits
.....................!
real 191.23
user 185.81
sys 5.05

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

Setting source of interest to:
4FGL J1628.6+7706 @ 247.154 77.1099

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/267960/ft1_filtered_4FGL_J1628.6+7706_daily_bin1752.fits scfile=/scratch/kocevski/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.fits outfile=/scratch/kocevski/267960/cmap_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.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=247.154 yref=77.1099 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/267960/ft1_filtered_4FGL_J1628.6+7706_daily_bin1752.fits scfile=/scratch/kocevski/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.fits outfile=/scratch/kocevski/267960/cmap_HighResolution_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.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=247.154 yref=77.1099 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/267960/ft1_filtered_4FGL_J1628.6+7706_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/267960/Model_4FGL_J1628.6+7706_daily_bin1752.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/267960/ft1_filtered_4FGL_J1628.6+7706_daily_bin1752.fits.....................!
real 108.51
user 106.90
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/267960/ft1_filtered_4FGL_J1628.6+7706_daily_bin1752.fits', '/scratch/kocevski/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.fits', expMap='/scratch/kocevski/267960/expmap_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.fits', expCube='/scratch/kocevski/267960/ltcube_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/267960/Model_4FGL_J1628.6+7706_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1628.6+7706'

4FGL J1628.6+7706
   Spectrum: LogParabola
377         norm:  7.623e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
378        alpha:  1.958e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
379         beta:  9.152e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
380           Eb:  1.177e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/267960/ft1_filtered_4FGL_J1628.6+7706_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/267960/ft2_4FGL_J1628.6+7706_daily_bin1752.fits
Exposure map: /scratch/kocevski/267960/expmap_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.fits
Exposure cube: /scratch/kocevski/267960/ltcube_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/267960/Model_4FGL_J1628.6+7706_daily_bin1752.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) = 9478.49350878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3302       1.0000          .0000       .10000E+07
     2 'Prefactor '    .59780E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2521       1.0000          .0000       .10000E+07
     4 'Prefactor '    .44387E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .35395E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.858       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11371E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7733       1.0000          .0000       .10000E+07
     9 'norm      '    19.854       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12496E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .55263E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .81601E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.412       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2222       1.0000          .0000       .10000E+07
    15 'Prefactor '    16.314       1.0000          .0000       .10000E+07
    16 'Prefactor '    .72235E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7338       1.0000          .0000       .10000E+07
    18 'norm      '    3.0502       1.0000          .0000       .10000E+07
    19 'norm      '    .54467       1.0000          .0000       .10000E+07
    20 'norm      '    12.497       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20077E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .18973E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0296       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93198       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9478.384     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1590 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3300        2.4892       -.19706E-06   -.31698E-02
   2  Prefactor     .84155E-07    9.2793        .60847E-06** at limit **
   3  Prefactor     4.1797        10.567       -.34504E-07    .62857E-03
   4  Prefactor      .0000        4.8556        .20018E-06** at limit **
   5  Prefactor      .0000        57.007       -.38613E-06** at limit **
   6  Prefactor     10.897        3.4965        .89771E-07   -.53681E-02
   7  Prefactor     .46313E-06    12.403        .86996E-07** at limit **
   8  Prefactor     .13995        2217.4       -.34002E-04** at limit **
   9  norm          19.905        1.3454       -.39662E-07   -.83998E-02
  10  Prefactor     .55511E-10    31.214        .19713E-05** at limit **
  11  Prefactor     .71831E-07    9.5864        .49175E-06** at limit **
  12  norm           .0000        .25415        .85440E-07** at limit **
  13  Prefactor     13.209        8.3077       -.34900E-07   -.14230E-01
  14  Prefactor     2.2185        2.0414       -.73400E-07    .20745E-02
  15  Prefactor     16.425        10.564        .48814E-06    .77103E-01
  16  Prefactor     .41922E-06    12.520       -.12088E-05** at limit **
  17  Prefactor     4.7009        4.3121       -.78293E-07   -.20728E-01
  18  norm          3.0576        2.2908        .20700E-08   -.56647E-03
  19  norm          .54383        .49770       -.91163E-07   -.44855E-02
  20  norm          12.427        5.0017       -.23250E-06   -.55406E-02
  21  Prefactor     .36693E-07    26.306       -.60346E-07** at limit **
  22  norm           .0000        2.5346        .26211E-06** at limit **
  23  Normalizat    1.0310        .16845       -.14962E-05    .33564E-03
  24  Prefactor     .93181        .11058        .48350E-05    .45737E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.33
  Prefactor  = 8.41549e-08
  Prefactor  = 4.17974
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.8972
  Prefactor  = 4.6313e-07
  Prefactor  = 0.139947
  norm       = 19.9046
  Prefactor  = 5.55112e-11
  Prefactor  = 7.18314e-08
  norm       = 0
  Prefactor  = 13.2093
  Prefactor  = 2.21851
  Prefactor  = 16.4251
  Prefactor  = 4.1922e-07
  Prefactor  = 4.70092
  norm       = 3.05759
  norm       = 0.543825
  norm       = 12.427
  Prefactor  = 3.66929e-08
  norm       = 0
  Normalizat = 1.03098
  Prefactor  = 0.93181
 **********
 **   18 **HESSE 
 **********

 FCN=   9478.384     FROM HESSE     STATUS=OK           453 CALLS     2043 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3300        2.4944        .55441E-03   -1.5671    
   2  Prefactor     .84155E-07    9.7697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.1797        10.607        .48839E-03   -1.5667    
   4  Prefactor      .0000        4.8829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        56.227        .16178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.897        17.930        .30381E-03   -1.5642    
   7  Prefactor     .46313E-06    16.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13995        38.249        .15397E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          19.905        15.158        .22450E-03   -1.5619    
  10  Prefactor     .55511E-10    31.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .71831E-07    10.090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .25322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.209        8.5315        .27325E-03   -1.5635    
  14  Prefactor     2.2185        2.0624        .68952E-03   -1.5678    
  15  Prefactor     16.425        14.106        .24770E-03   -1.5627    
  16  Prefactor     .41922E-06    16.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.7009        59.293        .46223E-03   -1.5665    
  18  norm          3.0576        2.3033        .58066E-03   -1.5673    
  19  norm          .54383        .50868        .74338E-03   -1.5693    
  20  norm          12.427        5.0330        .28311E-03   -1.5637    
  21  Prefactor     .36693E-07    26.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        2.5227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0310        .14871        .62091E-01   -.92000    
  24  Prefactor     .93181        .97282E-01    .45411E-01   -.95038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48854e-07
Minuit parameter uncertainties:
  1  2.49435
  2  0.00181347
  3  10.6067
  4  1.44643e-05
  5  1.61383e-05
  6  17.9297
  7  0.00555593
  8  4.62725
  9  15.1583
  10  9.79505e-05
  11  0.00170296
  12  4.15433e-07
  13  8.53147
  14  2.06244
  15  14.1057
  16  0.0051976
  17  33.391
  18  2.30335
  19  0.508675
  20  5.03301
  21  0.00198188
  22  5.05817e-06
  23  0.148772
  24  0.0973001
Done.

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

Extracting fit parameters...

4FGL J1628.6+7706
   Spectrum: LogParabola
377         norm:  1.990e+01  1.516e+01  0.000e+00  1.000e+06 ( 1.000e-13)
378        alpha:  1.958e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
379         beta:  9.152e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
380           Eb:  1.177e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  9.318e-01  9.730e-02  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  1.031e+00  1.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.03
Ra Dec: 247.154 77.110
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.99e-08 +/- 1.52e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 1.04e-05

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) = 9478.35201568
delta logL = 0.0319135969639

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9478.34713329
delta logL = 0.0367959864398

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.375       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1393       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+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=   9478.347     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      237 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.374        16.038        .93349E-05    .46966E-02
   2  alpha         2.1395        .69214        .16388E-01    .57073E-04
   3  Normalizat    1.0265        .16441        .27513E-03   -.11208E-02
   4  Prefactor     .93331        .11029        .19259E-03   -.17552E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3742
  alpha      = 2.13948
  Normalizat = 1.02649
  Prefactor  = 0.933305
 **********
 **   18 **HESSE 
 **********

 FCN=   9478.347     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.374        15.606        .18670E-05   -1.5622    
   2  alpha         2.1395        .67372        .65550E-03   -.14471    
   3  Normalizat    1.0265        .16441        .55026E-04   -.92148    
   4  Prefactor     .93331        .11033        .38519E-04   -.94987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71452e-09
Minuit parameter uncertainties:
  1  15.6058
  2  0.682344
  3  0.164486
  4  0.110354
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/267960': 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) = 9478.34713326
delta logL = 0.0367960138265

Extracting fit parameters...

4FGL J1628.6+7706
   Spectrum: LogParabola
377         norm:  1.837e+01  1.561e+01  0.000e+00  1.000e+06 ( 1.000e-13)
378        alpha:  2.139e+00  6.823e-01  0.000e+00  5.000e+00 ( 1.000e+00)
379         beta:  9.152e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
380           Eb:  1.177e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  9.333e-01  1.104e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  1.026e+00  1.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.10
Ra Dec: 247.154 77.110
Photon Index (Free Index): 2.14 +/- 0.68
Photon Flux (Free Index): 2.37e-08 +/- 2.27e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.04e-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/267960/cmap_HighResolution_693446401_693705601_4FGL_J1628.6+7706_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.99e-08', energy_flux2='1.19e-05', photon_flux_error='1.52e-08', dlogl='3.68e-02', energy_flux='1.36e-05', photon_flux2='2.37e-08', job_status='DONE', time_completed='2022-12-26 01:27:23.580581', photon_index_error2='0.68', photon_index2='2.14', ts='4.03', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.04e-05', EG='1.03', time_epoch_completed='1672046843.58', return_code='0', job_id='267960', GAL2='0.93', EG2='1.03', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='2.27e-08', ts2='4.10', photon_index='1.96' WHERE bin_id='1752' AND source_name='4FGL J1628.6+7706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:27:23 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 267960: <4FGL_J1628.6+7706_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1628.6+7706_daily_bin1752> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Dec 26 01:10:47 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:12:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 01:12:50 2022
Terminated at Mon Dec 26 01:27:24 2022
Results reported at Mon Dec 26 01:27:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1628.6+7706_daily_bin1752 247.154 77.1099 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1628.6+7706 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   768.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            997 sec.

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

