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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin1304
RA = 237.1, Dec = 14.9461
tmin = 577324801, tmax = 577584001
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='711783', job_status='RUN', time_executed='2021-09-12 13:33:45.277607', time_epoch_executed='1631478825.28' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='1304'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/711783

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/711783/ft1_4FGL_J1548.3+1456_daily_bin1304.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/711783/ft2_4FGL_J1548.3+1456_daily_bin1304.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/711783/ft1_4FGL_J1548.3+1456_daily_bin1304.fits outfile=/scratch/kocevski/711783/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin1304.fits ra=237.1 dec=14.9461 rad=12.0 tmin=577324801.0 tmax=577584001.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.06
user 2.84
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/711783/ft1_filtered_4FGL_J1548.3+1456_daily_bin1304.fits" evtable="EVENTS" scfile=/scratch/kocevski/711783/ft2_4FGL_J1548.3+1456_daily_bin1304.fits sctable="SC_DATA" outfile=/scratch/kocevski/711783/ltcube_577324801_577584001_4FGL_J1548.3+1456_daily_bin1304.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/711783/ft2_4FGL_J1548.3+1456_daily_bin1304.fits
.....................!
real 16.27
user 15.77
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/711783/ft1_filtered_4FGL_J1548.3+1456_daily_bin1304.fits evtable="EVENTS" scfile=/scratch/kocevski/711783/ft2_4FGL_J1548.3+1456_daily_bin1304.fits sctable="SC_DATA" expcube=/scratch/kocevski/711783/ltcube_577324801_577584001_4FGL_J1548.3+1456_daily_bin1304.fits outfile=/scratch/kocevski/711783/expmap_577324801_577584001_4FGL_J1548.3+1456_daily_bin1304.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/711783/ltcube_577324801_577584001_4FGL_J1548.3+1456_daily_bin1304.fits
.....................!
real 191.92
user 186.11
sys 5.21

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/711783/ft1_filtered_4FGL_J1548.3+1456_daily_bin1304.fits scfile=/scratch/kocevski/711783/ft2_4FGL_J1548.3+1456_daily_bin1304.fits outfile=/scratch/kocevski/711783/cmap_577324801_577584001_4FGL_J1548.3+1456_daily_bin1304.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.55
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42022E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .43974       1.0000         .10000E-03   10000.    
     3 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1729       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8851       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.0079       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6134       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11483E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.535       1.0000         .10000E-03   10000.    
    13 'norm      '    13.600       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0619       1.0000         .10000E-03   10000.    
    15 'norm      '    11.529       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.7514       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .98950       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0971       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=   7628.049     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     1637 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    246.13       -.64337E-06** at limit **
   2  norm          .43931        .48391        .36230E-06    .50879E-02
   3  norm          .10000E-03    39.076       -.20920E-06** at limit **
   4  Prefactor     3.8069        243.38        .13119E-04    .77636E-04
   5  Prefactor     4.8627        71.512       -.45509E-05   -.27503E-04
   6  Prefactor     .10000E-03    11.380        .11446E-06** at limit **
   7  Prefactor     .10000E-03    24.082       -.11545E-06** at limit **
   8  norm          3.0083        2.8101        .15120E-06    .33807E-03
   9  Prefactor     .10000E-03    10.965       -.23347E-07** at limit **
  10  norm          1.6096        5.7432        .84776E-05   -.32988E-03
  11  Prefactor     .10000E-03    156.36        .10121E-06** at limit **
  12  norm          11.533        9.5334        .94532E-07    .12526E-03
  13  norm          13.597        3.3932       -.27830E-07    .20511E-04
  14  Prefactor     5.0585        11.398        .51153E-06    .55380E-04
  15  norm          11.526        15.019       -.21328E-06    .29302E-04
  16  Prefactor     9.7496        10.734        .13013E-06    .76418E-04
  17  Prefactor     .10000E-03    19.104       -.19384E-06** at limit **
  18  Normalizat    .99018        .26121       -.15795E-05    .34327E-03
  19  Prefactor     1.0968        .12443        .26264E-06    .91307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  norm       = 0.439309
  norm       = 0.0001
  Prefactor  = 3.80693
  Prefactor  = 4.86266
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.00827
  Prefactor  = 0.0001
  norm       = 1.60964
  Prefactor  = 0.0001
  norm       = 11.5332
  norm       = 13.5974
  Prefactor  = 5.0585
  norm       = 11.526
  Prefactor  = 9.7496
  Prefactor  = 0.0001
  Normalizat = 0.990184
  Prefactor  = 1.09675
 **********
 **   18 **HESSE 
 **********

 FCN=   7628.049     FROM HESSE     STATUS=OK           272 CALLS     1909 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    247.51        .21241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .43931        .47325        .61647E-03   -1.5575    
   3  norm          .10000E-03    39.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8069        250.22        .19730E-03   -1.5318    
   5  Prefactor     4.8627        71.756        .18199E-03   -1.5267    
   6  Prefactor     .10000E-03    11.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    24.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.0083        2.8015        .13583E-03   -1.5361    
   9  Prefactor     .10000E-03    10.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6096        5.7700        .16670E-02   -1.5454    
  11  Prefactor     .10000E-03    156.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.533        9.5237        .11795E-03   -1.5029    
  13  norm          13.597        3.3949        .76732E-04   -1.4970    
  14  Prefactor     5.0585        11.381        .17872E-03   -1.5258    
  15  norm          11.526        15.007        .11798E-03   -1.5029    
  16  Prefactor     9.7496        10.728        .12833E-03   -1.5083    
  17  Prefactor     .10000E-03    19.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .99018        .30843        .38479E-03   -.93360    
  19  Prefactor     1.0968        .14905        .18619E-03   -.89570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54955e-09
