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


Performing analysis on: 4FGL_J0751.0+7908_daily_bin1710
RA = 117.768, Dec = 79.1394
tmin = 682560001, tmax = 682819201
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='59738', job_status='RUN', time_executed='2022-09-16 13:27:32.871127', time_epoch_executed='1663360052.87' WHERE source_name='4FGL J0751.0+7908' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59738

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59738/ft1_4FGL_J0751.0+7908_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59738/ft1_4FGL_J0751.0+7908_daily_bin1710.fits outfile=/scratch/kocevski/59738/ft1_filteredMKT_4FGL_J0751.0+7908_daily_bin1710.fits ra=117.768 dec=79.1394 rad=12.0 tmin=682560001.0 tmax=682819201.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.75
user 3.51
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.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/59738/ft1_filteredMKT_4FGL_J0751.0+7908_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/59738/ft1_filtered_4FGL_J0751.0+7908_daily_bin1710.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.54
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 1002

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59738/ft1_filtered_4FGL_J0751.0+7908_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/59738/ltcube_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.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/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.fits
.....................!
real 13.57
user 13.16
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59738/ft1_filtered_4FGL_J0751.0+7908_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/59738/ltcube_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.fits outfile=/scratch/kocevski/59738/expmap_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.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/59738/ltcube_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.fits
.....................!
real 192.17
user 186.90
sys 4.81

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

Setting source of interest to:
4FGL J0751.0+7908 @ 117.768 79.1394

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/59738/ft1_filtered_4FGL_J0751.0+7908_daily_bin1710.fits scfile=/scratch/kocevski/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.fits outfile=/scratch/kocevski/59738/cmap_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.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=117.768 yref=79.1394 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.58
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/59738/ft1_filtered_4FGL_J0751.0+7908_daily_bin1710.fits scfile=/scratch/kocevski/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.fits outfile=/scratch/kocevski/59738/cmap_HighResolution_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.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=117.768 yref=79.1394 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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/59738/ft1_filtered_4FGL_J0751.0+7908_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/59738/Model_4FGL_J0751.0+7908_daily_bin1710.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/59738/ft1_filtered_4FGL_J0751.0+7908_daily_bin1710.fits.....................!
real 127.36
user 125.73
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/59738/ft1_filtered_4FGL_J0751.0+7908_daily_bin1710.fits', '/scratch/kocevski/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.fits', expMap='/scratch/kocevski/59738/expmap_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.fits', expCube='/scratch/kocevski/59738/ltcube_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/59738/Model_4FGL_J0751.0+7908_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0751.0+7908'

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  6.160e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
281        alpha:  1.972e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  2.056e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  1.119e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/59738/ft1_filtered_4FGL_J0751.0+7908_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/59738/ft2_4FGL_J0751.0+7908_daily_bin1710.fits
Exposure map: /scratch/kocevski/59738/expmap_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.fits
Exposure cube: /scratch/kocevski/59738/ltcube_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/59738/Model_4FGL_J0751.0+7908_daily_bin1710.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) = 10521.5915884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27593E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.5892       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21920E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.669       1.0000          .0000       .10000E+07
     5 'norm      '    4.0193       1.0000          .0000       .10000E+07
     6 'norm      '    2.0614       1.0000          .0000       .10000E+07
     7 'norm      '    .17591E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.3068       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.1889       1.0000          .0000       .10000E+07
    10 'norm      '    4.2665       1.0000          .0000       .10000E+07
    11 'Prefactor '    41.389       1.0000          .0000       .10000E+07
    12 'Prefactor '    18.035       1.0000          .0000       .10000E+07
    13 'Prefactor '    .98188E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.8645       1.0000          .0000       .10000E+07
    15 'Prefactor '    .78062E-03   1.0000          .0000       .10000E+07
    16 'norm      '    3.9118       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10502E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    16.649       1.0000          .0000       .10000E+07
    19 'norm      '    .46629E-08   1.0000          .0000       .10000E+07
    20 'Normalizat'    .68120       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0923       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10521.57     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1274 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64393E-08    9.8961       -.77117E-07** at limit **
   2  Prefactor     2.5748        7.4499        .51791E-07    .53884E-02
   3  Prefactor     .13323E-08    5.6863       -.17049E-06** at limit **
   4  Prefactor     12.664        1.1984        .84926E-12    .87254E-02
   5  norm          4.0207        4.4700       -.13576E-07   -.57903E-01
   6  norm          2.0612        .62748       -.63900E-08   -.56240E-03
   7  norm          .43299E-08    4.3003       -.98624E-08** at limit **
   8  Prefactor     1.2844        105.07        .59144E-06    .15747E-01
   9  Prefactor     3.2055        3.5865        .47105E-07    .33381E-02
  10  norm          4.2160        2.3025       -.13161E-07   -.37217E-02
  11  Prefactor     42.277        10.157       -.57341E-07    .23347    
  12  Prefactor     18.052        3.3202        .69311E-08   -.65613E-01
  13  Prefactor     .16653E-09    2.0184       -.12694E-06** at limit **
  14  Prefactor     1.8678        7.0674        .24036E-06    .12689E-01
  15  Prefactor     .11657E-08    4.1963        .41946E-07** at limit **
  16  norm          3.9146        3.6737       -.29423E-07   -.24148E-02
  17  Prefactor     .31253E-06    20.417       -.10603E-06** at limit **
  18  Prefactor     16.597        8.3483       -.48132E-07    .10318E-01
  19  norm          .55511E-10    1.1752        .92812E-07** at limit **
  20  Normalizat    .68234        .16670        .33394E-05    .46410E-03
  21  Prefactor     1.0920        .92863E-01   -.21266E-06    .76688E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.43929e-09
  Prefactor  = 2.57483
  Prefactor  = 1.33227e-09
  Prefactor  = 12.6642
  norm       = 4.02069
  norm       = 2.06117
  norm       = 4.32987e-09
  Prefactor  = 1.28444
  Prefactor  = 3.2055
  norm       = 4.21598
  Prefactor  = 42.2774
  Prefactor  = 18.0517
  Prefactor  = 1.66533e-10
  Prefactor  = 1.86778
  Prefactor  = 1.16573e-09
  norm       = 3.91465
  Prefactor  = 3.12528e-07
  Prefactor  = 16.5972
  norm       = 5.55112e-11
  Normalizat = 0.682337
  Prefactor  = 1.09201
 **********
 **   18 **HESSE 
 **********

 FCN=   10521.57     FROM HESSE     STATUS=OK           363 CALLS     1637 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64393E-08    9.9285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.5748        7.6073        .63388E-03   -1.5676    
   3  Prefactor     .13323E-08    5.7294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.664        20.806        .28118E-03   -1.5637    
   5  norm          4.0207        7.7454        .50277E-03   -1.5668    
   6  norm          2.0612        .63015        .71944E-03   -1.5679    
   7  norm          .43299E-08    4.8716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.2844        127.16        .67531E-03   -1.5685    
   9  Prefactor     3.2055        3.6134        .56719E-03   -1.5672    
  10  norm          4.2160        2.5355        .48754E-03   -1.5667    
  11  Prefactor     42.277        24.010        .15545E-03   -1.5578    
  12  Prefactor     18.052        7.7583        .23557E-03   -1.5623    
  13  Prefactor     .16653E-09    2.0217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.8678        7.3474        .76270E-03   -1.5681    
  15  Prefactor     .11657E-08    4.5003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.9146        3.7646        .50986E-03   -1.5668    
  17  Prefactor     .31253E-06    20.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.597        9.7361        .24519E-03   -1.5626    
  19  norm          .55511E-10    1.1782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .68234        .15669        .79967E-01   -1.0459    
  21  Prefactor     1.0920        .85084E-01    .37885E-01   -.89722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0746e-06
