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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin828
RA = 237.1, Dec = 14.9461
tmin = 453945601, tmax = 454204801
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='710220', job_status='RUN', time_executed='2021-09-12 13:27:57.756217', time_epoch_executed='1631478477.76' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='828'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710220

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710220/ft1_4FGL_J1548.3+1456_daily_bin828.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710220/ft2_4FGL_J1548.3+1456_daily_bin828.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710220/ft1_4FGL_J1548.3+1456_daily_bin828.fits outfile=/scratch/kocevski/710220/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin828.fits ra=237.1 dec=14.9461 rad=12.0 tmin=453945601.0 tmax=454204801.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 4.04
user 3.78
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/710220/ft1_filtered_4FGL_J1548.3+1456_daily_bin828.fits" evtable="EVENTS" scfile=/scratch/kocevski/710220/ft2_4FGL_J1548.3+1456_daily_bin828.fits sctable="SC_DATA" outfile=/scratch/kocevski/710220/ltcube_453945601_454204801_4FGL_J1548.3+1456_daily_bin828.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/710220/ft2_4FGL_J1548.3+1456_daily_bin828.fits
.....................!
real 13.93
user 13.53
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710220/ft1_filtered_4FGL_J1548.3+1456_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/710220/ft2_4FGL_J1548.3+1456_daily_bin828.fits sctable="SC_DATA" expcube=/scratch/kocevski/710220/ltcube_453945601_454204801_4FGL_J1548.3+1456_daily_bin828.fits outfile=/scratch/kocevski/710220/expmap_453945601_454204801_4FGL_J1548.3+1456_daily_bin828.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/710220/ltcube_453945601_454204801_4FGL_J1548.3+1456_daily_bin828.fits
.....................!
real 191.84
user 185.59
sys 5.83

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/710220/ft1_filtered_4FGL_J1548.3+1456_daily_bin828.fits scfile=/scratch/kocevski/710220/ft2_4FGL_J1548.3+1456_daily_bin828.fits outfile=/scratch/kocevski/710220/cmap_453945601_454204801_4FGL_J1548.3+1456_daily_bin828.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/710220/ft1_filtered_4FGL_J1548.3+1456_daily_bin828.fits scfile=/scratch/kocevski/710220/ft2_4FGL_J1548.3+1456_daily_bin828.fits outfile=/scratch/kocevski/710220/cmap_HighResolution_453945601_454204801_4FGL_J1548.3+1456_daily_bin828.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.64
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.6091       1.0000         .10000E-03   10000.    
     3 'norm      '    15.186       1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.378       1.0000         .10000E-03   10000.    
     5 'Prefactor '    54.461       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.667       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .46404       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9766       1.0000         .10000E-03   10000.    
    10 'norm      '    .10550E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .13234E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.8724       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0018       1.0000         .10000E-03   10000.    
    15 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.1313       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .77883       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1021       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=   8445.283     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     1919 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.131       -.71682E-06** at limit **
   2  norm          2.6091        .39155       -.40324E-08   -.11079E-02
   3  norm          15.139        36.441       -.73979E-06   -.89488E-04
   4  Prefactor     35.363        40.346       -.10758E-06   -.65081E-04
   5  Prefactor     54.455        39.323       -.68669E-07   -.10558E-03
   6  Prefactor     14.654        32.561       -.80119E-06   -.11552E-03
   7  Prefactor     .10000E-03    43.585        .11347E-05** at limit **
   8  norm          .46691        1.2280        .11318E-05    .18352E-02
   9  Prefactor     3.9635        72.493       -.12709E-05   -.50605E-04
  10  norm          .10000E-03    1.9234        .35906E-06** at limit **
  11  Prefactor     .10000E-03    76.104       -.17820E-06** at limit **
  12  norm          .10000E-03    23.268        .10047E-05** at limit **
  13  norm          6.8734        2.1569       -.28903E-08   -.23973E-03
  14  Prefactor     .99679        19.565       -.64554E-05    .46251E-03
  15  norm          .10000E-03    10.037        .49269E-06** at limit **
  16  Prefactor     7.1276        11.231        .23417E-08   -.29165E-05
  17  Prefactor     .10001E-03    52.249        .29511E-05** at limit **
  18  Normalizat    .77892        .23960       -.85405E-06   -.28896E-03
  19  Prefactor     1.1021        .11612       -.12413E-06   -.63765E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 2.60909
  norm       = 15.1395
  Prefactor  = 35.3633
  Prefactor  = 54.4546
  Prefactor  = 14.6535
  Prefactor  = 0.000100001
  norm       = 0.466913
  Prefactor  = 3.96346
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 6.87342
  Prefactor  = 0.996787
  norm       = 0.0001
  Prefactor  = 7.12762
  Prefactor  = 0.000100007
  Normalizat = 0.778916
  Prefactor  = 1.1021
 **********
 **   18 **HESSE 
 **********

 FCN=   8445.283     FROM HESSE     STATUS=OK           270 CALLS     2189 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.6091        .39189        .21473E-04   -1.5385    
   3  norm          15.139        36.671        .10278E-03   -1.4930    
   4  Prefactor     35.363        40.352        .67377E-04   -1.4518    
   5  Prefactor     54.455        39.419        .54353E-04   -1.4231    
   6  Prefactor     14.654        32.444        .10458E-03   -1.4942    
   7  Prefactor     .10000E-03    43.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .46691        1.2602        .17722E-02   -1.5571    
   9  Prefactor     3.9635        71.151        .20226E-03   -1.5310    
  10  norm          .10000E-03    16.324        .24245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    76.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    24.246        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.8734        2.1553        .73285E-04   -1.5184    
  14  Prefactor     .99679        22.643        .47649E-02   -1.5508    
  15  norm          .10000E-03    10.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.1276        11.198        .15021E-03   -1.5174    
  17  Prefactor     .10001E-03    53.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .77892        .27559        .41296E-03   -1.0086    
  19  Prefactor     1.1021        .13484        .17926E-03   -.89399    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41016e-09
