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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin843
RA = 237.1, Dec = 14.9461
tmin = 457833601, tmax = 458092801
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='710242', job_status='RUN', time_executed='2021-09-12 13:29:48.040018', time_epoch_executed='1631478588.04' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='843'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710242

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710242/ft1_4FGL_J1548.3+1456_daily_bin843.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710242/ft2_4FGL_J1548.3+1456_daily_bin843.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710242/ft1_4FGL_J1548.3+1456_daily_bin843.fits outfile=/scratch/kocevski/710242/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin843.fits ra=237.1 dec=14.9461 rad=12.0 tmin=457833601.0 tmax=458092801.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.75
user 3.50
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/710242/ft1_filtered_4FGL_J1548.3+1456_daily_bin843.fits" evtable="EVENTS" scfile=/scratch/kocevski/710242/ft2_4FGL_J1548.3+1456_daily_bin843.fits sctable="SC_DATA" outfile=/scratch/kocevski/710242/ltcube_457833601_458092801_4FGL_J1548.3+1456_daily_bin843.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/710242/ft2_4FGL_J1548.3+1456_daily_bin843.fits
.....................!
real 13.57
user 13.17
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710242/ft1_filtered_4FGL_J1548.3+1456_daily_bin843.fits evtable="EVENTS" scfile=/scratch/kocevski/710242/ft2_4FGL_J1548.3+1456_daily_bin843.fits sctable="SC_DATA" expcube=/scratch/kocevski/710242/ltcube_457833601_458092801_4FGL_J1548.3+1456_daily_bin843.fits outfile=/scratch/kocevski/710242/expmap_457833601_458092801_4FGL_J1548.3+1456_daily_bin843.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/710242/ltcube_457833601_458092801_4FGL_J1548.3+1456_daily_bin843.fits
.....................!
real 193.51
user 186.77
sys 5.48

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/710242/ft1_filtered_4FGL_J1548.3+1456_daily_bin843.fits scfile=/scratch/kocevski/710242/ft2_4FGL_J1548.3+1456_daily_bin843.fits outfile=/scratch/kocevski/710242/cmap_457833601_458092801_4FGL_J1548.3+1456_daily_bin843.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.37
sys 0.15

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

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.851       1.0000         .10000E-03   10000.    
     2 'norm      '    7.9969       1.0000         .10000E-03   10000.    
     3 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8978       1.0000         .10000E-03   10000.    
     5 'Prefactor '    41.561       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.352       1.0000         .10000E-03   10000.    
     8 'norm      '    4.5349       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.4070       1.0000         .10000E-03   10000.    
    11 'Prefactor '    84.469       1.0000         .10000E-03   10000.    
    12 'norm      '    8.9847       1.0000         .10000E-03   10000.    
    13 'norm      '    4.1830       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4707       1.0000         .10000E-03   10000.    
    15 'norm      '    12.192       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.133       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20718E-02   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .91633       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85751       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=   9651.117     FROM MIGRAD    STATUS=CONVERGED    675 CALLS     2197 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.918        59.094        .74589E-04    .27435E-05
   2  norm          7.9969        .60839        .20342E-04    .19673E-03
   3  norm          .10000E-03    21.807        .18142E-02** at limit **
   4  Prefactor     1.8859        326.98        .30195E-03   -.12048E-05
   5  Prefactor     41.568        38.601        .62181E-04   -.47537E-05
   6  Prefactor     .10000E-03    9.6772        .18142E-02** at limit **
   7  Prefactor     39.351        29.388        .63896E-04   -.17437E-04
   8  norm          4.5342        2.9666        .65159E-03   -.20804E-03
   9  Prefactor     .10000E-03    33.347        .18142E-02** at limit **
  10  norm          4.4069        3.4775        .15441E-03   -.35045E-04
  11  Prefactor     84.470        62.361        .43708E-04   -.14878E-04
  12  norm          8.9844        8.3475        .13372E-03   -.69208E-04
  13  norm          4.1830        1.6997        .78371E-04   -.79204E-04
  14  Prefactor     2.4724        5.5192        .26014E-03    .26221E-05
  15  norm          12.194        10.988        .11472E-03   -.74917E-04
  16  Prefactor     11.132        12.021        .12007E-03   -.41093E-04
  17  Prefactor     .10000E-03    24.895        .13516    ** at limit **
  18  Normalizat    .91636        .27061        .39218E-03   -.21927E-03
  19  Prefactor     .85750        .12886        .19993E-03   -.99853E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.9181
  norm       = 7.99694
  norm       = 0.0001
  Prefactor  = 1.88592
  Prefactor  = 41.5681
  Prefactor  = 0.0001
  Prefactor  = 39.3512
  norm       = 4.53418
  Prefactor  = 0.0001
  norm       = 4.40694
  Prefactor  = 84.4696
  norm       = 8.98441
  norm       = 4.18301
  Prefactor  = 2.47238
  norm       = 12.1937
  Prefactor  = 11.1323
  Prefactor  = 0.0001
  Normalizat = 0.916358
  Prefactor  = 0.857502
 **********
 **   18 **HESSE 
 **********

 FCN=   9651.117     FROM HESSE     STATUS=OK           260 CALLS     2457 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.918        59.080        .29836E-05   -1.4632    
   2  norm          7.9969        .60840        .81367E-06   -1.5142    
   3  norm          .10000E-03    21.808        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8859        326.83        .12078E-04   -1.5433    
   5  Prefactor     41.568        38.605        .24872E-05   -1.4418    
   6  Prefactor     .10000E-03    9.6774        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     39.351        29.404        .25558E-05   -1.4453    
   8  norm          4.5342        2.9662        .26064E-04   -1.5282    
   9  Prefactor     .10000E-03    33.354        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.4069        3.4773        .61766E-05   -1.5288    
  11  Prefactor     84.470        62.364        .87416E-05   -1.3867    
  12  norm          8.9844        8.3465        .53486E-05   -1.5108    
  13  norm          4.1830        1.6997        .31349E-05   -1.5299    
  14  Prefactor     2.4724        5.5190        .10406E-04   -1.5393    
  15  norm          12.194        10.988        .45889E-05   -1.5009    
  16  Prefactor     11.132        12.021        .48027E-05   -1.5041    
  17  Prefactor     .10000E-03    24.516        .13661       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .91636        .27081        .15687E-04   -.95888    
  19  Prefactor     .85750        .12901        .79971E-05   -.97642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82963e-10
