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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin799
RA = 237.1, Dec = 14.9461
tmin = 446428801, tmax = 446688001
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='710177', job_status='RUN', time_executed='2021-09-12 13:27:53.158910', time_epoch_executed='1631478473.16' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='799'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710177

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710177/ft1_4FGL_J1548.3+1456_daily_bin799.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710177/ft2_4FGL_J1548.3+1456_daily_bin799.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710177/ft1_4FGL_J1548.3+1456_daily_bin799.fits outfile=/scratch/kocevski/710177/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin799.fits ra=237.1 dec=14.9461 rad=12.0 tmin=446428801.0 tmax=446688001.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.50
user 3.27
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/710177/ft1_filtered_4FGL_J1548.3+1456_daily_bin799.fits" evtable="EVENTS" scfile=/scratch/kocevski/710177/ft2_4FGL_J1548.3+1456_daily_bin799.fits sctable="SC_DATA" outfile=/scratch/kocevski/710177/ltcube_446428801_446688001_4FGL_J1548.3+1456_daily_bin799.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/710177/ft2_4FGL_J1548.3+1456_daily_bin799.fits
.....................!
real 14.31
user 13.96
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710177/ft1_filtered_4FGL_J1548.3+1456_daily_bin799.fits evtable="EVENTS" scfile=/scratch/kocevski/710177/ft2_4FGL_J1548.3+1456_daily_bin799.fits sctable="SC_DATA" expcube=/scratch/kocevski/710177/ltcube_446428801_446688001_4FGL_J1548.3+1456_daily_bin799.fits outfile=/scratch/kocevski/710177/expmap_446428801_446688001_4FGL_J1548.3+1456_daily_bin799.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/710177/ltcube_446428801_446688001_4FGL_J1548.3+1456_daily_bin799.fits
.....................!
real 190.71
user 185.36
sys 4.69

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/710177/ft1_filtered_4FGL_J1548.3+1456_daily_bin799.fits scfile=/scratch/kocevski/710177/ft2_4FGL_J1548.3+1456_daily_bin799.fits outfile=/scratch/kocevski/710177/cmap_446428801_446688001_4FGL_J1548.3+1456_daily_bin799.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/710177/ft1_filtered_4FGL_J1548.3+1456_daily_bin799.fits scfile=/scratch/kocevski/710177/ft2_4FGL_J1548.3+1456_daily_bin799.fits outfile=/scratch/kocevski/710177/cmap_HighResolution_446428801_446688001_4FGL_J1548.3+1456_daily_bin799.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=237.1 yref=14.9461 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .46858       1.0000         .10000E-03   10000.    
     3 'norm      '    25.536       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5645       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.557       1.0000         .10000E-03   10000.    
     8 'norm      '    5.1831       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.2150       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .12033E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    6.4825       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .82451       1.0000         .10000E-03   10000.    
    15 'norm      '    45.740       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.532       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3568       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .80214       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=   7863.604     FROM MIGRAD    STATUS=CONVERGED    372 CALLS     1877 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.174        .11754E-06** at limit **
   2  norm          .46855        .19003       -.70793E-08   -.21524E-03
   3  norm          25.555        27.837        .40013E-06    .12517E-03
   4  Prefactor     .10000E-03    12.604       -.77410E-07** at limit **
   5  Prefactor     4.5412        34.886       -.97940E-06   -.74355E-04
   6  Prefactor     .10000E-03    13.296       -.29478E-06** at limit **
   7  Prefactor     14.553        21.176        .14230E-06   -.27095E-04
   8  norm          5.1843        2.9662        .11761E-05    .57504E-03
   9  Prefactor     .10000E-03    23.213       -.22368E-06** at limit **
  10  norm          7.2151        3.6890        .41077E-07    .12262E-05
  11  Prefactor     .10000E-03    12.296        .92975E-07** at limit **
  12  norm          .10002E-03    5.2378        .38408E-07** at limit **
  13  norm          6.4832        1.9837        .26181E-08   -.23023E-04
  14  Prefactor     .80972        7.6704        .18023E-05   -.40807E-03
  15  norm          45.740        18.966        .11281E-06   -.90634E-05
  16  Prefactor     18.531        12.078       -.82064E-07   -.10438E-03
  17  Prefactor     .10000E-03    15.746        .15906E-06** at limit **
  18  Normalizat    1.3572        .22025        .11147E-05   -.20337E-03
  19  Prefactor     .80196        .11161       -.13333E-05   -.11353E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.468549
  norm       = 25.5551
  Prefactor  = 0.0001
  Prefactor  = 4.54115
  Prefactor  = 0.0001
  Prefactor  = 14.5527
  norm       = 5.1843
  Prefactor  = 0.0001
  norm       = 7.21514
  Prefactor  = 0.0001
  norm       = 0.000100016
  norm       = 6.48316
  Prefactor  = 0.80972
  norm       = 45.74
  Prefactor  = 18.5313
  Prefactor  = 0.0001
  Normalizat = 1.35718
  Prefactor  = 0.801962
 **********
 **   18 **HESSE 
 **********

 FCN=   7863.604     FROM HESSE     STATUS=OK           274 CALLS     2151 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .46855        .18907        .23906E-04   -1.5571    
   3  norm          25.555        27.858        .79273E-04   -1.4696    
   4  Prefactor     .10000E-03    12.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5412        35.381        .18842E-03   -1.5282    
   6  Prefactor     .10000E-03    13.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.553        21.187        .10498E-03   -1.4945    
   8  norm          5.1843        3.0299        .56842E-03   -1.5253    
   9  Prefactor     .10000E-03    23.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.2151        3.6881        .11769E-03   -1.5171    
  11  Prefactor     .10000E-03    12.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10002E-03    21.703        .38314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.4832        1.9778        .66977E-04   -1.5199    
  14  Prefactor     .80972        20.732        .42990E-02   -1.5528    
  15  norm          45.740        18.966        .59284E-04   -1.4354    
  16  Prefactor     18.531        12.074        .93037E-04   -1.4847    
  17  Prefactor     .10000E-03    15.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3572        .26171        .30125E-03   -.81875    
  19  Prefactor     .80196        .13101        .19525E-03   -.99656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74846e-09
