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


Performing analysis on: 4FGL_J0748.0-1638_daily_bin1217
RA = 117.006, Dec = -16.6437
tmin = 554774401, tmax = 555033601
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='891803', job_status='RUN', time_executed='2021-08-28 13:41:22.125128', time_epoch_executed='1630183282.13' WHERE source_name='4FGL J0748.0-1638' and cadence='daily' and bin_id='1217'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891803

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891803/ft1_4FGL_J0748.0-1638_daily_bin1217.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891803/ft2_4FGL_J0748.0-1638_daily_bin1217.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891803/ft1_4FGL_J0748.0-1638_daily_bin1217.fits outfile=/scratch/kocevski/891803/ft1_filteredMKT_4FGL_J0748.0-1638_daily_bin1217.fits ra=117.006 dec=-16.6437 rad=12.0 tmin=554774401.0 tmax=555033601.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.08
user 3.52
sys 0.52

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891803/ft1_filtered_4FGL_J0748.0-1638_daily_bin1217.fits" evtable="EVENTS" scfile=/scratch/kocevski/891803/ft2_4FGL_J0748.0-1638_daily_bin1217.fits sctable="SC_DATA" outfile=/scratch/kocevski/891803/ltcube_554774401_555033601_4FGL_J0748.0-1638_daily_bin1217.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/891803/ft2_4FGL_J0748.0-1638_daily_bin1217.fits
.....................!
real 12.28
user 11.52
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891803/ft1_filtered_4FGL_J0748.0-1638_daily_bin1217.fits evtable="EVENTS" scfile=/scratch/kocevski/891803/ft2_4FGL_J0748.0-1638_daily_bin1217.fits sctable="SC_DATA" expcube=/scratch/kocevski/891803/ltcube_554774401_555033601_4FGL_J0748.0-1638_daily_bin1217.fits outfile=/scratch/kocevski/891803/expmap_554774401_555033601_4FGL_J0748.0-1638_daily_bin1217.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/891803/ltcube_554774401_555033601_4FGL_J0748.0-1638_daily_bin1217.fits
.....................!
real 192.51
user 186.85
sys 5.29

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/891803/ft1_filtered_4FGL_J0748.0-1638_daily_bin1217.fits scfile=/scratch/kocevski/891803/ft2_4FGL_J0748.0-1638_daily_bin1217.fits outfile=/scratch/kocevski/891803/cmap_554774401_555033601_4FGL_J0748.0-1638_daily_bin1217.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.89
user 0.36
sys 0.49

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891803/ft1_filtered_4FGL_J0748.0-1638_daily_bin1217.fits scfile=/scratch/kocevski/891803/ft2_4FGL_J0748.0-1638_daily_bin1217.fits outfile=/scratch/kocevski/891803/cmap_HighResolution_554774401_555033601_4FGL_J0748.0-1638_daily_bin1217.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.88
user 0.37
sys 0.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891803/ft1_filtered_4FGL_J0748.0-1638_daily_bin1217.fits evtable="EVENTS" scfile=/scratch/kocevski/891803/ft2_4FGL_J0748.0-1638_daily_bin1217.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891803/Model_4FGL_J0748.0-1638_daily_bin1217.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/891803/ft1_filtered_4FGL_J0748.0-1638_daily_bin1217.fits.....................!
real 135.97
user 133.77
sys 1.64

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10155E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10498E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3281       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.390       1.0000         .10000E-03   10000.    
     5 'norm      '    .17214E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11647E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    27.464       1.0000         .10000E-03   10000.    
     9 'norm      '    .92082       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6356       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5977       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17614E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9312       1.0000         .10000E-03   10000.    
    14 'norm      '    30.275       1.0000         .10000E-03   10000.    
    15 'norm      '    4.0977       1.0000         .10000E-03   10000.    
    16 'norm      '    2.1834       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0888       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96773       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=   9372.693     FROM MIGRAD    STATUS=CONVERGED    384 CALLS     1761 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4665       -.47232E-07** at limit **
   2  Prefactor     .10000E-03    5.6310       -.29570E-07** at limit **
   3  norm          1.3286        1.3988        .46096E-07    .44741E-04
   4  Prefactor     16.489        20.520        .90560E-07   -.11006E-04
   5  norm          .10000E-03    4.5075       -.16680E-07** at limit **
   6  norm          .10009E-03    8.8330       -.55689E-06** at limit **
   7  norm          .10000E-03    1.0344        .31032E-07** at limit **
   8  norm          27.577        60.890        .96171E-06    .64491E-04
   9  norm          .92125        5.3167        .37048E-05   -.37163E-04
  10  Prefactor     3.6341        12.725       -.84859E-06   -.30743E-04
  11  norm          1.5986        1.7991       -.13008E-06   -.55539E-03
  12  Prefactor     .10000E-03    6.1096        .96447E-07** at limit **
  13  Prefactor     1.9355        11.241        .32047E-05   -.11608E-04
  14  norm          30.155        29.186        .16202E-06    .21891E-04
  15  norm          4.0546        19.769        .36901E-06   -.18538E-04
  16  norm          2.1754        3.5774        .48618E-06   -.79665E-05
  17  Normalizat    1.0883        .30990       -.16287E-05   -.17162E-04
  18  Prefactor     .96776        .53786E-01    .66805E-07   -.26738E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.32857
  Prefactor  = 16.4893
  norm       = 0.0001
  norm       = 0.000100087
  norm       = 0.0001
  norm       = 27.5766
  norm       = 0.921251
  Prefactor  = 3.63412
  norm       = 1.59859
  Prefactor  = 0.0001
  Prefactor  = 1.93548
  norm       = 30.1548
  norm       = 4.05456
  norm       = 2.17538
  Normalizat = 1.08831
  Prefactor  = 0.967764
 **********
 **   18 **HESSE 
 **********

 FCN=   9372.693     FROM HESSE     STATUS=OK           252 CALLS     2013 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.4844        .11448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.6326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3286        1.3907        .11328E-03   -1.5477    
   4  Prefactor     16.489        20.515        .98930E-04   -1.4896    
   5  norm          .10000E-03    4.5077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10009E-03    68.339        .54557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.0356        .96154E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          27.577        60.883        .76445E-04   -1.4657    
   9  norm          .92125        5.2394        .41167E-03   -1.5516    
  10  Prefactor     3.6341        12.557        .21188E-03   -1.5327    
  11  norm          1.5986        1.7536        .12261E-03   -1.5455    
  12  Prefactor     .10000E-03    6.1197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.9355        10.986        .29887E-03   -1.5430    
  14  norm          30.155        29.172        .72818E-04   -1.4609    
  15  norm          4.0546        19.724        .19915E-03   -1.5305    
  16  norm          2.1754        3.5573        .22683E-03   -1.5413    
  17  Normalizat    1.0883        .31564        .60830E-03   -.90128    
  18  Prefactor     .96776        .55781E-01    .12534E-03   -.93812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31651e-09
