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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin454
RA = 237.1, Dec = 14.9461
tmin = 357004801, tmax = 357264001
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='708603', job_status='RUN', time_executed='2021-09-12 13:22:16.803821', time_epoch_executed='1631478136.8' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='454'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708603

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708603/ft1_4FGL_J1548.3+1456_daily_bin454.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708603/ft2_4FGL_J1548.3+1456_daily_bin454.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708603/ft1_4FGL_J1548.3+1456_daily_bin454.fits outfile=/scratch/kocevski/708603/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin454.fits ra=237.1 dec=14.9461 rad=12.0 tmin=357004801.0 tmax=357264001.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.99
user 3.74
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/708603/ft2_4FGL_J1548.3+1456_daily_bin454.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/708603/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin454.fits evtable="EVENTS" outfile="/scratch/kocevski/708603/ft1_filtered_4FGL_J1548.3+1456_daily_bin454.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/708603/ft1_filtered_4FGL_J1548.3+1456_daily_bin454.fits" evtable="EVENTS" scfile=/scratch/kocevski/708603/ft2_4FGL_J1548.3+1456_daily_bin454.fits sctable="SC_DATA" outfile=/scratch/kocevski/708603/ltcube_357004801_357264001_4FGL_J1548.3+1456_daily_bin454.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/708603/ft2_4FGL_J1548.3+1456_daily_bin454.fits
.....................!
real 14.55
user 14.16
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708603/ft1_filtered_4FGL_J1548.3+1456_daily_bin454.fits evtable="EVENTS" scfile=/scratch/kocevski/708603/ft2_4FGL_J1548.3+1456_daily_bin454.fits sctable="SC_DATA" expcube=/scratch/kocevski/708603/ltcube_357004801_357264001_4FGL_J1548.3+1456_daily_bin454.fits outfile=/scratch/kocevski/708603/expmap_357004801_357264001_4FGL_J1548.3+1456_daily_bin454.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/708603/ltcube_357004801_357264001_4FGL_J1548.3+1456_daily_bin454.fits
.....................!
real 192.66
user 186.52
sys 5.04

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/708603/ft1_filtered_4FGL_J1548.3+1456_daily_bin454.fits scfile=/scratch/kocevski/708603/ft2_4FGL_J1548.3+1456_daily_bin454.fits outfile=/scratch/kocevski/708603/cmap_357004801_357264001_4FGL_J1548.3+1456_daily_bin454.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708603/ft1_filtered_4FGL_J1548.3+1456_daily_bin454.fits scfile=/scratch/kocevski/708603/ft2_4FGL_J1548.3+1456_daily_bin454.fits outfile=/scratch/kocevski/708603/cmap_HighResolution_357004801_357264001_4FGL_J1548.3+1456_daily_bin454.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.039       1.0000         .10000E-03   10000.    
     2 'norm      '    .17229       1.0000         .10000E-03   10000.    
     3 'norm      '    21.630       1.0000         .10000E-03   10000.    
     4 'Prefactor '    53.517       1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.631       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3106       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.594       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2906       1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.669       1.0000         .10000E-03   10000.    
    10 'norm      '    4.0053       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    21.934       1.0000         .10000E-03   10000.    
    13 'norm      '    3.5390       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .41027E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    8.5178       1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.538       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5239       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .77146       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .91039       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=   8008.761     FROM MIGRAD    STATUS=CONVERGED    383 CALLS     1924 TOTAL
                     EDM=   .78E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.037        40.947        .73545E-06    .66192E-06
   2  norm          .17230        .17602        .24317E-07   -.42375E-04
   3  norm          21.629        28.785        .25543E-06    .87942E-06
   4  Prefactor     53.518        43.538        .61579E-06   -.54590E-05
   5  Prefactor     47.632        34.431        .85309E-06   -.66392E-05
   6  Prefactor     3.2932        40.995        .92039E-06   -.21646E-05
   7  Prefactor     15.529        30.790        .56986E-05    .20819E-04
   8  norm          1.2904        1.5943        .49979E-07    .65059E-05
   9  Prefactor     37.673        32.125       -.41563E-06   -.18702E-04
  10  norm          4.0048        4.2049        .14826E-05    .29274E-06
  11  Prefactor     .10000E-03    34.944        .17937E-06** at limit **
  12  norm          21.934        10.409        .25070E-06   -.12367E-04
  13  norm          3.5389        1.8589       -.11190E-07   -.17329E-04
  14  Prefactor     .10042E-03    6.4089        .11015E-05** at limit **
  15  norm          8.5172        10.584        .31242E-06   -.44586E-05
  16  Prefactor     22.534        14.610        .44636E-06   -.93732E-04
  17  Prefactor     5.5127        25.368        .13948E-05    .84380E-06
  18  Normalizat    .77115        .21244       -.16366E-05   -.10223E-03
  19  Prefactor     .91058        .10339       -.17118E-06   -.14038E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.0372
  norm       = 0.172304
  norm       = 21.6291
  Prefactor  = 53.5182
  Prefactor  = 47.6316
  Prefactor  = 3.29317
  Prefactor  = 15.5295
  norm       = 1.29041
  Prefactor  = 37.6733
  norm       = 4.00477
  Prefactor  = 0.0001
  norm       = 21.9337
  norm       = 3.53886
  Prefactor  = 0.000100419
  norm       = 8.51724
  Prefactor  = 22.5338
  Prefactor  = 5.51269
  Normalizat = 0.771151
  Prefactor  = 0.910578
 **********
 **   18 **HESSE 
 **********

 FCN=   8008.761     FROM HESSE     STATUS=OK           286 CALLS     2210 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.037        40.948        .66757E-04   -1.4507    
   2  norm          .17230        .16245        .36446E-03   -1.5625    
   3  norm          21.629        28.785        .86122E-04   -1.4777    
   4  Prefactor     53.518        43.614        .54827E-04   -1.4244    
   5  Prefactor     47.632        34.532        .58100E-04   -1.4327    
   6  Prefactor     3.2932        40.708        .22249E-03   -1.5345    
   7  Prefactor     15.529        30.819        .10142E-03   -1.4920    
   8  norm          1.2904        1.5721        .12071E-03   -1.5481    
   9  Prefactor     37.673        31.990        .65302E-04   -1.4480    
  10  norm          4.0048        4.2144        .86672E-03   -1.5308    
  11  Prefactor     .10000E-03    34.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          21.934        10.400        .85525E-04   -1.4771    
  13  norm          3.5389        1.8584        .82352E-04   -1.5332    
  14  Prefactor     .10042E-03    9.6832        .66893E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.5172        10.577        .13735E-03   -1.5124    
  16  Prefactor     22.534        14.601        .42186E-03   -1.4758    
  17  Prefactor     5.5127        25.535        .17095E-03   -1.5238    
  18  Normalizat    .77115        .25057        .36635E-03   -1.0115    
  19  Prefactor     .91058        .12387        .17175E-03   -.95772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59188e-09
