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


Performing analysis on: 4FGL_J1049.8+1429_daily_bin1708
RA = 162.467, Dec = 14.4835
tmin = 682041601, tmax = 682300801
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='96124', job_status='RUN', time_executed='2022-09-16 15:31:20.789153', time_epoch_executed='1663367480.79' WHERE source_name='4FGL J1049.8+1429' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96124

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96124/ft1_4FGL_J1049.8+1429_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96124/ft1_4FGL_J1049.8+1429_daily_bin1708.fits outfile=/scratch/kocevski/96124/ft1_filteredMKT_4FGL_J1049.8+1429_daily_bin1708.fits ra=162.467 dec=14.4835 rad=12.0 tmin=682041601.0 tmax=682300801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.03
user 3.81
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.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/96124/ft1_filteredMKT_4FGL_J1049.8+1429_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/96124/ft1_filtered_4FGL_J1049.8+1429_daily_bin1708.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.52
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 549

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96124/ft1_filtered_4FGL_J1049.8+1429_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/96124/ltcube_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.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/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.fits
.....................!
real 14.63
user 14.20
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96124/ft1_filtered_4FGL_J1049.8+1429_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/96124/ltcube_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.fits outfile=/scratch/kocevski/96124/expmap_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.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/96124/ltcube_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.fits
.....................!
real 191.89
user 186.56
sys 4.97

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

Setting source of interest to:
4FGL J1049.8+1429 @ 162.467 14.4835

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/96124/ft1_filtered_4FGL_J1049.8+1429_daily_bin1708.fits scfile=/scratch/kocevski/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.fits outfile=/scratch/kocevski/96124/cmap_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.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=162.467 yref=14.4835 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96124/ft1_filtered_4FGL_J1049.8+1429_daily_bin1708.fits scfile=/scratch/kocevski/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.fits outfile=/scratch/kocevski/96124/cmap_HighResolution_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.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=162.467 yref=14.4835 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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96124/ft1_filtered_4FGL_J1049.8+1429_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96124/Model_4FGL_J1049.8+1429_daily_bin1708.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/96124/ft1_filtered_4FGL_J1049.8+1429_daily_bin1708.fits.....................!
real 59.34
user 58.01
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/96124/ft1_filtered_4FGL_J1049.8+1429_daily_bin1708.fits', '/scratch/kocevski/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.fits', expMap='/scratch/kocevski/96124/expmap_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.fits', expCube='/scratch/kocevski/96124/ltcube_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/96124/Model_4FGL_J1049.8+1429_daily_bin1708.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1049.8+1429'

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  4.091e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
222        Index:  2.592e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  5.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/96124/ft1_filtered_4FGL_J1049.8+1429_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/96124/ft2_4FGL_J1049.8+1429_daily_bin1708.fits
Exposure map: /scratch/kocevski/96124/expmap_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.fits
Exposure cube: /scratch/kocevski/96124/ltcube_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/96124/Model_4FGL_J1049.8+1429_daily_bin1708.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) = 6248.57727905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.177       1.0000          .0000       .10000E+07
     2 'Prefactor '    20.562       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18361       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99917E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1762       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9146       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36708       1.0000          .0000       .10000E+07
     8 'Prefactor '    28.283       1.0000          .0000       .10000E+07
     9 'Prefactor '    .49285E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.3511       1.0000          .0000       .10000E+07
    11 'Prefactor '    .68485E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11899E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .88505E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26218E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .36237E-03   1.0000          .0000       .10000E+07
    16 'norm      '    8.7791       1.0000          .0000       .10000E+07
    17 'Prefactor '    .60935E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .90378       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3963       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6248.573     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     2239 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.177        1.6464       -.67174E-08    .73521E-01
   2  Prefactor     20.553        1.2737       -.31700E-08    .17770E-01
   3  Prefactor     .10547E-08    .91811        .39330E-08** at limit **
   4  Prefactor     .26701E-07    13.987        .50299E-06** at limit **
   5  Prefactor     5.2069        4.9559        .20795E-07    .45225E-03
   6  Prefactor     7.9002        4.9100       -.44835E-07   -.12318E-02
   7  Prefactor     .36308        3.1922        .18986E-06    .11133E-02
   8  Prefactor     28.307        1.8314        .11439E-07   -.10343E-01
   9  Prefactor     .16653E-09    3.8333       -.19445E-06** at limit **
  10  Prefactor     6.3053        9.9262       -.12265E-06   -.11924E-01
  11  Prefactor     .17764E-08    1.9388        .19406E-07** at limit **
  12  Prefactor     .24626E-05    9.3261        .32061E-06** at limit **
  13  norm          .86278E-01    3.9397        .20692E-06** at limit **
  14  Prefactor     .69944E-08    4.0069        .37930E-07** at limit **
  15  Prefactor     .78826E-08    4.7537       -.14361E-07** at limit **
  16  norm          8.7705        2.6888        .12729E-07    .22530E-01
  17  Prefactor     .24082E-05    10.769        .25721E-06** at limit **
  18  Normalizat    .90403        .23463        .31428E-05   -.12706E-04
  19  Prefactor     1.3965        .22300       -.28498E-05   -.32664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.1767
  Prefactor  = 20.5529
  Prefactor  = 1.05471e-09
  Prefactor  = 2.67009e-08
  Prefactor  = 5.20687
  Prefactor  = 7.90025
  Prefactor  = 0.363081
  Prefactor  = 28.3066
  Prefactor  = 1.66533e-10
  Prefactor  = 6.30533
  Prefactor  = 1.77636e-09
  Prefactor  = 2.46264e-06
  norm       = 0.0862784
  Prefactor  = 6.99441e-09
  Prefactor  = 7.88258e-09
  norm       = 8.77055
  Prefactor  = 2.40818e-06
  Normalizat = 0.904032
  Prefactor  = 1.39646
 **********
 **   18 **HESSE 
 **********

 FCN=   6248.573     FROM HESSE     STATUS=OK           314 CALLS     2553 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.177        71.080        .18516E-03   -1.5600    
   2  Prefactor     20.553        21.816        .22060E-03   -1.5617    
   3  Prefactor     .10547E-08    43.801        .12075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26701E-07    14.073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.2069        4.9685        .44162E-03   -1.5662    
   6  Prefactor     7.9002        4.9351        .35617E-03   -1.5652    
   7  Prefactor     .36308        3.1085        .93405E-03   -1.5696    
   8  Prefactor     28.307        10.813        .18807E-03   -1.5602    
   9  Prefactor     .16653E-09    3.8322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3053        10.098        .39805E-03   -1.5658    
  11  Prefactor     .17764E-08    5.6084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .24626E-05    18.675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .86278E-01    .72173        .35929E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .69944E-08    5.6150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .78826E-08    5.4911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.7705        10.341        .33805E-03   -1.5649    
  17  Prefactor     .24082E-05    20.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .90403        .20668        .68157E-01   -.96319    
  19  Prefactor     1.3965        .18868        .54963E-01   -.80482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22094e-06
