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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin628
RA = 237.1, Dec = 14.9461
tmin = 402105601, tmax = 402364801
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='708848', job_status='RUN', time_executed='2021-09-12 13:24:09.656004', time_epoch_executed='1631478249.66' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='628'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708848

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708848/ft1_4FGL_J1548.3+1456_daily_bin628.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708848/ft2_4FGL_J1548.3+1456_daily_bin628.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708848/ft1_4FGL_J1548.3+1456_daily_bin628.fits outfile=/scratch/kocevski/708848/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin628.fits ra=237.1 dec=14.9461 rad=12.0 tmin=402105601.0 tmax=402364801.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.25
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/708848/ft2_4FGL_J1548.3+1456_daily_bin628.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/708848/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin628.fits evtable="EVENTS" outfile="/scratch/kocevski/708848/ft1_filtered_4FGL_J1548.3+1456_daily_bin628.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.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/708848/ft1_filtered_4FGL_J1548.3+1456_daily_bin628.fits" evtable="EVENTS" scfile=/scratch/kocevski/708848/ft2_4FGL_J1548.3+1456_daily_bin628.fits sctable="SC_DATA" outfile=/scratch/kocevski/708848/ltcube_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.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/708848/ft2_4FGL_J1548.3+1456_daily_bin628.fits
.....................!
real 14.36
user 13.88
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708848/ft1_filtered_4FGL_J1548.3+1456_daily_bin628.fits evtable="EVENTS" scfile=/scratch/kocevski/708848/ft2_4FGL_J1548.3+1456_daily_bin628.fits sctable="SC_DATA" expcube=/scratch/kocevski/708848/ltcube_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.fits outfile=/scratch/kocevski/708848/expmap_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.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/708848/ltcube_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.fits
.....................!
real 191.31
user 186.10
sys 4.50

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/708848/ft1_filtered_4FGL_J1548.3+1456_daily_bin628.fits scfile=/scratch/kocevski/708848/ft2_4FGL_J1548.3+1456_daily_bin628.fits outfile=/scratch/kocevski/708848/cmap_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708848/ft1_filtered_4FGL_J1548.3+1456_daily_bin628.fits scfile=/scratch/kocevski/708848/ft2_4FGL_J1548.3+1456_daily_bin628.fits outfile=/scratch/kocevski/708848/cmap_HighResolution_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.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.56
user 0.41
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/708848/ft1_filtered_4FGL_J1548.3+1456_daily_bin628.fits', '/scratch/kocevski/708848/ft2_4FGL_J1548.3+1456_daily_bin628.fits', expMap='/scratch/kocevski/708848/expmap_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.fits', expCube='/scratch/kocevski/708848/ltcube_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/708848/Model_4FGL_J1548.3+1456_daily_bin628.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/708848/ft1_filtered_4FGL_J1548.3+1456_daily_bin628.fits
Spacecraft file(s): /scratch/kocevski/708848/ft2_4FGL_J1548.3+1456_daily_bin628.fits
Exposure map: /scratch/kocevski/708848/expmap_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.fits
Exposure cube: /scratch/kocevski/708848/ltcube_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/708848/Model_4FGL_J1548.3+1456_daily_bin628.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) = 7637.53331497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17531E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    37.883       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.617       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .64249       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.393       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.5071       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    55.191       1.0000         .10000E-03   10000.    
    12 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .20925       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3286       1.0000         .10000E-03   10000.    
    15 'norm      '    .11464E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.3499       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.4487       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0265       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99235       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=   7637.532     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     1915 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.548        .71170E-07** at limit **
   2  norm          .10000E-03    .10097        .52878E-07** at limit **
   3  norm          37.908        38.296       -.15539E-06   -.42848E-04
   4  Prefactor     19.612        29.653        .26861E-06    .64845E-04
   5  Prefactor     .32446        33.114        .19633E-06    .97048E-04
   6  Prefactor     14.409        39.882        .16917E-06    .29021E-04
   7  Prefactor     .10000E-03    8.6425        .27102E-07** at limit **
   8  norm          4.5064        2.7608        .21242E-07   -.38446E-04
   9  Prefactor     .10000E-03    79.585        .15265E-05** at limit **
  10  norm          .10000E-03    2.7208        .79198E-07** at limit **
  11  Prefactor     55.212        50.251       -.20326E-06   -.28902E-04
  12  norm          .10000E-03    1.8772       -.30135E-08** at limit **
  13  norm          .20909        .85238        .10525E-05   -.73206E-04
  14  Prefactor     2.3280        18.442        .16718E-05   -.12299E-04
  15  norm          .10000E-03    16.287       -.61695E-07** at limit **
  16  Prefactor     7.3349        12.891        .16688E-06   -.92965E-04
  17  Prefactor     8.4507        43.945        .13354E-06   -.38725E-04
  18  Normalizat    1.0274        .23580       -.25551E-05   -.77117E-06
  19  Prefactor     .99194        .11058        .46189E-06   -.27484E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 37.9079
  Prefactor  = 19.6121
  Prefactor  = 0.324462
  Prefactor  = 14.4088
  Prefactor  = 0.0001
  norm       = 4.50635
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 55.2123
  norm       = 0.0001
  norm       = 0.209094
  Prefactor  = 2.32805
  norm       = 0.0001
  Prefactor  = 7.33489
  Prefactor  = 8.45068
  Normalizat = 1.02737
  Prefactor  = 0.991939
 **********
 **   18 **HESSE 
 **********

 FCN=   7637.532     FROM HESSE     STATUS=OK           274 CALLS     2189 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .14175        .54030E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          37.908        38.291        .65118E-04   -1.4476    
   4  Prefactor     19.612        29.644        .90429E-04   -1.4822    
   5  Prefactor     .32446        43.140        .12482       -1.5594    
   6  Prefactor     14.409        39.929        .10557E-03   -1.4949    
   7  Prefactor     .10000E-03    8.6506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.5064        2.7578        .10949E-03   -1.5283    
   9  Prefactor     .10000E-03    81.707        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.8409        .28155E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     55.212        50.235        .53994E-04   -1.4220    
  12  norm          .10000E-03    1.8791        .11692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .20909        .85390        .15883E-03   -1.5617    
  14  Prefactor     2.3280        18.575        .26875E-03   -1.5403    
  15  norm          .10000E-03    16.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.3349        12.886        .14794E-03   -1.5166    
  17  Prefactor     8.4507        44.081        .13792E-03   -1.5126    
  18  Normalizat    1.0274        .28420        .33981E-03   -.92119    
  19  Prefactor     .99194        .13499        .17483E-03   -.92999    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.00838e-10
