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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin1144
RA = 237.1, Dec = 14.9461
tmin = 535852801, tmax = 536112001
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='711527', job_status='RUN', time_executed='2021-09-12 13:32:00.015241', time_epoch_executed='1631478720.02' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='1144'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/711527

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/711527/ft1_4FGL_J1548.3+1456_daily_bin1144.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/711527/ft2_4FGL_J1548.3+1456_daily_bin1144.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/711527/ft1_4FGL_J1548.3+1456_daily_bin1144.fits outfile=/scratch/kocevski/711527/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin1144.fits ra=237.1 dec=14.9461 rad=12.0 tmin=535852801.0 tmax=536112001.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.59
user 3.36
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/711527/ft1_filtered_4FGL_J1548.3+1456_daily_bin1144.fits" evtable="EVENTS" scfile=/scratch/kocevski/711527/ft2_4FGL_J1548.3+1456_daily_bin1144.fits sctable="SC_DATA" outfile=/scratch/kocevski/711527/ltcube_535852801_536112001_4FGL_J1548.3+1456_daily_bin1144.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/711527/ft2_4FGL_J1548.3+1456_daily_bin1144.fits
.....................!
real 13.11
user 12.70
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/711527/ft1_filtered_4FGL_J1548.3+1456_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/711527/ft2_4FGL_J1548.3+1456_daily_bin1144.fits sctable="SC_DATA" expcube=/scratch/kocevski/711527/ltcube_535852801_536112001_4FGL_J1548.3+1456_daily_bin1144.fits outfile=/scratch/kocevski/711527/expmap_535852801_536112001_4FGL_J1548.3+1456_daily_bin1144.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/711527/ltcube_535852801_536112001_4FGL_J1548.3+1456_daily_bin1144.fits
.....................!
real 190.51
user 186.22
sys 3.93

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/711527/ft1_filtered_4FGL_J1548.3+1456_daily_bin1144.fits scfile=/scratch/kocevski/711527/ft2_4FGL_J1548.3+1456_daily_bin1144.fits outfile=/scratch/kocevski/711527/cmap_535852801_536112001_4FGL_J1548.3+1456_daily_bin1144.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/711527/ft1_filtered_4FGL_J1548.3+1456_daily_bin1144.fits scfile=/scratch/kocevski/711527/ft2_4FGL_J1548.3+1456_daily_bin1144.fits outfile=/scratch/kocevski/711527/cmap_HighResolution_535852801_536112001_4FGL_J1548.3+1456_daily_bin1144.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10417E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.6121       1.0000         .10000E-03   10000.    
     3 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3319       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    41.240       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3930       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.441       1.0000         .10000E-03   10000.    
    10 'norm      '    .20278E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    100.22       1.0000         .10000E-03   10000.    
    12 'norm      '    4.1086       1.0000         .10000E-03   10000.    
    13 'norm      '    7.3531       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    19.343       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0164       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.5838       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .79391       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10359.32     FROM MIGRAD    STATUS=CONVERGED    677 CALLS     2635 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.249        .18142E-02** at limit **
   2  norm          1.6121        .29329        .22641E-04   -.12455E-02
   3  norm          .10000E-03    28.535        .18142E-02** at limit **
   4  Prefactor     5.3145        115.26        .17405E-03    .11757E-05
   5  Prefactor     .10000E-03    28.654        .18142E-02** at limit **
   6  Prefactor     41.254        35.262        .62421E-04   -.10199E-03
   7  Prefactor     .10001E-03    85.843        .36285E-03** at limit **
   8  norm          1.3930        1.3432        .11045E-03    .24085E-04
   9  Prefactor     28.437        29.201        .75123E-04   -.30267E-04
  10  norm          .21533E-02    2.3229        .39902E-01** at limit **
  11  Prefactor     100.19        66.406        .20079E-03    .15514E-04
  12  norm          4.1104        8.7361        .99441E-03   -.74152E-04
  13  norm          7.3532        2.1669        .76997E-04   -.13820E-03
  14  Prefactor     .10000E-03    5.8901        .18142E-02** at limit **
  15  norm          19.343        13.469        .91068E-04   -.72905E-04
  16  Prefactor     1.0156        33.300        .51179E-02    .28432E-03
  17  Prefactor     .10000E-03    14.684        .18142E-02** at limit **
  18  Normalizat    1.5840        .26472        .31688E-03   -.27397E-03
  19  Prefactor     .79381        .12316        .21145E-03   -.61096E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.61206
  norm       = 0.0001
  Prefactor  = 5.31446
  Prefactor  = 0.0001
  Prefactor  = 41.2537
  Prefactor  = 0.000100011
  norm       = 1.39303
  Prefactor  = 28.4372
  norm       = 0.00215335
  Prefactor  = 100.188
  norm       = 4.11037
  norm       = 7.35323
  Prefactor  = 0.0001
  norm       = 19.3431
  Prefactor  = 1.01556
  Prefactor  = 0.0001
  Normalizat = 1.58395
  Prefactor  = 0.793806
 **********
 **   18 **HESSE 
 **********

 FCN=   10359.32     FROM HESSE     STATUS=OK           262 CALLS     2897 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.249        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6121        .29322        .45282E-05   -1.5454    
   3  norm          .10000E-03    28.537        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3145        115.03        .69620E-05   -1.5247    
   5  Prefactor     .10000E-03    28.663        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     41.254        35.253        .12484E-04   -1.4422    
   7  Prefactor     .10001E-03    85.846        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.3930        1.3431        .44180E-05   -1.5472    
   9  Prefactor     28.437        29.195        .30049E-05   -1.4641    
  10  norm          .21533E-02    2.0211        .44187E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     100.19        66.402        .80317E-05   -1.3703    
  12  norm          4.1104        8.7258        .39777E-04   -1.5302    
  13  norm          7.3532        2.1663        .30799E-05   -1.5166    
  14  Prefactor     .10000E-03    5.8937        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          19.343        13.465        .36427E-05   -1.4828    
  16  Prefactor     1.0156        33.128        .20471E-03   -1.5506    
  17  Prefactor     .10000E-03    14.685        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.5840        .26388        .63375E-04   -.75446    
  19  Prefactor     .79381        .12321        .42289E-04   -.99957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08871e-09
