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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin906
RA = 237.1, Dec = 14.9461
tmin = 474163201, tmax = 474422401
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='710335', job_status='RUN', time_executed='2021-09-12 13:30:22.536557', time_epoch_executed='1631478622.54' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710335

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710335/ft1_4FGL_J1548.3+1456_daily_bin906.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710335/ft2_4FGL_J1548.3+1456_daily_bin906.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710335/ft1_4FGL_J1548.3+1456_daily_bin906.fits outfile=/scratch/kocevski/710335/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin906.fits ra=237.1 dec=14.9461 rad=12.0 tmin=474163201.0 tmax=474422401.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 5.56
user 5.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/710335/ft2_4FGL_J1548.3+1456_daily_bin906.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/710335/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin906.fits evtable="EVENTS" outfile="/scratch/kocevski/710335/ft1_filtered_4FGL_J1548.3+1456_daily_bin906.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/710335/ft1_filtered_4FGL_J1548.3+1456_daily_bin906.fits" evtable="EVENTS" scfile=/scratch/kocevski/710335/ft2_4FGL_J1548.3+1456_daily_bin906.fits sctable="SC_DATA" outfile=/scratch/kocevski/710335/ltcube_474163201_474422401_4FGL_J1548.3+1456_daily_bin906.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/710335/ft2_4FGL_J1548.3+1456_daily_bin906.fits
.....................!
real 15.16
user 14.75
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710335/ft1_filtered_4FGL_J1548.3+1456_daily_bin906.fits evtable="EVENTS" scfile=/scratch/kocevski/710335/ft2_4FGL_J1548.3+1456_daily_bin906.fits sctable="SC_DATA" expcube=/scratch/kocevski/710335/ltcube_474163201_474422401_4FGL_J1548.3+1456_daily_bin906.fits outfile=/scratch/kocevski/710335/expmap_474163201_474422401_4FGL_J1548.3+1456_daily_bin906.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/710335/ltcube_474163201_474422401_4FGL_J1548.3+1456_daily_bin906.fits
.....................!
real 191.28
user 186.56
sys 4.08

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/710335/ft1_filtered_4FGL_J1548.3+1456_daily_bin906.fits scfile=/scratch/kocevski/710335/ft2_4FGL_J1548.3+1456_daily_bin906.fits outfile=/scratch/kocevski/710335/cmap_474163201_474422401_4FGL_J1548.3+1456_daily_bin906.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/710335/ft1_filtered_4FGL_J1548.3+1456_daily_bin906.fits scfile=/scratch/kocevski/710335/ft2_4FGL_J1548.3+1456_daily_bin906.fits outfile=/scratch/kocevski/710335/cmap_HighResolution_474163201_474422401_4FGL_J1548.3+1456_daily_bin906.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.7539       1.0000         .10000E-03   10000.    
     3 'norm      '    30.967       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.755       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7953       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.869       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8443       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10138E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.278       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.5748       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.5236       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.876       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .98792       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0505       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=   6049.649     FROM MIGRAD    STATUS=CONVERGED    377 CALLS     1831 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.851       -.70316E-06** at limit **
   2  norm          3.7539        .56084       -.11187E-07    .17249E-03
   3  norm          30.957        75.309       -.42581E-05   -.79405E-04
   4  Prefactor     13.739        64.059       -.10214E-04   -.11752E-03
   5  Prefactor     .10000E-03    50.250        .75388E-06** at limit **
   6  Prefactor     2.7944        16.547        .10188E-04   -.46660E-03
   7  Prefactor     25.853        49.549       -.61630E-05   -.22532E-03
   8  norm          1.8440        2.5234       -.39821E-07   -.12087E-03
   9  Prefactor     .10000E-03    15.652       -.62722E-07** at limit **
  10  norm          .10000E-03    4.3004       -.24115E-06** at limit **
  11  Prefactor     33.255        72.948       -.88616E-05   -.18783E-03
  12  norm          .10000E-03    4.0840        .82473E-08** at limit **
  13  norm          3.5747        1.9246        .27000E-07    .37948E-04
  14  Prefactor     .10000E-03    7.1612        .10913E-06** at limit **
  15  norm          7.5237        15.052       -.96127E-07   -.15749E-04
  16  Prefactor     .10000E-03    6.3448        .96219E-07** at limit **
  17  Prefactor     30.872        38.201       -.14294E-05   -.80480E-04
  18  Normalizat    .98752        .26027        .18389E-05   -.33787E-04
  19  Prefactor     1.0507        .13369       -.53635E-07    .40939E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.75386
  norm       = 30.9569
  Prefactor  = 13.7388
  Prefactor  = 0.0001
  Prefactor  = 2.79438
  Prefactor  = 25.8533
  norm       = 1.84401
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 33.2548
  norm       = 0.0001
  norm       = 3.57474
  Prefactor  = 0.0001
  norm       = 7.52371
  Prefactor  = 0.0001
  Prefactor  = 30.8723
  Normalizat = 0.987515
  Prefactor  = 1.05068
 **********
 **   18 **HESSE 
 **********

 FCN=   6049.649     FROM HESSE     STATUS=OK           260 CALLS     2091 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7539        .56207        .21787E-04   -1.5320    
   3  norm          30.957        75.858        .72001E-04   -1.4595    
   4  Prefactor     13.739        67.778        .10800E-03   -1.4966    
   5  Prefactor     .10000E-03    50.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.7944        20.005        .12167E-02   -1.5374    
   7  Prefactor     25.853        50.937        .78761E-04   -1.4691    
   8  norm          1.8440        2.5048        .13984E-03   -1.5436    
   9  Prefactor     .10000E-03    15.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.3821        .15723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.255        75.250        .69464E-04   -1.4554    
  12  norm          .10000E-03    4.1098        .15347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.5747        1.9245        .76854E-04   -1.5330    
  14  Prefactor     .10000E-03    7.2322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.5237        15.054        .14621E-03   -1.5159    
  16  Prefactor     .10000E-03    6.3874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     30.872        38.358        .72107E-04   -1.4596    
  18  Normalizat    .98752        .31008        .35820E-03   -.93450    
  19  Prefactor     1.0507        .16020        .18285E-03   -.91059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56425e-09
