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


Performing analysis on: 4FGL_J0748.0-1638_daily_bin1461
RA = 117.006, Dec = -16.6437
tmin = 618019201, tmax = 618278401
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='892161', job_status='RUN', time_executed='2021-08-28 13:42:21.705311', time_epoch_executed='1630183341.71' WHERE source_name='4FGL J0748.0-1638' and cadence='daily' and bin_id='1461'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892161

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892161/ft1_4FGL_J0748.0-1638_daily_bin1461.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892161/ft2_4FGL_J0748.0-1638_daily_bin1461.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892161/ft1_4FGL_J0748.0-1638_daily_bin1461.fits outfile=/scratch/kocevski/892161/ft1_filteredMKT_4FGL_J0748.0-1638_daily_bin1461.fits ra=117.006 dec=-16.6437 rad=12.0 tmin=618019201.0 tmax=618278401.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 5.24
user 4.86
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892161/ft1_filtered_4FGL_J0748.0-1638_daily_bin1461.fits" evtable="EVENTS" scfile=/scratch/kocevski/892161/ft2_4FGL_J0748.0-1638_daily_bin1461.fits sctable="SC_DATA" outfile=/scratch/kocevski/892161/ltcube_618019201_618278401_4FGL_J0748.0-1638_daily_bin1461.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/892161/ft2_4FGL_J0748.0-1638_daily_bin1461.fits
.....................!
real 11.92
user 11.53
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892161/ft1_filtered_4FGL_J0748.0-1638_daily_bin1461.fits evtable="EVENTS" scfile=/scratch/kocevski/892161/ft2_4FGL_J0748.0-1638_daily_bin1461.fits sctable="SC_DATA" expcube=/scratch/kocevski/892161/ltcube_618019201_618278401_4FGL_J0748.0-1638_daily_bin1461.fits outfile=/scratch/kocevski/892161/expmap_618019201_618278401_4FGL_J0748.0-1638_daily_bin1461.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/892161/ltcube_618019201_618278401_4FGL_J0748.0-1638_daily_bin1461.fits
.....................!
real 192.01
user 186.66
sys 4.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/892161/ft1_filtered_4FGL_J0748.0-1638_daily_bin1461.fits scfile=/scratch/kocevski/892161/ft2_4FGL_J0748.0-1638_daily_bin1461.fits outfile=/scratch/kocevski/892161/cmap_618019201_618278401_4FGL_J0748.0-1638_daily_bin1461.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892161/ft1_filtered_4FGL_J0748.0-1638_daily_bin1461.fits scfile=/scratch/kocevski/892161/ft2_4FGL_J0748.0-1638_daily_bin1461.fits outfile=/scratch/kocevski/892161/cmap_HighResolution_618019201_618278401_4FGL_J0748.0-1638_daily_bin1461.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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892161/ft1_filtered_4FGL_J0748.0-1638_daily_bin1461.fits evtable="EVENTS" scfile=/scratch/kocevski/892161/ft2_4FGL_J0748.0-1638_daily_bin1461.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892161/Model_4FGL_J0748.0-1638_daily_bin1461.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/892161/ft1_filtered_4FGL_J0748.0-1638_daily_bin1461.fits.....................!
real 187.02
user 185.36
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.6265       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10249E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.0436       1.0000         .10000E-03   10000.    
     8 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.0204       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7332       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.125       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2817       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95997       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=   13221.43     FROM MIGRAD    STATUS=CONVERGED    362 CALLS     1472 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0826        .66194E-08** at limit **
   2  Prefactor     .10000E-03    7.3201        .30749E-07** at limit **
   3  norm          2.6267        1.8399        .66202E-07   -.27572E-03
   4  Prefactor     .10000E-03    24.689       -.18448E-05** at limit **
   5  norm          .10000E-03    8.7627       -.52002E-07** at limit **
   6  norm          .10000E-03    18.200       -.89341E-06** at limit **
   7  norm          1.0438        3.3816        .17763E-05   -.74893E-03
   8  norm          .10001E-03    42.610       -.46940E-05** at limit **
   9  norm          .10000E-03    3.2559        .12471E-07** at limit **
  10  Prefactor     .10000E-03    4.5748       -.48349E-07** at limit **
  11  norm          6.0207        1.8679       -.19527E-07   -.16137E-03
  12  Prefactor     2.7309        11.196        .35838E-06   -.67565E-04
  13  Prefactor     .10000E-03    1.9881        .22290E-07** at limit **
  14  norm          .10001E-03    34.199        .59045E-05** at limit **
  15  norm          .10000E-03    17.706        .11528E-05** at limit **
  16  norm          12.124        5.3429        .13660E-06    .90731E-04
  17  Normalizat    1.2818        .27720       -.64707E-06   -.34469E-04
  18  Prefactor     .95995        .47830E-01   -.25557E-07   -.56130E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.62672
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.04384
  norm       = 0.000100005
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.02068
  Prefactor  = 2.73091
  Prefactor  = 0.0001
  norm       = 0.000100008
  norm       = 0.0001
  norm       = 12.124
  Normalizat = 1.2818
  Prefactor  = 0.959953
 **********
 **   18 **HESSE 
 **********

 FCN=   13221.43     FROM HESSE     STATUS=OK           240 CALLS     1712 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0909        .11683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.3302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.6267        1.8354        .12469E-03   -1.5384    
   4  Prefactor     .10000E-03    25.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.7728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    18.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0438        4.0435        .43448E-03   -1.5504    
   8  norm          .10001E-03    44.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.2869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.6017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.0207        1.8666        .83073E-04   -1.5217    
  12  Prefactor     2.7309        11.203        .24630E-03   -1.5377    
  13  Prefactor     .10000E-03    1.9986        .15831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10001E-03    37.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    17.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.124        5.3435        .11504E-03   -1.5011    
  17  Normalizat    1.2818        .28735        .64810E-03   -.84111    
  18  Prefactor     .95995        .49961E-01    .13121E-03   -.94077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28098e-09
