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


Performing analysis on: 4FGL_J0748.0-1638_daily_bin1338
RA = 117.006, Dec = -16.6437
tmin = 586137601, tmax = 586396801
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='891981', job_status='RUN', time_executed='2021-08-28 13:42:01.496990', time_epoch_executed='1630183321.5' WHERE source_name='4FGL J0748.0-1638' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891981

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891981/ft1_4FGL_J0748.0-1638_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891981/ft2_4FGL_J0748.0-1638_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891981/ft1_4FGL_J0748.0-1638_daily_bin1338.fits outfile=/scratch/kocevski/891981/ft1_filteredMKT_4FGL_J0748.0-1638_daily_bin1338.fits ra=117.006 dec=-16.6437 rad=12.0 tmin=586137601.0 tmax=586396801.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.96
user 4.30
sys 0.52

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891981/ft1_filtered_4FGL_J0748.0-1638_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/891981/ft2_4FGL_J0748.0-1638_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/891981/ltcube_586137601_586396801_4FGL_J0748.0-1638_daily_bin1338.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/891981/ft2_4FGL_J0748.0-1638_daily_bin1338.fits
.....................!
real 10.46
user 9.77
sys 0.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891981/ft1_filtered_4FGL_J0748.0-1638_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/891981/ft2_4FGL_J0748.0-1638_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/891981/ltcube_586137601_586396801_4FGL_J0748.0-1638_daily_bin1338.fits outfile=/scratch/kocevski/891981/expmap_586137601_586396801_4FGL_J0748.0-1638_daily_bin1338.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/891981/ltcube_586137601_586396801_4FGL_J0748.0-1638_daily_bin1338.fits
.....................!
real 190.64
user 185.67
sys 4.58

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/891981/ft1_filtered_4FGL_J0748.0-1638_daily_bin1338.fits scfile=/scratch/kocevski/891981/ft2_4FGL_J0748.0-1638_daily_bin1338.fits outfile=/scratch/kocevski/891981/cmap_586137601_586396801_4FGL_J0748.0-1638_daily_bin1338.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.82
user 0.38
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891981/ft1_filtered_4FGL_J0748.0-1638_daily_bin1338.fits scfile=/scratch/kocevski/891981/ft2_4FGL_J0748.0-1638_daily_bin1338.fits outfile=/scratch/kocevski/891981/cmap_HighResolution_586137601_586396801_4FGL_J0748.0-1638_daily_bin1338.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.84
user 0.37
sys 0.46

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891981/ft1_filtered_4FGL_J0748.0-1638_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/891981/ft2_4FGL_J0748.0-1638_daily_bin1338.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891981/Model_4FGL_J0748.0-1638_daily_bin1338.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/891981/ft1_filtered_4FGL_J0748.0-1638_daily_bin1338.fits.....................!
real 165.15
user 162.79
sys 1.65

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7377       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.9395       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.647       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.0430       1.0000         .10000E-03   10000.    
     7 'norm      '    2.7778       1.0000         .10000E-03   10000.    
     8 'norm      '    18.223       1.0000         .10000E-03   10000.    
     9 'norm      '    .48735       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.9776       1.0000         .10000E-03   10000.    
    11 'norm      '    2.8816       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18612E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10238E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    13.341       1.0000         .10000E-03   10000.    
    16 'norm      '    8.9728       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0432       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0159       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=   11118.69     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1738 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7377        1.7334       -.76269E-07    .40149E-04
   2  Prefactor     .10000E-03    5.6666        .14819E-07** at limit **
   3  norm          1.9395        1.4068        .27712E-07   -.22967E-04
   4  Prefactor     12.644        24.144        .48371E-07   -.61346E-05
   5  norm          .10000E-03    8.2549        .16671E-07** at limit **
   6  norm          4.0432        10.247        .36749E-06    .23183E-04
   7  norm          2.7776        5.6021        .54327E-06    .30397E-05
   8  norm          18.140        41.592       -.11168E-05   -.12317E-03
   9  norm          .48763        3.3636        .39525E-05   -.83708E-04
  10  Prefactor     6.9740        9.9866       -.11302E-06   -.19264E-03
  11  norm          2.8814        1.4955       -.11604E-06   -.30739E-03
  12  Prefactor     .10000E-03    10.554        .73044E-06** at limit **
  13  Prefactor     .10000E-03    3.0477       -.14255E-06** at limit **
  14  norm          .10000E-03    40.099        .63332E-07** at limit **
  15  norm          13.271        29.559        .23337E-06    .41575E-04
  16  norm          8.9735        5.8981        .81802E-07    .61638E-04
  17  Normalizat    1.0435        .31398       -.80503E-06   -.29021E-04
  18  Prefactor     1.0159        .53831E-01    .32374E-07   -.62174E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.73772
  Prefactor  = 0.0001
  norm       = 1.93949
  Prefactor  = 12.6444
  norm       = 0.0001
  norm       = 4.04319
  norm       = 2.77755
  norm       = 18.1399
  norm       = 0.487632
  Prefactor  = 6.97404
  norm       = 2.88138
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.2706
  norm       = 8.97353
  Normalizat = 1.04348
  Prefactor  = 1.01591
 **********
 **   18 **HESSE 
 **********

 FCN=   11118.69     FROM HESSE     STATUS=OK           250 CALLS     1988 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7377        1.7497        .13531E-03   -1.5444    
   2  Prefactor     .10000E-03    5.6679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.9395        1.4061        .10294E-03   -1.5429    
   4  Prefactor     12.644        24.135        .11264E-03   -1.4997    
   5  norm          .10000E-03    8.2608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.0432        10.225        .20054E-03   -1.5306    
   7  norm          2.7776        5.5740        .24417E-03   -1.5375    
   8  norm          18.140        41.868        .93825E-04   -1.4856    
   9  norm          .48763        3.3645        .37968E-03   -1.5568    
  10  Prefactor     6.9740        10.015        .15187E-03   -1.5180    
  11  norm          2.8814        1.4946        .89130E-04   -1.5368    
  12  Prefactor     .10000E-03    10.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.0756        .17968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    40.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.271        29.501        .10967E-03   -1.4979    
  16  norm          8.9735        5.9025        .13380E-03   -1.5109    
  17  Normalizat    1.0435        .31927        .70216E-03   -.91588    
  18  Prefactor     1.0159        .55342E-01    .13003E-03   -.92201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28304e-10
