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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin1670
RA = 15.969, Dec = 13.3536
tmin = 672192001, tmax = 672451201
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='862257', job_status='RUN', time_executed='2022-04-24 00:12:56.516421', time_epoch_executed='1650784376.52' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862257

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862257/ft1_4FGL_J0103.8+1321_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862257/ft1_4FGL_J0103.8+1321_daily_bin1670.fits outfile=/scratch/kocevski/862257/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1670.fits ra=15.969 dec=13.3536 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.12
user 4.82
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.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/862257/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1670.fits evtable="EVENTS" outfile="/scratch/kocevski/862257/ft1_filtered_4FGL_J0103.8+1321_daily_bin1670.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.60
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 752

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862257/ft1_filtered_4FGL_J0103.8+1321_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862257/ltcube_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.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/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.fits
.....................!
real 14.31
user 13.92
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862257/ft1_filtered_4FGL_J0103.8+1321_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862257/ltcube_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.fits outfile=/scratch/kocevski/862257/expmap_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.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/862257/ltcube_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.fits
.....................!
real 195.61
user 189.82
sys 5.31

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

Setting source of interest to:
4FGL J0103.8+1321 @ 15.969 13.3536

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/862257/ft1_filtered_4FGL_J0103.8+1321_daily_bin1670.fits scfile=/scratch/kocevski/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.fits outfile=/scratch/kocevski/862257/cmap_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.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=15.969 yref=13.3536 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862257/ft1_filtered_4FGL_J0103.8+1321_daily_bin1670.fits scfile=/scratch/kocevski/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.fits outfile=/scratch/kocevski/862257/cmap_HighResolution_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.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=15.969 yref=13.3536 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862257/ft1_filtered_4FGL_J0103.8+1321_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862257/Model_4FGL_J0103.8+1321_daily_bin1670.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/862257/ft1_filtered_4FGL_J0103.8+1321_daily_bin1670.fits.....................!
real 89.37
user 87.01
sys 1.90

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862257/ft1_filtered_4FGL_J0103.8+1321_daily_bin1670.fits', '/scratch/kocevski/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.fits', expMap='/scratch/kocevski/862257/expmap_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.fits', expCube='/scratch/kocevski/862257/ltcube_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862257/Model_4FGL_J0103.8+1321_daily_bin1670.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0103.8+1321'

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  4.686e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/862257/ft1_filtered_4FGL_J0103.8+1321_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/862257/ft2_4FGL_J0103.8+1321_daily_bin1670.fits
Exposure map: /scratch/kocevski/862257/expmap_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.fits
Exposure cube: /scratch/kocevski/862257/ltcube_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862257/Model_4FGL_J0103.8+1321_daily_bin1670.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) = 8106.32626392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4339       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12999E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1098       1.0000         .10000E-03   10000.    
     9 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    88.082       1.0000         .10000E-03   10000.    
    11 'Prefactor '    107.97       1.0000         .10000E-03   10000.    
    12 'norm      '    110.35       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .50442       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1575       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .15589E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8753       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .75917       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.4307       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   8106.325     FROM MIGRAD    STATUS=CONVERGED    647 CALLS     2047 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4343        3.5694        .13368E-03    .42948E-04
   2  norm          .10000E-03    2.8908        .14947E-02** at limit **
   3  Prefactor     .10000E-03    20.259        .18142E-02** at limit **
   4  Prefactor     .10000E-03    5.7452        .18142E-02** at limit **
   5  norm          .10000E-03    2.4359        .13721E-02** at limit **
   6  Prefactor     .10000E-03    9.7977        .36285E-03** at limit **
   7  Prefactor     .10000E-03    8.8974        .18142E-02** at limit **
   8  Prefactor     1.1056        3.8680        .31585E-03   -.47516E-03
   9  norm          .10000E-03    7.4732        .18142E-02** at limit **
  10  Prefactor     88.104        62.594        .42810E-04    .24166E-04
  11  Prefactor     108.16        179.55        .19352E-03   -.29960E-05
  12  norm          110.35        9.9662        .38290E-04   -.23319E-03
  13  Prefactor     .38776        22.641        .13964        .18362E-03
  14  norm          2.1583        .83762        .47988E-04    .56882E-03
  15  Prefactor     .10006E-03    40.755        .48476E-02** at limit **
  16  Prefactor     4.1665        436.01        .20498E-02    .11429E-04
  17  Normalizat    .75911        .27487        .44153E-03    .11945E-03
  18  Prefactor     1.4308        .19494        .23839E-03    .49597E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.4343
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.10558
  norm       = 0.0001
  Prefactor  = 88.1044
  Prefactor  = 108.156
  norm       = 110.351
  Prefactor  = 0.38776
  norm       = 2.1583
  Prefactor  = 0.00010006
  Prefactor  = 4.16655
  Normalizat = 0.759111
  Prefactor  = 1.43078
 **********
 **   18 **HESSE 
 **********

 FCN=   8106.325     FROM HESSE     STATUS=OK           238 CALLS     2285 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4343        3.5693        .53471E-05   -1.5242    
   2  norm          .10000E-03    2.8908        .29894E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.263        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.7456        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.4359        .27443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.7984        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.8995        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1056        3.8672        .12634E-04   -1.5498    
   9  norm          .10000E-03    7.4735        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     88.104        62.583        .85620E-05   -1.3828    
  11  Prefactor     108.16        179.48        .77410E-05   -1.3624    
  12  norm          110.35        9.9640        .76580E-05   -1.3603    
  13  Prefactor     .38776        22.399        .14112       -1.5583    
  14  norm          2.1583        .83762        .19195E-05   -1.5414    
  15  Prefactor     .10006E-03    41.718        .96952E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.1665        435.84        .40995E-03   -1.5300    
  17  Normalizat    .75911        .27505        .17661E-04   -1.0160    
  18  Prefactor     1.4308        .19508        .95355E-05   -.79497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1771e-09
