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


Performing analysis on: 4FGL_J0748.0-1638_daily_bin1019
RA = 117.006, Dec = -16.6437
tmin = 503452801, tmax = 503712001
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='890371', job_status='RUN', time_executed='2021-08-28 13:36:55.442780', time_epoch_executed='1630183015.44' WHERE source_name='4FGL J0748.0-1638' and cadence='daily' and bin_id='1019'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/890371

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/890371/ft1_4FGL_J0748.0-1638_daily_bin1019.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/890371/ft2_4FGL_J0748.0-1638_daily_bin1019.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/890371/ft1_4FGL_J0748.0-1638_daily_bin1019.fits outfile=/scratch/kocevski/890371/ft1_filteredMKT_4FGL_J0748.0-1638_daily_bin1019.fits ra=117.006 dec=-16.6437 rad=12.0 tmin=503452801.0 tmax=503712001.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 8.86
user 7.43
sys 1.39

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/890371/ft1_filtered_4FGL_J0748.0-1638_daily_bin1019.fits" evtable="EVENTS" scfile=/scratch/kocevski/890371/ft2_4FGL_J0748.0-1638_daily_bin1019.fits sctable="SC_DATA" outfile=/scratch/kocevski/890371/ltcube_503452801_503712001_4FGL_J0748.0-1638_daily_bin1019.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/890371/ft2_4FGL_J0748.0-1638_daily_bin1019.fits
.....................!
real 13.35
user 11.73
sys 1.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/890371/ft1_filtered_4FGL_J0748.0-1638_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/890371/ft2_4FGL_J0748.0-1638_daily_bin1019.fits sctable="SC_DATA" expcube=/scratch/kocevski/890371/ltcube_503452801_503712001_4FGL_J0748.0-1638_daily_bin1019.fits outfile=/scratch/kocevski/890371/expmap_503452801_503712001_4FGL_J0748.0-1638_daily_bin1019.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/890371/ltcube_503452801_503712001_4FGL_J0748.0-1638_daily_bin1019.fits
.....................!
real 191.99
user 185.82
sys 5.78

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/890371/ft1_filtered_4FGL_J0748.0-1638_daily_bin1019.fits scfile=/scratch/kocevski/890371/ft2_4FGL_J0748.0-1638_daily_bin1019.fits outfile=/scratch/kocevski/890371/cmap_503452801_503712001_4FGL_J0748.0-1638_daily_bin1019.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.63
user 0.39
sys 1.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/890371/ft1_filtered_4FGL_J0748.0-1638_daily_bin1019.fits scfile=/scratch/kocevski/890371/ft2_4FGL_J0748.0-1638_daily_bin1019.fits outfile=/scratch/kocevski/890371/cmap_HighResolution_503452801_503712001_4FGL_J0748.0-1638_daily_bin1019.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.66
user 0.38
sys 1.21

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/890371/ft1_filtered_4FGL_J0748.0-1638_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/890371/ft2_4FGL_J0748.0-1638_daily_bin1019.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/890371/Model_4FGL_J0748.0-1638_daily_bin1019.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/890371/ft1_filtered_4FGL_J0748.0-1638_daily_bin1019.fits.....................!
real 121.43
user 118.42
sys 2.70

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1171       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9338       1.0000         .10000E-03   10000.    
     3 'norm      '    4.1350       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    59.601       1.0000         .10000E-03   10000.    
     7 'norm      '    .11920E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.0880       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.8987       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.193       1.0000         .10000E-03   10000.    
    14 'norm      '    6.8585       1.0000         .10000E-03   10000.    
    15 'norm      '    45.247       1.0000         .10000E-03   10000.    
    16 'norm      '    3.0911       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .36688       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0390       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=   8201.682     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1798 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1173        5.3542        .15596E-06   -.76111E-04
   2  Prefactor     9.9332        20.430        .34702E-07   -.94341E-06
   3  norm          4.1361        2.6670        .22227E-06   -.11440E-03
   4  Prefactor     .10000E-03    8.9648        .55551E-07** at limit **
   5  norm          .10000E-03    9.6558        .62343E-07** at limit **
   6  norm          59.614        25.800        .53509E-06    .56655E-04
   7  norm          .10002E-03    3.9417        .82256E-07** at limit **
   8  norm          .10000E-03    114.98       -.10446E-06** at limit **
   9  norm          3.0909        4.1042        .32790E-06   -.13277E-03
  10  Prefactor     .10000E-03    15.140        .26621E-06** at limit **
  11  norm          .10000E-03    .74839        .54480E-07** at limit **
  12  Prefactor     8.9142        19.648        .90169E-06   -.37693E-04
  13  Prefactor     14.197        8.5528        .26825E-06    .22444E-04
  14  norm          6.8123        59.840        .59054E-06   -.37928E-04
  15  norm          45.242        42.722       -.19936E-06   -.36422E-04
  16  norm          3.0949        6.4116        .67780E-06   -.84421E-04
  17  Normalizat    .36639        .34368       -.11211E-04   -.42563E-05
  18  Prefactor     1.0391        .64469E-01    .97878E-06    .76548E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.11733
  Prefactor  = 9.93324
  norm       = 4.13608
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 59.6139
  norm       = 0.000100021
  norm       = 0.0001
  norm       = 3.09093
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.91425
  Prefactor  = 14.1972
  norm       = 6.8123
  norm       = 45.242
  norm       = 3.0949
  Normalizat = 0.366392
  Prefactor  = 1.03908
 **********
 **   18 **HESSE 
 **********

 FCN=   8201.682     FROM HESSE     STATUS=OK           260 CALLS     2058 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1173        5.3517        .17773E-03   -1.5255    
   2  Prefactor     9.9332        20.444        .12714E-03   -1.5078    
   3  norm          4.1361        2.6728        .11176E-03   -1.5301    
   4  Prefactor     .10000E-03    8.9747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    9.6649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          59.614        25.867        .51969E-04   -1.4162    
   7  norm          .10002E-03    4.0496        .57363E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    115.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.0909        4.0380        .20136E-03   -1.5356    
  10  Prefactor     .10000E-03    15.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.3551        .14895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.9142        19.453        .13436E-03   -1.5111    
  13  Prefactor     14.197        8.5457        .10632E-03   -1.4954    
  14  norm          6.8123        59.220        .15320E-03   -1.5186    
  15  norm          45.242        42.551        .59605E-04   -1.4362    
  16  norm          3.0949        6.3952        .23067E-03   -1.5356    
  17  Normalizat    .36639        .34721        .10714E-02   -1.1908    
  18  Prefactor     1.0391        .64768E-01    .12835E-03   -.91438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42798e-10
