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


Performing analysis on: 4FGL_J1048.4+7143_daily_bin1746
RA = 162.107, Dec = 71.7297
tmin = 691891201, tmax = 692150401
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='721324', job_status='RUN', time_executed='2022-12-08 00:41:40.528863', time_epoch_executed='1670488900.53' WHERE source_name='4FGL J1048.4+7143' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/721324

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/721324/ft1_4FGL_J1048.4+7143_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/721324/ft1_4FGL_J1048.4+7143_daily_bin1746.fits outfile=/scratch/kocevski/721324/ft1_filteredMKT_4FGL_J1048.4+7143_daily_bin1746.fits ra=162.107 dec=71.7297 rad=12.0 tmin=691891201.0 tmax=692150401.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.74
user 4.51
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.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/721324/ft1_filteredMKT_4FGL_J1048.4+7143_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/721324/ft1_filtered_4FGL_J1048.4+7143_daily_bin1746.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.14

Number of photons that the gtmktime cut: 808

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/721324/ft1_filtered_4FGL_J1048.4+7143_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/721324/ltcube_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.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/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.fits
.....................!
real 11.82
user 11.45
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/721324/ft1_filtered_4FGL_J1048.4+7143_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/721324/ltcube_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.fits outfile=/scratch/kocevski/721324/expmap_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.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/721324/ltcube_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.fits
.....................!
real 190.34
user 185.08
sys 4.91

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