Minuit parameter uncertainties:
  1  2.6918e-07
  2  2.76353e-06
  3  1.8354
  4  0.000285457
  5  4.29296e-06
  6  0.000109383
  7  4.04456
  8  0.000960061
  9  1.75446e-06
  10  2.22737e-06
  11  1.86664
  12  11.0659
  13  1.17574e-06
  14  0.00111706
  15  0.000155797
  16  5.34368
  17  0.287712
  18  0.0499637
Done.

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

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  1.000e-04  1.094e-04  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.600e-01  4.996e-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.282e+00  2.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/892161/likelihoodResults_618019201_618278401_4FGL_J0748.0-1638_daily_bin1461.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) = 13221.4264054
delta logL = -0.000257195390077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13221.426153
delta logL = -4.86680983158e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25019E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4949       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95996       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=   13221.43     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      199 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    29.190        .10732E-01** at limit **
   2  alpha         2.4955        3.7064        .41152       -.94610E-05
   3  Normalizat    1.2818        .26381        .14586        .28750E-03
   4  Prefactor     .95995        .47351E-01    .29690E-01    .64064E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.49549
  Normalizat = 1.28181
  Prefactor  = 0.959952
 **********
 **   18 **HESSE 
 **********

 FCN=   13221.43     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    17.408        .21465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4955        3.5524        .16461       -.18031E-02
   3  Normalizat    1.2818        .27311        .64810E-03   -.84111    
   4  Prefactor     .95995        .49324E-01    .13121E-03   -.94077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66386e-10
Minuit parameter uncertainties:
  1  2.91672e-05
  2  2.50596
  3  0.273422
  4  0.0493265
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892161': 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) = 13221.4261483
delta logL = -1.67325197253e-07

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  1.000e-04  2.917e-05  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  2.495e+00  2.506e+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.600e-01  4.933e-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.282e+00  2.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/892161/cmap_HighResolution_618019201_618278401_4FGL_J0748.0-1638_daily_bin1461.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-05', job_status='DONE', photon_flux_upper_limit='1.60e-07', time_completed='2021-08-28 13:56:38.041537', job_id='892161', GAL2='0.96', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1630184198.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-1.67e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1461' AND source_name='4FGL J0748.0-1638' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 13:56:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 892161: <4FGL_J0748.0-1638_daily_bin1461> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.0-1638_daily_bin1461 117.006 -16.6437 618019201 618278401 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 :                                   844.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             344.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            945 sec.

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

