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


Performing analysis on: 4FGL_J0748.0-1638_daily_bin1438
RA = 117.006, Dec = -16.6437
tmin = 612057601, tmax = 612316801
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='892127', job_status='RUN', time_executed='2021-08-28 13:41:43.569887', time_epoch_executed='1630183303.57' WHERE source_name='4FGL J0748.0-1638' and cadence='daily' and bin_id='1438'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892127

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892127/ft1_4FGL_J0748.0-1638_daily_bin1438.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892127/ft1_4FGL_J0748.0-1638_daily_bin1438.fits outfile=/scratch/kocevski/892127/ft1_filteredMKT_4FGL_J0748.0-1638_daily_bin1438.fits ra=117.006 dec=-16.6437 rad=12.0 tmin=612057601.0 tmax=612316801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.82
user 4.30
sys 0.42

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.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/892127/ft1_filteredMKT_4FGL_J0748.0-1638_daily_bin1438.fits evtable="EVENTS" outfile="/scratch/kocevski/892127/ft1_filtered_4FGL_J0748.0-1638_daily_bin1438.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.69
user 0.34
sys 0.32

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892127/ft1_filtered_4FGL_J0748.0-1638_daily_bin1438.fits" evtable="EVENTS" scfile=/scratch/kocevski/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.fits sctable="SC_DATA" outfile=/scratch/kocevski/892127/ltcube_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.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/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.fits
.....................!
real 12.86
user 12.26
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892127/ft1_filtered_4FGL_J0748.0-1638_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.fits sctable="SC_DATA" expcube=/scratch/kocevski/892127/ltcube_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.fits outfile=/scratch/kocevski/892127/expmap_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.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/892127/ltcube_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.fits
.....................!
real 190.53
user 185.19
sys 4.71

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

Setting source of interest to:
4FGL J0748.0-1638 @ 117.006 -16.6437

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/892127/ft1_filtered_4FGL_J0748.0-1638_daily_bin1438.fits scfile=/scratch/kocevski/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.fits outfile=/scratch/kocevski/892127/cmap_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.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.006 yref=-16.6437 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.74
user 0.37
sys 0.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892127/ft1_filtered_4FGL_J0748.0-1638_daily_bin1438.fits scfile=/scratch/kocevski/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.fits outfile=/scratch/kocevski/892127/cmap_HighResolution_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.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.006 yref=-16.6437 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.72
user 0.38
sys 0.33

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892127/ft1_filtered_4FGL_J0748.0-1638_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892127/Model_4FGL_J0748.0-1638_daily_bin1438.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/892127/ft1_filtered_4FGL_J0748.0-1638_daily_bin1438.fits.....................!
real 165.98
user 164.23
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892127/ft1_filtered_4FGL_J0748.0-1638_daily_bin1438.fits', '/scratch/kocevski/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.fits', expMap='/scratch/kocevski/892127/expmap_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.fits', expCube='/scratch/kocevski/892127/ltcube_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892127/Model_4FGL_J0748.0-1638_daily_bin1438.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0748.0-1638'

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  3.899e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  2.538e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
251         beta:  1.518e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  6.314e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/892127/ft1_filtered_4FGL_J0748.0-1638_daily_bin1438.fits
Spacecraft file(s): /scratch/kocevski/892127/ft2_4FGL_J0748.0-1638_daily_bin1438.fits
Exposure map: /scratch/kocevski/892127/expmap_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.fits
Exposure cube: /scratch/kocevski/892127/ltcube_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892127/Model_4FGL_J0748.0-1638_daily_bin1438.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) = 11098.9715894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3736       1.0000         .10000E-03   10000.    
     4 'Prefactor '    49.942       1.0000         .10000E-03   10000.    
     5 'norm      '    .10459E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.0070       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2388       1.0000         .10000E-03   10000.    
     8 'norm      '    42.153       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9938       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7117       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .40692E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    21.924       1.0000         .10000E-03   10000.    
    15 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3060       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3368       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11098.93     FROM MIGRAD    STATUS=CONVERGED    378 CALLS     1777 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3208       -.86267E-07** at limit **
   2  Prefactor     .10000E-03    15.595       -.20046E-06** at limit **
   3  norm          3.3735        1.8258       -.75818E-07    .30941E-03
   4  Prefactor     49.942        25.177        .36850E-06   -.28785E-04
   5  norm          .10000E-03    48.482        .82162E-05** at limit **
   6  norm          7.0051        15.980        .85517E-07    .39436E-04
   7  norm          1.2380        2.9055       -.22932E-05    .52496E-03
   8  norm          42.156        72.000       -.61263E-06   -.58461E-05
   9  norm          .10000E-03    2.6986        .66504E-06** at limit **
  10  Prefactor     9.9989        14.321       -.18037E-05   -.47864E-03
  11  norm          1.7118        1.5786       -.69931E-06   -.69890E-03
  12  Prefactor     .10000E-03    74.789        .38835E-04** at limit **
  13  Prefactor     .10000E-03    2.3725        .20116E-06** at limit **
  14  norm          21.822        32.767        .63849E-05    .30932E-03
  15  norm          .10000E-03    33.128       -.35405E-06** at limit **
  16  norm          1.3090        3.3603       -.35660E-05    .68630E-03
  17  Normalizat    1.3370        .32244       -.86143E-06   -.20826E-03
  18  Prefactor     .92312        .51524E-01    .27206E-06   -.74356E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.37349
  Prefactor  = 49.9424
  norm       = 0.000100001
  norm       = 7.00506
  norm       = 1.23798
  norm       = 42.1561
  norm       = 0.0001
  Prefactor  = 9.9989
  norm       = 1.71177
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.8216
  norm       = 0.0001
  norm       = 1.30902
  Normalizat = 1.33698
  Prefactor  = 0.923121
 **********
 **   18 **HESSE 
 **********

 FCN=   11098.93     FROM HESSE     STATUS=OK           244 CALLS     2021 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3278        .11823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.3735        1.8214        .10041E-03   -1.5341    
   4  Prefactor     49.942        25.181        .56746E-04   -1.4293    
   5  norm          .10000E-03    49.656        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.0051        15.959        .15155E-03   -1.5179    
   7  norm          1.2380        2.8285        .26546E-03   -1.5485    
   8  norm          42.156        72.007        .61744E-04   -1.4408    
   9  norm          .10000E-03    2.7282        .16903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.9989        13.849        .12675E-03   -1.5075    
  11  norm          1.7118        1.5574        .11937E-03   -1.5446    
  12  Prefactor     .10000E-03    73.210        .61222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.3813        .15846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          21.822        33.177        .85544E-04   -1.4773    
  15  norm          .10000E-03    33.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3090        3.3034        .29882E-03   -1.5479    
  17  Normalizat    1.3370        .33544        .63843E-03   -.82469    
  18  Prefactor     .92312        .54093E-01    .13097E-03   -.95338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69306e-09