Setting source of interest to:
4FGL J1048.4+7143 @ 162.107 71.7297

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/721324/ft1_filtered_4FGL_J1048.4+7143_daily_bin1746.fits scfile=/scratch/kocevski/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.fits outfile=/scratch/kocevski/721324/cmap_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.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.107 yref=71.7297 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/721324/ft1_filtered_4FGL_J1048.4+7143_daily_bin1746.fits scfile=/scratch/kocevski/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.fits outfile=/scratch/kocevski/721324/cmap_HighResolution_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.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.107 yref=71.7297 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/721324/ft1_filtered_4FGL_J1048.4+7143_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/721324/Model_4FGL_J1048.4+7143_daily_bin1746.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/721324/ft1_filtered_4FGL_J1048.4+7143_daily_bin1746.fits.....................!
real 97.25
user 95.84
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/721324/ft1_filtered_4FGL_J1048.4+7143_daily_bin1746.fits', '/scratch/kocevski/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.fits', expMap='/scratch/kocevski/721324/expmap_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.fits', expCube='/scratch/kocevski/721324/ltcube_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/721324/Model_4FGL_J1048.4+7143_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1048.4+7143'

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  2.733e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/721324/ft1_filtered_4FGL_J1048.4+7143_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/721324/ft2_4FGL_J1048.4+7143_daily_bin1746.fits
Exposure map: /scratch/kocevski/721324/expmap_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.fits
Exposure cube: /scratch/kocevski/721324/ltcube_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/721324/Model_4FGL_J1048.4+7143_daily_bin1746.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8606.05031898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.855       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31891E-04   1.0000          .0000       .10000E+07
     3 'norm      '    2.5330       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51104E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.4892       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.8621       1.0000          .0000       .10000E+07
     7 'Prefactor '    .66397E-03   1.0000          .0000       .10000E+07
     8 'norm      '    5.0903       1.0000          .0000       .10000E+07
     9 'norm      '    1.3547       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88241E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    18.344       1.0000          .0000       .10000E+07
    12 'Prefactor '    .81202E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    34.682       1.0000          .0000       .10000E+07
    14 'norm      '    .11474E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .36060E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0241       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9802       1.0000          .0000       .10000E+07
    18 'norm      '    4.3011       1.0000          .0000       .10000E+07
    19 'norm      '    4.3089       1.0000          .0000       .10000E+07
    20 'Prefactor '    .50988E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    10.588       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.8318       1.0000          .0000       .10000E+07
    23 'norm      '    .24571E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    19.895       1.0000          .0000       .10000E+07
    25 'Prefactor '    19.057       1.0000          .0000       .10000E+07
    26 'Prefactor '    .27557E-05   1.0000          .0000       .10000E+07
    27 'norm      '    .95202E-06   1.0000          .0000       .10000E+07
    28 'norm      '    1.5035       1.0000          .0000       .10000E+07
    29 'Prefactor '    .69194E-01   1.0000          .0000       .10000E+07
    30 'Normalizat'    .89651       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .92041       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8602.214     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1736 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.918        17.737        .75861E-06   -.27290    
   2  Prefactor     .15210E-07    3.3062       -.42533E-06** at limit **
   3  norm          2.5349        2.0362       -.80587E-07   -.70774E-03
   4  Prefactor     .80985E-06    14.237       -.41675E-06** at limit **
   5  Prefactor     3.4529        1.4626        .97465E-08   -.12304E-03
   6  Prefactor     4.8270        7.3758        .75028E-06    .35398E-01
   7  Prefactor     .17875E-07    8.7987        .11695E-06** at limit **
   8  norm          5.0923        .98354        .78927E-07    .17130E-02
   9  norm          1.2614        1.8993        .49355E-07    .78962E-02
  10  Prefactor     .12768E-08    4.7667       -.12991E-06** at limit **
  11  Prefactor     18.440        7.9800        .55115E-06    .15008    
  12  Prefactor     .33806E-07    6.7232       -.35903E-06** at limit **
  13  Prefactor     34.164        3.1923        .13487E-06    .56887E-02
  14  norm           .0000        1.4576        .14615E-06** at limit **
  15  norm           .0000        2.3192        .20416E-06** at limit **
  16  Prefactor     .80884E-05    195.86       -.25745E-05** at limit **
  17  Prefactor     6.9720        6.9486        .40367E-06    .33785E-02
  18  norm          4.3004        1.3375       -.41541E-07    .44629E-03
  19  norm          4.3198        2.8513        .15368E-06    .20963E-02
  20  Prefactor     .65542E-06    20.123        .86460E-07** at limit **
  21  Prefactor     10.627        1.7860       -.13461E-06   -.20663E-01
  22  Prefactor     3.8309        2.9910       -.11051E-06    .62515E-03
  23  norm          .12318E-05    9.9576        .19943E-05** at limit **
  24  Prefactor     20.079        10.900        .40844E-07    .16913E-01
  25  Prefactor     19.037        4.1783        .34364E-06   -.20098E-01
  26  Prefactor     .16653E-09    3.3135        .14507E-07** at limit **
  27  norm          .49960E-09    3.9643        .10944E-06** at limit **
  28  norm          1.4880        2.8042       -.69689E-06   -.49448E-03
  29  Prefactor     .90372E-07    30.238       -.26490E-05** at limit **
  30  Normalizat    .89739        .16550       -.15661E-05   -.82416E-04
  31  Prefactor     .92019        .15235       -.67349E-05   -.58304E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.9179
  Prefactor  = 1.52101e-08
  norm       = 2.53487
  Prefactor  = 8.09852e-07
  Prefactor  = 3.45288
  Prefactor  = 4.82698
  Prefactor  = 1.78746e-08
  norm       = 5.09234
  norm       = 1.26145
  Prefactor  = 1.27676e-09
  Prefactor  = 18.4405
  Prefactor  = 3.38063e-08
  Prefactor  = 34.1636
  norm       = 0
  norm       = 0
  Prefactor  = 8.08842e-06
  Prefactor  = 6.97205
  norm       = 4.3004
  norm       = 4.31975
  Prefactor  = 6.5542e-07
  Prefactor  = 10.6272
  Prefactor  = 3.83093
  norm       = 1.23179e-06
  Prefactor  = 20.0792
  Prefactor  = 19.0369
  Prefactor  = 1.66533e-10
  norm       = 4.996e-10
  norm       = 1.48796
  Prefactor  = 9.03722e-08
  Normalizat = 0.897392
  Prefactor  = 0.920192
 **********
 **   18 **HESSE 
 **********

 FCN=   8602.214     FROM HESSE     STATUS=OK           688 CALLS     2424 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.918        48.449        .12140E-03   -1.5544    
   2  Prefactor     .15210E-07    1.9871        .68878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.5349        2.4558        .64148E-03   -1.5676    
   4  Prefactor     .80985E-06    15.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4529        35.611        .54106E-03   -1.5671    
   6  Prefactor     4.8270        7.4449        .45596E-03   -1.5664    
   7  Prefactor     .17875E-07    9.3515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.0923        .98497        .44541E-03   -1.5663    
   9  norm          1.2614        17.857        .93895E-03   -1.5686    
  10  Prefactor     .12768E-08    4.7868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.440        12.879        .23357E-03   -1.5622    
  12  Prefactor     .33806E-07    10.719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     34.164        19.312        .16983E-03   -1.5591    
  14  norm           .0000        1.4492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        2.3237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .80884E-05    198.56        .50246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9720        6.7824        .37948E-03   -1.5655    
  18  norm          4.3004        1.2979        .48552E-03   -1.5666    
  19  norm          4.3198        2.8352        .48507E-03   -1.5666    
  20  Prefactor     .65542E-06    20.404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.627        13.625        .30767E-03   -1.5643    
  22  Prefactor     3.8309        2.9966        .51534E-03   -1.5669    
  23  norm          .12318E-05    12.968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     20.079        11.215        .22427E-03   -1.5618    
  25  Prefactor     19.037        29.777        .22916E-03   -1.5621    
  26  Prefactor     .16653E-09    3.3266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .49960E-09    3.9061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          1.4880        2.8623        .87267E-03   -1.5684    
  29  Prefactor     .90372E-07    30.170        .14845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .89739        .15010        .44857E-01   -.96552    
  31  Prefactor     .92019        .13678        .45265E-01   -.95439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11171e-06
