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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin1747
RA = 147.316, Dec = 17.83
tmin = 692150401, tmax = 692409601
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='795456', job_status='RUN', time_executed='2022-12-11 00:37:04.976637', time_epoch_executed='1670747824.98' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795456

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795456/ft1_4FGL_J0949.2+1749_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795456/ft1_4FGL_J0949.2+1749_daily_bin1747.fits outfile=/scratch/kocevski/795456/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1747.fits ra=147.316 dec=17.83 rad=12.0 tmin=692150401.0 tmax=692409601.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.99
user 3.75
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.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/795456/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/795456/ft1_filtered_4FGL_J0949.2+1749_daily_bin1747.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 575

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795456/ft1_filtered_4FGL_J0949.2+1749_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/795456/ltcube_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.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/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.fits
.....................!
real 12.00
user 11.61
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795456/ft1_filtered_4FGL_J0949.2+1749_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/795456/ltcube_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.fits outfile=/scratch/kocevski/795456/expmap_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.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/795456/ltcube_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.fits
.....................!
real 191.30
user 185.84
sys 5.12

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

Setting source of interest to:
4FGL J0949.2+1749 @ 147.316 17.83

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/795456/ft1_filtered_4FGL_J0949.2+1749_daily_bin1747.fits scfile=/scratch/kocevski/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.fits outfile=/scratch/kocevski/795456/cmap_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.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=147.316 yref=17.83 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/795456/ft1_filtered_4FGL_J0949.2+1749_daily_bin1747.fits scfile=/scratch/kocevski/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.fits outfile=/scratch/kocevski/795456/cmap_HighResolution_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.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=147.316 yref=17.83 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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/795456/ft1_filtered_4FGL_J0949.2+1749_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795456/Model_4FGL_J0949.2+1749_daily_bin1747.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/795456/ft1_filtered_4FGL_J0949.2+1749_daily_bin1747.fits.....................!
real 77.15
user 58.58
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/795456/ft1_filtered_4FGL_J0949.2+1749_daily_bin1747.fits', '/scratch/kocevski/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.fits', expMap='/scratch/kocevski/795456/expmap_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.fits', expCube='/scratch/kocevski/795456/ltcube_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/795456/Model_4FGL_J0949.2+1749_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.2+1749'

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.911e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/795456/ft1_filtered_4FGL_J0949.2+1749_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/795456/ft2_4FGL_J0949.2+1749_daily_bin1747.fits
Exposure map: /scratch/kocevski/795456/expmap_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.fits
Exposure cube: /scratch/kocevski/795456/ltcube_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/795456/Model_4FGL_J0949.2+1749_daily_bin1747.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) = 6528.03230675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72395       1.0000          .0000       .10000E+07
     2 'norm      '    2.2287       1.0000          .0000       .10000E+07
     3 'norm      '    .14738E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .29027E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.9681       1.0000          .0000       .10000E+07
     6 'norm      '    .38268E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .65424E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .31714E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .47062       1.0000          .0000       .10000E+07
    10 'norm      '    11.408       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43121E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.6532       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.2750       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .84011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6527.985     FROM MIGRAD    STATUS=CONVERGED    137 CALLS      824 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68239        .86141        .47496E-06   -.92313E-02
   2  norm          2.2313        4.1743        .26520E-06    .56458E-03
   3  norm           .0000        9.4897       -.42133E-06** at limit **
   4  Prefactor     .55511E-09    4.6786       -.60996E-06** at limit **
   5  Prefactor     3.9743        1.7134       -.35607E-06    .15367E-01
   6  norm          .33106E-01    6.2437       -.31513E-05** at limit **
   7  Prefactor      .0000        14.529        .16897E-05** at limit **
   8  Prefactor     .11102E-09    3.3127       -.25704E-06** at limit **
   9  Prefactor     .46305        2.2434       -.44963E-06   -.79306E-03
  10  norm          11.454        7.1936       -.28277E-06    .28663E-02
  11  Prefactor     .38858E-08    35.472       -.23223E-05** at limit **
  12  Prefactor     5.7301        11.702        .28761E-05    .32725E-02
  13  Normalizat    1.2747        .19947        .60276E-05    .23688E-04
  14  Prefactor     .84037        .17714        .58919E-06    .47796E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.682391
  norm       = 2.23125
  norm       = 0
  Prefactor  = 5.55112e-10
  Prefactor  = 3.97432
  norm       = 0.0331065
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 0.463047
  norm       = 11.4544
  Prefactor  = 3.88578e-09
  Prefactor  = 5.7301
  Normalizat = 1.27469
  Prefactor  = 0.840365
 **********
 **   18 **HESSE 
 **********

 FCN=   6527.985     FROM HESSE     STATUS=OK           198 CALLS     1022 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68239        16.105        .58785E-03   -1.5691    
   2  norm          2.2313        4.1785        .68839E-03   -1.5678    
   3  norm           .0000        9.5096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-09    4.6909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9743        40.438        .50611E-03   -1.5668    
   6  norm          .33106E-01    .54184        .32378E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        14.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    3.3408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .46305        2.2518        .81721E-03   -1.5694    
  10  norm          11.454        7.1898        .29636E-03   -1.5640    
  11  Prefactor     .38858E-08    35.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.7301        11.751        .42225E-03   -1.5660    
  13  Normalizat    1.2747        .17053        .50588E-01   -.84325    
  14  Prefactor     .84037        .14988        .44237E-01   -.98257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5464e-08
