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


Performing analysis on: 4FGL_J0748.3+4928_daily_bin1387
RA = 117.082, Dec = 49.4748
tmin = 598838401, tmax = 599097601
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='904492', job_status='RUN', time_executed='2021-08-28 14:20:42.430029', time_epoch_executed='1630185642.43' WHERE source_name='4FGL J0748.3+4928' and cadence='daily' and bin_id='1387'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904492/ft1_4FGL_J0748.3+4928_daily_bin1387.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904492/ft1_4FGL_J0748.3+4928_daily_bin1387.fits outfile=/scratch/kocevski/904492/ft1_filteredMKT_4FGL_J0748.3+4928_daily_bin1387.fits ra=117.082 dec=49.4748 rad=12.0 tmin=598838401.0 tmax=599097601.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 6.08
user 2.65
sys 3.35

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.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/904492/ft1_filteredMKT_4FGL_J0748.3+4928_daily_bin1387.fits evtable="EVENTS" outfile="/scratch/kocevski/904492/ft1_filtered_4FGL_J0748.3+4928_daily_bin1387.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 3.75
user 0.36
sys 3.32

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904492/ft1_filtered_4FGL_J0748.3+4928_daily_bin1387.fits" evtable="EVENTS" scfile=/scratch/kocevski/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.fits sctable="SC_DATA" outfile=/scratch/kocevski/904492/ltcube_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.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/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.fits
.....................!
real 16.33
user 12.28
sys 3.87

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904492/ft1_filtered_4FGL_J0748.3+4928_daily_bin1387.fits evtable="EVENTS" scfile=/scratch/kocevski/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.fits sctable="SC_DATA" expcube=/scratch/kocevski/904492/ltcube_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.fits outfile=/scratch/kocevski/904492/expmap_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.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/904492/ltcube_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.fits
.....................!
real 195.69
user 184.78
sys 9.41

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 207 point sources and 0 extended sources

