/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 2 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0751.0+7908_daily_bin1068
RA = 117.768, Dec = 79.1394
tmin = 516153601, tmax = 516412801
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='954668', job_status='RUN', time_executed='2021-08-28 16:40:45.139267', time_epoch_executed='1630194045.14' WHERE source_name='4FGL J0751.0+7908' and cadence='daily' and bin_id='1068'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/954668

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/954668/ft1_4FGL_J0751.0+7908_daily_bin1068.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/954668/ft2_4FGL_J0751.0+7908_daily_bin1068.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/954668/ft1_4FGL_J0751.0+7908_daily_bin1068.fits outfile=/scratch/kocevski/954668/ft1_filteredMKT_4FGL_J0751.0+7908_daily_bin1068.fits ra=117.768 dec=79.1394 rad=12.0 tmin=516153601.0 tmax=516412801.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.84
user 3.30
sys 0.52

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/954668/ft2_4FGL_J0751.0+7908_daily_bin1068.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/954668/ft1_filteredMKT_4FGL_J0751.0+7908_daily_bin1068.fits evtable="EVENTS" outfile="/scratch/kocevski/954668/ft1_filtered_4FGL_J0751.0+7908_daily_bin1068.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.79
user 0.32
sys 0.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/954668/ft1_filtered_4FGL_J0751.0+7908_daily_bin1068.fits" evtable="EVENTS" scfile=/scratch/kocevski/954668/ft2_4FGL_J0751.0+7908_daily_bin1068.fits sctable="SC_DATA" outfile=/scratch/kocevski/954668/ltcube_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.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/954668/ft2_4FGL_J0751.0+7908_daily_bin1068.fits
.....................!
real 12.12
user 11.41
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/954668/ft1_filtered_4FGL_J0751.0+7908_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/954668/ft2_4FGL_J0751.0+7908_daily_bin1068.fits sctable="SC_DATA" expcube=/scratch/kocevski/954668/ltcube_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.fits outfile=/scratch/kocevski/954668/expmap_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.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/954668/ltcube_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.fits
.....................!
real 190.55
user 184.76
sys 5.38

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/954668/ft1_filtered_4FGL_J0751.0+7908_daily_bin1068.fits scfile=/scratch/kocevski/954668/ft2_4FGL_J0751.0+7908_daily_bin1068.fits outfile=/scratch/kocevski/954668/cmap_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.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 1.11
user 0.37
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/954668/ft1_filtered_4FGL_J0751.0+7908_daily_bin1068.fits scfile=/scratch/kocevski/954668/ft2_4FGL_J0751.0+7908_daily_bin1068.fits outfile=/scratch/kocevski/954668/cmap_HighResolution_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.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.87
user 0.38
sys 0.45

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/954668/ft1_filtered_4FGL_J0751.0+7908_daily_bin1068.fits', '/scratch/kocevski/954668/ft2_4FGL_J0751.0+7908_daily_bin1068.fits', expMap='/scratch/kocevski/954668/expmap_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.fits', expCube='/scratch/kocevski/954668/ltcube_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/954668/Model_4FGL_J0751.0+7908_daily_bin1068.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  1.000e-04  1.000e+04 ( 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  0.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/954668/ft1_filtered_4FGL_J0751.0+7908_daily_bin1068.fits
Spacecraft file(s): /scratch/kocevski/954668/ft2_4FGL_J0751.0+7908_daily_bin1068.fits
Exposure map: /scratch/kocevski/954668/expmap_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.fits
Exposure cube: /scratch/kocevski/954668/ltcube_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/954668/Model_4FGL_J0751.0+7908_daily_bin1068.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) = 9927.77434578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.7157       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.392       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.929       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.1666       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7334       1.0000         .10000E-03   10000.    
     9 'norm      '    16.007       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.6691       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.2324       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1677       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19361E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.252       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    58.808       1.0000         .10000E-03   10000.    
    19 'norm      '    .12890E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .51959E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10723E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .11007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0014       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98823       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9927.692     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2784 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    49.456        .20504E-05** at limit **
   2  Prefactor     8.7192        10.017        .13548E-06   -.56087E-04
   3  Prefactor     .10000E-03    1.6553       -.47171E-07** at limit **
   4  Prefactor     36.397        32.039       -.35794E-06   -.55238E-04
   5  Prefactor     11.943        31.431        .14964E-05    .58268E-04
   6  norm          .10000E-03    4.2803        .75501E-08** at limit **
   7  norm          4.1666        .90131       -.34601E-07   -.22000E-03
   8  Prefactor     2.7740        59.199        .12710E-04    .21421E-03
   9  norm          16.005        13.601        .33880E-07   -.39824E-05
  10  Prefactor     .10000E-03    33.229       -.20138E-05** at limit **
  11  Prefactor     .10000E-03    3.1570        .11275E-06** at limit **
  12  norm          1.6705        1.8635        .12991E-06   -.19251E-03
  13  Prefactor     9.2362        25.779        .78794E-06   -.20781E-05
  14  Prefactor     5.1669        8.0246        .42098E-05   -.79729E-03
  15  Prefactor     .10000E-03    22.676        .90113E-06** at limit **
  16  Prefactor     11.259        9.2210        .12682E-06   -.10382E-03
  17  Prefactor     .10000E-03    38.019        .19471E-06** at limit **
  18  Prefactor     58.810        46.770        .10199E-05    .24380E-04
  19  norm          .10000E-03    3.1364        .18624E-07** at limit **
  20  Prefactor     .10000E-03    6.4455        .29275E-06** at limit **
  21  Prefactor     .10000E-03    17.904       -.36903E-06** at limit **
  22  norm          .10000E-03    1.2109       -.12912E-07** at limit **
  23  Normalizat    1.0012        .16557       -.22122E-05   -.15699E-03
  24  Prefactor     .98839        .87008E-01    .46673E-06   -.49033E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 8.71915
  Prefactor  = 0.0001
  Prefactor  = 36.397
  Prefactor  = 11.9426
  norm       = 0.0001
  norm       = 4.1666
  Prefactor  = 2.77396
  norm       = 16.0046
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 1.67054
  Prefactor  = 9.2362
  Prefactor  = 5.16691
  Prefactor  = 0.0001
  Prefactor  = 11.2586
  Prefactor  = 0.0001
  Prefactor  = 58.8099
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.0012
  Prefactor  = 0.988388
 **********
 **   18 **HESSE 
 **********

 FCN=   9927.692     FROM HESSE     STATUS=OK           403 CALLS     3187 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.7192        10.021        .13577E-03   -1.5117    
   3  Prefactor     .10000E-03    1.6581        .12518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.397        31.856        .66434E-04   -1.4501    
   5  Prefactor     11.943        31.173        .11599E-03   -1.5017    
   6  norm          .10000E-03    4.2841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.1666        .90216        .41106E-04   -1.5300    
   8  Prefactor     2.7740        67.982        .24628E-03   -1.5375    
   9  norm          16.005        13.602        .10011E-03   -1.4908    
  10  Prefactor     .10000E-03    33.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.2534        .34559E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6705        1.8264        .12739E-03   -1.5449    
  13  Prefactor     9.2362        25.506        .13190E-03   -1.5100    
  14  Prefactor     5.1669        8.4085        .88422E-03   -1.5253    
  15  Prefactor     .10000E-03    23.301        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.259        9.0615        .11943E-03   -1.5037    
  17  Prefactor     .10000E-03    38.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     58.810        46.500        .52316E-04   -1.4173    
  19  norm          .10000E-03    6.1153        .30351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    59.512        .42768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    18.371        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.6651        .21322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0012        .18092        .31483E-03   -.92990    
  24  Prefactor     .98839        .97744E-01    .18024E-03   -.93118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28109e-09