Minuit parameter uncertainties:
  1  1.07859e-07
  2  6.52963e-07
  3  1.82141
  4  25.1868
  5  0.000357166
  6  15.9686
  7  2.82879
  8  72.1557
  9  2.24e-05
  10  13.853
  11  1.55741
  12  3.56735e-05
  13  7.58996e-06
  14  33.2047
  15  3.05524e-05
  16  3.3039
  17  0.335989
  18  0.0540965
Done.

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

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  7.005e+00  1.597e+01  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  2.538e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
251         beta:  1.518e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  6.314e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.231e-01  5.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.337e+00  3.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 117.006 -16.644
Photon Flux Upper Limit: 2.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892127/likelihoodResults_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.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) = 11098.8756423
delta logL = 0.0564964542882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11098.8723106
delta logL = 0.0598281985804

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0736       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8326       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3505       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92197       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11098.87     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      216 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0736        16.550        .35276E-02    .87230E-03
   2  alpha         1.8324        1.1514        .43178       -.73607E-04
   3  Normalizat    1.3506        .28986        .14311        .30175E-04
   4  Prefactor     .92196        .50664E-01    .29653E-01   -.15970E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.07362
  alpha      = 1.83235
  Normalizat = 1.35055
  Prefactor  = 0.92196
 **********
 **   18 **HESSE 
 **********

 FCN=   11098.87     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0736        16.010        .14110E-03   -1.5140    
   2  alpha         1.8324        1.3770        .48154E-01   -.27034    
   3  Normalizat    1.3506        .30030        .63575E-03   -.82070    
   4  Prefactor     .92196        .52837E-01    .13104E-03   -.95378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15257e-09
Minuit parameter uncertainties:
  1  16.0189
  2  1.46573
  3  0.300695
  4  0.0528402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892127': 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) = 11098.8723106
delta logL = 0.0598282187657

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  8.074e+00  1.602e+01  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  1.832e+00  1.466e+00  0.000e+00  5.000e+00 ( 1.000e+00)
251         beta:  1.518e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  6.314e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.220e-01  5.284e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.351e+00  3.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
Ra Dec: 117.006 -16.644

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/892127/cmap_HighResolution_612057601_612316801_4FGL_J0748.0-1638_daily_bin1438.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-05', job_status='DONE', photon_flux_upper_limit='2.35e-07', time_completed='2021-08-28 13:55:11.993147', job_id='892127', GAL2='0.92', fit_tolerance='1e-08', EG2='1.35', EG='1.34', time_epoch_completed='1630184111.99', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='5.98e-02', ts2='0.35', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1438' AND source_name='4FGL J0748.0-1638' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 13:55:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 892127: <4FGL_J0748.0-1638_daily_bin1438> in cluster <slac> Done

Job <4FGL_J0748.0-1638_daily_bin1438> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 13:40:51 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 13:40:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 13:40:57 2021
Terminated at Sat Aug 28 13:55:12 2021
Results reported at Sat Aug 28 13:55:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.0-1638_daily_bin1438 117.006 -16.6437 612057601 612316801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0748.0-1638 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   798.50 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            861 sec.

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

