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


Performing analysis on: 4FGL_J0748.0-1638_daily_bin1424
RA = 117.006, Dec = -16.6437
tmin = 608428801, tmax = 608688001
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='892104', job_status='RUN', time_executed='2021-08-28 13:41:36.480787', time_epoch_executed='1630183296.48' WHERE source_name='4FGL J0748.0-1638' and cadence='daily' and bin_id='1424'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892104

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892104/ft1_4FGL_J0748.0-1638_daily_bin1424.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892104/ft2_4FGL_J0748.0-1638_daily_bin1424.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892104/ft1_4FGL_J0748.0-1638_daily_bin1424.fits outfile=/scratch/kocevski/892104/ft1_filteredMKT_4FGL_J0748.0-1638_daily_bin1424.fits ra=117.006 dec=-16.6437 rad=12.0 tmin=608428801.0 tmax=608688001.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.79
user 4.71
sys 1.03

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892104/ft1_filtered_4FGL_J0748.0-1638_daily_bin1424.fits" evtable="EVENTS" scfile=/scratch/kocevski/892104/ft2_4FGL_J0748.0-1638_daily_bin1424.fits sctable="SC_DATA" outfile=/scratch/kocevski/892104/ltcube_608428801_608688001_4FGL_J0748.0-1638_daily_bin1424.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/892104/ft2_4FGL_J0748.0-1638_daily_bin1424.fits
.....................!
real 12.55
user 11.31
sys 1.21

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892104/ft1_filtered_4FGL_J0748.0-1638_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/892104/ft2_4FGL_J0748.0-1638_daily_bin1424.fits sctable="SC_DATA" expcube=/scratch/kocevski/892104/ltcube_608428801_608688001_4FGL_J0748.0-1638_daily_bin1424.fits outfile=/scratch/kocevski/892104/expmap_608428801_608688001_4FGL_J0748.0-1638_daily_bin1424.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/892104/ltcube_608428801_608688001_4FGL_J0748.0-1638_daily_bin1424.fits
.....................!
real 192.49
user 185.44
sys 6.31

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/892104/ft1_filtered_4FGL_J0748.0-1638_daily_bin1424.fits scfile=/scratch/kocevski/892104/ft2_4FGL_J0748.0-1638_daily_bin1424.fits outfile=/scratch/kocevski/892104/cmap_608428801_608688001_4FGL_J0748.0-1638_daily_bin1424.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.43
user 0.37
sys 0.91

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892104/ft1_filtered_4FGL_J0748.0-1638_daily_bin1424.fits scfile=/scratch/kocevski/892104/ft2_4FGL_J0748.0-1638_daily_bin1424.fits outfile=/scratch/kocevski/892104/cmap_HighResolution_608428801_608688001_4FGL_J0748.0-1638_daily_bin1424.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.34
user 0.38
sys 0.94

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892104/ft1_filtered_4FGL_J0748.0-1638_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/892104/ft2_4FGL_J0748.0-1638_daily_bin1424.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892104/Model_4FGL_J0748.0-1638_daily_bin1424.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/892104/ft1_filtered_4FGL_J0748.0-1638_daily_bin1424.fits.....................!
real 153.08
user 150.29
sys 2.43

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1571       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.924       1.0000         .10000E-03   10000.    
     5 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.9624       1.0000         .10000E-03   10000.    
     8 'norm      '    .12425E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .21137E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.2895       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.3320       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1445       1.0000         .10000E-03   10000.    
    14 'norm      '    49.469       1.0000         .10000E-03   10000.    
    15 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1237       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0517       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=   10821.99     FROM MIGRAD    STATUS=CONVERGED    653 CALLS     2296 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1587        3.7131        .34814E-03   -.45065E-05
   2  Prefactor     .10000E-03    28.750        .18142E-02** at limit **
   3  norm          .10000E-03    1.7395        .19589E-02** at limit **
   4  Prefactor     37.922        28.127        .65083E-04   -.34936E-06
   5  norm          .10000E-03    9.7912        .18142E-02** at limit **
   6  norm          .10000E-03    6.6277        .18142E-02** at limit **
   7  norm          2.9635        4.2967        .23593E-03   -.21781E-04
   8  norm          .10000E-03    30.555        .20116    ** at limit **
   9  norm          .10000E-03    18.465        .32584E-02** at limit **
  10  Prefactor     .10000E-03    4.9523        .18142E-02** at limit **
  11  norm          2.2890        1.2561        .83556E-04    .16382E-03
  12  Prefactor     8.3323        8.1245        .69442E-03    .11853E-04
  13  Prefactor     4.1508        8.6069        .98997E-03    .51035E-04
  14  norm          49.477        42.657        .57015E-04    .15713E-04
  15  norm          .10000E-03    11.325        .18142E-02** at limit **
  16  norm          .10000E-03    8.0763        .36285E-03** at limit **
  17  Normalizat    1.1234        .32679        .70441E-03    .29729E-04
  18  Prefactor     1.0516        .57976E-01    .13374E-03    .28732E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.15875
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.9215
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.96355
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.28901
  Prefactor  = 8.33233
  Prefactor  = 4.15082
  norm       = 49.4773
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.12343
  Prefactor  = 1.05162
 **********
 **   18 **HESSE 
 **********

 FCN=   10821.99     FROM HESSE     STATUS=OK           238 CALLS     2534 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1587        3.7128        .13926E-04   -1.5493    
   2  Prefactor     .10000E-03    28.763        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.7445        .39178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.922        28.112        .26033E-05   -1.4476    
   5  norm          .10000E-03    9.7921        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.6287        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.9635        4.2965        .94371E-05   -1.5364    
   8  norm          .10000E-03    30.737        .19995       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    19.102        .13033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.9529        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2890        1.2555        .33422E-05   -1.5405    
  12  Prefactor     8.3323        8.1235        .27777E-04   -1.5131    
  13  Prefactor     4.1508        8.6002        .39599E-04   -1.5300    
  14  norm          49.477        42.656        .11403E-04   -1.4300    
  15  norm          .10000E-03    11.325        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.0767        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1234        .32651        .28176E-04   -.89003    
  18  Prefactor     1.0516        .57968E-01    .53496E-05   -.91028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61271e-10