Minuit parameter uncertainties:
  1  0.000506545
  2  7.60731
  3  0.000175375
  4  20.8062
  5  7.7454
  6  0.630151
  7  0.000289968
  8  25.5601
  9  3.61343
  10  2.53552
  11  24.0104
  12  7.75831
  13  3.80626e-05
  14  7.34741
  15  0.00014381
  16  3.76465
  17  0.0050821
  18  9.73606
  19  1.58459e-05
  20  0.156793
  21  0.0850941
Done.

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

Extracting fit parameters...

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  4.330e-09  2.900e-04  0.000e+00  1.000e+06 ( 1.000e-13)
281        alpha:  1.972e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  2.056e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  1.119e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
690    Prefactor:  1.092e+00  8.509e-02  0.000e+00  1.000e+01 ( 1.000e+00)
691        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
692        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
689   Normalization:  6.823e-01  1.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.768 79.139
Photon Flux Upper Limit: 1.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/59738/likelihoodResults_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.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) = 10521.5679528
delta logL = -3.25722958223e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10521.5679203
delta logL = -3.4897311707e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10521.47     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      309 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73240E-01    .17765        .42118E-03** at limit **
   2  alpha         5.0000        3.7359        .50000    ** at limit **
   3  Normalizat    .66211        .14606        .81166E-01    .33103E-04
   4  Prefactor     1.0989        .84193E-01    .37899E-01   -.41009E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0732404
  alpha      = 5
  Normalizat = 0.662105
  Prefactor  = 1.09892
 **********
 **   18 **HESSE 
 **********

 FCN=   10521.47     FROM HESSE     STATUS=OK            29 CALLS      338 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73240E-01    .17596        .62388E-05   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.6269        .14837E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .66211        .15858        .35942E-03   -1.0541    
   4  Prefactor     1.0989        .91722E-01    .16800E-03   -.89501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12863e-12
Minuit parameter uncertainties:
  1  0.175963
  2  8.82013e-06
  3  0.158688
  4  0.0917353
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59738': 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) = 10521.4695754
delta logL = 0.0983447976305

Extracting fit parameters...

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  7.324e-02  1.760e-01  0.000e+00  1.000e+06 ( 1.000e-13)
281        alpha:  5.000e+00  8.820e-06  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  2.056e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  1.119e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
690    Prefactor:  1.099e+00  9.174e-02  0.000e+00  1.000e+01 ( 1.000e+00)
691        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
692        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
689   Normalization:  6.621e-01  1.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.768 79.139

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/59738/cmap_HighResolution_682560001_682819201_4FGL_J0751.0+7908_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-05', job_status='DONE', photon_flux_upper_limit='1.95e-08', time_completed='2022-09-16 13:41:48.482962', job_id='59738', GAL2='1.10', fit_tolerance='1e-08', EG2='0.66', EG='0.68', time_epoch_completed='1663360908.48', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='9.83e-02', ts2='0.22', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1710' AND source_name='4FGL J0751.0+7908' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:41:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 59738: <4FGL_J0751.0+7908_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0751.0+7908_daily_bin1710> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 13:25:15 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:26:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:26:43 2022
Terminated at Fri Sep 16 13:41:49 2022
Results reported at Fri Sep 16 13:41:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0751.0+7908_daily_bin1710 117.768 79.1394 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0751.0+7908 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   856.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             357.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            994 sec.

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

