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


Performing analysis on: 4FGL_J0751.0+7908_daily_bin734
RA = 117.768, Dec = 79.1394
tmin = 429580801, tmax = 429840001
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='953120', job_status='RUN', time_executed='2021-08-28 16:36:11.046894', time_epoch_executed='1630193771.05' WHERE source_name='4FGL J0751.0+7908' and cadence='daily' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/953120

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/953120/ft1_4FGL_J0751.0+7908_daily_bin734.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/953120/ft2_4FGL_J0751.0+7908_daily_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/953120/ft1_4FGL_J0751.0+7908_daily_bin734.fits outfile=/scratch/kocevski/953120/ft1_filteredMKT_4FGL_J0751.0+7908_daily_bin734.fits ra=117.768 dec=79.1394 rad=12.0 tmin=429580801.0 tmax=429840001.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 6.36
user 6.08
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/953120/ft2_4FGL_J0751.0+7908_daily_bin734.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/953120/ft1_filteredMKT_4FGL_J0751.0+7908_daily_bin734.fits evtable="EVENTS" outfile="/scratch/kocevski/953120/ft1_filtered_4FGL_J0751.0+7908_daily_bin734.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/953120/ft1_filtered_4FGL_J0751.0+7908_daily_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/953120/ft2_4FGL_J0751.0+7908_daily_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/953120/ltcube_429580801_429840001_4FGL_J0751.0+7908_daily_bin734.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/953120/ft2_4FGL_J0751.0+7908_daily_bin734.fits
.....................!
real 12.28
user 11.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/953120/ft1_filtered_4FGL_J0751.0+7908_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/953120/ft2_4FGL_J0751.0+7908_daily_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/953120/ltcube_429580801_429840001_4FGL_J0751.0+7908_daily_bin734.fits outfile=/scratch/kocevski/953120/expmap_429580801_429840001_4FGL_J0751.0+7908_daily_bin734.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/953120/ltcube_429580801_429840001_4FGL_J0751.0+7908_daily_bin734.fits
.....................!
real 190.73
user 185.15
sys 5.21

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/953120/ft1_filtered_4FGL_J0751.0+7908_daily_bin734.fits scfile=/scratch/kocevski/953120/ft2_4FGL_J0751.0+7908_daily_bin734.fits outfile=/scratch/kocevski/953120/cmap_429580801_429840001_4FGL_J0751.0+7908_daily_bin734.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/953120/ft1_filtered_4FGL_J0751.0+7908_daily_bin734.fits scfile=/scratch/kocevski/953120/ft2_4FGL_J0751.0+7908_daily_bin734.fits outfile=/scratch/kocevski/953120/cmap_HighResolution_429580801_429840001_4FGL_J0751.0+7908_daily_bin734.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.9473       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8271       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.4780       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15277       1.0000         .10000E-03   10000.    
     9 'norm      '    23.818       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.7362       1.0000         .10000E-03   10000.    
    12 'norm      '    4.5461       1.0000         .10000E-03   10000.    
    13 'Prefactor '    119.09       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10626E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    165.84       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    37.072       1.0000         .10000E-03   10000.    
    22 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .62781       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0787       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4052.254     FROM MIGRAD    STATUS=CONVERGED    947 CALLS     3586 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.798        .18142E-02** at limit **
   2  Prefactor     5.9541        18.792        .16466E-03   -.51334E-04
   3  Prefactor     .10000E-03    3.0945        .10932E-02** at limit **
   4  Prefactor     .10000E-03    23.013        .18142E-02** at limit **
   5  Prefactor     1.8460        85.940        .30881E-03   -.64240E-04
   6  norm          .10000E-03    16.378        .18142E-02** at limit **
   7  norm          6.4769        1.5320        .34751E-04   -.27317E-02
   8  Prefactor     .25934        81.770        .12734        .19940E-04
   9  norm          23.833        34.238        .82076E-04   -.12527E-03
  10  Prefactor     .10000E-03    23.607        .18142E-02** at limit **
  11  Prefactor     4.7351        5.0928        .14451E-03   -.19923E-03
  12  norm          4.5446        6.3773        .14432E-03   -.44138E-03
  13  Prefactor     119.12        96.672        .36874E-04   -.24791E-03
  14  Prefactor     .10000E-03    5.0125        .13912E-02** at limit **
  15  Prefactor     .10000E-03    29.857        .18142E-02** at limit **
  16  Prefactor     .10000E-03    8.2597        .17854E-02** at limit **
  17  Prefactor     .10000E-03    93.276        .18142E-02** at limit **
  18  Prefactor     165.82        155.16        .15661E-03    .98000E-06
  19  norm          .10000E-03    3.5371        .11653E-02** at limit **
  20  Prefactor     .10000E-03    10.879        .18142E-02** at limit **
  21  Prefactor     37.073        22.872        .65824E-04   -.77479E-04
  22  norm          .10000E-03    3.2643        .11204E-02** at limit **
  23  Normalizat    .62794        .33078        .40010E-03   -.38513E-03
  24  Prefactor     1.0786        .16260        .16829E-03   -.71870E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.95408
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.846
  norm       = 0.0001
  norm       = 6.47687
  Prefactor  = 0.259342
  norm       = 23.8333
  Prefactor  = 0.0001
  Prefactor  = 4.73508
  norm       = 4.54457
  Prefactor  = 119.121
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 165.823
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.073
  norm       = 0.0001
  Normalizat = 0.627937
  Prefactor  = 1.07859
 **********
 **   18 **HESSE 
 **********

 FCN=   4052.254     FROM HESSE     STATUS=OK           383 CALLS     3969 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.800        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9541        18.790        .65864E-05   -1.5220    
   3  Prefactor     .10000E-03    3.0946        .21865E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.017        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8460        85.863        .12353E-04   -1.5436    
   6  norm          .10000E-03    16.378        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.4769        1.5323        .69501E-05   -1.5199    
   8  Prefactor     .25934        83.001        .12626       -1.5606    
   9  norm          23.833        34.238        .16415E-04   -1.4731    
  10  Prefactor     .10000E-03    23.607        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.7351        5.0928        .57804E-05   -1.5273    
  12  norm          4.5446        6.3763        .57727E-05   -1.5282    
  13  Prefactor     119.12        96.665        .73748E-05   -1.3521    
  14  Prefactor     .10000E-03    5.0126        .27825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    29.863        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.2602        .35708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    93.286        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     165.82        155.15        .62644E-05   -1.3125    
  19  norm          .10000E-03    3.5374        .23306E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.880        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     37.073        22.871        .13165E-04   -1.4489    
  22  norm          .10000E-03    3.2644        .22409E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .62794        .33092        .16004E-04   -1.0681    
  24  Prefactor     1.0786        .16267        .33659E-04   -.90154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68899e-09