Minuit parameter uncertainties:
  1  2.511e-05
  2  6.4333e-07
  3  38.3161
  4  29.6666
  5  7.48699
  6  40.0035
  7  2.41453e-06
  8  2.75791
  9  7.02235e-06
  10  5.46256e-06
  11  50.2735
  12  1.96658e-07
  13  0.844908
  14  13.1572
  15  2.69804e-05
  16  12.8905
  17  38.6457
  18  0.284617
  19  0.135032
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  4.506e+00  2.758e+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:  9.919e-01  1.350e-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:  1.027e+00  2.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.62
Ra Dec: 237.100 14.946
Photon Index (Fixed Index): 1.91 +/- 0.00
Photon Flux (Fixed Index): 4.50e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 3.41e-05 +/- 2.09e-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) = 7636.98583138
delta logL = 0.546195792165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7636.97998632
delta logL = 0.552040855139

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3228       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5502       1.0000          .0000       5.0000    
     3 'Normalizat'    .97896       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0040       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=   7636.980     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      234 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3227        26.939        .55516E-02    .88127E-03
   2  alpha         2.5499        3.7338        .28096        .71065E-04
   3  Normalizat    .97892        .94713E-01    .78361E-01    .10912E-04
   4  Prefactor     1.0040        .38831E-01    .44413E-01   -.11298E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.32275
  alpha      = 2.54992
  Normalizat = 0.978915
  Prefactor  = 1.00404
 **********
 **   18 **HESSE 
 **********

 FCN=   7636.980     FROM HESSE     STATUS=OK            31 CALLS      265 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3227        2.7051        .78455E-04   -1.5343    
   2  alpha         2.5499        .59723        .10024E-01    .19970E-01
   3  Normalizat    .97892        .26318        .34682E-03   -.93740    
   4  Prefactor     1.0040        .13206        .17376E-03   -.92595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5847e-09
Minuit parameter uncertainties:
  1  2.70522
  2  0.603063
  3  0.263525
  4  0.1321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708848': 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) = 7636.97998596
delta logL = 0.552041217098

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  3.323e+00  2.705e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  2.550e+00  6.031e-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.004e+00  1.321e-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:  9.789e-01  2.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.73
Ra Dec: 237.100 14.946
Photon Index (Free Index): 2.55 +/- 0.60
Photon Flux (Free Index): 8.96e-08 +/- 6.01e-08
Energy Flux (Free Index): 2.79e-05 +/- 1.48e-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/708848/cmap_HighResolution_402105601_402364801_4FGL_J1548.3+1456_daily_bin628.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.50e-08', energy_flux2='2.79e-05', photon_flux_error='2.75e-08', dlogl='5.52e-01', energy_flux='3.41e-05', photon_flux2='8.96e-08', job_status='DONE', time_completed='2021-09-12 13:33:21.319688', photon_index_error2='0.60', photon_index2='2.55', ts='6.62', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.48e-05', EG='1.03', time_epoch_completed='1631478801.32', return_code='0', job_id='708848', GAL2='1.00', EG2='0.98', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='6.01e-08', ts2='7.73', photon_index='1.91' WHERE bin_id='628' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:33:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 708848: <4FGL_J1548.3+1456_daily_bin628> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin628> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 12 13:20:48 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:23:53 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:23:53 2021
Terminated at Sun Sep 12 13:33:22 2021
Results reported at Sun Sep 12 13:33:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin628 237.1 14.9461 402105601 402364801 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 :                                   542.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   568 sec.
    Turnaround time :                            754 sec.

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

