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


Performing analysis on: 4FGL_J0751.0+7908_daily_bin681
RA = 117.768, Dec = 79.1394
tmin = 415843201, tmax = 416102401
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='953009', job_status='RUN', time_executed='2021-08-28 16:37:14.801971', time_epoch_executed='1630193834.8' WHERE source_name='4FGL J0751.0+7908' and cadence='daily' and bin_id='681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/953009

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/953009/ft1_4FGL_J0751.0+7908_daily_bin681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/953009/ft2_4FGL_J0751.0+7908_daily_bin681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/953009/ft1_4FGL_J0751.0+7908_daily_bin681.fits outfile=/scratch/kocevski/953009/ft1_filteredMKT_4FGL_J0751.0+7908_daily_bin681.fits ra=117.768 dec=79.1394 rad=12.0 tmin=415843201.0 tmax=416102401.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 11.41
user 5.67
sys 5.65

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/953009/ft2_4FGL_J0751.0+7908_daily_bin681.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/953009/ft1_filteredMKT_4FGL_J0751.0+7908_daily_bin681.fits evtable="EVENTS" outfile="/scratch/kocevski/953009/ft1_filtered_4FGL_J0751.0+7908_daily_bin681.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 6.05
user 0.33
sys 5.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/953009/ft1_filtered_4FGL_J0751.0+7908_daily_bin681.fits" evtable="EVENTS" scfile=/scratch/kocevski/953009/ft2_4FGL_J0751.0+7908_daily_bin681.fits sctable="SC_DATA" outfile=/scratch/kocevski/953009/ltcube_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.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/953009/ft2_4FGL_J0751.0+7908_daily_bin681.fits
.....................!
real 18.77
user 12.17
sys 6.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/953009/ft1_filtered_4FGL_J0751.0+7908_daily_bin681.fits evtable="EVENTS" scfile=/scratch/kocevski/953009/ft2_4FGL_J0751.0+7908_daily_bin681.fits sctable="SC_DATA" expcube=/scratch/kocevski/953009/ltcube_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.fits outfile=/scratch/kocevski/953009/expmap_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.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/953009/ltcube_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.fits
.....................!
real 200.09
user 187.15
sys 12.24

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/953009/ft1_filtered_4FGL_J0751.0+7908_daily_bin681.fits scfile=/scratch/kocevski/953009/ft2_4FGL_J0751.0+7908_daily_bin681.fits outfile=/scratch/kocevski/953009/cmap_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.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 5.38
user 0.38
sys 4.97

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/953009/ft1_filtered_4FGL_J0751.0+7908_daily_bin681.fits scfile=/scratch/kocevski/953009/ft2_4FGL_J0751.0+7908_daily_bin681.fits outfile=/scratch/kocevski/953009/cmap_HighResolution_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.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 6.00
user 0.38
sys 5.58

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/953009/ft1_filtered_4FGL_J0751.0+7908_daily_bin681.fits', '/scratch/kocevski/953009/ft2_4FGL_J0751.0+7908_daily_bin681.fits', expMap='/scratch/kocevski/953009/expmap_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.fits', expCube='/scratch/kocevski/953009/ltcube_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/953009/Model_4FGL_J0751.0+7908_daily_bin681.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/953009/ft1_filtered_4FGL_J0751.0+7908_daily_bin681.fits
Spacecraft file(s): /scratch/kocevski/953009/ft2_4FGL_J0751.0+7908_daily_bin681.fits
Exposure map: /scratch/kocevski/953009/expmap_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.fits
Exposure cube: /scratch/kocevski/953009/ltcube_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/953009/Model_4FGL_J0751.0+7908_daily_bin681.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) = 3835.94656425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.923       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    63.408       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.8496       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11449E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.0330       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.987       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11796E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.880       1.0000         .10000E-03   10000.    
    17 'Prefactor '    61.678       1.0000         .10000E-03   10000.    
    18 'Prefactor '    105.91       1.0000         .10000E-03   10000.    
    19 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .15804       1.0000         .10000E-03   10000.    
    22 'norm      '    .57868       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93666       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90115       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=   3835.904     FROM MIGRAD    STATUS=CONVERGED    577 CALLS     2789 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.085        .22379E-07** at limit **
   2  Prefactor     14.928        15.984        .63083E-06    .15127E-04
   3  Prefactor     .10000E-03    2.8358       -.24518E-07** at limit **
   4  Prefactor     .10000E-03    15.929        .12024E-05** at limit **
   5  Prefactor     63.468        42.301        .99392E-06    .18942E-04
   6  norm          .10000E-03    20.193       -.13677E-06** at limit **
   7  norm          1.8501        .86835        .59863E-07   -.10012E-03
   8  Prefactor     .10000E-03    36.624        .96637E-07** at limit **
   9  norm          .10000E-03    44.027       -.57471E-06** at limit **
  10  Prefactor     .10000E-03    700.43       -.25272E-04** at limit **
  11  Prefactor     .10000E-03    3.2995       -.22965E-06** at limit **
  12  norm          1.0338        3.4851        .14312E-05    .12163E-03
  13  Prefactor     .10000E-03    37.572       -.15428E-06** at limit **
  14  Prefactor     30.984        19.938        .34676E-06    .43851E-04
  15  Prefactor     .10000E-03    13.107        .46446E-06** at limit **
  16  Prefactor     16.789        26.620        .17030E-06    .22938E-04
  17  Prefactor     61.658        57.023        .31078E-06   -.16723E-04
  18  Prefactor     106.02        104.47        .10090E-05    .53766E-04
  19  norm          .10000E-03    5.4358        .81872E-06** at limit **
  20  Prefactor     .10000E-03    16.402        .14761E-05** at limit **
  21  Prefactor     .64873        27.665       -.23308E-05    .22572E-03
  22  norm          .54584        10.676        .32142E-05    .22952E-03
  23  Normalizat    .93537        .28647       -.98431E-05   -.28349E-04
  24  Prefactor     .90145        .13974        .23178E-05   -.44487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.9284
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 63.4679
  norm       = 0.0001
  norm       = 1.85008
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 1.03382
  Prefactor  = 0.0001
  Prefactor  = 30.9842
  Prefactor  = 0.0001
  Prefactor  = 16.7894
  Prefactor  = 61.6576
  Prefactor  = 106.024
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.648726
  norm       = 0.545839
  Normalizat = 0.935369
  Prefactor  = 0.901447
 **********
 **   18 **HESSE 
 **********

 FCN=   3835.904     FROM HESSE     STATUS=OK           393 CALLS     3182 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.928        16.008        .10368E-03   -1.4935    
   3  Prefactor     .10000E-03    2.8377        .10186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     63.468        42.477        .50395E-04   -1.4113    
   6  norm          .10000E-03    20.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8501        .87100        .38014E-04   -1.5436    
   8  Prefactor     .10000E-03    36.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    44.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    703.08        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.3040        .10980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0338        3.4786        .20058E-03   -1.5505    
  13  Prefactor     .10000E-03    37.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.984        19.955        .71978E-04   -1.4594    
  15  Prefactor     .10000E-03    13.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.789        26.698        .97483E-04   -1.4888    
  17  Prefactor     61.658        57.046        .51092E-04   -1.4136    
  18  Prefactor     106.02        104.81        .19538E-03   -1.3645    
  19  norm          .10000E-03    5.4854        .14117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    16.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .64873        191.31        .51387E-02   -1.5547    
  22  norm          .54584        10.770        .34337E-03   -1.5560    
  23  Normalizat    .93537        .30814        .31958E-03   -.95228    
  24  Prefactor     .90145        .15369        .17419E-03   -.96091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17843e-09