Minuit parameter uncertainties:
  1  9.97115e-05
  2  18.809
  3  6.48025e-06
  4  0.000109042
  5  25.2174
  6  4.67057e-05
  7  1.53234
  8  9.29036
  9  34.2659
  10  9.73048e-05
  11  5.09322
  12  6.37723
  13  96.7938
  14  7.07208e-06
  15  0.000309608
  16  1.42689e-06
  17  0.000504587
  18  155.538
  19  6.00746e-06
  20  1.95684e-05
  21  22.8768
  22  3.10572e-06
  23  0.331971
  24  0.162747
Done.

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

Extracting fit parameters...

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  2.383e+01  3.427e+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:  1.079e+00  1.627e-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:  6.279e-01  3.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/953120/likelihoodResults_429580801_429840001_4FGL_J0751.0+7908_daily_bin734.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) = 4052.20289579
delta logL = 0.0514224315457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4052.19725505
delta logL = 0.057063169535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.541       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3145       1.0000          .0000       5.0000    
     3 'Normalizat'    .62074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0804       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4052.197     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      269 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.566        33.120        .88375E-04    .91464E-04
   2  alpha         2.3162        1.0238        .17413E-01   -.54050E-05
   3  Normalizat    .62090        .28627        .40237E-03    .48400E-04
   4  Prefactor     1.0803        .15509        .16816E-03   -.19120E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 20.566
  alpha      = 2.31615
  Normalizat = 0.620899
  Prefactor  = 1.08032
 **********
 **   18 **HESSE 
 **********

 FCN=   4052.197     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.566        32.002        .17675E-04   -1.4801    
   2  alpha         2.3162        .99098        .69651E-03   -.73606E-01
   3  Normalizat    .62090        .28632        .16095E-04   -1.0710    
   4  Prefactor     1.0803        .15513        .33633E-04   -.90098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00855e-10
Minuit parameter uncertainties:
  1  32.0283
  2  1.01913
  3  0.28701
  4  0.155193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/953120': 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) = 4052.19725173
delta logL = 0.0570664917004

Extracting fit parameters...

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  2.057e+01  3.203e+01  1.000e-04  1.000e+04 ( 1.000e-13)
281        alpha:  2.316e+00  1.019e+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:  1.080e+00  1.552e-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:  6.209e-01  2.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.74
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/953120/cmap_HighResolution_429580801_429840001_4FGL_J0751.0+7908_daily_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-05', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2021-08-28 16:47:59.058073', job_id='953120', GAL2='1.08', fit_tolerance='1e-08', EG2='0.62', EG='0.63', time_epoch_completed='1630194479.06', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='5.71e-02', ts2='0.86', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='734' AND source_name='4FGL J0751.0+7908' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:47:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 953120: <4FGL_J0751.0+7908_daily_bin734> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0751.0+7908_daily_bin734 117.768 79.1394 429580801 429840001 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 :                                   704.56 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             293.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            742 sec.

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

