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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin1066
RA = 237.1, Dec = 14.9461
tmin = 515635201, tmax = 515894401
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='711403', job_status='RUN', time_executed='2021-09-12 13:32:59.421130', time_epoch_executed='1631478779.42' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='1066'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/711403

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/711403/ft1_4FGL_J1548.3+1456_daily_bin1066.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/711403/ft1_4FGL_J1548.3+1456_daily_bin1066.fits outfile=/scratch/kocevski/711403/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin1066.fits ra=237.1 dec=14.9461 rad=12.0 tmin=515635201.0 tmax=515894401.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 3.49
user 3.27
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.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/711403/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin1066.fits evtable="EVENTS" outfile="/scratch/kocevski/711403/ft1_filtered_4FGL_J1548.3+1456_daily_bin1066.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/711403/ft1_filtered_4FGL_J1548.3+1456_daily_bin1066.fits" evtable="EVENTS" scfile=/scratch/kocevski/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.fits sctable="SC_DATA" outfile=/scratch/kocevski/711403/ltcube_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.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/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.fits
.....................!
real 14.55
user 14.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/711403/ft1_filtered_4FGL_J1548.3+1456_daily_bin1066.fits evtable="EVENTS" scfile=/scratch/kocevski/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.fits sctable="SC_DATA" expcube=/scratch/kocevski/711403/ltcube_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.fits outfile=/scratch/kocevski/711403/expmap_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.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/711403/ltcube_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.fits
.....................!
real 191.63
user 187.19
sys 3.97

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

Setting source of interest to:
4FGL J1548.3+1456 @ 237.1 14.9461

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/711403/ft1_filtered_4FGL_J1548.3+1456_daily_bin1066.fits scfile=/scratch/kocevski/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.fits outfile=/scratch/kocevski/711403/cmap_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.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=237.1 yref=14.9461 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/711403/ft1_filtered_4FGL_J1548.3+1456_daily_bin1066.fits scfile=/scratch/kocevski/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.fits outfile=/scratch/kocevski/711403/cmap_HighResolution_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.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=237.1 yref=14.9461 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.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/711403/ft1_filtered_4FGL_J1548.3+1456_daily_bin1066.fits evtable="EVENTS" scfile=/scratch/kocevski/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/711403/Model_4FGL_J1548.3+1456_daily_bin1066.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/711403/ft1_filtered_4FGL_J1548.3+1456_daily_bin1066.fits.....................!
real 55.81
user 54.49
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/711403/ft1_filtered_4FGL_J1548.3+1456_daily_bin1066.fits', '/scratch/kocevski/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.fits', expMap='/scratch/kocevski/711403/expmap_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.fits', expCube='/scratch/kocevski/711403/ltcube_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/711403/Model_4FGL_J1548.3+1456_daily_bin1066.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1548.3+1456'

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.171e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  1.914e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
237         beta:  1.051e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
238           Eb:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/711403/ft1_filtered_4FGL_J1548.3+1456_daily_bin1066.fits
Spacecraft file(s): /scratch/kocevski/711403/ft2_4FGL_J1548.3+1456_daily_bin1066.fits
Exposure map: /scratch/kocevski/711403/expmap_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.fits
Exposure cube: /scratch/kocevski/711403/ltcube_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/711403/Model_4FGL_J1548.3+1456_daily_bin1066.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) = 7265.46958901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .49594       1.0000         .10000E-03   10000.    
     3 'norm      '    23.879       1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.029       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.195       1.0000         .10000E-03   10000.    
     8 'norm      '    5.4746       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.819       1.0000         .10000E-03   10000.    
    12 'norm      '    25.082       1.0000         .10000E-03   10000.    
    13 'norm      '    4.1828       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.9559       1.0000         .10000E-03   10000.    
    15 'norm      '    5.6039       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .68360       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7265.464     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1837 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.151       -.26555E-04** at limit **
   2  norm          .49593        .20871        .20319E-08    .24398E-03
   3  norm          23.877        42.419       -.36109E-05    .15575E-05
   4  Prefactor     36.029        44.844       -.37769E-06    .13595E-04
   5  Prefactor     .10000E-03    10.553       -.68920E-05** at limit **
   6  Prefactor     .10000E-03    12.283       -.30462E-06** at limit **
   7  Prefactor     22.191        24.770       -.49060E-05   -.51665E-06
   8  norm          5.4748        3.0529       -.62668E-07   -.16177E-03
   9  Prefactor     .10000E-03    9.8586        .73076E-05** at limit **
  10  norm          .10000E-03    3.1959       -.66328E-07** at limit **
  11  Prefactor     10.815        40.601       -.95596E-05   -.47005E-05
  12  norm          25.082        11.257       -.34881E-06   -.55530E-03
  13  norm          4.1828        1.9630        .68284E-07    .89331E-04
  14  Prefactor     8.9558        8.8614       -.14683E-05   -.14628E-02
  15  norm          5.6036        13.077       -.78077E-06   -.97251E-04
  16  Prefactor     .10000E-03    11.633       -.53612E-05** at limit **
  17  Prefactor     .10000E-03    19.008        .29515E-04** at limit **
  18  Normalizat    .68365        .23344        .13176E-05    .19235E-04
  19  Prefactor     1.1500        .12342        .49884E-06    .37449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.495933
  norm       = 23.877
  Prefactor  = 36.0286
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.1914
  norm       = 5.47479
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.8155
  norm       = 25.0821
  norm       = 4.18282
  Prefactor  = 8.95576
  norm       = 5.60357
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.68365
  Prefactor  = 1.15003
 **********
 **   18 **HESSE 
 **********

 FCN=   7265.464     FROM HESSE     STATUS=OK           272 CALLS     2109 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .49593        .20792        .24487E-04   -1.5567    
   3  norm          23.877        42.427        .81972E-04   -1.4730    
   4  Prefactor     36.029        44.854        .66767E-04   -1.4507    
   5  Prefactor     .10000E-03    10.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.191        24.760        .85020E-04   -1.4765    
   8  norm          5.4748        3.0501        .10655E-03   -1.5240    
   9  Prefactor     .10000E-03    9.8529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.3151        .29727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.815        40.598        .12180E-03   -1.5050    
  12  norm          25.082        11.259        .39992E-03   -1.4706    
  13  norm          4.1828        1.9641        .78372E-04   -1.5299    
  14  Prefactor     8.9558        8.9725        .66966E-03   -1.5109    
  15  norm          5.6036        13.068        .16970E-03   -1.5234    
  16  Prefactor     .10000E-03    11.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .68365        .26579        .39963E-03   -1.0454    
  19  Prefactor     1.1500        .14197        .16895E-03   -.87883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17495e-09