Minuit parameter uncertainties:
  1  0.00293527
  2  0.473257
  3  9.87518e-05
  4  61.9987
  5  37.4127
  6  2.97815e-05
  7  5.09434e-05
  8  2.80165
  9  6.27643e-06
  10  5.77203
  11  0.000396739
  12  9.52495
  13  3.39494
  14  11.3861
  15  15.0121
  16  10.7299
  17  6.52065e-05
  18  0.308986
  19  0.149112
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  3.008e+00  2.802e+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.097e+00  1.491e-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.902e-01  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.97
Ra Dec: 237.100 14.946
Photon Index (Fixed Index): 1.91 +/- 0.00
Photon Flux (Fixed Index): 3.00e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 2.12e-05

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

Saving results to:
/scratch/kocevski/711783/likelihoodResults_577324801_577584001_4FGL_J1548.3+1456_daily_bin1304.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) = 7627.7889268
delta logL = 0.260535117663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7627.78741822
delta logL = 0.262043697634

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5028       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3567       1.0000          .0000       5.0000    
     3 'Normalizat'    .97558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0995       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=   7627.787     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      271 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5028        2.6734        .55589E-03   -.49167E-03
   2  alpha         2.3567        .65776        .13580E-01   -.35203E-04
   3  Normalizat    .97557        .28753        .38726E-03   -.37459E-04
   4  Prefactor     1.0995        .14651        .18593E-03    .88051E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50275
  alpha      = 2.35668
  Normalizat = 0.975572
  Prefactor  = 1.09951
 **********
 **   18 **HESSE 
 **********

 FCN=   7627.787     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5028        2.5359        .22236E-04   -1.5392    
   2  alpha         2.3567        .62451        .54319E-03   -.57361E-01
   3  Normalizat    .97557        .28765        .15490E-04   -.93853    
   4  Prefactor     1.0995        .14658        .74370E-05   -.89482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.09085e-11
Minuit parameter uncertainties:
  1  2.53601
  2  0.631218
  3  0.288111
  4  0.146637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/711783': 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) = 7627.78741822
delta logL = 0.262043698505

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  2.503e+00  2.536e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  2.357e+00  6.312e-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:  1.100e+00  1.466e-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.756e-01  2.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.49
Ra Dec: 237.100 14.946
Photon Index (Free Index): 2.36 +/- 0.63
Photon Flux (Free Index): 4.85e-08 +/- 4.63e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.63e-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/711783/cmap_HighResolution_577324801_577584001_4FGL_J1548.3+1456_daily_bin1304.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.38e-05', comment='SUCCESS', photon_flux='3.00e-08', energy_flux2='1.85e-05', photon_flux_error='2.80e-08', dlogl='2.62e-01', energy_flux='2.28e-05', photon_flux2='4.85e-08', job_status='DONE', time_completed='2021-09-12 13:43:14.067706', photon_index_error2='0.63', photon_index2='2.36', ts='1.97', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='9.74e-08', energy_flux_error2='1.63e-05', EG='0.99', time_epoch_completed='1631479394.07', return_code='0', job_id='711783', GAL2='1.10', EG2='0.98', return_code2='0', energy_flux_error='2.12e-05', photon_flux_error2='4.63e-08', ts2='2.49', photon_index='1.91' WHERE bin_id='1304' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:43:14 PDT 2021


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

Job <4FGL_J1548.3+1456_daily_bin1304> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 13:30:54 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:33:33 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:33:33 2021
Terminated at Sun Sep 12 13:43:14 2021
Results reported at Sun Sep 12 13:43:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin1304 237.1 14.9461 577324801 577584001 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 :                                   564.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   582 sec.
    Turnaround time :                            740 sec.

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

