/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 6 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 = 7468
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1548.3+1456_daily_bin286
RA = 237.1, Dec = 14.9461
tmin = 313459201, tmax = 313718401
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='707236', job_status='RUN', time_executed='2021-09-12 13:18:59.724786', time_epoch_executed='1631477939.72' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='286'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707236

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707236/ft1_4FGL_J1548.3+1456_daily_bin286.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707236/ft2_4FGL_J1548.3+1456_daily_bin286.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707236/ft1_4FGL_J1548.3+1456_daily_bin286.fits outfile=/scratch/kocevski/707236/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin286.fits ra=237.1 dec=14.9461 rad=12.0 tmin=313459201.0 tmax=313718401.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.36
user 3.15
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707236/ft1_filtered_4FGL_J1548.3+1456_daily_bin286.fits" evtable="EVENTS" scfile=/scratch/kocevski/707236/ft2_4FGL_J1548.3+1456_daily_bin286.fits sctable="SC_DATA" outfile=/scratch/kocevski/707236/ltcube_313459201_313718401_4FGL_J1548.3+1456_daily_bin286.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/707236/ft2_4FGL_J1548.3+1456_daily_bin286.fits
.....................!
real 14.56
user 14.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707236/ft1_filtered_4FGL_J1548.3+1456_daily_bin286.fits evtable="EVENTS" scfile=/scratch/kocevski/707236/ft2_4FGL_J1548.3+1456_daily_bin286.fits sctable="SC_DATA" expcube=/scratch/kocevski/707236/ltcube_313459201_313718401_4FGL_J1548.3+1456_daily_bin286.fits outfile=/scratch/kocevski/707236/expmap_313459201_313718401_4FGL_J1548.3+1456_daily_bin286.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/707236/ltcube_313459201_313718401_4FGL_J1548.3+1456_daily_bin286.fits
.....................!
real 191.26
user 186.63
sys 4.15

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/707236/ft1_filtered_4FGL_J1548.3+1456_daily_bin286.fits scfile=/scratch/kocevski/707236/ft2_4FGL_J1548.3+1456_daily_bin286.fits outfile=/scratch/kocevski/707236/cmap_313459201_313718401_4FGL_J1548.3+1456_daily_bin286.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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707236/ft1_filtered_4FGL_J1548.3+1456_daily_bin286.fits scfile=/scratch/kocevski/707236/ft2_4FGL_J1548.3+1456_daily_bin286.fits outfile=/scratch/kocevski/707236/cmap_HighResolution_313459201_313718401_4FGL_J1548.3+1456_daily_bin286.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .62684E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    58.611       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.6683       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0438       1.0000         .10000E-03   10000.    
    12 'norm      '    13.222       1.0000         .10000E-03   10000.    
    13 'norm      '    5.1751       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .62095E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    15.900       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.6780       1.0000         .10000E-03   10000.    
    17 'Prefactor '    87.934       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1802       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0317       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=   7660.328     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1899 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.252        .88627E-06** at limit **
   2  norm          .62561E-01    .11647        .13584E-06    .18722E-02
   3  norm          .10000E-03    18.418       -.19272E-05** at limit **
   4  Prefactor     58.602        54.314       -.85632E-06   -.84577E-04
   5  Prefactor     .10000E-03    21.629        .17400E-05** at limit **
   6  Prefactor     .10000E-03    15.114       -.23552E-06** at limit **
   7  Prefactor     .10000E-03    10.431       -.16721E-06** at limit **
   8  norm          .10000E-03    1.2217        .35682E-07** at limit **
   9  Prefactor     .10000E-03    8.6135        .41252E-07** at limit **
  10  norm          8.6683        5.0399       -.41275E-07   -.18053E-03
  11  Prefactor     6.0326        129.22       -.39208E-05   -.34006E-04
  12  norm          13.222        10.096        .74981E-07   -.24809E-05
  13  norm          5.1752        2.0957        .48507E-08    .20964E-04
  14  Prefactor     .10003E-03    3.6702       -.27397E-06** at limit **
  15  norm          15.899        15.631        .94479E-07    .34519E-05
  16  Prefactor     7.6762        10.670        .24278E-05   -.33357E-03
  17  Prefactor     87.931        44.124       -.16365E-06   -.37132E-04
  18  Normalizat    1.1804        .23873        .16219E-06   -.26742E-04
  19  Prefactor     1.0316        .12081       -.31933E-06    .47673E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0625611
  norm       = 0.000100001
  Prefactor  = 58.6019
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.66833
  Prefactor  = 6.03262
  norm       = 13.2216
  norm       = 5.17517
  Prefactor  = 0.000100034
  norm       = 15.8987
  Prefactor  = 7.67616
  Prefactor  = 87.9315
  Normalizat = 1.18044
  Prefactor  = 1.0316
 **********
 **   18 **HESSE 
 **********

 FCN=   7660.328     FROM HESSE     STATUS=OK           272 CALLS     2171 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .62561E-01    .10086        .42143E-03   -1.5658    
   3  norm          .10000E-03    18.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     58.602        55.161        .52404E-04   -1.4175    
   5  Prefactor     .10000E-03    22.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.2626        .18884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.6157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.6683        5.0476        .13615E-03   -1.5119    
  11  Prefactor     6.0326        132.62        .16332E-03   -1.5217    
  12  norm          13.222        10.107        .11015E-03   -1.4981    
  13  norm          5.1752        2.0955        .77550E-04   -1.5253    
  14  Prefactor     .10003E-03    70.343        .32356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.899        15.629        .10045E-03   -1.4910    
  16  Prefactor     7.6762        10.748        .72360E-03   -1.5154    
  17  Prefactor     87.931        44.171        .42846E-04   -1.3830    
  18  Normalizat    1.1804        .28669        .33843E-03   -.87209    
  19  Prefactor     1.0316        .14532        .18878E-03   -.91683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81636e-10
