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 154 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_J0850.1-1212_daily_bin1747
RA = 132.541, Dec = -12.2121
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='794263', job_status='RUN', time_executed='2022-12-11 00:33:06.554196', time_epoch_executed='1670747586.55' WHERE source_name='4FGL J0850.1-1212' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794263

Creating custom pfile directory:
/scratch/kocevski/794263/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/794263/ft1_4FGL_J0850.1-1212_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/794263/ft2_4FGL_J0850.1-1212_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794263/ft1_4FGL_J0850.1-1212_daily_bin1747.fits outfile=/scratch/kocevski/794263/ft1_filteredMKT_4FGL_J0850.1-1212_daily_bin1747.fits ra=132.541 dec=-12.2121 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 4.00
user 3.78
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/794263/ft2_4FGL_J0850.1-1212_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794263/ft2_4FGL_J0850.1-1212_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/794263/ft1_filteredMKT_4FGL_J0850.1-1212_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/794263/ft1_filtered_4FGL_J0850.1-1212_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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 875

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794263/ft1_filtered_4FGL_J0850.1-1212_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/794263/ft2_4FGL_J0850.1-1212_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/794263/ltcube_692150401_692409601_4FGL_J0850.1-1212_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/794263/ft2_4FGL_J0850.1-1212_daily_bin1747.fits
.....................!
real 11.77
user 11.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794263/ft1_filtered_4FGL_J0850.1-1212_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/794263/ft2_4FGL_J0850.1-1212_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/794263/ltcube_692150401_692409601_4FGL_J0850.1-1212_daily_bin1747.fits outfile=/scratch/kocevski/794263/expmap_692150401_692409601_4FGL_J0850.1-1212_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/794263/ltcube_692150401_692409601_4FGL_J0850.1-1212_daily_bin1747.fits
.....................!
real 192.15
user 187.37
sys 4.36

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

Setting source of interest to:
4FGL J0850.1-1212 @ 132.541 -12.2121

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/794263/ft1_filtered_4FGL_J0850.1-1212_daily_bin1747.fits scfile=/scratch/kocevski/794263/ft2_4FGL_J0850.1-1212_daily_bin1747.fits outfile=/scratch/kocevski/794263/cmap_692150401_692409601_4FGL_J0850.1-1212_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=132.541 yref=-12.2121 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794263/ft1_filtered_4FGL_J0850.1-1212_daily_bin1747.fits scfile=/scratch/kocevski/794263/ft2_4FGL_J0850.1-1212_daily_bin1747.fits outfile=/scratch/kocevski/794263/cmap_HighResolution_692150401_692409601_4FGL_J0850.1-1212_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=132.541 yref=-12.2121 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794263/ft1_filtered_4FGL_J0850.1-1212_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/794263/ft2_4FGL_J0850.1-1212_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794263/Model_4FGL_J0850.1-1212_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/794263/ft1_filtered_4FGL_J0850.1-1212_daily_bin1747.fits.....................!
real 103.92
user 102.28
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794263/ft1_filtered_4FGL_J0850.1-1212_daily_bin1747.fits', '/scratch/kocevski/794263/ft2_4FGL_J0850.1-1212_daily_bin1747.fits', expMap='/scratch/kocevski/794263/expmap_692150401_692409601_4FGL_J0850.1-1212_daily_bin1747.fits', expCube='/scratch/kocevski/794263/ltcube_692150401_692409601_4FGL_J0850.1-1212_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794263/Model_4FGL_J0850.1-1212_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0850.1-1212'

4FGL J0850.1-1212
   Spectrum: LogParabola
