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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin472
RA = 237.1, Dec = 14.9461
tmin = 361670401, tmax = 361929601
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='708628', job_status='RUN', time_executed='2021-09-12 13:22:11.175015', time_epoch_executed='1631478131.18' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='472'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708628

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708628/ft1_4FGL_J1548.3+1456_daily_bin472.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708628/ft2_4FGL_J1548.3+1456_daily_bin472.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708628/ft1_4FGL_J1548.3+1456_daily_bin472.fits outfile=/scratch/kocevski/708628/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin472.fits ra=237.1 dec=14.9461 rad=12.0 tmin=361670401.0 tmax=361929601.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.68
user 3.32
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708628/ft1_filtered_4FGL_J1548.3+1456_daily_bin472.fits evtable="EVENTS" scfile=/scratch/kocevski/708628/ft2_4FGL_J1548.3+1456_daily_bin472.fits sctable="SC_DATA" expcube=/scratch/kocevski/708628/ltcube_361670401_361929601_4FGL_J1548.3+1456_daily_bin472.fits outfile=/scratch/kocevski/708628/expmap_361670401_361929601_4FGL_J1548.3+1456_daily_bin472.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/708628/ltcube_361670401_361929601_4FGL_J1548.3+1456_daily_bin472.fits
.....................!
real 192.44
user 186.64
sys 5.02

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/708628/ft1_filtered_4FGL_J1548.3+1456_daily_bin472.fits scfile=/scratch/kocevski/708628/ft2_4FGL_J1548.3+1456_daily_bin472.fits outfile=/scratch/kocevski/708628/cmap_361670401_361929601_4FGL_J1548.3+1456_daily_bin472.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708628/ft1_filtered_4FGL_J1548.3+1456_daily_bin472.fits scfile=/scratch/kocevski/708628/ft2_4FGL_J1548.3+1456_daily_bin472.fits outfile=/scratch/kocevski/708628/cmap_HighResolution_361670401_361929601_4FGL_J1548.3+1456_daily_bin472.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.485       1.0000         .10000E-03   10000.    
     2 'norm      '    .21966       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16406E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.170       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21912E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.241       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10563E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    16.129       1.0000         .10000E-03   10000.    
    13 'norm      '    2.7967       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.329       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .69401       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0746       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=   8032.586     FROM MIGRAD    STATUS=CONVERGED    681 CALLS     2478 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.529        63.208        .10524E-03   -.14286E-03
   2  norm          .21970        .17138        .33134E-03   -.44871E-02
   3  norm          .10000E-03    30.107        .18142E-02** at limit **
   4  Prefactor     .10002E-03    358.78        .36285E-03** at limit **
   5  Prefactor     38.158        34.160        .64873E-04   -.10417E-03
   6  Prefactor     .10005E-03    37.669        .13290    ** at limit **
   7  Prefactor     11.242        11.174        .59744E-03   -.61781E-03
   8  norm          .10000E-03    .89887        .82382E-03** at limit **
   9  Prefactor     .10000E-03    95.806        .18142E-02** at limit **
  10  norm          .10000E-03    1.8895        .23526E-03** at limit **
  11  Prefactor     .10000E-03    12.234        .18142E-02** at limit **
  12  norm          16.130        9.5096        .99727E-04   -.16609E-03
  13  norm          2.7968        1.3246        .68563E-04   -.39696E-03
  14  Prefactor     .10000E-03    8.0818        .18142E-02** at limit **
  15  norm          .10000E-03    22.018        .36285E-03** at limit **
  16  Prefactor     15.336        17.825        .10230E-03   -.44231E-03
  17  Prefactor     .10000E-03    22.241        .18142E-02** at limit **
  18  Normalizat    .69399        .26512        .39161E-03   -.38494E-03
  19  Prefactor     1.0746        .12838        .16484E-03   -.63961E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.529
  norm       = 0.219704
  norm       = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 38.1584
  Prefactor  = 0.000100049
  Prefactor  = 11.242
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 16.1303
  norm       = 2.79678
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.3359
  Prefactor  = 0.0001
  Normalizat = 0.693994
  Prefactor  = 1.07455
 **********
 **   18 **HESSE 
 **********

 FCN=   8032.586     FROM HESSE     STATUS=OK           260 CALLS     2738 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.529        63.205        .21048E-04   -1.4945    
   2  norm          .21970        .17133        .13254E-04   -1.5614    
   3  norm          .10000E-03    30.110        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    358.79        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.158        34.160        .12975E-04   -1.4472    
   6  Prefactor     .10005E-03    37.847        .13251       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.242        11.174        .23898E-04   -1.5037    
   8  norm          .10000E-03    .89897        .16476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    95.849        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.8896        .47053E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.235        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.130        9.5097        .39891E-05   -1.4904    
  13  norm          2.7968        1.3246        .27425E-05   -1.5373    
  14  Prefactor     .10000E-03    8.0856        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    22.019        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.336        17.824        .40919E-05   -1.4925    
  17  Prefactor     .10000E-03    22.244        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .69399        .26527        .15665E-04   -1.0413    
  19  Prefactor     1.0746        .12847        .32969E-04   -.90284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72044e-09
