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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin855
RA = 237.1, Dec = 14.9461
tmin = 460944001, tmax = 461203201
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='710260', job_status='RUN', time_executed='2021-09-12 13:29:39.534788', time_epoch_executed='1631478579.53' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710260

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710260/ft1_4FGL_J1548.3+1456_daily_bin855.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710260/ft2_4FGL_J1548.3+1456_daily_bin855.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710260/ft1_4FGL_J1548.3+1456_daily_bin855.fits outfile=/scratch/kocevski/710260/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin855.fits ra=237.1 dec=14.9461 rad=12.0 tmin=460944001.0 tmax=461203201.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.42
user 3.18
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/710260/ft2_4FGL_J1548.3+1456_daily_bin855.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/710260/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin855.fits evtable="EVENTS" outfile="/scratch/kocevski/710260/ft1_filtered_4FGL_J1548.3+1456_daily_bin855.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.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/710260/ft1_filtered_4FGL_J1548.3+1456_daily_bin855.fits" evtable="EVENTS" scfile=/scratch/kocevski/710260/ft2_4FGL_J1548.3+1456_daily_bin855.fits sctable="SC_DATA" outfile=/scratch/kocevski/710260/ltcube_460944001_461203201_4FGL_J1548.3+1456_daily_bin855.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/710260/ft2_4FGL_J1548.3+1456_daily_bin855.fits
.....................!
real 14.68
user 14.28
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710260/ft1_filtered_4FGL_J1548.3+1456_daily_bin855.fits evtable="EVENTS" scfile=/scratch/kocevski/710260/ft2_4FGL_J1548.3+1456_daily_bin855.fits sctable="SC_DATA" expcube=/scratch/kocevski/710260/ltcube_460944001_461203201_4FGL_J1548.3+1456_daily_bin855.fits outfile=/scratch/kocevski/710260/expmap_460944001_461203201_4FGL_J1548.3+1456_daily_bin855.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/710260/ltcube_460944001_461203201_4FGL_J1548.3+1456_daily_bin855.fits
.....................!
real 193.17
user 187.65
sys 4.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/710260/ft1_filtered_4FGL_J1548.3+1456_daily_bin855.fits scfile=/scratch/kocevski/710260/ft2_4FGL_J1548.3+1456_daily_bin855.fits outfile=/scratch/kocevski/710260/cmap_460944001_461203201_4FGL_J1548.3+1456_daily_bin855.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.55
user 0.40
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.150       1.0000         .10000E-03   10000.    
     2 'norm      '    3.3699       1.0000         .10000E-03   10000.    
     3 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.725       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.769       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3867       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.9799       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.3374       1.0000         .10000E-03   10000.    
    13 'norm      '    5.3033       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10123E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2094       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19952E-02   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0814       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .91122       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=   7843.423     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     1879 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.162        52.132        .38525E-06    .73934E-04
   2  norm          3.3701        .44325        .72819E-08   -.95357E-04
   3  norm          .10000E-03    42.900       -.54595E-06** at limit **
   4  Prefactor     .10000E-03    16.114        .12490E-06** at limit **
   5  Prefactor     35.754        33.237        .10339E-05    .17051E-03
   6  Prefactor     25.766        31.844        .67712E-06   -.10910E-04
   7  Prefactor     .10000E-03    8.4373       -.95302E-08** at limit **
   8  norm          1.3870        1.3858       -.10948E-05    .30645E-03
   9  Prefactor     .10000E-03    10.589        .47808E-07** at limit **
  10  norm          2.9807        2.9762        .73165E-07    .70457E-05
  11  Prefactor     .10000E-03    61.988        .11390E-05** at limit **
  12  norm          9.3412        9.8061        .54285E-06    .48820E-04
  13  norm          5.3036        2.2159        .98126E-08    .20744E-04
  14  Prefactor     .10000E-03    4.3283       -.63576E-07** at limit **
  15  norm          .10000E-03    11.251       -.15757E-06** at limit **
  16  Prefactor     1.2143        17.328        .37114E-05   -.79614E-05
  17  Prefactor     .10002E-03    136.96       -.48409E-05** at limit **
  18  Normalizat    1.0808        .23132       -.21049E-05    .30199E-04
  19  Prefactor     .91138        .11323        .53162E-06   -.14883E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.1618
  norm       = 3.3701
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 35.7539
  Prefactor  = 25.7665
  Prefactor  = 0.0001
  norm       = 1.38702
  Prefactor  = 0.0001
  norm       = 2.98068
  Prefactor  = 0.000100003
  norm       = 9.34123
  norm       = 5.30361
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.2143
  Prefactor  = 0.000100016
  Normalizat = 1.0808
  Prefactor  = 0.91138
 **********
 **   18 **HESSE 
 **********

 FCN=   7843.423     FROM HESSE     STATUS=OK           266 CALLS     2145 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.162        52.165        .22158E-03   -1.3893    
   2  norm          3.3701        .44392        .20684E-04   -1.5341    
   3  norm          .10000E-03    43.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.754        33.484        .67049E-04   -1.4511    
   6  Prefactor     25.766        31.938        .78913E-04   -1.4692    
   7  Prefactor     .10000E-03    8.4404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.3870        1.3924        .50174E-03   -1.5472    
   9  Prefactor     .10000E-03    10.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.9807        2.9766        .14820E-03   -1.5363    
  11  Prefactor     .10000E-03    62.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.3412        9.8047        .13115E-03   -1.5097    
  13  norm          5.3036        2.2150        .80818E-04   -1.5247    
  14  Prefactor     .10000E-03    4.3506        .17992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    11.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.2143        17.583        .41157E-03   -1.5488    
  17  Prefactor     .10002E-03    139.94        .20231E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0808        .28023        .33800E-03   -.90371    
  19  Prefactor     .91138        .13863        .18792E-03   -.95745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65651e-10