Minuit parameter uncertainties:
  1  71.0818
  2  21.8156
  3  0.000429649
  4  0.00122664
  5  4.96849
  6  4.93508
  7  2.12474
  8  10.8133
  9  5.33774e-05
  10  10.0983
  11  0.000201123
  12  0.013563
  13  0.499079
  14  0.000397017
  15  0.000415814
  16  10.341
  17  0.0139825
  18  0.206857
  19  0.188776
Done.

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

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  2.831e+01  1.081e+01  0.000e+00  1.000e+06 ( 1.000e-12)
222        Index:  2.592e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  5.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.396e+00  1.888e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  9.040e-01  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.57
Ra Dec: 162.467 14.483
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 1.68e-07 +/- 6.43e-08
Energy Flux (Fixed Index): 4.45e-05 +/- 1.70e-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) = 6247.87155184
delta logL = 0.701468359565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6247.85065113
delta logL = 0.722369071524

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.583       1.0000          .0000       .10000E+07
     2 'Index     '    3.1476       1.0000          .0000       10.000    
     3 'Normalizat'    .82964       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4480       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+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=   6247.851     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      276 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.582        12.226        .90420E-05    .12802E-01
   2  Index         3.1478        .53445        .42906E-02    .32446E-03
   3  Normalizat    .82965        .24019        .31305E-03   -.13553E-03
   4  Prefactor     1.4479        .22791        .23937E-03   -.29122E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.5819
  Index      = 3.14778
  Normalizat = 0.829652
  Prefactor  = 1.44795
 **********
 **   18 **HESSE 
 **********

 FCN=   6247.851     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.582        11.406        .18084E-05   -1.5619    
   2  Index         3.1478        .49821        .17162E-03   -.37949    
   3  Normalizat    .82965        .23999        .12522E-04   -.98978    
   4  Prefactor     1.4479        .22770        .47874E-04   -.79008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.51272e-10
Minuit parameter uncertainties:
  1  11.4061
  2  0.499166
  3  0.240301
  4  0.227864
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96124': 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) = 6247.85065104
delta logL = 0.722369155818

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  1.958e+01  1.141e+01  0.000e+00  1.000e+06 ( 1.000e-12)
222        Index:  3.148e+00  4.992e-01  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  5.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.448e+00  2.279e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  8.297e-01  2.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.40
Ra Dec: 162.467 14.483
Photon Index (Free Index): 3.15 +/- 0.50
Photon Flux (Free Index): 2.29e-07 +/- 8.92e-08
Energy Flux (Free Index): 4.28e-05 +/- 1.49e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/96124/cmap_HighResolution_682041601_682300801_4FGL_J1049.8+1429_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.68e-07', energy_flux2='4.28e-05', photon_flux_error='6.43e-08', dlogl='7.22e-01', energy_flux='4.45e-05', photon_flux2='2.29e-07', job_status='DONE', time_completed='2022-09-16 15:40:45.668528', photon_index_error2='0.50', photon_index2='3.15', ts='13.57', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', energy_flux_error2='1.49e-05', EG='0.90', time_epoch_completed='1663368045.67', return_code='0', job_id='96124', GAL2='1.45', EG2='0.83', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='8.92e-08', ts2='15.40', photon_index='2.59' WHERE bin_id='1708' AND source_name='4FGL J1049.8+1429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:40:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 96124: <4FGL_J1049.8+1429_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1049.8+1429_daily_bin1708> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:30:19 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:31:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:31:06 2022
Terminated at Fri Sep 16 15:40:46 2022
Results reported at Fri Sep 16 15:40:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1049.8+1429_daily_bin1708 162.467 14.4835 682041601 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1049.8+1429 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   567.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             309.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   580 sec.
    Turnaround time :                            627 sec.

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

