/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 1 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 = 7365
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1548.3+1456_daily_bin103
RA = 237.1, Dec = 14.9461
tmin = 266025601, tmax = 266284801
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='705951', job_status='RUN', time_executed='2021-09-12 13:16:53.768173', time_epoch_executed='1631477813.77' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='103'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/705951

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/705951/ft1_4FGL_J1548.3+1456_daily_bin103.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/705951/ft2_4FGL_J1548.3+1456_daily_bin103.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/705951/ft1_4FGL_J1548.3+1456_daily_bin103.fits outfile=/scratch/kocevski/705951/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin103.fits ra=237.1 dec=14.9461 rad=12.0 tmin=266025601.0 tmax=266284801.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 1.45
user 1.24
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/705951/ft1_filtered_4FGL_J1548.3+1456_daily_bin103.fits evtable="EVENTS" scfile=/scratch/kocevski/705951/ft2_4FGL_J1548.3+1456_daily_bin103.fits sctable="SC_DATA" expcube=/scratch/kocevski/705951/ltcube_266025601_266284801_4FGL_J1548.3+1456_daily_bin103.fits outfile=/scratch/kocevski/705951/expmap_266025601_266284801_4FGL_J1548.3+1456_daily_bin103.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/705951/ltcube_266025601_266284801_4FGL_J1548.3+1456_daily_bin103.fits
.....................!
real 192.05
user 186.37
sys 5.11

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/705951/ft1_filtered_4FGL_J1548.3+1456_daily_bin103.fits scfile=/scratch/kocevski/705951/ft2_4FGL_J1548.3+1456_daily_bin103.fits outfile=/scratch/kocevski/705951/cmap_266025601_266284801_4FGL_J1548.3+1456_daily_bin103.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/705951/ft1_filtered_4FGL_J1548.3+1456_daily_bin103.fits scfile=/scratch/kocevski/705951/ft2_4FGL_J1548.3+1456_daily_bin103.fits outfile=/scratch/kocevski/705951/cmap_HighResolution_266025601_266284801_4FGL_J1548.3+1456_daily_bin103.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.8205       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0592       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.325       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3996       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.5681       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.635       1.0000         .10000E-03   10000.    
    12 'norm      '    18.788       1.0000         .10000E-03   10000.    
    13 'norm      '    3.4466       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.935       1.0000         .10000E-03   10000.    
    15 'norm      '    29.167       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    36.168       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .86147       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0706       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=   10936.11     FROM MIGRAD    STATUS=CONVERGED    370 CALLS     1859 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.805        .45412E-06** at limit **
   2  norm          2.8204        .33496       -.11886E-07    .49666E-03
   3  norm          .10000E-03    11.466       -.40009E-05** at limit **
   4  Prefactor     2.9195        93.116       -.39926E-04   -.16989E-04
   5  Prefactor     .10000E-03    11.074        .53888E-05** at limit **
   6  Prefactor     13.251        35.898       -.21472E-04   -.94793E-04
   7  Prefactor     .10000E-03    10.768       -.17610E-05** at limit **
   8  norm          1.3995        1.2754       -.50255E-06   -.25913E-03
   9  Prefactor     7.5582        31.499        .64315E-04    .37095E-04
  10  norm          .10000E-03    .79067        .13930E-06** at limit **
  11  Prefactor     20.634        43.486       -.95722E-05   -.31260E-05
  12  norm          18.785        8.6668       -.48826E-06   -.73705E-04
  13  norm          3.4469        1.6025        .10511E-06   -.84544E-04
  14  Prefactor     10.932        8.3999       -.51735E-06   -.48461E-04
  15  norm          29.165        13.262       -.44193E-05   -.13435E-04
  16  Prefactor     .10000E-03    2.5457        .10063E-08** at limit **
  17  Prefactor     36.167        27.316       -.78593E-05   -.82126E-06
  18  Normalizat    .86231        .20812        .36258E-05   -.74876E-04
  19  Prefactor     1.0702        .10306       -.12478E-06    .18755E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.82037
  norm       = 0.0001
  Prefactor  = 2.91949
  Prefactor  = 0.0001
  Prefactor  = 13.251
  Prefactor  = 0.0001
  norm       = 1.39954
  Prefactor  = 7.55823
  norm       = 0.0001
  Prefactor  = 20.6343
  norm       = 18.7855
  norm       = 3.44689
  Prefactor  = 10.932
  norm       = 29.1647
  Prefactor  = 0.0001
  Prefactor  = 36.1667
  Normalizat = 0.862306
  Prefactor  = 1.07024
 **********
 **   18 **HESSE 
 **********

 FCN=   10936.11     FROM HESSE     STATUS=OK           272 CALLS     2131 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8204        .33573        .20108E-04   -1.5372    
   3  norm          .10000E-03    11.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9195        93.845        .23194E-03   -1.5366    
   5  Prefactor     .10000E-03    11.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.251        36.018        .10973E-03   -1.4980    
   7  Prefactor     .10000E-03    10.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.3995        1.2926        .10899E-03   -1.5471    
   9  Prefactor     7.5582        31.281        .14578E-03   -1.5158    
  10  norm          .10000E-03    .79436        .90796E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.634        43.493        .88173E-04   -1.4799    
  12  norm          18.785        8.6643        .92402E-04   -1.4841    
  13  norm          3.4469        1.6027        .86292E-04   -1.5337    
  14  Prefactor     10.932        8.4037        .12116E-03   -1.5047    
  15  norm          29.165        13.258        .74184E-04   -1.4627    
  16  Prefactor     .10000E-03    2.5507        .16294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     36.167        27.322        .66639E-04   -1.4504    
  18  Normalizat    .86231        .24436        .38932E-03   -.97798    
  19  Prefactor     1.0702        .12201        .18387E-03   -.90423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8128e-10