Minuit parameter uncertainties:
  1  5.35218
  2  20.4587
  3  2.67287
  4  2.36045e-06
  5  2.01687e-06
  6  25.872
  7  0.000587354
  8  0.000266651
  9  4.03835
  10  2.66828e-05
  11  1.28246e-05
  12  19.4668
  13  8.54644
  14  40.2241
  15  42.5797
  16  6.39657
  17  0.349274
  18  0.0647725
Done.

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

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  5.961e+01  2.587e+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.039e+00  6.477e-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:  3.664e-01  3.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.05
Ra Dec: 117.006 -16.644
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 3.19e-07 +/- 1.38e-07
Energy Flux (Fixed Index): 8.98e-05 +/- 3.90e-05

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) = 8201.68211129
delta logL = 0.000131698130645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8201.68204579
delta logL = 0.000197193969143

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    59.894       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5246       1.0000          .0000       5.0000    
     3 'Normalizat'    .36833       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0391       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=   8201.682     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      237 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          59.945        383.77        .12961E-02   -.36139E-05
   2  alpha         2.5259        3.7300        .36041        .44195E-04
   3  Normalizat    .36795        .29200        .24255        .82327E-04
   4  Prefactor     1.0390        .36389E-01    .29043E-01   -.49294E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 59.9455
  alpha      = 2.52594
  Normalizat = 0.367953
  Prefactor  = 1.03896
 **********
 **   18 **HESSE 
 **********

 FCN=   8201.682     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          59.945        31.479        .51843E-04   -1.4158    
   2  alpha         2.5259        .57918        .12874E-01    .10375E-01
   3  Normalizat    .36795        .33090        .10694E-02   -1.1899    
   4  Prefactor     1.0390        .63188E-01    .12836E-03   -.91442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90313e-09
Minuit parameter uncertainties:
  1  31.488
  2  0.584489
  3  0.332677
  4  0.0631929
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/890371': 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) = 8201.68203359
delta logL = 0.000209396190257

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  5.995e+01  3.149e+01  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  2.526e+00  5.845e-01  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.039e+00  6.319e-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:  3.680e-01  3.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.03
Ra Dec: 117.006 -16.644
Photon Index (Free Index): 2.53 +/- 0.58
Photon Flux (Free Index): 3.17e-07 +/- 1.77e-07
Energy Flux (Free Index): 8.99e-05 +/- 3.97e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/890371/cmap_HighResolution_503452801_503712001_4FGL_J0748.0-1638_daily_bin1019.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.19e-07', energy_flux2='8.99e-05', photon_flux_error='1.38e-07', dlogl='2.09e-04', energy_flux='8.98e-05', photon_flux2='3.17e-07', job_status='DONE', time_completed='2021-08-28 13:47:46.803403', photon_index_error2='0.58', photon_index2='2.53', ts='8.05', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='3.97e-05', EG='0.37', time_epoch_completed='1630183666.8', return_code='0', job_id='890371', GAL2='1.04', EG2='0.37', return_code2='0', energy_flux_error='3.90e-05', photon_flux_error2='1.77e-07', ts2='8.03', photon_index='2.54' WHERE bin_id='1019' AND source_name='4FGL J0748.0-1638' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 13:47:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 890371: <4FGL_J0748.0-1638_daily_bin1019> in cluster <slac> Done

Job <4FGL_J0748.0-1638_daily_bin1019> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 28 13:35:27 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 13:35:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 13:35:28 2021
Terminated at Sat Aug 28 13:47:47 2021
Results reported at Sat Aug 28 13:47:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.0-1638_daily_bin1019 117.006 -16.6437 503452801 503712001 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 :                                   664.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            740 sec.

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