Minuit parameter uncertainties:
  1  52.1942
  2  0.443919
  3  0.000309446
  4  2.3393e-05
  5  33.5011
  6  31.9594
  7  3.46001e-07
  8  1.39246
  9  2.22967e-05
  10  2.97674
  11  0.000895145
  12  9.80638
  13  2.21506
  14  2.32051e-07
  15  1.10661e-05
  16  9.24432
  17  0.00296503
  18  0.280614
  19  0.138683
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.387e+00  1.392e+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.114e-01  1.387e-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.081e+00  2.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.03
Ra Dec: 237.100 14.946
Photon Index (Fixed Index): 1.91 +/- 0.00
Photon Flux (Fixed Index): 1.38e-08 +/- 1.39e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 1.05e-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) = 7842.93677461
delta logL = 0.486202788472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7842.87036353
delta logL = 0.552613865332

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .87730       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0880       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91065       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=   7842.870     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      211 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87706        .85928        .12725E-01   -.48353E-03
   2  alpha         1.0085        .56180        .50000       -.37750E-04
   3  Normalizat    1.0879        .21546        .76152E-01    .11265E-03
   4  Prefactor     .91069        .11160        .45141E-01    .17752E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.877056
  alpha      = 1.00855
  Normalizat = 1.0879
  Prefactor  = 0.910686
 **********
 **   18 **HESSE 
 **********

 FCN=   7842.870     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87706        1.1682        .77397E-03   -1.5521    
   2  alpha         1.0085        .74048        .23932E-01   -.63923    
   3  Normalizat    1.0879        .26361        .33705E-03   -.90141    
   4  Prefactor     .91069        .13679        .18799E-03   -.95769    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15259e-09
Minuit parameter uncertainties:
  1  1.16828
  2  0.758415
  3  0.263925
  4  0.136838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710260': 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) = 7842.87036344
delta logL = 0.552613956045

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  8.771e-01  1.168e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  1.009e+00  7.584e-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:  9.107e-01  1.368e-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.088e+00  2.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.14
Ra Dec: 237.100 14.946
Photon Index (Free Index): 1.01 +/- 0.76
Photon Flux (Free Index): 5.08e-09 +/- 5.96e-09
Energy Flux (Free Index): 3.39e-05 +/- 5.42e-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/710260/cmap_HighResolution_460944001_461203201_4FGL_J1548.3+1456_daily_bin855.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-08', energy_flux2='3.39e-05', photon_flux_error='1.39e-08', dlogl='5.53e-01', energy_flux='1.05e-05', photon_flux2='5.08e-09', job_status='DONE', time_completed='2021-09-12 13:38:59.913991', photon_index_error2='0.76', photon_index2='1.01', ts='5.03', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='5.42e-05', EG='1.08', time_epoch_completed='1631479139.91', return_code='0', job_id='710260', GAL2='0.91', EG2='1.09', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='5.96e-09', ts2='6.14', photon_index='1.91' WHERE bin_id='855' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:38:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0129>
Subject: Job 710260: <4FGL_J1548.3+1456_daily_bin855> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin855> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 13:25:30 2021
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:28:14 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:28:14 2021
Terminated at Sun Sep 12 13:39:00 2021
Results reported at Sun Sep 12 13:39:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin855 237.1 14.9461 460944001 461203201 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 :                                   558.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            810 sec.

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