Minuit parameter uncertainties:
  1  4.73762e-07
  2  6.25028e-07
  3  1.39075
  4  20.5234
  5  3.75263e-08
  6  0.00488573
  7  2.68404e-07
  8  61.0204
  9  4.39434
  10  12.5657
  11  1.75369
  12  2.69149e-06
  13  9.2248
  14  29.1858
  15  17.8949
  16  3.55765
  17  0.316193
  18  0.0557848
Done.

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

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  1.001e-04  4.886e-03  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.678e-01  5.578e-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.088e+00  3.162e-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.72e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.85e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891803/likelihoodResults_554774401_555033601_4FGL_J0748.0-1638_daily_bin1217.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) = 9372.69295126
delta logL = -6.8025503424e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9372.07058508
delta logL = 0.622298146904

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66215       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97231       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=   9372.071     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      355 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66144        .77785        .75094E-03    .73879E-02
   2  alpha         5.0000        3.3691        .50000    ** at limit **
   3  Normalizat    1.0034        .28403        .62963E-03    .19862E-05
   4  Prefactor     .97183        .54193E-01    .12505E-03    .72731E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.661439
  alpha      = 5
  Normalizat = 1.00338
  Prefactor  = 0.971827
 **********
 **   18 **HESSE 
 **********

 FCN=   9372.071     FROM HESSE     STATUS=OK            31 CALLS      386 TOTAL
                     EDM=   .60E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66144        .74836        .15019E-03   -1.5545    
   2  alpha         5.0000        3.3140        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0034        .28432        .25185E-04   -.92917    
   4  Prefactor     .97183        .54202E-01    .50020E-05   -.93675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02411e-12
Minuit parameter uncertainties:
  1  0.748368
  2  4.05609e-06
  3  0.28475
  4  0.0542046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891803': 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) = 9372.07052889
delta logL = 0.622354340685

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  6.614e-01  7.484e-01  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  5.000e+00  4.056e-06  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.718e-01  5.420e-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.003e+00  2.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 117.006 -16.644
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.13e-07 +/- 1.27e-07
Energy Flux (Free Index): 1.56e-05 +/- 1.76e-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/891803/cmap_HighResolution_554774401_555033601_4FGL_J0748.0-1638_daily_bin1217.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.85e-05', comment='SUCCESS', energy_flux2='1.56e-05', dlogl='6.22e-01', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-08-28 13:53:44.723486', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.72e-07', energy_flux_error2='1.76e-05', EG='1.09', time_epoch_completed='1630184024.72', return_code='0', job_id='891803', GAL2='0.97', EG2='1.00', return_code2='0', photon_flux_error2='1.27e-07', ts2='1.33', photon_index='2.54' WHERE bin_id='1217' AND source_name='4FGL J0748.0-1638' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 13:53:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 891803: <4FGL_J0748.0-1638_daily_bin1217> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.0-1638_daily_bin1217 117.006 -16.6437 554774401 555033601 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 :                                   743.65 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             377.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            798 sec.

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