Setting source of interest to:
4FGL J0748.3+4928 @ 117.082 49.4748

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/904492/ft1_filtered_4FGL_J0748.3+4928_daily_bin1387.fits scfile=/scratch/kocevski/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.fits outfile=/scratch/kocevski/904492/cmap_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.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.082 yref=49.4748 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 4.01
user 0.37
sys 3.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904492/ft1_filtered_4FGL_J0748.3+4928_daily_bin1387.fits scfile=/scratch/kocevski/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.fits outfile=/scratch/kocevski/904492/cmap_HighResolution_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.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.082 yref=49.4748 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 3.67
user 0.39
sys 3.22

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/904492/ft1_filtered_4FGL_J0748.3+4928_daily_bin1387.fits evtable="EVENTS" scfile=/scratch/kocevski/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/904492/Model_4FGL_J0748.3+4928_daily_bin1387.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/904492/ft1_filtered_4FGL_J0748.3+4928_daily_bin1387.fits.............................!
real 22.51
user 16.91
sys 5.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/904492/ft1_filtered_4FGL_J0748.3+4928_daily_bin1387.fits', '/scratch/kocevski/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.fits', expMap='/scratch/kocevski/904492/expmap_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.fits', expCube='/scratch/kocevski/904492/ltcube_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/904492/Model_4FGL_J0748.3+4928_daily_bin1387.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0748.3+4928'

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.597e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.379e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/904492/ft1_filtered_4FGL_J0748.3+4928_daily_bin1387.fits
Spacecraft file(s): /scratch/kocevski/904492/ft2_4FGL_J0748.3+4928_daily_bin1387.fits
Exposure map: /scratch/kocevski/904492/expmap_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.fits
Exposure cube: /scratch/kocevski/904492/ltcube_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/904492/Model_4FGL_J0748.3+4928_daily_bin1387.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) = 716.466606517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     2 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.631       1.0000         .10000E-03   10000.    
     4 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10189E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9999.9       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9999.7       1.0000         .10000E-03   10000.    
     9 'norm      '    .17033E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .37746E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .36010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10451E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    246.10       1.0000         .10000E-03   10000.    
    15 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11091E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10538E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10354E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10109E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.090       1.0000         .10000E-03   10000.    
    23 'norm      '    1.3047       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10630E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    29.875       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .59220E-02   1.0000         .10000E-03   10000.    
    28 'Prefactor '    12.120       1.0000         .10000E-03   10000.    
    29 'norm      '    2.7904       1.0000         .10000E-03   10000.    
    30 'norm      '    3.9960       1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.4960       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .71352       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   701.0302     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     3953 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm         10000.0        13.333        .28876E-05** at limit **
   2  norm         10000.0        72.433        .33024E-04** at limit **
   3  Prefactor     17.973        44.296        .38763E-04   -.51146E-02
   4  norm         10000.0        104.22       -.48922E-04** at limit **
   5  Prefactor     .44678E-03    61.090        .44080E-04** at limit **
   6  Prefactor    10000.0        436.25       -.84045E-04    .14645E-02
   7  Prefactor    10000.0        1059.6        .64572E-04    .76669E-03
   8  Prefactor    10000.0        6372.9        .26123E-03   -.56031E-03
   9  norm          .35487E-03    168.68       -.60129E-04** at limit **
  10  Prefactor     .22337E-02    290.44       -.89207E-04** at limit **
  11  Prefactor     .52303E-03    402.64        .20952E-03** at limit **
  12  norm          .10000E-03    4.7220       -.26953E-06** at limit **
  13  Prefactor     .10001E-03    32.873       -.35366E-05** at limit **
  14  Prefactor     246.10        1.0140        .15443E-07    .14538E-03
  15  norm          .10000E-03    10.172       -.42963E-06** at limit **
  16  Prefactor     .10000E-03    29.001        .53210E-06** at limit **
  17  Prefactor     .10000E-03    88.823        .70924E-06** at limit **
  18  Prefactor     .10000E-03    22.211       -.74188E-06** at limit **
  19  Prefactor     .10000E-03    9.4386       -.17413E-05** at limit **
  20  norm          .10000E-03    6.1202       -.30545E-06** at limit **
  21  norm          .10000E-03    2.3087       -.22271E-06** at limit **
  22  Prefactor     12.083        4.3555        .32535E-05    .11316E-01
  23  norm          1.3057        1.2150       -.10467E-05    .55315E-03
  24  Prefactor     .10000E-03    9.4279        .13205E-05** at limit **
  25  Prefactor     .10000E-03    3.0276       -.24723E-06** at limit **
  26  Prefactor     29.864        20.311       -.19443E-04   -.78807E-02
  27  Prefactor     .10029E-03    238.24       -.42408E-05** at limit **
  28  Prefactor     12.122        12.819        .59311E-05   -.15201E-02
  29  norm          2.7856        9.0766        .69317E-05   -.54653E-03
  30  norm          3.9961        10.611        .16536E-04    .54852E-03
  31  Prefactor     2.4378        24.452       -.58660E-05   -.33505E-03
  32  Normalizat    .10000E-01    .92658E-01   -.13419E-05** at limit **
  33  Prefactor     .71381        .19046       -.21013E-04    .10136E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10000
  norm       = 10000
  Prefactor  = 17.9726
  norm       = 10000
  Prefactor  = 0.000446783
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 9999.99
  norm       = 0.000354873
  Prefactor  = 0.0022337
  Prefactor  = 0.000523027
  norm       = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 246.1
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 12.0834
  norm       = 1.30574
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.8636
  Prefactor  = 0.000100287
  Prefactor  = 12.1217
  norm       = 2.78564
  norm       = 3.9961
  Prefactor  = 2.43776
  Normalizat = 0.01
  Prefactor  = 0.713812
 **********
 **   18 **HESSE 
 **********

 FCN=   701.0302     FROM HESSE     STATUS=OK           751 CALLS     4704 TOTAL
                     EDM=   .29E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm         10000.0        1394.6        .10493E-01    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm         10000.0        1505.8        .94858E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.973        2290.2        .23846E-02   -1.4860    
   4  norm         10000.0        1097.5        .10111E-01    1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .44678E-03    1083.7        .10375E-01   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor    10000.0        1015.9        .90712E-02    1.5719    
   7  Prefactor    10000.0        1339.8        .93164E-02    1.5719    
   8  Prefactor    10000.0        1678.8        .10501E-01    1.5692    
   9  norm          .35487E-03    1545.8        .91079E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22337E-02    1631.9        .92101E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .52303E-03    514.98        .10655E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.7111        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    32.479        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     246.10        156.98        .64544E-03   -1.2557    
  15  norm          .10000E-03    10.099        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.638        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    85.507        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    22.003        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.3532        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.0857        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.2994        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.083        13.118        .28802E-02   -1.5013    
  23  norm          1.3057        1.2308        .61319E-02   -1.5479    
  24  Prefactor     .10000E-03    9.3904        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.0216        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     29.864        47.094        .18326E-02   -1.4614    
  27  Prefactor     .10029E-03    33.308        .79719E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     12.122        13.167        .28766E-02   -1.5012    
  29  norm          2.7856        9.3098        .60893E-02   -1.5374    
  30  norm          3.9961        11.098        .50439E-02   -1.5308    
  31  Prefactor     2.4378        24.347        .64675E-02   -1.5396    
  32  Normalizat    .10000E-01    .88296E-01    .11266       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .71381        .19657        .42581E-01   -1.0299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91044e-05
