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


Performing analysis on: 4FGL_J1049.8+1429_daily_bin1750
RA = 162.467, Dec = 14.4835
tmin = 692928001, tmax = 693187201
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='5136', job_status='RUN', time_executed='2022-12-20 00:34:19.556147', time_epoch_executed='1671525259.56' WHERE source_name='4FGL J1049.8+1429' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/5136

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/5136/ft1_4FGL_J1049.8+1429_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/5136/ft2_4FGL_J1049.8+1429_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/5136/ft1_4FGL_J1049.8+1429_daily_bin1750.fits outfile=/scratch/kocevski/5136/ft1_filteredMKT_4FGL_J1049.8+1429_daily_bin1750.fits ra=162.467 dec=14.4835 rad=12.0 tmin=692928001.0 tmax=693187201.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.44
user 3.21
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/5136/ft2_4FGL_J1049.8+1429_daily_bin1750.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/5136/ft1_filteredMKT_4FGL_J1049.8+1429_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/5136/ft1_filtered_4FGL_J1049.8+1429_daily_bin1750.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 580

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/5136/ft1_filtered_4FGL_J1049.8+1429_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/5136/ft2_4FGL_J1049.8+1429_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/5136/ltcube_692928001_693187201_4FGL_J1049.8+1429_daily_bin1750.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/5136/ft2_4FGL_J1049.8+1429_daily_bin1750.fits
.....................!
real 11.52
user 11.16
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/5136/ft1_filtered_4FGL_J1049.8+1429_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/5136/ft2_4FGL_J1049.8+1429_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/5136/ltcube_692928001_693187201_4FGL_J1049.8+1429_daily_bin1750.fits outfile=/scratch/kocevski/5136/expmap_692928001_693187201_4FGL_J1049.8+1429_daily_bin1750.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/5136/ltcube_692928001_693187201_4FGL_J1049.8+1429_daily_bin1750.fits
.....................!
real 192.32
user 185.66
sys 6.33

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/5136/ft1_filtered_4FGL_J1049.8+1429_daily_bin1750.fits scfile=/scratch/kocevski/5136/ft2_4FGL_J1049.8+1429_daily_bin1750.fits outfile=/scratch/kocevski/5136/cmap_692928001_693187201_4FGL_J1049.8+1429_daily_bin1750.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.54
user 0.34
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/5136/ft1_filtered_4FGL_J1049.8+1429_daily_bin1750.fits scfile=/scratch/kocevski/5136/ft2_4FGL_J1049.8+1429_daily_bin1750.fits outfile=/scratch/kocevski/5136/cmap_HighResolution_692928001_693187201_4FGL_J1049.8+1429_daily_bin1750.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.54
user 0.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.4032       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13878E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.3058       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.5421       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5441       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.704       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4402       1.0000          .0000       .10000E+07
    10 'Prefactor '    .36385E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4223       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20023E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .27811E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    17.701       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    16 'norm      '    .29829E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1745       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0884       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=   6457.151     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1396 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30198E-07    38.687       -.99428E-07** at limit **
   2  Prefactor     2.3680        7.9048       -.48270E-07    .12308E-01
   3  Prefactor     .81046E-08    12.253        .93819E-07** at limit **
   4  Prefactor      .0000        7.8678       -.23951E-06** at limit **
   5  Prefactor     3.3052        5.3187        .24124E-06   -.44667E-03
   6  Prefactor     1.5426        3.0387        .14441E-06   -.24763E-03
   7  Prefactor     2.5441        1.9729       -.94972E-07   -.53455E-03
   8  Prefactor     19.704        10.596       -.48882E-08   -.10333E-02
   9  Prefactor     3.4400        6.7950        .10316E-06    .16994E-04
  10  Prefactor     .32641E-07    31.681        .56510E-07** at limit **
  11  Prefactor     1.4046        18.471       -.12720E-06   -.17642E-03
  12  Prefactor      .0000        12.238       -.46641E-08** at limit **
  13  norm           .0000        .81592       -.48520E-07** at limit **
  14  Prefactor     17.700        2.4750        .17884E-08   -.39048E-01
  15  Prefactor      .0000        1.5892       -.82835E-07** at limit **
  16  norm          .12490E-07    12.350        .77668E-07** at limit **
  17  Prefactor      .0000        2.3816        .59039E-07** at limit **
  18  Normalizat    1.1742        .22139        .94095E-06    .16169E-05
  19  Prefactor     1.0886        .20537       -.27507E-05    .67523E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.01981e-08
  Prefactor  = 2.36797
  Prefactor  = 8.10463e-09
  Prefactor  = 0
  Prefactor  = 3.30524
  Prefactor  = 1.54264
  Prefactor  = 2.54409
  Prefactor  = 19.7044
  Prefactor  = 3.44001
  Prefactor  = 3.26406e-08
  Prefactor  = 1.40463
  Prefactor  = 0
  norm       = 0
  Prefactor  = 17.6997
  Prefactor  = 0
  norm       = 1.249e-08
  Prefactor  = 0
  Normalizat = 1.17424
  Prefactor  = 1.08865
 **********
 **   18 **HESSE 
 **********

 FCN=   6457.151     FROM HESSE     STATUS=OK           308 CALLS     1704 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30198E-07    39.297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3680        160.70        .66021E-03   -1.5677    
   3  Prefactor     .81046E-08    23.810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        7.8428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3052        5.3349        .55656E-03   -1.5672    
   6  Prefactor     1.5426        3.0813        .85812E-03   -1.5683    
   7  Prefactor     2.5441        1.9785        .63995E-03   -1.5676    
   8  Prefactor     19.704        10.509        .22535E-03   -1.5619    
   9  Prefactor     3.4400        6.8810        .54507E-03   -1.5671    
  10  Prefactor     .32641E-07    32.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4046        18.712        .90653E-03   -1.5684    
  12  Prefactor      .0000        12.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .80684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.700        16.040        .23778E-03   -1.5624    
  15  Prefactor      .0000        1.5894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .12490E-07    24.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.3840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1742        .18637        .57179E-01   -.87403    
  19  Prefactor     1.0886        .17230        .57436E-01   -.89830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13457e-07
