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


Performing analysis on: 4FGL_J0748.0-1638_daily_bin1387
RA = 117.006, Dec = -16.6437
tmin = 598838401, tmax = 599097601
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='892052', job_status='RUN', time_executed='2021-08-28 13:42:34.204334', time_epoch_executed='1630183354.2' WHERE source_name='4FGL J0748.0-1638' and cadence='daily' and bin_id='1387'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892052

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892052/ft1_4FGL_J0748.0-1638_daily_bin1387.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892052/ft2_4FGL_J0748.0-1638_daily_bin1387.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892052/ft1_4FGL_J0748.0-1638_daily_bin1387.fits outfile=/scratch/kocevski/892052/ft1_filteredMKT_4FGL_J0748.0-1638_daily_bin1387.fits ra=117.006 dec=-16.6437 rad=12.0 tmin=598838401.0 tmax=599097601.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.28
user 2.65
sys 1.57

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892052/ft2_4FGL_J0748.0-1638_daily_bin1387.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/892052/ft1_filteredMKT_4FGL_J0748.0-1638_daily_bin1387.fits evtable="EVENTS" outfile="/scratch/kocevski/892052/ft1_filtered_4FGL_J0748.0-1638_daily_bin1387.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 1.93
user 0.33
sys 1.54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892052/ft1_filtered_4FGL_J0748.0-1638_daily_bin1387.fits" evtable="EVENTS" scfile=/scratch/kocevski/892052/ft2_4FGL_J0748.0-1638_daily_bin1387.fits sctable="SC_DATA" outfile=/scratch/kocevski/892052/ltcube_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.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/892052/ft2_4FGL_J0748.0-1638_daily_bin1387.fits
.....................!
real 15.38
user 13.45
sys 1.87

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892052/ft1_filtered_4FGL_J0748.0-1638_daily_bin1387.fits evtable="EVENTS" scfile=/scratch/kocevski/892052/ft2_4FGL_J0748.0-1638_daily_bin1387.fits sctable="SC_DATA" expcube=/scratch/kocevski/892052/ltcube_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.fits outfile=/scratch/kocevski/892052/expmap_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.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/892052/ltcube_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.fits
.....................!
real 192.69
user 184.97
sys 7.17

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/892052/ft1_filtered_4FGL_J0748.0-1638_daily_bin1387.fits scfile=/scratch/kocevski/892052/ft2_4FGL_J0748.0-1638_daily_bin1387.fits outfile=/scratch/kocevski/892052/cmap_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.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 1.91
user 0.34
sys 1.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892052/ft1_filtered_4FGL_J0748.0-1638_daily_bin1387.fits scfile=/scratch/kocevski/892052/ft2_4FGL_J0748.0-1638_daily_bin1387.fits outfile=/scratch/kocevski/892052/cmap_HighResolution_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.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 1.93
user 0.38
sys 1.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892052/ft1_filtered_4FGL_J0748.0-1638_daily_bin1387.fits evtable="EVENTS" scfile=/scratch/kocevski/892052/ft2_4FGL_J0748.0-1638_daily_bin1387.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892052/Model_4FGL_J0748.0-1638_daily_bin1387.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/892052/ft1_filtered_4FGL_J0748.0-1638_daily_bin1387.fits.....................!
real 154.73
user 151.03
sys 3.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892052/ft1_filtered_4FGL_J0748.0-1638_daily_bin1387.fits', '/scratch/kocevski/892052/ft2_4FGL_J0748.0-1638_daily_bin1387.fits', expMap='/scratch/kocevski/892052/expmap_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.fits', expCube='/scratch/kocevski/892052/ltcube_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892052/Model_4FGL_J0748.0-1638_daily_bin1387.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/892052/ft1_filtered_4FGL_J0748.0-1638_daily_bin1387.fits
Spacecraft file(s): /scratch/kocevski/892052/ft2_4FGL_J0748.0-1638_daily_bin1387.fits
Exposure map: /scratch/kocevski/892052/expmap_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.fits
Exposure cube: /scratch/kocevski/892052/ltcube_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892052/Model_4FGL_J0748.0-1638_daily_bin1387.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) = 10469.3217711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.8039       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    52.312       1.0000         .10000E-03   10000.    
     6 'norm      '    8.4902       1.0000         .10000E-03   10000.    
     7 'norm      '    2.5767       1.0000         .10000E-03   10000.    
     8 'norm      '    7.9372       1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.7574       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8839       1.0000         .10000E-03   10000.    
    14 'norm      '    12.766       1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.0769       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0927       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0415       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=   10469.31     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1713 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.0407        .62603E-08** at limit **
   2  Prefactor     .10000E-03    19.942        .29612E-05** at limit **
   3  norm          6.8039        3.4904       -.71379E-08   -.53102E-04
   4  Prefactor     .10000E-03    22.990       -.75323E-05** at limit **
   5  norm          52.302        49.596       -.88579E-05   -.69712E-04
   6  norm          8.4765        18.547       -.51903E-05   -.56573E-04
   7  norm          2.5760        3.4348        .90729E-06   -.16319E-02
   8  norm          7.9343        43.264       -.57551E-05   -.14218E-04
   9  norm          .10000E-03    3.6656       -.74641E-08** at limit **
  10  Prefactor     .10000E-03    8.1962       -.86310E-07** at limit **
  11  norm          2.7575        2.2461       -.52108E-07   -.14450E-03
  12  Prefactor     .10000E-03    27.491        .58728E-05** at limit **
  13  Prefactor     3.8840        4.3897       -.21427E-06   -.13512E-04
  14  norm          12.762        36.680       -.59746E-05   -.20642E-04
  15  norm          .10000E-03    43.774       -.11467E-05** at limit **
  16  norm          9.0764        5.4249       -.25999E-06   -.31305E-04
  17  Normalizat    1.0928        .35996        .35514E-05   -.74421E-05
  18  Prefactor     1.0415        .58589E-01    .64418E-07   -.60402E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.80392
  Prefactor  = 0.0001
  norm       = 52.3021
  norm       = 8.47653
  norm       = 2.57603
  norm       = 7.93428
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.75753
  Prefactor  = 0.0001
  Prefactor  = 3.884
  norm       = 12.7624
  norm       = 0.0001
  norm       = 9.07644
  Normalizat = 1.09284
  Prefactor  = 1.04149
 **********
 **   18 **HESSE 
 **********

 FCN=   10469.31     FROM HESSE     STATUS=OK           246 CALLS     1959 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.0596        .14272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.8039        3.4886        .13136E-03   -1.5186    
   4  Prefactor     .10000E-03    23.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          52.302        49.617        .55452E-04   -1.4260    
   6  norm          8.4765        18.537        .13758E-03   -1.5126    
   7  norm          2.5760        8.1865        .12713E-02   -1.5387    
   8  norm          7.9343        43.333        .14232E-03   -1.5145    
   9  norm          .10000E-03    3.6693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.2239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.7575        2.2413        .13266E-03   -1.5376    
  12  Prefactor     .10000E-03    27.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.8840        4.3925        .20474E-03   -1.5314    
  14  norm          12.762        36.722        .11211E-03   -1.4993    
  15  norm          .10000E-03    44.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.0764        5.4250        .13303E-03   -1.5105    
  17  Normalizat    1.0928        .36938        .76230E-03   -.89982    
  18  Prefactor     1.0415        .60199E-01    .13344E-03   -.91359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.82811e-09