Minuit parameter uncertainties:
  1  59.2
  2  0.608403
  3  1.65273e-05
  4  49.9321
  5  38.6283
  6  1.94117e-06
  7  29.4144
  8  2.96628
  9  0.000119107
  10  3.47747
  11  62.4126
  12  8.34757
  13  1.6997
  14  5.52016
  15  10.9901
  16  12.024
  17  0.000118183
  18  0.27121
  19  0.129054
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  4.534e+00  2.966e+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.575e-01  1.291e-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:  9.164e-01  2.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.11
Ra Dec: 237.100 14.946
Photon Index (Fixed Index): 1.91 +/- 0.00
Photon Flux (Fixed Index): 4.53e-08 +/- 2.96e-08
Energy Flux (Fixed Index): 3.43e-05 +/- 2.24e-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) = 9650.33644603
delta logL = 0.780613279114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9650.31455522
delta logL = 0.802504088984

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3600       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5550       1.0000          .0000       5.0000    
     3 'Normalizat'    .86325       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87122       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=   9650.315     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      237 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3600        28.049        .55193E-02    .76569E-03
   2  alpha         2.5549        3.6901        .29587        .39124E-04
   3  Normalizat    .86323        .84735E-01    .90876E-01   -.43181E-03
   4  Prefactor     .87122        .35109E-01    .44637E-01   -.10097E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 3.35998
  alpha      = 2.55494
  Normalizat = 0.863232
  Prefactor  = 0.871222
 **********
 **   18 **HESSE 
 **********

 FCN=   9650.315     FROM HESSE     STATUS=OK            31 CALLS      268 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3600        2.8508        .92362E-04   -1.5341    
   2  alpha         2.5549        .55648        .10561E-01    .21980E-01
   3  Normalizat    .86323        .26018        .40255E-03   -.97764    
   4  Prefactor     .87122        .12807        .19835E-03   -.97154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88126e-10
Minuit parameter uncertainties:
  1  2.85094
  2  0.561182
  3  0.260555
  4  0.128111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710242': 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) = 9650.31455521
delta logL = 0.802504097204

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  3.360e+00  2.851e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  2.555e+00  5.612e-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.712e-01  1.281e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  8.632e-01  2.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.69
Ra Dec: 237.100 14.946
Photon Index (Free Index): 2.55 +/- 0.56
Photon Flux (Free Index): 9.14e-08 +/- 5.80e-08
Energy Flux (Free Index): 2.83e-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/710242/cmap_HighResolution_457833601_458092801_4FGL_J1548.3+1456_daily_bin843.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.53e-08', energy_flux2='2.83e-05', photon_flux_error='2.96e-08', dlogl='8.03e-01', energy_flux='3.43e-05', photon_flux2='9.14e-08', job_status='DONE', time_completed='2021-09-12 13:40:42.593806', photon_index_error2='0.56', photon_index2='2.55', ts='4.11', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='0.92', time_epoch_completed='1631479242.59', return_code='0', job_id='710242', GAL2='0.87', EG2='0.86', return_code2='0', energy_flux_error='2.24e-05', photon_flux_error2='5.80e-08', ts2='5.69', photon_index='1.91' WHERE bin_id='843' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:40:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 710242: <4FGL_J1548.3+1456_daily_bin843> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin843> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 13:25:29 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:28:01 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:28:01 2021
Terminated at Sun Sep 12 13:40:43 2021
Results reported at Sun Sep 12 13:40:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin843 237.1 14.9461 457833601 458092801 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 :                                   647.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            914 sec.

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