Minuit parameter uncertainties:
  1  0.000133683
  2  0.100865
  3  0.00033597
  4  55.2092
  5  0.000318119
  6  4.19228e-05
  7  1.83495e-05
  8  8.93436e-08
  9  2.42057e-06
  10  5.04786
  11  56.7136
  12  10.108
  13  2.09549
  14  0.00309604
  15  15.6326
  16  10.751
  17  44.1871
  18  0.287076
  19  0.145376
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  8.934e-08  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.032e+00  1.454e-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:  1.180e+00  2.871e-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.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.46e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/707236/likelihoodResults_313459201_313718401_4FGL_J1548.3+1456_daily_bin286.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) = 7660.33162669
delta logL = -0.00376096348646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7660.32223178
delta logL = 0.00563394037636

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25293E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.8511       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1700       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0348       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=   7660.322     FROM MIGRAD    STATUS=FAILED       108 CALLS      341 TOTAL
                     EDM=   .53E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25760E-02    10.402        .20745E-03** at limit **
   2  alpha         4.8468        4.7193        .50000       -.22788E-03
   3  Normalizat    1.1700        .72735        .33974E-03    .32620E-03
   4  Prefactor     1.0348        .22531        .18851E-03   -.66276E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7660.322     FROM SIMPLEX   STATUS=UNCHANGED    105 CALLS      446 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25760E-02    10.402        .22683E-04** at limit **
   2  alpha         4.8468        4.7193        .95847E-02   -.22788E-03
   3  Normalizat    1.1700        .72735        .22151E-03    .32620E-03
   4  Prefactor     1.0348        .22531        .51642E-04   -.66276E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7660.322     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      489 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25763E-02    .61999E-01   -.43255E-07** at limit **
   2  alpha         4.8467        .49665        .85722E-04   -.14352E-05
   3  Normalizat    1.1700        .29052        .75572E-07    .23851E-03
   4  Prefactor     1.0348        .14757       -.17767E-07   -.75725E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00257627
  alpha      = 4.84671
  Normalizat = 1.17001
  Prefactor  = 1.0348
 **********
 **   18 **HESSE 
 **********

 FCN=   7660.322     FROM HESSE     STATUS=OK            27 CALLS      516 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25763E-02    .10554        .16596E-05   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.8467        4.9221        .50000        1.2188    
   3  Normalizat    1.1700        .29075        .27179E-05   -.87535    
   4  Prefactor     1.0348        .14761        .75405E-05   -.91578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28797e-06
Minuit parameter uncertainties:
  1  0.0323321
  2  7.85845
  3  0.29115
  4  0.14767
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707236': 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) = 7660.32223115
delta logL = 0.00563457352746

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  2.576e-03  3.233e-02  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  4.847e+00  7.858e+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.035e+00  1.477e-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:  1.170e+00  2.912e-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/707236/cmap_HighResolution_313459201_313718401_4FGL_J1548.3+1456_daily_bin286.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.46e-05', job_status='DONE', photon_flux_upper_limit='4.57e-08', time_completed='2021-09-12 13:29:19.911045', job_id='707236', GAL2='1.03', fit_tolerance='1e-08', EG2='1.17', EG='1.18', time_epoch_completed='1631478559.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='5.63e-03', ts2='0.01', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='286' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:29:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 707236: <4FGL_J1548.3+1456_daily_bin286> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin286 237.1 14.9461 313459201 313718401 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 :                                   616.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             329.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   637 sec.
    Turnaround time :                            832 sec.

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