Minuit parameter uncertainties:
  1  0.00217821
  2  39.0161
  3  0.000877548
  4  2.87341e-05
  5  5.33486
  6  3.08129
  7  1.9785
  8  10.5086
  9  6.88097
  10  0.00207341
  11  10.2535
  12  2.31539e-05
  13  5.15379e-07
  14  16.0396
  15  1.29282e-06
  16  0.00110768
  17  2.28332e-06
  18  0.186471
  19  0.172388
Done.

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

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  1.970e+01  1.051e+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.089e+00  1.724e-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:  1.174e+00  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.90
Ra Dec: 162.467 14.483
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 1.17e-07 +/- 6.25e-08
Energy Flux (Fixed Index): 3.10e-05 +/- 1.65e-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) = 6453.27245683
delta logL = 3.8784592099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6453.21570664
delta logL = 3.93520940206

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0933       1.0000          .0000       .10000E+07
     2 'Index     '    4.7724       1.0000          .0000       10.000    
     3 'Normalizat'    .99995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2200       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=   6453.216     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      264 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0900        8.6001        .71317E-03    .49122E-02
   2  Index         4.7733        2.4547        .77418E-01    .16175E-03
   3  Normalizat    1.0001        .76005E-01    .46166E-01   -.37953E-04
   4  Prefactor     1.2198        .74098E-01    .54694E-01   -.90706E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09004
  Index      = 4.77333
  Normalizat = 1.0001
  Prefactor  = 1.21981
 **********
 **   18 **HESSE 
 **********

 FCN=   6453.216     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      295 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0900        11.727        .37672E-05   -1.5679    
   2  Index         4.7733        2.9151        .32989E-02   -.45349E-01
   3  Normalizat    1.0001        .21880        .27014E-03   -.93027    
   4  Prefactor     1.2198        .20744        .24183E-03   -.85724    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.34599e-10
Minuit parameter uncertainties:
  1  9.90136
  2  3.11272
  3  0.218992
  4  0.207576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/5136': 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): 102
logL (Free Index) = 6453.21570537
delta logL = 3.93521066787

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  2.090e+00  9.901e+00  0.000e+00  1.000e+06 ( 1.000e-12)
222        Index:  4.773e+00  3.113e+00  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.220e+00  2.076e-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:  1.000e+00  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.16
Ra Dec: 162.467 14.483
Photon Index (Free Index): 4.77 +/- 3.11
Photon Flux (Free Index): 2.43e-07 +/- 8.85e-08
Energy Flux (Free Index): 3.29e-05 +/- 1.72e-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/5136/cmap_HighResolution_692928001_693187201_4FGL_J1049.8+1429_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.17e-07', energy_flux2='3.29e-05', photon_flux_error='6.25e-08', dlogl='3.94e+00', energy_flux='3.10e-05', photon_flux2='2.43e-07', job_status='DONE', time_completed='2022-12-20 00:42:46.318387', photon_index_error2='3.11', photon_index2='4.77', ts='4.90', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='1.72e-05', EG='1.17', time_epoch_completed='1671525766.32', return_code='0', job_id='5136', GAL2='1.22', EG2='1.00', return_code2='102', energy_flux_error='1.65e-05', photon_flux_error2='8.85e-08', ts2='14.16', photon_index='2.59' WHERE bin_id='1750' AND source_name='4FGL J1049.8+1429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:42:46 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 5136: <4FGL_J1049.8+1429_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1049.8+1429_daily_bin1750> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Dec 20 00:30:20 2022
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:30:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:30:21 2022
Terminated at Tue Dec 20 00:42:47 2022
Results reported at Tue Dec 20 00:42:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1049.8+1429_daily_bin1750 162.467 14.4835 692928001 693187201 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 :                                   508.38 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             243.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            747 sec.

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