Minuit parameter uncertainties:
  1  8.34981e-05
  2  16.0128
  3  3.3734e-06
  4  7.82256e-05
  5  42.4972
  6  3.47116e-05
  7  0.871002
  8  9.85104e-05
  9  6.14548e-05
  10  0.00281971
  11  8.5838e-06
  12  3.47927
  13  4.21985e-06
  14  19.9592
  15  3.43689e-05
  16  26.7172
  17  57.0968
  18  104.998
  19  4.83141e-05
  20  0.00013101
  21  22.3511
  22  4.84969
  23  0.308727
  24  0.153768
Done.

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

Extracting fit parameters...

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  1.000e-04  6.145e-05  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.014e-01  1.538e-01  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:  9.354e-01  3.087e-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: 9.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/953009/likelihoodResults_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.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) = 3835.90445352
delta logL = -0.000108029224521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3835.90434552
delta logL = -2.79687810689e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9665       1.0000          .0000       5.0000    
     3 'Normalizat'    .93539       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90145       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=   3835.904     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      194 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    43.934        .90712E-02** at limit **
   2  alpha         1.9762        3.4113        .42403       -.10745E-05
   3  Normalizat    .93536        .24067        .72228E-01    .12927E-04
   4  Prefactor     .90145        .12994        .45024E-01    .32138E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.97622
  Normalizat = 0.935365
  Prefactor  = 0.90145
 **********
 **   18 **HESSE 
 **********

 FCN=   3835.904     FROM HESSE     STATUS=OK            33 CALLS      227 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    43.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9762        3.4084        .50000       -.21107    
   3  Normalizat    .93536        .27186        .31959E-03   -.95228    
   4  Prefactor     .90145        .14702        .17418E-03   -.96090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16607e-12
Minuit parameter uncertainties:
  1  1.8555e-06
  2  2.44596
  3  0.27226
  4  0.147088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/953009': 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) = 3835.90434549
delta logL = 1.90584614757e-09

Extracting fit parameters...

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  1.000e-04  1.856e-06  1.000e-04  1.000e+04 ( 1.000e-13)
281        alpha:  1.976e+00  2.446e+00  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.015e-01  1.471e-01  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:  9.354e-01  2.723e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/953009/cmap_HighResolution_415843201_416102401_4FGL_J0751.0+7908_daily_bin681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-05', job_status='DONE', photon_flux_upper_limit='9.15e-08', time_completed='2021-08-28 16:49:13.270387', job_id='953009', GAL2='0.90', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630194553.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.91e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='681' AND source_name='4FGL J0751.0+7908' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:49:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 953009: <4FGL_J0751.0+7908_daily_bin681> in cluster <slac> Done

Job <4FGL_J0751.0+7908_daily_bin681> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Aug 28 16:35:31 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:35:32 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:35:32 2021
Terminated at Sat Aug 28 16:49:14 2021
Results reported at Sat Aug 28 16:49:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0751.0+7908_daily_bin681 117.768 79.1394 415843201 416102401 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 :                                   797.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            823 sec.

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

