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


Performing analysis on: 4FGL_J1049.8+1429_daily_bin1766
RA = 162.467, Dec = 14.4835
tmin = 697075201, tmax = 697334401
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='846478', job_status='RUN', time_executed='2023-02-06 00:46:11.937901', time_epoch_executed='1675673171.94' WHERE source_name='4FGL J1049.8+1429' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846478

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846478/ft1_4FGL_J1049.8+1429_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846478/ft2_4FGL_J1049.8+1429_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846478/ft1_4FGL_J1049.8+1429_daily_bin1766.fits outfile=/scratch/kocevski/846478/ft1_filteredMKT_4FGL_J1049.8+1429_daily_bin1766.fits ra=162.467 dec=14.4835 rad=12.0 tmin=697075201.0 tmax=697334401.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.33
user 3.48
sys 0.23

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

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

Number of photons that the gtmktime cut: 523

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846478/ft1_filtered_4FGL_J1049.8+1429_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/846478/ft2_4FGL_J1049.8+1429_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/846478/ltcube_697075201_697334401_4FGL_J1049.8+1429_daily_bin1766.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/846478/ft2_4FGL_J1049.8+1429_daily_bin1766.fits
.....................!
real 17.01
user 16.56
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846478/ft1_filtered_4FGL_J1049.8+1429_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/846478/ft2_4FGL_J1049.8+1429_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/846478/ltcube_697075201_697334401_4FGL_J1049.8+1429_daily_bin1766.fits outfile=/scratch/kocevski/846478/expmap_697075201_697334401_4FGL_J1049.8+1429_daily_bin1766.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/846478/ltcube_697075201_697334401_4FGL_J1049.8+1429_daily_bin1766.fits
.....................!
real 194.24
user 187.48
sys 4.56

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/846478/ft1_filtered_4FGL_J1049.8+1429_daily_bin1766.fits scfile=/scratch/kocevski/846478/ft2_4FGL_J1049.8+1429_daily_bin1766.fits outfile=/scratch/kocevski/846478/cmap_697075201_697334401_4FGL_J1049.8+1429_daily_bin1766.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846478/ft1_filtered_4FGL_J1049.8+1429_daily_bin1766.fits scfile=/scratch/kocevski/846478/ft2_4FGL_J1049.8+1429_daily_bin1766.fits outfile=/scratch/kocevski/846478/cmap_HighResolution_697075201_697334401_4FGL_J1049.8+1429_daily_bin1766.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38120       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57644E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .81796       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17750E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.2267       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16041E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.0626       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.068       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4132       1.0000          .0000       .10000E+07
    10 'Prefactor '    35.204       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10011E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22932E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .17182       1.0000          .0000       .10000E+07
    14 'Prefactor '    .31619E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.221       1.0000          .0000       .10000E+07
    16 'norm      '    12.092       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12277E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .24817       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.6742       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=   6077.429     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     2122 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.5516        .15849E-05** at limit **
   2  Prefactor     .64726E-07    5.1825       -.13196E-05** at limit **
   3  Prefactor     .72164E-09    388.36        .14434E-04** at limit **
   4  Prefactor     .63838E-08    13.344       -.55448E-06** at limit **
   5  Prefactor     4.2399        8.4347        .10037E-05    .14081E-02
   6  Prefactor      .0000        .80245       -.20193E-06** at limit **
   7  Prefactor     2.0592        1.9082       -.30928E-06    .85692E-03
   8  Prefactor     11.051        6.7381        .14421E-06    .15487E-02
   9  Prefactor     3.3304        6.8356       -.94406E-06   -.18833E-03
  10  Prefactor     35.205        13.142       -.49335E-06    .70791E-02
  11  Prefactor      .0000        4.0017        .18313E-05** at limit **
  12  Prefactor     .16653E-09    8.9079        .21142E-05** at limit **
  13  norm          .17164        1.1807        .59253E-06** at limit **
  14  Prefactor     .11652E-06    7.5451       -.30498E-05** at limit **
  15  Prefactor     10.202        8.0914        .20841E-06    .49905E-03
  16  norm          12.013        4.5237        .76825E-06    .36454E-01
  17  Prefactor     .55511E-10    4.5651       -.51338E-06** at limit **
  18  Normalizat    .24887        .21428       -.35412E-04   -.56675E-04
  19  Prefactor     1.6744        .21188        .14503E-04   -.52825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.4726e-08
  Prefactor  = 7.21645e-10
  Prefactor  = 6.38378e-09
  Prefactor  = 4.23994
  Prefactor  = 0
  Prefactor  = 2.05917
  Prefactor  = 11.0506
  Prefactor  = 3.33037
  Prefactor  = 35.2053
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  norm       = 0.17164
  Prefactor  = 1.16518e-07
  Prefactor  = 10.2021
  norm       = 12.0129
  Prefactor  = 5.55112e-11
  Normalizat = 0.248873
  Prefactor  = 1.6744
 **********
 **   18 **HESSE 
 **********

 FCN=   6077.429     FROM HESSE     STATUS=OK           310 CALLS     2432 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        51.862        .91697E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .64726E-07    11.527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .72164E-09    386.92        .51606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .63838E-08    13.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.2399        8.5814        .48990E-03   -1.5667    
   6  Prefactor      .0000        .80322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.0592        1.9045        .71921E-03   -1.5679    
   8  Prefactor     11.051        6.8107        .30089E-03   -1.5641    
   9  Prefactor     3.3304        6.9080        .54731E-03   -1.5671    
  10  Prefactor     35.205        13.880        .16856E-03   -1.5589    
  11  Prefactor      .0000        4.0035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    10.860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .17164        .70250        .24882E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11652E-06    12.475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.202        8.1559        .31317E-03   -1.5644    
  16  norm          12.013        14.193        .28782E-03   -1.5639    
  17  Prefactor     .55511E-10    4.5735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .24887        .25127        .10775       -1.2603    
  19  Prefactor     1.6744        .23265        .45210E-01   -.72766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61237e-07
