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


Performing analysis on: 4FGL_J1049.8+1429_daily_bin1758
RA = 162.467, Dec = 14.4835
tmin = 695001601, tmax = 695260801
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='362381', job_status='RUN', time_executed='2023-01-13 00:36:28.873310', time_epoch_executed='1673598988.87' WHERE source_name='4FGL J1049.8+1429' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362381

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362381/ft1_4FGL_J1049.8+1429_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362381/ft2_4FGL_J1049.8+1429_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362381/ft1_4FGL_J1049.8+1429_daily_bin1758.fits outfile=/scratch/kocevski/362381/ft1_filteredMKT_4FGL_J1049.8+1429_daily_bin1758.fits ra=162.467 dec=14.4835 rad=12.0 tmin=695001601.0 tmax=695260801.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 2.76
user 2.54
sys 0.21

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

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

Number of photons that the gtmktime cut: 367

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362381/ft1_filtered_4FGL_J1049.8+1429_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/362381/ft2_4FGL_J1049.8+1429_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/362381/ltcube_695001601_695260801_4FGL_J1049.8+1429_daily_bin1758.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/362381/ft2_4FGL_J1049.8+1429_daily_bin1758.fits
.....................!
real 15.72
user 15.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362381/ft1_filtered_4FGL_J1049.8+1429_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/362381/ft2_4FGL_J1049.8+1429_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/362381/ltcube_695001601_695260801_4FGL_J1049.8+1429_daily_bin1758.fits outfile=/scratch/kocevski/362381/expmap_695001601_695260801_4FGL_J1049.8+1429_daily_bin1758.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/362381/ltcube_695001601_695260801_4FGL_J1049.8+1429_daily_bin1758.fits
.....................!
real 192.31
user 186.53
sys 5.25

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/362381/ft1_filtered_4FGL_J1049.8+1429_daily_bin1758.fits scfile=/scratch/kocevski/362381/ft2_4FGL_J1049.8+1429_daily_bin1758.fits outfile=/scratch/kocevski/362381/cmap_695001601_695260801_4FGL_J1049.8+1429_daily_bin1758.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362381/ft1_filtered_4FGL_J1049.8+1429_daily_bin1758.fits scfile=/scratch/kocevski/362381/ft2_4FGL_J1049.8+1429_daily_bin1758.fits outfile=/scratch/kocevski/362381/cmap_HighResolution_695001601_695260801_4FGL_J1049.8+1429_daily_bin1758.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.467       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31576E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .23336E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .37079E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.459       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2993       1.0000          .0000       .10000E+07
     7 'Prefactor '    .40079E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.758       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11915E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    16.176       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12595E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.977       1.0000          .0000       .10000E+07
    13 'norm      '    1.1392       1.0000          .0000       .10000E+07
    14 'Prefactor '    .75832E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.5760       1.0000          .0000       .10000E+07
    16 'norm      '    .30488E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    9.2301       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4830       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .78286       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=   4104.355     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1399 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.440        68.405       -.37650E-05   -.38006E-02
   2  Prefactor     .48267E-06    142.30        .32720E-05** at limit **
   3  Prefactor     .11102E-07    76.746       -.41765E-06** at limit **
   4  Prefactor     .33307E-09    24.626       -.10222E-05** at limit **
   5  Prefactor     14.492        12.035       -.17642E-06   -.11947E-01
   6  Prefactor     3.2938        3.1604        .33549E-06   -.16562E-03
   7  Prefactor      .0000        3.8333        .89778E-07** at limit **
   8  Prefactor     12.773        10.729       -.15284E-06   -.25214E-02
   9  Prefactor      .0000        2.7638        .44953E-06** at limit **
  10  Prefactor     16.181        12.508       -.19497E-06    .40541E-01
  11  Prefactor      .0000        6.1821        .95082E-06** at limit **
  12  Prefactor     10.965        8.0222       -.21904E-07   -.61144E-01
  13  norm          1.1447        1.6165       -.30634E-06    .49852E-04
  14  Prefactor      .0000        7.9109        .85842E-06** at limit **
  15  Prefactor     5.5553        6.9779       -.62888E-06    .13501E-02
  16  norm           .0000        4.6386        .74298E-07** at limit **
  17  Prefactor     9.2698        4.6187        .33606E-07   -.11566E-01
  18  Normalizat    1.4808        .29476        .19624E-04   -.45979E-05
  19  Prefactor     .78370        .25836       -.24812E-04   -.21403E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.4398
  Prefactor  = 4.82669e-07
  Prefactor  = 1.11022e-08
  Prefactor  = 3.33067e-10
  Prefactor  = 14.4923
  Prefactor  = 3.29376
  Prefactor  = 0
  Prefactor  = 12.7729
  Prefactor  = 0
  Prefactor  = 16.1807
  Prefactor  = 0
  Prefactor  = 10.9648
  norm       = 1.1447
  Prefactor  = 0
  Prefactor  = 5.55529
  norm       = 0
  Prefactor  = 9.26978
  Normalizat = 1.48077
  Prefactor  = 0.783701
 **********
 **   18 **HESSE 
 **********

 FCN=   4104.355     FROM HESSE     STATUS=OK           308 CALLS     1707 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.440        68.824        .26307E-03   -1.5622    
   2  Prefactor     .48267E-06    143.96        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-07    76.447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    24.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.492        12.918        .26314E-03   -1.5632    
   6  Prefactor     3.2938        3.1631        .55713E-03   -1.5672    
   7  Prefactor      .0000        3.7871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.773        10.767        .28018E-03   -1.5636    
   9  Prefactor      .0000        2.7629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.181        16.790        .24876E-03   -1.5628    
  11  Prefactor      .0000        6.1780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.965        21.447        .30214E-03   -1.5642    
  13  norm          1.1447        1.6544        .10895E-02   -1.5687    
  14  Prefactor      .0000        7.9105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.5553        7.0870        .42521E-03   -1.5661    
  16  norm           .0000        4.6320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.2698        13.108        .32964E-03   -1.5647    
  18  Normalizat    1.4808        .25028        .54450E-01   -.78320    
  19  Prefactor     .78370        .21745        .66313E-01   -1.0033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5366e-07