Minuit parameter uncertainties:
  1  1.28996e-06
  2  0.335732
  3  9.27422e-07
  4  33.1609
  5  1.5372e-05
  6  36.0769
  7  6.91094e-06
  8  1.29264
  9  30.7802
  10  1.23638e-07
  11  43.5596
  12  8.66492
  13  1.60273
  14  8.4046
  15  13.2592
  16  4.9023e-06
  17  27.331
  18  0.244672
  19  0.122041
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.400e+00  1.293e+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.070e+00  1.220e-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:  8.623e-01  2.447e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.81
Ra Dec: 237.100 14.946
Photon Index (Fixed Index): 1.91 +/- 0.00
Photon Flux (Fixed Index): 1.40e-08 +/- 1.29e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 9.78e-06

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) = 10934.2197861
delta logL = 1.88718964119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10934.2068074
delta logL = 1.90016838295

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26255       1.0000         .10000E-03   10000.    
     2 'alpha     '    .42680       1.0000          .0000       5.0000    
     3 'Normalizat'    .86698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0719       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=   10934.21     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      220 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26267        .22330        .10260E-01   -.19201E-02
   2  alpha         .42630        .50488        .50000        .20866E-04
   3  Normalizat    .86690        .19502        .87705E-01    .30855E-03
   4  Prefactor     1.0719        .10210        .38770E-01    .52118E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.262671
  alpha      = 0.426298
  Normalizat = 0.866897
  Prefactor  = 1.07191
 **********
 **   18 **HESSE 
 **********

 FCN=   10934.21     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26267        .54683        .37500E-03   -1.5605    
   2  alpha         .42630        .72752        .31836E-01   -.97818    
   3  Normalizat    .86690        .22871        .38841E-03   -.97633    
   4  Prefactor     1.0719        .12008        .18378E-03   -.90370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42752e-10
Minuit parameter uncertainties:
  1  0.546845
  2  0.765262
  3  0.228969
  4  0.120107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/705951': 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) = 10934.2068057
delta logL = 1.9001700696

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  2.627e-01  5.468e-01  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  4.263e-01  7.653e-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.072e+00  1.201e-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:  8.669e-01  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.61
Ra Dec: 237.100 14.946
Photon Index (Free Index): 0.43 +/- 0.77
Photon Flux (Free Index): 3.01e-09 +/- 3.16e-09
Energy Flux (Free Index): 6.25e-05 +/- 7.88e-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/705951/cmap_HighResolution_266025601_266284801_4FGL_J1548.3+1456_daily_bin103.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.40e-08', energy_flux2='6.25e-05', photon_flux_error='1.29e-08', dlogl='1.90e+00', energy_flux='1.06e-05', photon_flux2='3.01e-09', job_status='DONE', time_completed='2021-09-12 13:27:35.582197', photon_index_error2='0.77', photon_index2='0.43', ts='9.81', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='7.88e-05', EG='0.86', time_epoch_completed='1631478455.58', return_code='0', job_id='705951', GAL2='1.07', EG2='0.87', return_code2='0', energy_flux_error='9.78e-06', photon_flux_error2='3.16e-09', ts2='13.61', photon_index='1.91' WHERE bin_id='103' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:27:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 705951: <4FGL_J1548.3+1456_daily_bin103> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin103> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 13:10:51 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:16:44 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:16:44 2021
Terminated at Sun Sep 12 13:27:36 2021
Results reported at Sun Sep 12 13:27:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin103 237.1 14.9461 266025601 266284801 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 :                                   640.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             313.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            1005 sec.

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