Minuit parameter uncertainties:
  1  5.61563e-05
  2  0.00172745
  3  0.00105465
  4  0.000591268
  5  8.58145
  6  2.09093e-06
  7  1.90447
  8  6.81072
  9  6.90797
  10  13.8802
  11  1.39651e-06
  12  8.40905e-05
  13  0.694484
  14  0.00241131
  15  8.15588
  16  14.1929
  17  2.40104e-05
  18  0.252424
  19  0.2328
Done.

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

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  1.105e+01  6.811e+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

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.674e+00  2.328e-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:  2.489e-01  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.64
Ra Dec: 162.467 14.483
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 6.58e-08 +/- 4.05e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.07e-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) = 6077.28321137
delta logL = 0.145394207872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6077.27825315
delta logL = 0.150352426558

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.986       1.0000          .0000       .10000E+07
     2 'Index     '    2.2872       1.0000          .0000       10.000    
     3 'Normalizat'    .26675       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6629       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=   6077.278     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      273 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.986        7.5002        .11564E-04   -.65827E-02
   2  Index         2.2873        .54297        .78573E-02   -.13017E-03
   3  Normalizat    .26677        .20749        .46048E-03    .28664E-04
   4  Prefactor     1.6628        .21043        .20036E-03    .63608E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9858
  Index      = 2.28732
  Normalizat = 0.266767
  Prefactor  = 1.66284
 **********
 **   18 **HESSE 
 **********

 FCN=   6077.278     FROM HESSE     STATUS=OK            23 CALLS      296 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.986        7.4991        .23128E-05   -1.5639    
   2  Index         2.2873        .54266        .31429E-03   -.57345    
   3  Normalizat    .26677        .20740        .18419E-04   -1.2488    
   4  Prefactor     1.6628        .21033        .80143E-05   -.73075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1946e-10
Minuit parameter uncertainties:
  1  7.49911
  2  0.544178
  3  0.207998
  4  0.210443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846478': 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) = 6077.27825308
delta logL = 0.150352500989

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  1.199e+01  7.499e+00  0.000e+00  1.000e+06 ( 1.000e-12)
222        Index:  2.287e+00  5.442e-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.663e+00  2.104e-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:  2.668e-01  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.91
Ra Dec: 162.467 14.483
Photon Index (Free Index): 2.29 +/- 0.54
Photon Flux (Free Index): 5.16e-08 +/- 4.26e-08
Energy Flux (Free Index): 1.99e-05 +/- 1.41e-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/846478/cmap_HighResolution_697075201_697334401_4FGL_J1049.8+1429_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.58e-08', energy_flux2='1.99e-05', photon_flux_error='4.05e-08', dlogl='1.50e-01', energy_flux='1.74e-05', photon_flux2='5.16e-08', job_status='DONE', time_completed='2023-02-06 00:55:21.255834', photon_index_error2='0.54', photon_index2='2.29', ts='5.64', fit_tolerance='1e-08', GAL='1.67', photon_index_error='0.00', energy_flux_error2='1.41e-05', EG='0.25', time_epoch_completed='1675673721.26', return_code='0', job_id='846478', GAL2='1.66', EG2='0.27', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='4.26e-08', ts2='5.91', photon_index='2.59' WHERE bin_id='1766' AND source_name='4FGL J1049.8+1429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 00:55:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0145>
Subject: Job 846478: <4FGL_J1049.8+1429_daily_bin1766> in cluster <slac> Done

Job <4FGL_J1049.8+1429_daily_bin1766> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Feb  6 00:40:22 2023
Job was executed on host(s) <bullet0145>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 00:42:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 00:42:29 2023
Terminated at Mon Feb  6 00:55:21 2023
Results reported at Mon Feb  6 00:55:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1049.8+1429_daily_bin1766 162.467 14.4835 697075201 697334401 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 :                                   547.95 sec.
    Max Memory :                                 656 MB
    Average Memory :                             245.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            899 sec.

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