Minuit parameter uncertainties:
  1  48.4493
  2  0.000347588
  3  2.45583
  4  0.00713682
  5  22.1778
  6  7.44488
  7  0.00081812
  8  0.984971
  9  9.49221
  10  0.00015503
  11  12.8788
  12  0.00120347
  13  19.3124
  14  4.39219e-06
  15  1.29244e-05
  16  0.0801528
  17  6.7824
  18  1.29793
  19  2.83519
  20  0.00731402
  21  13.625
  22  2.99664
  23  0.00799345
  24  11.2152
  25  29.7775
  26  4.88184e-05
  27  9.06616e-05
  28  2.86228
  29  0.00330254
  30  0.15017
  31  0.136831
Done.

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

Extracting fit parameters...

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  4.300e+00  1.298e+00  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  9.202e-01  1.368e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  8.974e-01  1.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 37.42
Ra Dec: 162.107 71.730
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.20e-07 +/- 6.65e-08
Energy Flux (Fixed Index): 8.83e-05 +/- 2.66e-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) = 8600.29065146
delta logL = 1.92305116728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8600.28596953
delta logL = 1.92773308846

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8600.286     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      197 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2180        8.9288        .56448E-03    .19522E-02
   2  alpha         2.6404        1.8654        .12775        .80303E-04
   3  Normalizat    .84572        .10225        .44204E-01    .24038E-04
   4  Prefactor     .94954        .92152E-01    .45633E-01    .11443E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.21797
  alpha      = 2.64039
  Normalizat = 0.845721
  Prefactor  = 0.949544
 **********
 **   18 **HESSE 
 **********

 FCN=   8600.286     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2180        .98624        .32770E-05   -1.5672    
   2  alpha         2.6404        .23810        .55425E-03    .56186E-01
   3  Normalizat    .84572        .16258        .27737E-03   -.98395    
   4  Prefactor     .94954        .14994        .24439E-03   -.94431    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82653e-13
Minuit parameter uncertainties:
  1  0.986243
  2  0.23846
  3  0.162673
  4  0.150007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/721324': 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) = 8600.28596951
delta logL = 1.92773311707

Extracting fit parameters...

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  3.218e+00  9.862e-01  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.640e+00  2.385e-01  0.000e+00  5.000e+00 ( 1.000e+00)
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  9.495e-01  1.500e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  8.457e-01  1.627e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 42.85
Ra Dec: 162.107 71.730
Photon Index (Free Index): 2.64 +/- 0.24
Photon Flux (Free Index): 2.77e-07 +/- 6.15e-08
Energy Flux (Free Index): 7.17e-05 +/- 1.64e-05

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/721324/cmap_HighResolution_691891201_692150401_4FGL_J1048.4+7143_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.20e-07', energy_flux2='7.17e-05', photon_flux_error='6.65e-08', dlogl='1.93e+00', energy_flux='8.83e-05', photon_flux2='2.77e-07', job_status='DONE', time_completed='2022-12-08 00:55:16.729409', photon_index_error2='0.24', photon_index2='2.64', ts='37.42', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.64e-05', EG='0.90', time_epoch_completed='1670489716.73', return_code='0', job_id='721324', GAL2='0.95', EG2='0.85', return_code2='0', energy_flux_error='2.66e-05', photon_flux_error2='6.15e-08', ts2='42.85', photon_index='2.20' WHERE bin_id='1746' AND source_name='4FGL J1048.4+7143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:55:16 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 721324: <4FGL_J1048.4+7143_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1048.4+7143_daily_bin1746> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec  8 00:40:14 2022
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:40:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:40:15 2022
Terminated at Thu Dec  8 00:55:17 2022
Results reported at Thu Dec  8 00:55:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1048.4+7143_daily_bin1746 162.107 71.7297 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1048.4+7143 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   818.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            903 sec.

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