Minuit parameter uncertainties:
  1  0.000185665
  2  0.562074
  3  76.0959
  4  61.1418
  5  0.00015081
  6  14.9602
  7  51.0229
  8  2.50494
  9  2.4752e-05
  10  4.93198e-05
  11  75.4657
  12  2.97607e-06
  13  1.92455
  14  1.74087e-05
  15  15.0611
  16  1.53572e-05
  17  38.3889
  18  0.310645
  19  0.16027
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.844e+00  2.505e+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.051e+00  1.603e-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.875e-01  3.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/710335/likelihoodResults_474163201_474422401_4FGL_J1548.3+1456_daily_bin906.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) = 6049.29160927
delta logL = 0.357169465447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6049.28252413
delta logL = 0.366254605622

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0703       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8473       1.0000          .0000       5.0000    
     3 'Normalizat'    .94555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0624       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=   6049.283     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      242 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0706        18.860        .17055E-01    .19870E-02
   2  alpha         2.8477        3.9105        .26941        .39220E-04
   3  Normalizat    .94543        .59398E-01    .82474E-01    .25695E-04
   4  Prefactor     1.0624        .30738E-01    .39231E-01   -.17177E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07064
  alpha      = 2.84769
  Normalizat = 0.94543
  Prefactor  = 1.06245
 **********
 **   18 **HESSE 
 **********

 FCN=   6049.283     FROM HESSE     STATUS=OK            35 CALLS      277 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0706        5.6593        .77679E-03   -1.5501    
   2  alpha         2.8477        3.7169        .13973E-01    .13953    
   3  Normalizat    .94543        .31640        .36511E-03   -.94882    
   4  Prefactor     1.0624        .16355        .18188E-03   -.90676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.14312e-09
Minuit parameter uncertainties:
  1  4.92353
  2  2.78931
  3  0.317027
  4  0.163623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710335': 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) = 6049.28252351
delta logL = 0.366255222895

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.071e+00  4.924e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  2.848e+00  2.789e+00  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.062e+00  1.636e-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.454e-01  3.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.59
Ra Dec: 237.100 14.946
Photon Index (Free Index): 2.85 +/- 2.79
Photon Flux (Free Index): 4.97e-08 +/- 6.05e-08
Energy Flux (Free Index): 1.22e-05 +/- 1.75e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/710335/cmap_HighResolution_474163201_474422401_4FGL_J1548.3+1456_daily_bin906.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-05', comment='SUCCESS', energy_flux2='1.22e-05', dlogl='3.66e-01', photon_flux2='4.97e-08', job_status='DONE', time_completed='2021-09-12 13:39:35.369832', photon_index_error2='2.79', photon_index2='2.85', ts='0.85', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='8.61e-08', energy_flux_error2='1.75e-05', EG='0.99', time_epoch_completed='1631479175.37', return_code='0', job_id='710335', GAL2='1.06', EG2='0.95', return_code2='0', photon_flux_error2='6.05e-08', ts2='1.59', photon_index='1.91' WHERE bin_id='906' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:39:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 710335: <4FGL_J1548.3+1456_daily_bin906> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin906 237.1 14.9461 474163201 474422401 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 :                                   550.41 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             340.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            841 sec.

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