Minuit parameter uncertainties:
  1  0.586379
  2  0.0292827
  3  423.558
  4  1.75833
  5  1.24938
  6  3.6115
  7  3.98994
  8  6.90357
  9  1.29017
  10  3.84184
  11  0.941697
  12  1.68112e-06
  13  0.00136454
  14  157.254
  15  3.43488e-06
  16  0.000248998
  17  0.000685475
  18  1.1231e-05
  19  1.55834e-05
  20  2.15881e-06
  21  9.57941e-07
  22  13.1215
  23  1.23077
  24  1.19861e-05
  25  1.22427e-06
  26  47.1526
  27  0.00619227
  28  13.1702
  29  9.31461
  30  11.104
  31  15.4159
  32  3.80688e-08
  33  0.196764
Done.

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

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.365e-03  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.379e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  7.138e-01  1.968e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.000e-02  3.807e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.082 49.475
Photon Flux Upper Limit: 5.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.28e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904492/likelihoodResults_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.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) = 701.030334664
delta logL = -0.00014419519357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 701.030191455
delta logL = -9.86478994491e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7200       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71380       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+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=   701.0302     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      273 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10560E-03    28.251        .11932E-01** at limit **
   2  Index         2.6117        8.1314        .50000        .14838E-04
   3  Normalizat    .10000E-01    .22185E-03    .48745E-03** at limit **
   4  Prefactor     .71381        .81632E-02    .16784E-03   -.25423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105596
  Index      = 2.61173
  Normalizat = 0.01
  Prefactor  = 0.71381
 **********
 **   18 **HESSE 
 **********

 FCN=   701.0302     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      302 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10560E-03    244.96        .12592E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6117        5.9160        .50000       -.49798    
   3  Normalizat    .10000E-01    .19685E-02    .97490E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .71381        .24350E-01    .33567E-04   -1.0299    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.68987e-09
Minuit parameter uncertainties:
  1  0.0743514
  2  471.433
  3  7.32652e-07
  4  0.0243508
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904492': 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) = 701.030191179
delta logL = -7.10707922735e-07

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.056e-04  7.435e-02  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.612e+00  4.714e+02  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  7.138e-01  2.435e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.000e-02  7.327e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.082 49.475

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/904492/cmap_HighResolution_598838401_599097601_4FGL_J0748.3+4928_daily_bin1387.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.28e-02', job_status='DONE', photon_flux_upper_limit='5.55e-07', time_completed='2021-08-28 14:28:22.866005', job_id='904492', GAL2='0.71', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630186102.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='-7.11e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1387' AND source_name='4FGL J0748.3+4928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 14:28:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 904492: <4FGL_J0748.3+4928_daily_bin1387> in cluster <slac> Done

Job <4FGL_J0748.3+4928_daily_bin1387> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 14:15:36 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 14:17:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 14:17:35 2021
Terminated at Sat Aug 28 14:28:26 2021
Results reported at Sat Aug 28 14:28:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.3+4928_daily_bin1387 117.082 49.4748 598838401 599097601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0748.3+4928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   491.57 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             247.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            770 sec.

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