Minuit parameter uncertainties:
  1  40.9803
  2  0.162447
  3  28.8032
  4  43.6401
  5  34.5463
  6  23.176
  7  30.8506
  8  1.57212
  9  32.0048
  10  4.21475
  11  6.34115e-06
  12  10.4006
  13  1.85841
  14  0.00402978
  15  10.5797
  16  14.6032
  17  23.7455
  18  0.250941
  19  0.123912
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.290e+00  1.572e+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.106e-01  1.239e-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:  7.712e-01  2.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

TS (Fixed Index): 1.40
Ra Dec: 237.100 14.946
Photon Flux Upper Limit: 5.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/708603/likelihoodResults_357004801_357264001_4FGL_J1548.3+1456_daily_bin454.txt

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) = 8008.65345683
delta logL = 0.107461572506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8008.65270918
delta logL = 0.108209216395

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3430       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5474       1.0000          .0000       5.0000    
     3 'Normalizat'    .77489       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90966       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=   8008.653     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      267 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3429        1.6114        .12020E-03    .43868E-03
   2  alpha         1.5473        .74415        .23610E-01    .20214E-04
   3  Normalizat    .77481        .23702        .36559E-03   -.39310E-03
   4  Prefactor     .90970        .12108        .17182E-03   -.96020E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.34287
  alpha      = 1.54734
  Normalizat = 0.774815
  Prefactor  = 0.909698
 **********
 **   18 **HESSE 
 **********

 FCN=   8008.653     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3429        1.6262        .48079E-05   -1.5476    
   2  alpha         1.5473        .75104        .94442E-03   -.39095    
   3  Normalizat    .77481        .23719        .14623E-04   -1.0101    
   4  Prefactor     .90970        .12117        .34364E-04   -.95803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.01556e-10
Minuit parameter uncertainties:
  1  1.62623
  2  0.764922
  3  0.237508
  4  0.121206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708603': 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) = 8008.65270912
delta logL = 0.108209283298

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.343e+00  1.626e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  1.547e+00  7.649e-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.097e-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:  7.748e-01  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 237.100 14.946
Photon Index (Free Index): 1.55 +/- 0.76
Photon Flux (Free Index): 9.03e-09 +/- 1.34e-08
Energy Flux (Free Index): 1.54e-05 +/- 2.37e-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/708603/cmap_HighResolution_357004801_357264001_4FGL_J1548.3+1456_daily_bin454.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.42e-05', comment='SUCCESS', photon_flux='1.29e-08', energy_flux2='1.54e-05', photon_flux_error='1.57e-08', dlogl='1.08e-01', energy_flux='9.76e-06', photon_flux2='9.03e-09', job_status='DONE', time_completed='2021-09-12 13:32:32.953914', photon_index_error2='0.76', photon_index2='1.55', ts='1.40', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='5.84e-08', energy_flux_error2='2.37e-05', EG='0.77', time_epoch_completed='1631478752.95', return_code='0', job_id='708603', GAL2='0.91', EG2='0.77', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='1.34e-08', ts2='1.62', photon_index='1.91' WHERE bin_id='454' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:32:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 708603: <4FGL_J1548.3+1456_daily_bin454> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin454 237.1 14.9461 357004801 357264001 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 :                                   611.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             325.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            722 sec.

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