300         norm:  8.549e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
301        alpha:  2.202e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
302         beta:  8.771e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
303           Eb:  6.211e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/794263/ft1_filtered_4FGL_J0850.1-1212_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/794263/ft2_4FGL_J0850.1-1212_daily_bin1747.fits
Exposure map: /scratch/kocevski/794263/expmap_692150401_692409601_4FGL_J0850.1-1212_daily_bin1747.fits
Exposure cube: /scratch/kocevski/794263/ltcube_692150401_692409601_4FGL_J0850.1-1212_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794263/Model_4FGL_J0850.1-1212_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) = 9313.71133402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9260       1.0000          .0000       .10000E+07
     2 'norm      '    7.6090       1.0000          .0000       .10000E+07
     3 'Prefactor '    .52743E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24698E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.5440       1.0000          .0000       .10000E+07
     6 'norm      '    6.4039       1.0000          .0000       .10000E+07
     7 'norm      '    .21440E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11289E-02   1.0000          .0000       .10000E+07
     9 'norm      '    5.4773       1.0000          .0000       .10000E+07
    10 'norm      '    4.8635       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4391       1.0000          .0000       .10000E+07
    12 'Prefactor '    19.664       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10381E-07   1.0000          .0000       .10000E+07
    14 'norm      '    2.3789       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15894E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .50133E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25369E-07   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.3597       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71698       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9313.689     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1103 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9020        5.2870        .75233E-08   -.36405E-03
   2  norm          7.6093        1.5804        .59603E-07   -.28896E-02
   3  Prefactor      .0000        2.0831       -.28578E-06** at limit **
   4  Prefactor      .0000        1.7109        .22381E-06** at limit **
   5  norm          2.2982        1.8841        .55462E-11   -.99120E-02
   6  norm          6.3984        3.0350       -.52015E-08   -.21960E-03
   7  norm          .67168E-08    4.2111       -.10504E-06** at limit **
   8  Prefactor     .81046E-08    6.8912       -.44002E-06** at limit **
   9  norm          5.4810        7.1894       -.13714E-06    .38238E-02
  10  norm          4.8622        2.5066        .10986E-07    .96225E-03
  11  Prefactor     2.4374        3.2768        .46931E-07   -.27146E-03
  12  Prefactor     19.649        2.3661       -.19949E-07   -.73392E-01
  13  Prefactor     .20373E-07    3.8472       -.87503E-07** at limit **
  14  norm          2.3782        5.7369        .30768E-06   -.94373E-03
  15  Prefactor     .16653E-09    53.014       -.28278E-07** at limit **
  16  Prefactor     .24980E-08    3.2318       -.42630E-06** at limit **
  17  Prefactor     .61062E-08    3.3658       -.43730E-06** at limit **
  18  Normalizat    1.3598        .18285        .55925E-05   -.55794E-04
  19  Prefactor     .71707        .10170       -.26095E-05   -.67100E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.902
  norm       = 7.60933
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.29825
  norm       = 6.39844
  norm       = 6.71685e-09
  Prefactor  = 8.10463e-09
  norm       = 5.48104
  norm       = 4.86222
  Prefactor  = 2.43742
  Prefactor  = 19.6493
  Prefactor  = 2.03726e-08
  norm       = 2.3782
  Prefactor  = 1.66533e-10
  Prefactor  = 2.498e-09
  Prefactor  = 6.10623e-09
  Normalizat = 1.35978
  Prefactor  = 0.717067
 **********
 **   18 **HESSE 
 **********

 FCN=   9313.689     FROM HESSE     STATUS=OK           306 CALLS     1409 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9020        5.3096        .41227E-03   -1.5659    
   2  norm          7.6093        1.5871        .36331E-03   -1.5653    
   3  Prefactor      .0000        2.0922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.7167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.2982        20.820        .63998E-03   -1.5678    
   6  norm          6.3984        3.0357        .39638E-03   -1.5657    
   7  norm          .67168E-08    6.8181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .81046E-08    7.7957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.4810        7.3015        .42909E-03   -1.5661    
  10  norm          4.8622        2.5269        .45589E-03   -1.5664    
  11  Prefactor     2.4374        3.2930        .65485E-03   -1.5677    
  12  Prefactor     19.649        10.837        .22559E-03   -1.5619    
  13  Prefactor     .20373E-07    7.1918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.3782        5.7527        .66392E-03   -1.5677    
  15  Prefactor     .16653E-09    52.013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .24980E-08    6.9783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .61062E-08    7.0072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3598        .16052        .60785E-01   -.81799    
  19  Prefactor     .71707        .89102E-01    .42627E-01   -1.0286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45288e-07
