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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin568
RA = 237.1, Dec = 14.9461
tmin = 386553601, tmax = 386812801
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='708764', job_status='RUN', time_executed='2021-09-12 13:23:39.991435', time_epoch_executed='1631478219.99' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708764

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708764/ft1_4FGL_J1548.3+1456_daily_bin568.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708764/ft2_4FGL_J1548.3+1456_daily_bin568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708764/ft1_4FGL_J1548.3+1456_daily_bin568.fits outfile=/scratch/kocevski/708764/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin568.fits ra=237.1 dec=14.9461 rad=12.0 tmin=386553601.0 tmax=386812801.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 4.76
user 4.50
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/708764/ft1_filtered_4FGL_J1548.3+1456_daily_bin568.fits" evtable="EVENTS" scfile=/scratch/kocevski/708764/ft2_4FGL_J1548.3+1456_daily_bin568.fits sctable="SC_DATA" outfile=/scratch/kocevski/708764/ltcube_386553601_386812801_4FGL_J1548.3+1456_daily_bin568.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/708764/ft2_4FGL_J1548.3+1456_daily_bin568.fits
.....................!
real 15.09
user 14.63
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708764/ft1_filtered_4FGL_J1548.3+1456_daily_bin568.fits evtable="EVENTS" scfile=/scratch/kocevski/708764/ft2_4FGL_J1548.3+1456_daily_bin568.fits sctable="SC_DATA" expcube=/scratch/kocevski/708764/ltcube_386553601_386812801_4FGL_J1548.3+1456_daily_bin568.fits outfile=/scratch/kocevski/708764/expmap_386553601_386812801_4FGL_J1548.3+1456_daily_bin568.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/708764/ltcube_386553601_386812801_4FGL_J1548.3+1456_daily_bin568.fits
.....................!
real 193.39
user 187.05
sys 5.76

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/708764/ft1_filtered_4FGL_J1548.3+1456_daily_bin568.fits scfile=/scratch/kocevski/708764/ft2_4FGL_J1548.3+1456_daily_bin568.fits outfile=/scratch/kocevski/708764/cmap_386553601_386812801_4FGL_J1548.3+1456_daily_bin568.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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708764/ft1_filtered_4FGL_J1548.3+1456_daily_bin568.fits scfile=/scratch/kocevski/708764/ft2_4FGL_J1548.3+1456_daily_bin568.fits outfile=/scratch/kocevski/708764/cmap_HighResolution_386553601_386812801_4FGL_J1548.3+1456_daily_bin568.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.78
user 0.41
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .34331       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.557       1.0000         .10000E-03   10000.    
     5 'Prefactor '    56.255       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7091       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5188       1.0000         .10000E-03   10000.    
     8 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10205E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.0461       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10109E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.1017       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .66106       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1695       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=   6479.892     FROM MIGRAD    STATUS=CONVERGED    388 CALLS     1876 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.946       -.19900E-04** at limit **
   2  norm          .34333        .18874        .86535E-08   -.36383E-04
   3  norm          .10000E-03    15.662        .74757E-05** at limit **
   4  Prefactor     30.567        54.267        .13622E-04    .63704E-05
   5  Prefactor     56.249        36.308       -.59236E-05   -.35899E-06
   6  Prefactor     3.7087        22.210       -.81177E-06   -.52422E-04
   7  Prefactor     4.5117        41.845       -.12856E-04   -.21758E-04
   8  norm          .10000E-03    1.2563       -.51474E-07** at limit **
   9  Prefactor     .10000E-03    9.1468       -.19024E-05** at limit **
  10  norm          .10000E-03    1.5657        .67621E-07** at limit **
  11  Prefactor     .10000E-03    64.497       -.46466E-05** at limit **
  12  norm          .10000E-03    3.7849        .66793E-06** at limit **
  13  norm          5.0460        1.8943       -.10390E-09   -.13527E-03
  14  Prefactor     .10000E-03    3.9267       -.85709E-07** at limit **
  15  norm          .10000E-03    22.586        .14182E-04** at limit **
  16  Prefactor     .10000E-03    7.1485        .14953E-06** at limit **
  17  Prefactor     8.0969        52.608       -.12074E-04   -.16715E-04
  18  Normalizat    .66086        .24765       -.82718E-06   -.74027E-04
  19  Prefactor     1.1696        .12874        .94565E-06   -.29846E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.34333
  norm       = 0.0001
  Prefactor  = 30.5669
  Prefactor  = 56.2488
  Prefactor  = 3.70873
  Prefactor  = 4.51166
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 5.046
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.09692
  Normalizat = 0.660858
  Prefactor  = 1.16964
 **********
 **   18 **HESSE 
 **********

 FCN=   6479.892     FROM HESSE     STATUS=OK           268 CALLS     2144 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .34333        .18704        .25177E-04   -1.5591    
   3  norm          .10000E-03    15.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.567        54.490        .72481E-04   -1.4602    
   5  Prefactor     56.249        36.337        .53484E-04   -1.4207    
   6  Prefactor     3.7087        22.180        .20969E-03   -1.5323    
   7  Prefactor     4.5117        41.997        .18939E-03   -1.5283    
   8  norm          .10000E-03    2.2514        .17508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.1520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.5750        .98337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    64.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    9.1491        .30238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.0460        1.8916        .66013E-04   -1.5259    
  14  Prefactor     .10000E-03    3.9458        .15577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    23.057        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.1827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.0969        52.726        .14086E-03   -1.5139    
  18  Normalizat    .66086        .28339        .39161E-03   -1.0546    
  19  Prefactor     1.1696        .14898        .16292E-03   -.87271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05608e-10