Minuit parameter uncertainties:
  1  0.000658632
  2  10.0225
  3  1.28682e-06
  4  31.8713
  5  31.2157
  6  7.45815e-07
  7  0.902165
  8  27.4994
  9  13.6045
  10  0.000578442
  11  9.02864e-06
  12  1.82643
  13  25.5362
  14  8.41041
  15  0.000147326
  16  9.06262
  17  3.1383e-06
  18  46.5289
  19  3.70983e-05
  20  0.000673134
  21  7.31113e-06
  22  2.12772e-05
  23  0.181028
  24  0.0977611
Done.

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

Extracting fit parameters...

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  1.600e+01  1.360e+01  1.000e-04  1.000e+04 ( 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  0.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:  9.884e-01  9.776e-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:  1.001e+00  1.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.10
Ra Dec: 117.768 79.139
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.13e-08 +/- 9.63e-09
Energy Flux (Fixed Index): 7.38e-06 +/- 6.28e-06

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) = 9926.43788006
delta logL = 1.25428459836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9926.39971748
delta logL = 1.29244717503

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.970       1.0000         .10000E-03   10000.    
     2 'alpha     '    .77479       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0086       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98630       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=   9926.400     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      212 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.006        10.192        .28946E-02   -.63312E-04
   2  alpha         .77687        .53001        .50000       -.28161E-04
   3  Normalizat    1.0087        .14805        .70915E-01   -.56617E-05
   4  Prefactor     .98629        .84713E-01    .46096E-01   -.19826E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.0059
  alpha      = 0.776866
  Normalizat = 1.00871
  Prefactor  = 0.986293
 **********
 **   18 **HESSE 
 **********

 FCN=   9926.400     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.006        12.835        .11578E-03   -1.5015    
   2  alpha         .77687        .62765        .28344E-01   -.76046    
   3  Normalizat    1.0087        .16543        .31373E-03   -.92739    
   4  Prefactor     .98629        .94792E-01    .18038E-03   -.93188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40521e-09