Minuit parameter uncertainties:
  1  5.30964
  2  1.58711
  3  1.47545e-05
  4  1.86983e-06
  5  13.8347
  6  3.03571
  7  0.000427119
  8  0.000501917
  9  7.30148
  10  2.52685
  11  3.29305
  12  10.8369
  13  0.000765282
  14  5.75269
  15  0.000197772
  16  0.00026378
  17  0.00041313
  18  0.16058
  19  0.0891199
Done.

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

Extracting fit parameters...

4FGL J0850.1-1212
   Spectrum: LogParabola
300         norm:  5.481e+00  7.301e+00  0.000e+00  1.000e+06 ( 1.000e-12)
301        alpha:  2.202e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
302         beta:  8.771e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
303           Eb:  6.211e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  7.171e-01  8.912e-02  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.360e+00  1.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.71
Ra Dec: 132.541 -12.212
Photon Flux Upper Limit: 8.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794263/likelihoodResults_692150401_692409601_4FGL_J0850.1-1212_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) = 9313.35914949
delta logL = 0.329968751872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9313.35667237
delta logL = 0.332445873661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4098       1.0000          .0000       .10000E+07
     2 'alpha     '    2.9371       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3387       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72340       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9313.357     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      239 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4111        113.26        .47933E-03    .63630E-02
   2  alpha         2.9370        3.6356        .41976        .59343E-04
   3  Normalizat    1.3387        .58369E-01    .61162E-01    .68119E-05
   4  Prefactor     .72340        .31542E-01    .42712E-01    .16112E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.41108
  alpha      = 2.93701
  Normalizat = 1.33873
  Prefactor  = 0.723403
 **********
 **   18 **HESSE 
 **********

 FCN=   9313.357     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4111        6.6365        .18598E-04   -1.5666    
   2  alpha         2.9370        1.0417        .21767E-01    .17570    
   3  Normalizat    1.3387        .18259        .27050E-03   -.82417    
   4  Prefactor     .72340        .10100        .19892E-03   -1.0262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07759e-08
Minuit parameter uncertainties:
  1  6.63649
  2  1.07559
  3  0.182675
  4  0.101025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794263': 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) = 9313.35667235
delta logL = 0.332445897453

Extracting fit parameters...

4FGL J0850.1-1212
   Spectrum: LogParabola
300         norm:  4.411e+00  6.636e+00  0.000e+00  1.000e+06 ( 1.000e-12)
301        alpha:  2.937e+00  1.076e+00  0.000e+00  5.000e+00 ( 1.000e+00)
302         beta:  8.771e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
303           Eb:  6.211e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  7.234e-01  1.010e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.339e+00  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 132.541 -12.212
Photon Index (Free Index): 2.94 +/- 1.08
Photon Flux (Free Index): 4.11e-08 +/- 4.07e-08
Energy Flux (Free Index): 8.77e-06 +/- 8.95e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/794263/cmap_HighResolution_692150401_692409601_4FGL_J0850.1-1212_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-05', comment='SUCCESS', energy_flux2='8.77e-06', dlogl='3.32e-01', photon_flux2='4.11e-08', job_status='DONE', time_completed='2022-12-11 00:43:21.888048', photon_index_error2='1.08', photon_index2='2.94', ts='0.71', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='8.59e-08', energy_flux_error2='8.95e-06', EG='1.36', time_epoch_completed='1670748201.89', return_code='0', job_id='794263', GAL2='0.72', EG2='1.34', return_code2='0', photon_flux_error2='4.07e-08', ts2='1.40', photon_index='2.20' WHERE bin_id='1747' AND source_name='4FGL J0850.1-1212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:43:21 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 794263: <4FGL_J0850.1-1212_daily_bin1747> in cluster <slac> Done

Job <4FGL_J0850.1-1212_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:30:22 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:30:23 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:30:23 2022
Terminated at Sun Dec 11 00:43:22 2022
Results reported at Sun Dec 11 00:43:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0850.1-1212_daily_bin1747 132.541 -12.2121 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0850.1-1212 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   617.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            780 sec.

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