Minuit parameter uncertainties:
  1  4.66492e-06
  2  0.187041
  3  1.91486e-06
  4  54.5785
  5  36.3511
  6  18.1493
  7  27.5554
  8  1.55817e-06
  9  1.78273e-07
  10  5.76666e-06
  11  1.68822e-05
  12  0.000320628
  13  1.89165
  14  2.91916e-06
  15  0.00021313
  16  5.58024e-06
  17  41.3768
  18  0.284014
  19  0.149036
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  1.558e-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.170e+00  1.490e-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.609e-01  2.840e-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: 5.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/708764/likelihoodResults_386553601_386812801_4FGL_J1548.3+1456_daily_bin568.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): 102
logL (Free Index) = 6479.8939388
delta logL = -0.00211907017092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6479.89181997
delta logL = -2.31849298871e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9189       1.0000          .0000       5.0000    
     3 'Normalizat'    .66085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1697       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=   6479.892     FROM MIGRAD    STATUS=FAILED        91 CALLS      254 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10026E-03    128.59        .17497E-02** at limit **
   2  alpha         1.9842        3.9916        .50000       -.48325E-05
   3  Normalizat    .66086        .44062E-01    .39161E-03    .68861E-04
   4  Prefactor     1.1696        .23963E-01    .16292E-03    .20365E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6479.892     FROM SIMPLEX   STATUS=UNCHANGED    147 CALLS      401 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10026E-03    128.59        .24464E-03** at limit **
   2  alpha         1.9842        3.9916        .11887E-03   -.48325E-05
   3  Normalizat    .66086        .44062E-01    .25806E-05    .68861E-04
   4  Prefactor     1.1696        .23963E-01    .76636E-06    .20365E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6479.892     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      440 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    410.12        .34994E-03** at limit **
   2  alpha         2.0334        3.9800        .50000       -.17485E-07
   3  Normalizat    .66086        .10721        .15664E-04   -.29771E-03
   4  Prefactor     1.1696        .58300E-01    .32583E-04   -.69294E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.03338
  Normalizat = 0.660855
  Prefactor  = 1.16964
 **********
 **   18 **HESSE 
 **********

 FCN=   6479.892     FROM HESSE     STATUS=OK            29 CALLS      469 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6082        .69987E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0334        3.2790        .50000       -.18775    
   3  Normalizat    .66086        .26793        .31329E-05   -1.0546    
   4  Prefactor     1.1696        .14596        .65166E-05   -.87271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27769e-10
Minuit parameter uncertainties:
  1  3.59297e-06
  2  121.885
  3  0.268458
  4  0.146008
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708764': 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) = 6479.89181945
delta logL = 2.88457158604e-07

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  3.593e-06  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  2.033e+00  1.219e+02  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.170e+00  1.460e-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.609e-01  2.685e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/708764/cmap_HighResolution_386553601_386812801_4FGL_J1548.3+1456_daily_bin568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.94e-05', job_status='DONE', photon_flux_upper_limit='5.20e-08', time_completed='2021-09-12 13:33:22.002608', job_id='708764', GAL2='1.17', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1631478802.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='2.88e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='568' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:33:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 708764: <4FGL_J1548.3+1456_daily_bin568> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin568> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 12 13:20:43 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:23:03 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:23:03 2021
Terminated at Sun Sep 12 13:33:22 2021
Results reported at Sun Sep 12 13:33:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin568 237.1 14.9461 386553601 386812801 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 :                                   571.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   621 sec.
    Turnaround time :                            759 sec.

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