Minuit parameter uncertainties:
  1  6.63023
  2  4.17854
  3  1.1518e-05
  4  0.000100341
  5  25.3548
  6  0.267868
  7  3.35889e-05
  8  3.82949e-05
  9  2.04223
  10  7.18976
  11  0.000740989
  12  11.7509
  13  0.17061
  14  0.149952
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  0.000e+00  3.359e-05  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  8.404e-01  1.500e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.275e+00  1.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 6.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/795456/likelihoodResults_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.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): 0
logL (Free Index) = 6528.01778988
delta logL = -0.0329837409172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6527.73455417
delta logL = 0.250251969784

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15839       1.0000          .0000       .10000E+07
     2 'Index     '    .23984E-01   1.0000          .0000       10.000    
     3 'Normalizat'    1.2642       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6527.735     FROM MIGRAD    STATUS=FAILED        73 CALLS      270 TOTAL
                     EDM=   .13E-02    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15498        34.232         .0000    ** at limit **
   2  Index         .17913E-01    9.4857         .0000        .49901E-02
   3  Normalizat    1.2646        .71582E-01     .0000        .11736E-03
   4  Prefactor     .84751        .63160E-01     .0000        .33525E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6527.735     FROM SIMPLEX   STATUS=UNCHANGED     91 CALLS      361 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15498        34.232        .98798E-05** at limit **
   2  Index         .17913E-01    9.4857        .16826E-01    .49901E-02
   3  Normalizat    1.2646        .71582E-01    .65314E-04    .11736E-03
   4  Prefactor     .84751        .63160E-01    .52171E-04    .33525E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6527.735     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      412 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15499        .28057       -.87535E-09** at limit **
   2  Index         .17915E-01    .16247E-01   -.69607E-05   -.11516E-05
   3  Normalizat    1.2646        .19439       -.36982E-07    .12042E-03
   4  Prefactor     .84751        .17709        .31430E-07    .24820E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.154986
  Index      = 0.0179154
  Normalizat = 1.26462
  Prefactor  = 0.84751
 **********
 **   18 **HESSE 
 **********

 FCN=   6527.735     FROM HESSE     STATUS=OK            31 CALLS      443 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15499        .28125        .14668E-04   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .17915E-01    1.5490        .50000       -1.4861    
   3  Normalizat    1.2646        .19513        .44872E-04   -.84629    
   4  Prefactor     .84751        .17757        .97231E-05   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62875e-05
Minuit parameter uncertainties:
  1  0.281253
  2  0.342781
  3  0.195247
  4  0.177692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795456': 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) = 6527.73454354
delta logL = 0.250262599784

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.550e-01  2.813e-01  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  1.792e-02  3.428e-01  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  8.475e-01  1.777e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.265e+00  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 147.316 17.830

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/795456/cmap_HighResolution_692150401_692409601_4FGL_J0949.2+1749_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-03', job_status='DONE', photon_flux_upper_limit='6.34e-08', time_completed='2022-12-11 00:45:15.998987', job_id='795456', GAL2='0.85', fit_tolerance='1e-08', EG2='1.26', EG='1.27', time_epoch_completed='1670748316.0', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='2.50e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1747' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:45:16 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 795456: <4FGL_J0949.2+1749_daily_bin1747> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin1747> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Dec 11 00:35:14 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:35:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:35:16 2022
Terminated at Sun Dec 11 00:45:16 2022
Results reported at Sun Dec 11 00:45:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin1747 147.316 17.83 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0949.2+1749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   476.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            602 sec.

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

