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 21 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1628.8-6149_daily_bin1683
RA = 247.217, Dec = -61.8313
tmin = 675561601, tmax = 675820801
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='30473', job_status='RUN', time_executed='2022-06-02 01:24:16.111113', time_epoch_executed='1654158256.11' WHERE source_name='4FGL J1628.8-6149' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/30473

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/30473/ft1_4FGL_J1628.8-6149_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/30473/ft1_4FGL_J1628.8-6149_daily_bin1683.fits outfile=/scratch/kocevski/30473/ft1_filteredMKT_4FGL_J1628.8-6149_daily_bin1683.fits ra=247.217 dec=-61.8313 rad=12.0 tmin=675561601.0 tmax=675820801.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.29
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.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/30473/ft1_filteredMKT_4FGL_J1628.8-6149_daily_bin1683.fits evtable="EVENTS" outfile="/scratch/kocevski/30473/ft1_filtered_4FGL_J1628.8-6149_daily_bin1683.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.34
sys 0.15

Number of photons that the gtmktime cut: 4155

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/30473/ft1_filtered_4FGL_J1628.8-6149_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/30473/ltcube_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.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/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.fits
.....................!
real 13.84
user 13.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/30473/ft1_filtered_4FGL_J1628.8-6149_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/30473/ltcube_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.fits outfile=/scratch/kocevski/30473/expmap_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.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/30473/ltcube_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.fits
.....................!
real 191.31
user 185.46
sys 5.52

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
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source HESS J1356-645 in ROI with RadialDisk spatial model.
Extended source FGES J1409.1-6121 in ROI with RadialDisk spatial model.
Extended source HESS J1420-607 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Added 419 point sources and 19 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1628.8-6149 @ 247.217 -61.8313

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/30473/ft1_filtered_4FGL_J1628.8-6149_daily_bin1683.fits scfile=/scratch/kocevski/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.fits outfile=/scratch/kocevski/30473/cmap_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.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.217 yref=-61.8313 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/30473/ft1_filtered_4FGL_J1628.8-6149_daily_bin1683.fits scfile=/scratch/kocevski/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.fits outfile=/scratch/kocevski/30473/cmap_HighResolution_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.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.217 yref=-61.8313 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/30473/ft1_filtered_4FGL_J1628.8-6149_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/30473/Model_4FGL_J1628.8-6149_daily_bin1683.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 FGES J1409.1-6121
adding source FGES J1553.8-5325
adding source FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1501.0-6310
adding source FHES J1642.1-5428
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source HESS J1534-571
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
Working on...
/scratch/kocevski/30473/ft1_filtered_4FGL_J1628.8-6149_daily_bin1683.fits.....................!
real 2053.57
user 2041.34
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/30473/ft1_filtered_4FGL_J1628.8-6149_daily_bin1683.fits', '/scratch/kocevski/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.fits', expMap='/scratch/kocevski/30473/expmap_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.fits', expCube='/scratch/kocevski/30473/ltcube_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/30473/Model_4FGL_J1628.8-6149_daily_bin1683.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1628.8-6149'

4FGL J1628.8-6149
   Spectrum: LogParabola
855         norm:  2.720e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
856        alpha:  2.597e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
857         beta:  2.474e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
858           Eb:  7.774e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/30473/ft1_filtered_4FGL_J1628.8-6149_daily_bin1683.fits
Spacecraft file(s): /scratch/kocevski/30473/ft2_4FGL_J1628.8-6149_daily_bin1683.fits
Exposure map: /scratch/kocevski/30473/expmap_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.fits
Exposure cube: /scratch/kocevski/30473/ltcube_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/30473/Model_4FGL_J1628.8-6149_daily_bin1683.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) = 35840.6996121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.0633       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16591E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8934       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.3985       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .65602       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11946E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.6969       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.2816       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .34822E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5380       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0488       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99132       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1564E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35839.90     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     1571 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.444        .35602E-06** at limit **
   2  norm          6.0644        11.884        .31963E-06   -.12292E-04
   3  Prefactor     .10005E-03    17.974       -.12910E-04** at limit **
   4  Prefactor     4.8912        5.1051        .46649E-06   -.49612E-03
   5  norm          .10000E-03    1.6895        .73389E-08** at limit **
   6  norm          .10000E-03    1.7313        .56036E-07** at limit **
   7  norm          2.3998        4.2688        .11132E-06    .66025E-05
   8  Prefactor     .10000E-03    3.7143        .18628E-07** at limit **
   9  Prefactor     .65695        1.6615        .54643E-06    .44755E-04
  10  Prefactor     .10000E-03    46.241        .99591E-06** at limit **
  11  norm          .10000E-03    1.5622       -.29099E-06** at limit **
  12  norm          7.6973        7.6034       -.40601E-06    .58392E-04
  13  Prefactor     9.2827        9.7453        .20291E-05   -.71393E-04
  14  Prefactor     .10000E-03    105.17        .66639E-04** at limit **
  15  Prefactor     .10000E-03    10.761        .24324E-06** at limit **
  16  Prefactor     1.5448        11.783        .17132E-05   -.28113E-03
  17  Normalizat    1.0485        .24266       -.61149E-06   -.91809E-04
  18  Prefactor     .99132        .23718E-01   -.31870E-07   -.53856E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 6.06445
  Prefactor  = 0.000100047
  Prefactor  = 4.89116
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.39983
  Prefactor  = 0.0001
  Prefactor  = 0.65695
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.69725
  Prefactor  = 9.28273
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.5448
  Normalizat = 1.0485
  Prefactor  = 0.991317
 **********
 **   18 **HESSE 
 **********

 FCN=   35839.90     FROM HESSE     STATUS=OK           264 CALLS     1835 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.0644        11.881        .16305E-03   -1.5215    
   3  Prefactor     .10005E-03    10.920        .17780       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.8912        5.8152        .90915E-03   -1.5266    
   5  norm          .10000E-03    1.6897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.7542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.3998        4.2578        .26441E-03   -1.5398    
   8  Prefactor     .10000E-03    3.7215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .65695        1.7795        .39268E-03   -1.5546    
  10  Prefactor     .10000E-03    46.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.5809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.6973        7.5937        .14454E-03   -1.5153    
  13  Prefactor     9.2827        9.7476        .13155E-03   -1.5099    
  14  Prefactor     .10000E-03    9.5532        .21693       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.5448        32.893        .17195E-02   -1.5459    
  17  Normalizat    1.0485        .23969        .11217E-02   -.91423    
  18  Prefactor     .99132        .23631E-01    .11363E-03   -.93020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24913e-09