Minuit parameter uncertainties:
  1  12.8377
  2  0.64094
  3  0.165514
  4  0.0948082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/954668': 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) = 9926.39971153
delta logL = 1.29245313222

Extracting fit parameters...

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  1.201e+01  1.284e+01  1.000e-04  1.000e+04 ( 1.000e-13)
281        alpha:  7.769e-01  6.409e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  2.056e-01  0.000e+00  0.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:  9.863e-01  9.481e-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:  1.009e+00  1.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.68
Ra Dec: 117.768 79.139
Photon Index (Free Index): 0.78 +/- 0.64
Photon Flux (Free Index): 5.39e-09 +/- 4.72e-09
Energy Flux (Free Index): 3.02e-05 +/- 3.80e-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/954668/cmap_HighResolution_516153601_516412801_4FGL_J0751.0+7908_daily_bin1068.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-08', energy_flux2='3.02e-05', photon_flux_error='9.63e-09', dlogl='1.29e+00', energy_flux='7.38e-06', photon_flux2='5.39e-09', job_status='DONE', time_completed='2021-08-28 16:56:55.279679', photon_index_error2='0.64', photon_index2='0.78', ts='7.10', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.80e-05', EG='1.00', time_epoch_completed='1630195015.28', return_code='0', job_id='954668', GAL2='0.99', EG2='1.01', return_code2='0', energy_flux_error='6.28e-06', photon_flux_error2='4.72e-09', ts2='9.68', photon_index='1.97' WHERE bin_id='1068' AND source_name='4FGL J0751.0+7908' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:56:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 954668: <4FGL_J0751.0+7908_daily_bin1068> in cluster <slac> Done

Job <4FGL_J0751.0+7908_daily_bin1068> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 28 16:40:27 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:40:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 16:40:28 2021
Terminated at Sat Aug 28 16:56:55 2021
Results reported at Sat Aug 28 16:56:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0751.0+7908_daily_bin1068 117.768 79.1394 516153601 516412801 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 :                                   968.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             375.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            988 sec.

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