Minuit parameter uncertainties:
  1  1.11883e-05
  2  0.293223
  3  4.28921e-05
  4  49.5584
  5  0.000187456
  6  35.2708
  7  0.00191356
  8  1.34315
  9  29.2093
  10  0.128847
  11  66.4511
  12  8.7285
  13  2.16628
  14  6.34346e-05
  15  13.4669
  16  11.607
  17  6.29923e-05
  18  0.264107
  19  0.123254
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.393e+00  1.343e+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:  7.938e-01  1.233e-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.584e+00  2.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.81
Ra Dec: 237.100 14.946
Photon Index (Fixed Index): 1.91 +/- 0.00
Photon Flux (Fixed Index): 1.39e-08 +/- 1.34e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 1.02e-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) = 10358.2929004
delta logL = 1.03076281244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10358.2050904
delta logL = 1.11857273362

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74128       1.0000         .10000E-03   10000.    
     2 'alpha     '    .86079       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5904       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79347       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=   10358.21     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74081        .69276        .12219E-01   -.56448E-03
   2  alpha         .86130        .46331        .50000       -.53493E-04
   3  Normalizat    1.5906        .20273        .71508E-01    .48268E-05
   4  Prefactor     .79341        .10052        .43632E-01    .22132E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.740809
  alpha      = 0.8613
  Normalizat = 1.59061
  Prefactor  = 0.793409
 **********
 **   18 **HESSE 
 **********

 FCN=   10358.21     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74081        1.1052        .76445E-03   -1.5536    
   2  alpha         .86130        .67194        .23550E-02   -.71482    
   3  Normalizat    1.5906        .24420        .31637E-03   -.75263    
   4  Prefactor     .79341        .12118        .21151E-03   -.99972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00348e-09
Minuit parameter uncertainties:
  1  1.10519
  2  0.687005
  3  0.244383
  4  0.121218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/711527': 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) = 10358.2050884
delta logL = 1.11857472586

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  7.408e-01  1.105e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  8.613e-01  6.870e-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:  7.934e-01  1.212e-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.591e+00  2.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.05
Ra Dec: 237.100 14.946
Photon Index (Free Index): 0.86 +/- 0.69
Photon Flux (Free Index): 4.67e-09 +/- 5.32e-09
Energy Flux (Free Index): 4.37e-05 +/- 5.77e-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/711527/cmap_HighResolution_535852801_536112001_4FGL_J1548.3+1456_daily_bin1144.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.39e-08', energy_flux2='4.37e-05', photon_flux_error='1.34e-08', dlogl='1.12e+00', energy_flux='1.05e-05', photon_flux2='4.67e-09', job_status='DONE', time_completed='2021-09-12 13:44:03.278004', photon_index_error2='0.69', photon_index2='0.86', ts='6.81', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='5.77e-05', EG='1.58', time_epoch_completed='1631479443.28', return_code='0', job_id='711527', GAL2='0.79', EG2='1.59', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='5.32e-09', ts2='9.05', photon_index='1.91' WHERE bin_id='1144' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:44:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 711527: <4FGL_J1548.3+1456_daily_bin1144> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin1144> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 13:30:33 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:31:50 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:31:50 2021
Terminated at Sun Sep 12 13:44:04 2021
Results reported at Sun Sep 12 13:44:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin1144 237.1 14.9461 535852801 536112001 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 :                                   711.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             382.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            811 sec.

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