Minuit parameter uncertainties:
  1  4.80444e-05
  2  0.18907
  3  27.8722
  4  6.42336e-06
  5  25.3716
  6  6.04535e-05
  7  21.1974
  8  3.02998
  9  7.52429e-05
  10  3.68817
  11  2.75489e-05
  12  0.00118862
  13  1.97783
  14  8.19708
  15  18.9689
  16  12.0752
  17  2.27322e-05
  18  0.261968
  19  0.131058
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  5.184e+00  3.030e+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:  8.020e-01  1.311e-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.357e+00  2.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.28
Ra Dec: 237.100 14.946
Photon Index (Fixed Index): 1.91 +/- 0.00
Photon Flux (Fixed Index): 5.18e-08 +/- 3.03e-08
Energy Flux (Fixed Index): 3.92e-05 +/- 2.29e-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) = 7862.41487071
delta logL = 1.18871533847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7862.39609527
delta logL = 1.20749078207

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8104       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8048       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2724       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82558       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=   7862.396     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      241 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8104        17.926        .60661E-02    .11753E-02
   2  alpha         2.8048        3.6923        .20837        .15668E-03
   3  Normalizat    1.2724        .88608E-01    .69853E-01   -.43952E-04
   4  Prefactor     .82558        .40076E-01    .44049E-01   -.16078E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.8104
  alpha      = 2.80477
  Normalizat = 1.2724
  Prefactor  = 0.825576
 **********
 **   18 **HESSE 
 **********

 FCN=   7862.396     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8104        3.7613        .63443E-04   -1.5373    
   2  alpha         2.8048        .81079        .82431E-02    .12221    
   3  Normalizat    1.2724        .26129        .30907E-03   -.84394    
   4  Prefactor     .82558        .13230        .19252E-03   -.98792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08725e-10
Minuit parameter uncertainties:
  1  3.76166
  2  0.825962
  3  0.261564
  4  0.132348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710177': 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) = 7862.39609527
delta logL = 1.20749078343

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  2.810e+00  3.762e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  2.805e+00  8.260e-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:  8.256e-01  1.323e-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.272e+00  2.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.76
Ra Dec: 237.100 14.946
Photon Index (Free Index): 2.80 +/- 0.83
Photon Flux (Free Index): 1.20e-07 +/- 6.40e-08
Energy Flux (Free Index): 3.05e-05 +/- 1.62e-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/710177/cmap_HighResolution_446428801_446688001_4FGL_J1548.3+1456_daily_bin799.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.18e-08', energy_flux2='3.05e-05', photon_flux_error='3.03e-08', dlogl='1.21e+00', energy_flux='3.92e-05', photon_flux2='1.20e-07', job_status='DONE', time_completed='2021-09-12 13:37:15.008693', photon_index_error2='0.83', photon_index2='2.80', ts='5.28', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='1.36', time_epoch_completed='1631479035.01', return_code='0', job_id='710177', GAL2='0.83', EG2='1.27', return_code2='0', energy_flux_error='2.29e-05', photon_flux_error2='6.40e-08', ts2='7.76', photon_index='1.91' WHERE bin_id='799' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:37:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 710177: <4FGL_J1548.3+1456_daily_bin799> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin799 237.1 14.9461 446428801 446688001 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 :                                   559.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   589 sec.
    Turnaround time :                            710 sec.

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