Minuit parameter uncertainties:
  1  2.59804e-06
  2  3.20649e-05
  3  3.48873
  4  0.00013162
  5  49.6561
  6  18.55
  7  8.19005
  8  37.1258
  9  1.45282e-06
  10  9.6653e-06
  11  2.24137
  12  8.87515e-06
  13  4.39282
  14  36.7873
  15  0.000102191
  16  5.42532
  17  0.370252
  18  0.0602027
Done.

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

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  8.477e+00  1.855e+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:  1.041e+00  6.020e-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.093e+00  3.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/892052/likelihoodResults_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.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) = 10469.0364274
delta logL = 0.276102877277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10469.0181714
delta logL = 0.294358900865

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10469.02     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      299 TOTAL
                     EDM=   .70E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6039        24.144        .21116E-03    .18198E-04
   2  alpha         4.0687        4.4171        .39191E-02    .13576E-05
   3  Normalizat    1.0246        .35536        .78375E-03    .27560E-05
   4  Prefactor     1.0457        .60063E-01    .13318E-03   -.42682E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.60385
  alpha      = 4.06874
  Normalizat = 1.02456
  Prefactor  = 1.04571
 **********
 **   18 **HESSE 
 **********

 FCN=   10469.02     FROM HESSE     STATUS=OK            23 CALLS      322 TOTAL
                     EDM=   .41E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6039        13.313        .84463E-05   -1.5328    
   2  alpha         4.0687        4.0058        .15676E-03    .67833    
   3  Normalizat    1.0246        .35521        .31350E-04   -.92212    
   4  Prefactor     1.0457        .59791E-01    .53272E-05   -.91221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08199e-13
Minuit parameter uncertainties:
  1  13.3244
  2  2.51803
  3  0.356034
  4  0.0597952
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892052': 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) = 10469.0181699
delta logL = 0.294360439868

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  3.604e+00  1.332e+01  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  4.069e+00  2.518e+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:  1.046e+00  5.980e-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.025e+00  3.560e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
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/892052/cmap_HighResolution_598838401_599097601_4FGL_J0748.0-1638_daily_bin1387.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.43e-05', job_status='DONE', photon_flux_upper_limit='2.64e-07', time_completed='2021-08-28 13:55:31.444923', job_id='892052', GAL2='1.05', fit_tolerance='1e-08', EG2='1.02', EG='1.09', time_epoch_completed='1630184131.44', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.94e-01', ts2='0.88', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1387' AND source_name='4FGL J0748.0-1638' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 13:55:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 892052: <4FGL_J0748.0-1638_daily_bin1387> in cluster <slac> Done

Job <4FGL_J0748.0-1638_daily_bin1387> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 13:40:45 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 13:40:47 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:47 2021
Terminated at Sat Aug 28 13:55:32 2021
Results reported at Sat Aug 28 13:55:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.0-1638_daily_bin1387 117.006 -16.6437 598838401 599097601 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 :                                   786.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            887 sec.

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