Minuit parameter uncertainties:
  1  1.74976
  2  7.00896e-09
  3  1.40613
  4  24.1532
  5  5.06153e-07
  6  10.2292
  7  5.57503
  8  41.9359
  9  2.5617
  10  10.0173
  11  1.49458
  12  1.50928e-05
  13  2.68492e-06
  14  1.88586e-05
  15  29.5329
  16  5.90285
  17  0.319859
  18  0.0553453
Done.

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

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  4.043e+00  1.023e+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.016e+00  5.535e-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.043e+00  3.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/891981/likelihoodResults_586137601_586396801_4FGL_J0748.0-1638_daily_bin1338.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) = 11118.5103679
delta logL = 0.179102356455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11118.43603
delta logL = 0.253440252574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4599       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5447       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0497       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0142       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=   11118.44     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      222 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4841        13.612        .34456E-02    .48918E-04
   2  alpha         1.5444        .80773        .45797       -.55476E-04
   3  Normalizat    1.0500        .28867        .15741        .43108E-04
   4  Prefactor     1.0141        .53214E-01    .29438E-01   -.35506E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.48414
  alpha      = 1.54435
  Normalizat = 1.05005
  Prefactor  = 1.01415
 **********
 **   18 **HESSE 
 **********

 FCN=   11118.44     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4841        12.627        .13782E-03   -1.5125    
   2  alpha         1.5444        .93422        .33688E-01   -.39224    
   3  Normalizat    1.0500        .29392        .70009E-03   -.91372    
   4  Prefactor     1.0141        .54572E-01    .13010E-03   -.92259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48415e-11
Minuit parameter uncertainties:
  1  12.6307
  2  0.96176
  3  0.294375
  4  0.0545752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891981': 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) = 11118.4360274
delta logL = 0.253442897159

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  8.484e+00  1.263e+01  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  1.544e+00  9.618e-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.014e+00  5.458e-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.050e+00  2.944e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
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/891981/cmap_HighResolution_586137601_586396801_4FGL_J0748.0-1638_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-05', job_status='DONE', photon_flux_upper_limit='1.84e-07', time_completed='2021-08-28 13:55:33.838165', job_id='891981', GAL2='1.01', fit_tolerance='1e-08', EG2='1.05', EG='1.04', time_epoch_completed='1630184133.84', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.53e-01', ts2='0.71', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1338' AND source_name='4FGL J0748.0-1638' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 13:55:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 891981: <4FGL_J0748.0-1638_daily_bin1338> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.0-1638_daily_bin1338 117.006 -16.6437 586137601 586396801 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 :                                   806.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            893 sec.

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