Minuit parameter uncertainties:
  1  60.7151
  2  0.171334
  3  3.11635e-05
  4  0.00469664
  5  34.1776
  6  0.00272103
  7  11.1763
  8  4.48417e-06
  9  0.000119906
  10  1.22002e-05
  11  6.04447e-06
  12  9.51057
  13  1.32463
  14  9.33798e-05
  15  1.63779e-05
  16  17.8302
  17  0.00016447
  18  0.265758
  19  0.128503
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  4.484e-06  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.075e+00  1.285e-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:  6.940e-01  2.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/708628/likelihoodResults_361670401_361929601_4FGL_J1548.3+1456_daily_bin472.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) = 8032.59104364
delta logL = -0.0052525951769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8032.58579098
delta logL = 6.80347511661e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9190       1.0000          .0000       5.0000    
     3 'Normalizat'    .69400       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0746       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8032.575     FROM MIGRAD    STATUS=FAILED       158 CALLS      305 TOTAL
                     EDM=   .16E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10138E-01    5.4191        .82474E-02   -.56063E-02
   2  alpha         4.2994        3.3905        .17061       -.68438E-03
   3  Normalizat    .68286        .96327E-01    .39162E-03    .29901E-05
   4  Prefactor     1.0778        .47624E-01    .16484E-03   -.15862E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8032.575     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      389 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10138E-01    5.4191        .78539E-04   -.56063E-02
   2  alpha         4.2994        3.3905        .15891E-01   -.68438E-03
   3  Normalizat    .68286        .96327E-01    .34703E-04    .29901E-05
   4  Prefactor     1.0778        .47624E-01    .14075E-04   -.15862E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8032.575     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      424 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10138E-01    .13434        .31532E-03   -.99427E-03
   2  alpha         4.2994        2.5344        .34122E-01   -.14630E-05
   3  Normalizat    .68286        .25591        .15665E-04    .30481E-05
   4  Prefactor     1.0778        .12858        .65937E-05   -.17242E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0101379
  alpha      = 4.29942
  Normalizat = 0.68286
  Prefactor  = 1.07777
 **********
 **   18 **HESSE 
 **********

 FCN=   8032.575     FROM HESSE     STATUS=OK            27 CALLS      451 TOTAL
                     EDM=   .64E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10138E-01    .27951        .12613E-04   -1.5728    
   2  alpha         4.2994        3.2942        .13649E-02    2.3381    
   3  Normalizat    .68286        .25479        .31329E-05   -1.0457    
   4  Prefactor     1.0778        .12823        .13187E-05   -.90180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.44789e-13
Minuit parameter uncertainties:
  1  0.105939
  2  3.91124
  3  0.255235
  4  0.128265
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708628': 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) = 8032.57471729
delta logL = 0.0110737516343

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.014e-02  1.059e-01  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  4.299e+00  3.911e+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.078e+00  1.283e-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:  6.829e-01  2.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.100 14.946

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/708628/cmap_HighResolution_361670401_361929601_4FGL_J1548.3+1456_daily_bin472.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.10e-05', job_status='DONE', photon_flux_upper_limit='4.09e-08', time_completed='2021-09-12 13:33:11.013026', job_id='708628', GAL2='1.08', fit_tolerance='1e-08', EG2='0.68', EG='0.69', time_epoch_completed='1631478791.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.11e-02', ts2='0.02', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='472' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:33:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 708628: <4FGL_J1548.3+1456_daily_bin472> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin472> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 12 13:20:33 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:21:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 13:21:59 2021
Terminated at Sun Sep 12 13:33:12 2021
Results reported at Sun Sep 12 13:33:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin472 237.1 14.9461 361670401 361929601 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 :                                   654.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            759 sec.

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

