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


Performing analysis on: 4FGL_J1049.8+1429_daily_bin1765
RA = 162.467, Dec = 14.4835
tmin = 696816001, tmax = 697075201
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='631366', job_status='RUN', time_executed='2023-02-03 00:46:49.961456', time_epoch_executed='1675414009.96' WHERE source_name='4FGL J1049.8+1429' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631366

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631366/ft1_4FGL_J1049.8+1429_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631366/ft2_4FGL_J1049.8+1429_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631366/ft1_4FGL_J1049.8+1429_daily_bin1765.fits outfile=/scratch/kocevski/631366/ft1_filteredMKT_4FGL_J1049.8+1429_daily_bin1765.fits ra=162.467 dec=14.4835 rad=12.0 tmin=696816001.0 tmax=697075201.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.80
user 3.50
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/631366/ft2_4FGL_J1049.8+1429_daily_bin1765.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/631366/ft1_filteredMKT_4FGL_J1049.8+1429_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/631366/ft1_filtered_4FGL_J1049.8+1429_daily_bin1765.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.34
sys 0.17

Number of photons that the gtmktime cut: 537

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631366/ft1_filtered_4FGL_J1049.8+1429_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631366/ft2_4FGL_J1049.8+1429_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/631366/ltcube_696816001_697075201_4FGL_J1049.8+1429_daily_bin1765.fits outfile=/scratch/kocevski/631366/expmap_696816001_697075201_4FGL_J1049.8+1429_daily_bin1765.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/631366/ltcube_696816001_697075201_4FGL_J1049.8+1429_daily_bin1765.fits
.....................!
real 197.07
user 188.45
sys 6.16

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/631366/ft1_filtered_4FGL_J1049.8+1429_daily_bin1765.fits scfile=/scratch/kocevski/631366/ft2_4FGL_J1049.8+1429_daily_bin1765.fits outfile=/scratch/kocevski/631366/cmap_696816001_697075201_4FGL_J1049.8+1429_daily_bin1765.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.65
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631366/ft1_filtered_4FGL_J1049.8+1429_daily_bin1765.fits scfile=/scratch/kocevski/631366/ft2_4FGL_J1049.8+1429_daily_bin1765.fits outfile=/scratch/kocevski/631366/cmap_HighResolution_696816001_697075201_4FGL_J1049.8+1429_daily_bin1765.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.38
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/631366/ft1_filtered_4FGL_J1049.8+1429_daily_bin1765.fits', '/scratch/kocevski/631366/ft2_4FGL_J1049.8+1429_daily_bin1765.fits', expMap='/scratch/kocevski/631366/expmap_696816001_697075201_4FGL_J1049.8+1429_daily_bin1765.fits', expCube='/scratch/kocevski/631366/ltcube_696816001_697075201_4FGL_J1049.8+1429_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/631366/Model_4FGL_J1049.8+1429_daily_bin1765.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/631366/ft1_filtered_4FGL_J1049.8+1429_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/631366/ft2_4FGL_J1049.8+1429_daily_bin1765.fits
Exposure map: /scratch/kocevski/631366/expmap_696816001_697075201_4FGL_J1049.8+1429_daily_bin1765.fits
Exposure cube: /scratch/kocevski/631366/ltcube_696816001_697075201_4FGL_J1049.8+1429_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/631366/Model_4FGL_J1049.8+1429_daily_bin1765.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) = 6133.21996529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76298E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    60.881       1.0000          .0000       .10000E+07
     3 'Prefactor '    .60589E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17782E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.4358       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18048E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .40185E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    41.551       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18740E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.9242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17696E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.256       1.0000          .0000       .10000E+07
    13 'norm      '    .60729E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .92982E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .19170E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .44864E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .23549E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .92774       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0670       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=   6133.177     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1426 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12768E-07    79.922        .25951E-05** at limit **
   2  Prefactor     60.101        8.5110        .16318E-06    .84539E-03
   3  Prefactor     .32380E-06    12.061       -.38299E-05** at limit **
   4  Prefactor      .0000        6.0190        .11539E-05** at limit **
   5  Prefactor     3.4944        6.1433       -.71841E-06   -.39397E-04
   6  Prefactor     .13378E-07    11.386        .62097E-05** at limit **
   7  Prefactor      .0000        .88800        .56158E-06** at limit **
   8  Prefactor     41.551        10.703        .45651E-06   -.24502E-02
   9  Prefactor      .0000        4.1936       -.13143E-05** at limit **
  10  Prefactor     6.0096        8.6150        .14149E-05   -.96344E-02
  11  Prefactor     .19318E-07    34.227       -.12951E-05** at limit **
  12  Prefactor     12.047        3.2838        .14154E-06    .40762E-01
  13  norm           .0000        .84211        .18007E-07** at limit **
  14  Prefactor     .16653E-09    9.2513        .63945E-06** at limit **
  15  Prefactor     .61628E-06    6.8828       -.71718E-07** at limit **
  16  norm          .62378E-06    7.7054       -.31771E-05** at limit **
  17  Prefactor     .22315E-06    9.4952       -.18610E-05** at limit **
  18  Normalizat    .92785        .21327       -.24344E-04   -.23321E-03
  19  Prefactor     1.0672        .19862        .79978E-05   -.25002E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27676e-08
  Prefactor  = 60.1014
  Prefactor  = 3.23797e-07
  Prefactor  = 0
  Prefactor  = 3.49435
  Prefactor  = 1.33782e-08
  Prefactor  = 0
  Prefactor  = 41.551
  Prefactor  = 0
  Prefactor  = 6.00961
  Prefactor  = 1.93179e-08
  Prefactor  = 12.0474
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 6.16285e-07
  norm       = 6.23779e-07
  Prefactor  = 2.23155e-07
  Normalizat = 0.927853
  Prefactor  = 1.06719
 **********
 **   18 **HESSE 
 **********

 FCN=   6133.177     FROM HESSE     STATUS=OK           302 CALLS     1728 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12768E-07    83.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     60.101        42.414        .12817E-03   -1.5553    
   3  Prefactor     .32380E-06    19.135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        6.0386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4944        6.1826        .54543E-03   -1.5671    
   6  Prefactor     .13378E-07    1.2358        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .88141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     41.551        10.672        .15515E-03   -1.5579    
   9  Prefactor      .0000        4.2013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.0096        9.9178        .41234E-03   -1.5659    
  11  Prefactor     .19318E-07    33.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.047        16.322        .28588E-03   -1.5639    
  13  norm           .0000        .82618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16653E-09    9.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .61628E-06    16.796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .62378E-06    20.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .22315E-06    15.194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .92785        .18480        .45255E-01   -.95488    
  19  Prefactor     1.0672        .17158        .39004E-01   -.90522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47333e-07