Minuit parameter uncertainties:
  1  0.000285229
  2  11.8861
  3  0.00143602
  4  5.8159
  5  1.42925e-06
  6  6.75852e-06
  7  4.25831
  8  3.32602e-06
  9  1.77968
  10  3.38256e-08
  11  3.14229e-05
  12  7.59465
  13  9.74931
  14  0.000156673
  15  6.43953e-05
  16  14.2651
  17  0.239933
  18  0.0236315
Done.

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

Extracting fit parameters...

4FGL J1628.8-6149
   Spectrum: LogParabola
855         norm:  2.400e+00  4.258e+00  1.000e-04  1.000e+04 ( 1.000e-12)
856        alpha:  2.597e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
857         beta:  2.474e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
858           Eb:  7.774e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1528    Prefactor:  9.913e-01  2.363e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1495   Normalization:  1.048e+00  2.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.42
Ra Dec: 247.217 -61.831
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.02e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/30473/likelihoodResults_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.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) = 35839.2543779
delta logL = 0.646130107547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35839.0961259
delta logL = 0.804382096736

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0580       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3617       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0541       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1564E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   35839.10     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      227 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0551        5.2737        .44697E-02    .21565E-03
   2  alpha         1.3614        .70128        .48542       -.11989E-03
   3  Normalizat    1.0542        .23052        .24968        .20012E-03
   4  Prefactor     .99090        .22894E-01    .25715E-01   -.77533E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.05508
  alpha      = 1.36139
  Normalizat = 1.05418
  Prefactor  = 0.990901
 **********
 **   18 **HESSE 
 **********

 FCN=   35839.10     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0551        5.2599        .17879E-03   -1.5258    
   2  alpha         1.3614        .75563        .56497E-01   -.47287    
   3  Normalizat    1.0542        .22541        .11189E-02   -.91237    
   4  Prefactor     .99090        .22719E-01    .11364E-03   -.93033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14438e-11
Minuit parameter uncertainties:
  1  5.26035
  2  0.770951
  3  0.225619
  4  0.0227195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/30473': 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) = 35839.0961258
delta logL = 0.804382264279

Extracting fit parameters...

4FGL J1628.8-6149
   Spectrum: LogParabola
855         norm:  5.055e+00  5.260e+00  1.000e-04  1.000e+04 ( 1.000e-12)
856        alpha:  1.361e+00  7.710e-01  0.000e+00  5.000e+00 ( 1.000e+00)
857         beta:  2.474e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
858           Eb:  7.774e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1528    Prefactor:  9.909e-01  2.272e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1495   Normalization:  1.054e+00  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.03
Ra Dec: 247.217 -61.831
Photon Index (Free Index): 1.36 +/- 0.77
Photon Flux (Free Index): 1.32e-08 +/- 1.48e-08
Energy Flux (Free Index): 1.62e-05 +/- 1.97e-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/30473/cmap_HighResolution_675561601_675820801_4FGL_J1628.8-6149_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.02e-05', comment='SUCCESS', energy_flux2='1.62e-05', dlogl='8.04e-01', photon_flux2='1.32e-08', job_status='DONE', time_completed='2022-06-02 03:12:10.717822', photon_index_error2='0.77', photon_index2='1.36', ts='0.42', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.97e-05', EG='1.05', time_epoch_completed='1654164730.72', return_code='0', job_id='30473', GAL2='0.99', EG2='1.05', return_code2='0', photon_flux_error2='1.48e-08', ts2='2.03', photon_index='2.60' WHERE bin_id='1683' AND source_name='4FGL J1628.8-6149' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 03:12:10 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 30364: <4FGL_J1628.8-6149_daily_bin1683> in cluster <slac> Done

Job <4FGL_J1628.8-6149_daily_bin1683> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jun  2 00:07:10 2022
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:22:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:22:30 2022
Terminated at Thu Jun  2 03:11:39 2022
Results reported at Thu Jun  2 03:11:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1628.8-6149_daily_bin1683 247.217 -61.8313 675561601 675820801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1628.8-6149 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   6390.00 sec.
    Max Memory :                                 643 MB
    Average Memory :                             513.99 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   6551 sec.
    Turnaround time :                            11069 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 30473: <4FGL_J1628.8-6149_daily_bin1683> in cluster <slac> Done

Job <4FGL_J1628.8-6149_daily_bin1683> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jun  2 00:07:14 2022
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:23:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:23:46 2022
Terminated at Thu Jun  2 03:12:12 2022
Results reported at Thu Jun  2 03:12:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1628.8-6149_daily_bin1683 247.217 -61.8313 675561601 675820801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1628.8-6149 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   6464.00 sec.
    Max Memory :                                 1101 MB
    Average Memory :                             522.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   6506 sec.
    Turnaround time :                            11098 sec.

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