Minuit parameter uncertainties:
  1  3.56947
  2  1.51356e-06
  3  1.956e-05
  4  5.50167e-06
  5  7.64147e-07
  6  9.5057e-06
  7  2.1671e-06
  8  3.86805
  9  1.34698e-05
  10  62.6296
  11  180.392
  12  9.96419
  13  5.89583
  14  0.837621
  15  0.00315329
  16  85.8766
  17  0.275556
  18  0.19518
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  8.810e+01  6.263e+01  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.431e+00  1.952e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  7.591e-01  2.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.07
Ra Dec: 15.969 13.354
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 5.60e-08 +/- 3.98e-08
Energy Flux (Fixed Index): 3.20e-05 +/- 2.27e-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) = 8106.27699179
delta logL = 0.0476072881493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8106.27328963
delta logL = 0.051309453811

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    68.410       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2897       1.0000          .0000       10.000    
     3 'Normalizat'    .74512       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4352       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   8106.273     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      295 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     68.354        91.350        .24265E-03   -.36826E-04
   2  Index         2.2907        .75597        .61650E-02    .40105E-04
   3  Normalizat    .74459        .27599        .44539E-03    .14899E-03
   4  Prefactor     1.4358        .19536        .23800E-03   -.23274E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 68.3543
  Index      = 2.29073
  Normalizat = 0.744585
  Prefactor  = 1.43582
 **********
 **   18 **HESSE 
 **********

 FCN=   8106.273     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     68.354        77.263        .97058E-05   -1.4053    
   2  Index         2.2907        .63909        .24660E-03   -.57264    
   3  Normalizat    .74459        .27465        .17816E-04   -1.0216    
   4  Prefactor     1.4358        .19504        .47601E-04   -.79353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64468e-10
Minuit parameter uncertainties:
  1  77.3768
  2  0.641575
  3  0.275165
  4  0.195143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862257': 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) = 8106.27328027
delta logL = 0.0513188125815

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  6.835e+01  7.738e+01  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.291e+00  6.416e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.436e+00  1.951e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  7.446e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.14
Ra Dec: 15.969 13.354
Photon Index (Free Index): 2.29 +/- 0.64
Photon Flux (Free Index): 7.02e-08 +/- 6.31e-08
Energy Flux (Free Index): 2.70e-05 +/- 2.13e-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/862257/cmap_HighResolution_672192001_672451201_4FGL_J0103.8+1321_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.60e-08', energy_flux2='2.70e-05', photon_flux_error='3.98e-08', dlogl='5.13e-02', energy_flux='3.20e-05', photon_flux2='7.02e-08', job_status='DONE', time_completed='2022-04-24 00:23:27.198233', photon_index_error2='0.64', photon_index2='2.29', ts='5.07', fit_tolerance='1e-08', GAL='1.43', photon_index_error='0.00', energy_flux_error2='2.13e-05', EG='0.76', time_epoch_completed='1650785007.2', return_code='0', job_id='862257', GAL2='1.44', EG2='0.74', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='6.31e-08', ts2='5.14', photon_index='2.08' WHERE bin_id='1670' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:23:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 862161: <4FGL_J0103.8+1321_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:18 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:11:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:11:08 2022
Terminated at Sun Apr 24 00:23:26 2022
Results reported at Sun Apr 24 00:23:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin1670 15.969 13.3536 672192001 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0103.8+1321 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   627.20 sec.
    Max Memory :                                 1129 MB
    Average Memory :                             315.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            908 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 862257: <4FGL_J0103.8+1321_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:22 2022
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:11:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:11:38 2022
Terminated at Sun Apr 24 00:23:28 2022
Results reported at Sun Apr 24 00:23:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin1670 15.969 13.3536 672192001 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0103.8+1321 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   629.43 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             321.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            906 sec.

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