Minuit parameter uncertainties:
  1  68.8271
  2  0.0166717
  3  0.00184447
  4  0.000179322
  5  12.9184
  6  3.16309
  7  1.35714e-06
  8  10.7668
  9  1.21685e-06
  10  16.7901
  11  2.11088e-06
  12  21.4472
  13  1.65439
  14  2.92203e-05
  15  7.087
  16  7.10009e-07
  17  13.1078
  18  0.250492
  19  0.217687
Done.

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

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  1.277e+01  1.077e+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:  7.837e-01  2.177e-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.481e+00  2.505e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.82
Ra Dec: 162.467 14.483
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 7.60e-08 +/- 6.40e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 1.69e-05

TS (Fixed Index): 2.82
Ra Dec: 162.467 14.483
Photon Flux Upper Limit: 2.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.71e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/362381/likelihoodResults_695001601_695260801_4FGL_J1049.8+1429_daily_bin1758.txt

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): 102
logL (Free Index) = 4102.23533262
delta logL = 2.1197033337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4101.97562134
delta logL = 2.37941460618

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62413E-01   1.0000          .0000       .10000E+07
     2 'Index     '    7.0142       1.0000          .0000       10.000    
     3 'Normalizat'    1.2945       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92441       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=   4101.976     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      295 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61786E-01    .50125        .15076E-03** at limit **
   2  Index         7.0205        3.0956        .88489E-01    .82236E-04
   3  Normalizat    1.2942        .96892E-01    .57307E-01    .53814E-05
   4  Prefactor     .92460        .89911E-01    .45315E-01    .86438E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.061786
  Index      = 7.02053
  Normalizat = 1.29424
  Prefactor  = 0.924604
 **********
 **   18 **HESSE 
 **********

 FCN=   4101.976     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      328 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61786E-01    .72259        .72525E-06   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.0205        3.6431        .38069E-02    .41600    
   3  Normalizat    1.2942        .27154        .25342E-03   -.83738    
   4  Prefactor     .92460        .24601        .27289E-03   -.95287    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.72671e-11
Minuit parameter uncertainties:
  1  0.422592
  2  4.21482
  3  0.271839
  4  0.246312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362381': 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) = 4101.97561731
delta logL = 2.37941863824

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  6.179e-02  4.226e-01  0.000e+00  1.000e+06 ( 1.000e-12)
222        Index:  7.021e+00  4.215e+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:  9.246e-01  2.463e-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.294e+00  2.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.18
Ra Dec: 162.467 14.483
Photon Index (Free Index): 7.02 +/- 4.21
Photon Flux (Free Index): 2.34e-07 +/- 1.14e-07
Energy Flux (Free Index): 2.80e-05 +/- 1.51e-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/362381/cmap_HighResolution_695001601_695260801_4FGL_J1049.8+1429_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.71e-02', comment='SUCCESS', photon_flux='7.60e-08', energy_flux2='2.80e-05', photon_flux_error='6.40e-08', dlogl='2.38e+00', energy_flux='2.01e-05', photon_flux2='2.34e-07', job_status='DONE', time_completed='2023-01-13 00:44:20.970524', photon_index_error2='4.21', photon_index2='7.02', ts='2.82', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='2.18e-07', energy_flux_error2='1.51e-05', EG='1.48', time_epoch_completed='1673599460.97', return_code='0', job_id='362381', GAL2='0.92', EG2='1.29', return_code2='102', energy_flux_error='1.69e-05', photon_flux_error2='1.14e-07', ts2='8.18', photon_index='2.59' WHERE bin_id='1758' AND source_name='4FGL J1049.8+1429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:44:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 362381: <4FGL_J1049.8+1429_daily_bin1758> in cluster <slac> Done

Job <4FGL_J1049.8+1429_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 00:30:31 2023
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:32:56 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:32:56 2023
Terminated at Fri Jan 13 00:44:21 2023
Results reported at Fri Jan 13 00:44:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1049.8+1429_daily_bin1758 162.467 14.4835 695001601 695260801 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 :                                   474.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             239.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            830 sec.

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