Minuit parameter uncertainties:
  1  0.000325691
  2  0.391889
  3  36.7258
  4  40.383
  5  39.4384
  6  32.4829
  7  0.000456115
  8  1.26028
  9  33.6322
  10  0.00035489
  11  0.00031374
  12  0.000222489
  13  2.15537
  14  9.50517
  15  7.76476e-05
  16  11.2014
  17  0.00123152
  18  0.276087
  19  0.134884
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  4.669e-01  1.260e+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.102e+00  1.349e-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.789e-01  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/710220/likelihoodResults_453945601_454204801_4FGL_J1548.3+1456_daily_bin828.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) = 8443.89420054
delta logL = 1.38873800983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8443.89399871
delta logL = 1.38893984373

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31227E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .59775       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1617       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=   8443.894     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      381 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31238E-01    .57400        .22038E-02    .55512E-02
   2  alpha         5.0000        2.5983        .46406    ** at limit **
   3  Normalizat    .59764        .16296        .10533        .43953E-04
   4  Prefactor     1.1617        .67480E-01    .35607E-01   -.27277E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0312385
  alpha      = 5
  Normalizat = 0.597638
  Prefactor  = 1.16166
 **********
 **   18 **HESSE 
 **********

 FCN=   8443.894     FROM HESSE     STATUS=OK            31 CALLS      412 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31238E-01    .20898E-01    .99467E-05   -1.5673    
   2  alpha         5.0000        .59906        .44485E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .59764        .27912        .46692E-03   -1.0808    
   4  Prefactor     1.1617        .13789        .17505E-03   -.87520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55945e-12
Minuit parameter uncertainties:
  1  0.0208982
  2  2.21367e-08
  3  0.279783
  4  0.137936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710220': 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) = 8443.89399803
delta logL = 1.38894052483

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  3.124e-02  2.090e-02  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  5.000e+00  2.214e-08  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.162e+00  1.379e-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:  5.976e-01  2.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.38
Ra Dec: 237.100 14.946
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.36e-07 +/- 9.09e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.26e-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/710220/cmap_HighResolution_453945601_454204801_4FGL_J1548.3+1456_daily_bin828.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.83e-05', comment='SUCCESS', energy_flux2='1.88e-05', dlogl='1.39e+00', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-12 13:38:32.384143', photon_index_error2='0.00', photon_index2='5.00', ts='0.18', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='5.05e-08', energy_flux_error2='1.26e-05', EG='0.78', time_epoch_completed='1631479112.38', return_code='0', job_id='710220', GAL2='1.16', EG2='0.60', return_code2='0', photon_flux_error2='9.09e-08', ts2='3.38', photon_index='1.91' WHERE bin_id='828' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:38:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 710220: <4FGL_J1548.3+1456_daily_bin828> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin828> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 13:25:27 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:27:49 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:27:49 2021
Terminated at Sun Sep 12 13:38:33 2021
Results reported at Sun Sep 12 13:38:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin828 237.1 14.9461 453945601 454204801 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 :                                   631.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             368.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   643 sec.
    Turnaround time :                            786 sec.

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