Minuit parameter uncertainties:
  1  3.63347e-07
  2  0.20792
  3  42.481
  4  44.8959
  5  5.27787e-06
  6  9.55889e-06
  7  24.7712
  8  3.05018
  9  4.29109e-06
  10  2.34965e-05
  11  40.7023
  12  11.26
  13  1.96408
  14  8.97388
  15  13.0748
  16  7.96826e-06
  17  4.39545e-05
  18  0.266293
  19  0.142018
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  5.475e+00  3.050e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  1.914e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
237         beta:  1.051e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
238           Eb:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.150e+00  1.420e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  6.836e-01  2.663e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.80
Ra Dec: 237.100 14.946
Photon Index (Fixed Index): 1.91 +/- 0.00
Photon Flux (Fixed Index): 5.47e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 4.14e-05 +/- 2.31e-05

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) = 7265.07836701
delta logL = 0.385167728542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7265.06519231
delta logL = 0.398342427785

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0777       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3662       1.0000          .0000       5.0000    
     3 'Normalizat'    .65738       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1574       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7265.065     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      239 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0777        37.256        .49914E-02   -.62062E-03
   2  alpha         2.3662        3.6797        .26118       -.91714E-05
   3  Normalizat    .65737        .10702        .91784E-01    .59215E-05
   4  Prefactor     1.1574        .46095E-01    .35724E-01    .14041E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.07771
  alpha      = 2.36618
  Normalizat = 0.657365
  Prefactor  = 1.15744
 **********
 **   18 **HESSE 
 **********

 FCN=   7265.065     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0777        3.1739        .84028E-04   -1.5304    
   2  alpha         2.3662        .54181        .98834E-02   -.53555E-01
   3  Normalizat    .65737        .26351        .40663E-03   -1.0560    
   4  Prefactor     1.1574        .14158        .16838E-03   -.87651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07907e-10
Minuit parameter uncertainties:
  1  3.174
  2  0.546152
  3  0.264013
  4  0.141631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/711403': 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) = 7265.06519231
delta logL = 0.398342429182

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  4.078e+00  3.174e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  2.366e+00  5.462e-01  0.000e+00  5.000e+00 ( 1.000e+00)
237         beta:  1.051e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
238           Eb:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.157e+00  1.416e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  6.574e-01  2.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.61
Ra Dec: 237.100 14.946
Photon Index (Free Index): 2.37 +/- 0.55
Photon Flux (Free Index): 8.03e-08 +/- 4.78e-08
Energy Flux (Free Index): 3.03e-05 +/- 1.82e-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/711403/cmap_HighResolution_515635201_515894401_4FGL_J1548.3+1456_daily_bin1066.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.47e-08', energy_flux2='3.03e-05', photon_flux_error='3.05e-08', dlogl='3.98e-01', energy_flux='4.14e-05', photon_flux2='8.03e-08', job_status='DONE', time_completed='2021-09-12 13:42:09.861865', photon_index_error2='0.55', photon_index2='2.37', ts='6.80', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.82e-05', EG='0.68', time_epoch_completed='1631479329.86', return_code='0', job_id='711403', GAL2='1.16', EG2='0.66', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='4.78e-08', ts2='7.61', photon_index='1.91' WHERE bin_id='1066' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:42:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 711403: <4FGL_J1548.3+1456_daily_bin1066> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin1066> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 13:30:23 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:30:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 13:30:58 2021
Terminated at Sun Sep 12 13:42:10 2021
Results reported at Sun Sep 12 13:42:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin1066 237.1 14.9461 515635201 515894401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1548.3+1456 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   531.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             298.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            707 sec.

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