Minuit parameter uncertainties:
  1  0.00206205
  2  42.4146
  3  0.00497836
  4  2.4757e-05
  5  6.18261
  6  0.000257366
  7  1.95505e-06
  8  10.6725
  9  6.45777e-07
  10  9.91779
  11  0.00162009
  12  16.3221
  13  8.22788e-06
  14  7.20699e-05
  15  0.00643467
  16  0.00718205
  17  0.00368286
  18  0.18493
  19  0.171671
Done.

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

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  4.155e+01  1.067e+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.067e+00  1.717e-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.279e-01  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 42.45
Ra Dec: 162.467 14.483
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 2.47e-07 +/- 6.35e-08
Energy Flux (Fixed Index): 6.53e-05 +/- 1.68e-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) = 6132.59370327
delta logL = 0.582885993706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6132.45015209
delta logL = 0.726437169222

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.442       1.0000          .0000       .10000E+07
     2 'Index     '    2.2709       1.0000          .0000       10.000    
     3 'Normalizat'    .97457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0348       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.

 FCN=   6132.450     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      209 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.442        18.103        .14369E-03   -.54970E-02
   2  Index         2.2709        .33190        .98784E-01    .14159E-04
   3  Normalizat    .97457        .18107        .45848E-01   -.23568E-03
   4  Prefactor     1.0348        .17154        .40898E-01   -.10641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.4421
  Index      = 2.27091
  Normalizat = 0.974565
  Prefactor  = 1.03478
 **********
 **   18 **HESSE 
 **********

 FCN=   6132.450     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.442        13.332        .57475E-05   -1.5569    
   2  Index         2.2709        .25579        .41669E-02   -.57737    
   3  Normalizat    .97457        .21027        .25705E-03   -.93887    
   4  Prefactor     1.0348        .19829        .23992E-03   -.91579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06608e-10
Minuit parameter uncertainties:
  1  13.332
  2  0.255952
  3  0.210453
  4  0.198435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631366': 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) = 6132.45015209
delta logL = 0.726437169556

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  4.844e+01  1.333e+01  0.000e+00  1.000e+06 ( 1.000e-12)
222        Index:  2.271e+00  2.560e-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.035e+00  1.984e-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.746e-01  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 43.67
Ra Dec: 162.467 14.483
Photon Index (Free Index): 2.27 +/- 0.26
Photon Flux (Free Index): 2.05e-07 +/- 6.63e-08
Energy Flux (Free Index): 8.15e-05 +/- 2.93e-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/631366/cmap_HighResolution_696816001_697075201_4FGL_J1049.8+1429_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.47e-07', energy_flux2='8.15e-05', photon_flux_error='6.35e-08', dlogl='7.26e-01', energy_flux='6.53e-05', photon_flux2='2.05e-07', job_status='DONE', time_completed='2023-02-03 00:55:19.262678', photon_index_error2='0.26', photon_index2='2.27', ts='42.45', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='2.93e-05', EG='0.93', time_epoch_completed='1675414519.26', return_code='0', job_id='631366', GAL2='1.03', EG2='0.97', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='6.63e-08', ts2='43.67', photon_index='2.59' WHERE bin_id='1765' AND source_name='4FGL J1049.8+1429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 00:55:19 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0028>
Subject: Job 631366: <4FGL_J1049.8+1429_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1049.8+1429_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:45:21 2023
Job was executed on host(s) <bullet0028>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:46:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:46:29 2023
Terminated at Fri Feb  3 00:55:20 2023
Results reported at Fri Feb  3 00:55:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1049.8+1429_daily_bin1765 162.467 14.4835 696816001 697075201 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 :                                   506.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             327.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   530 sec.
    Turnaround time :                            599 sec.

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