Minuit parameter uncertainties:
  1  3.71352
  2  5.25061e-05
  3  3.99208e-05
  4  28.1216
  5  3.30111e-05
  6  1.36876e-05
  7  4.29692
  8  1.06573e-05
  9  3.65282e-05
  10  1.31836e-05
  11  1.2555
  12  8.12456
  13  8.60275
  14  42.6819
  15  8.84323e-06
  16  1.97408e-05
  17  0.327099
  18  0.0579712
Done.

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

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  1.000e-04  1.369e-05  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.052e+00  5.797e-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.123e+00  3.271e-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.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892104/likelihoodResults_608428801_608688001_4FGL_J0748.0-1638_daily_bin1424.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): 102
logL (Free Index) = 10821.99079
delta logL = -0.000719175599443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10821.9900708
delta logL = 2.64881236944e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5254       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0516       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=   10821.99     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      271 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.781        .65384E-01** at limit **
   2  alpha         .83035        4.5291        .50000        .13029E-06
   3  Normalizat    1.1234        .21072E-01    .70441E-03    .13851E-03
   4  Prefactor     1.0516        .39305E-02    .13374E-03    .81541E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 0.830355
  Normalizat = 1.12343
  Prefactor  = 1.05162
 **********
 **   18 **HESSE 
 **********

 FCN=   10821.99     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      302 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2109.2        .33518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .83035        3.8967        .50000       -.73133    
   3  Normalizat    1.1234        .28086        .28176E-04   -.89003    
   4  Prefactor     1.0516        .52487E-01    .26748E-04   -.91028    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.1786e-07
Minuit parameter uncertainties:
  1  0.00308306
  2  2577.43
  3  0.281232
  4  0.0524899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892104': 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): 102
logL (Free Index) = 10821.9900686
delta logL = 2.3014817998e-06

Extracting fit parameters...

4FGL J0748.0-1638
   Spectrum: LogParabola
249         norm:  1.000e-04  3.083e-03  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  8.304e-01  2.577e+03  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.052e+00  5.249e-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.123e+00  2.812e-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/892104/cmap_HighResolution_608428801_608688001_4FGL_J0748.0-1638_daily_bin1424.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-05', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2021-08-28 13:55:57.591389', job_id='892104', GAL2='1.05', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1630184157.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.30e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1424' AND source_name='4FGL J0748.0-1638' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 13:55:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 892104: <4FGL_J0748.0-1638_daily_bin1424> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.0-1638_daily_bin1424 117.006 -16.6437 608428801 608688001 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 :                                   864.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            908 sec.

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

