/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 143 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1548.3+1456_daily_bin780
RA = 237.1, Dec = 14.9461
tmin = 441504001, tmax = 441763201
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='710100', job_status='RUN', time_executed='2021-09-12 13:29:40.586610', time_epoch_executed='1631478580.59' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710100

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710100/ft1_4FGL_J1548.3+1456_daily_bin780.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710100/ft2_4FGL_J1548.3+1456_daily_bin780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710100/ft1_4FGL_J1548.3+1456_daily_bin780.fits outfile=/scratch/kocevski/710100/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin780.fits ra=237.1 dec=14.9461 rad=12.0 tmin=441504001.0 tmax=441763201.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.45
user 3.20
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/710100/ft1_filtered_4FGL_J1548.3+1456_daily_bin780.fits" evtable="EVENTS" scfile=/scratch/kocevski/710100/ft2_4FGL_J1548.3+1456_daily_bin780.fits sctable="SC_DATA" outfile=/scratch/kocevski/710100/ltcube_441504001_441763201_4FGL_J1548.3+1456_daily_bin780.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/710100/ft2_4FGL_J1548.3+1456_daily_bin780.fits
.....................!
real 15.42
user 15.01
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710100/ft1_filtered_4FGL_J1548.3+1456_daily_bin780.fits evtable="EVENTS" scfile=/scratch/kocevski/710100/ft2_4FGL_J1548.3+1456_daily_bin780.fits sctable="SC_DATA" expcube=/scratch/kocevski/710100/ltcube_441504001_441763201_4FGL_J1548.3+1456_daily_bin780.fits outfile=/scratch/kocevski/710100/expmap_441504001_441763201_4FGL_J1548.3+1456_daily_bin780.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/710100/ltcube_441504001_441763201_4FGL_J1548.3+1456_daily_bin780.fits
.....................!
real 192.12
user 186.96
sys 4.60

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/710100/ft1_filtered_4FGL_J1548.3+1456_daily_bin780.fits scfile=/scratch/kocevski/710100/ft2_4FGL_J1548.3+1456_daily_bin780.fits outfile=/scratch/kocevski/710100/cmap_441504001_441763201_4FGL_J1548.3+1456_daily_bin780.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/710100/ft1_filtered_4FGL_J1548.3+1456_daily_bin780.fits scfile=/scratch/kocevski/710100/ft2_4FGL_J1548.3+1456_daily_bin780.fits outfile=/scratch/kocevski/710100/cmap_HighResolution_441504001_441763201_4FGL_J1548.3+1456_daily_bin780.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .25721       1.0000         .10000E-03   10000.    
     3 'norm      '    8.8287       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.491       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14896       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    35.452       1.0000         .10000E-03   10000.    
     8 'norm      '    .10114E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.6187       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.5927       1.0000         .10000E-03   10000.    
    13 'norm      '    9.3211       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18503E-02   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4039       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .87801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8238.295     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1647 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.465        .45336E-05** at limit **
   2  norm          .25721        .17801        .20091E-06   -.56563E-03
   3  norm          8.8069        1.7562       -.40054E-06    .39525E-03
   4  Prefactor     31.484        1.3987        .46394E-06   -.13603E-02
   5  Prefactor     .10000E-03    501.52        .37903E-05** at limit **
   6  Prefactor     .10000E-03    10.103       -.56760E-06** at limit **
   7  Prefactor     35.449        1.1181       -.15409E-06    .52485E-03
   8  norm          .10000E-03    2.2153        .24890E-06** at limit **
   9  Prefactor     .10000E-03    14.199        .14828E-04** at limit **
  10  norm          2.6179        3.3962        .98793E-07   -.10655E-04
  11  Prefactor     .10000E-03    43.068       -.10527E-04** at limit **
  12  norm          6.5936        7.1403       -.77820E-05   -.35302E-04
  13  norm          9.3212        2.3791        .30901E-06    .55973E-04
  14  Prefactor     .10000E-03    13.871       -.12554E-04** at limit **
  15  norm          .10000E-03    16.336       -.32501E-05** at limit **
  16  Prefactor     .10000E-03    2.0871        .15167E-06** at limit **
  17  Prefactor     .10000E-03    92.849        .23351E-04** at limit **
  18  Normalizat    1.4037        .24596        .13729E-05   -.42178E-04
  19  Prefactor     .87812        .12663       -.49819E-06   -.55030E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.257209
  norm       = 8.80692
  Prefactor  = 31.4842
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 35.4488
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.61787
  Prefactor  = 0.0001
  norm       = 6.59358
  norm       = 9.32122
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.40374
  Prefactor  = 0.878123
 **********
 **   18 **HESSE 
 **********

 FCN=   8238.295     FROM HESSE     STATUS=OK           320 CALLS     1967 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.390        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .25721        .18663        .69678E-02   -1.5607    
   3  norm          8.8069        60.561        .33724E-02   -1.5114    
   4  Prefactor     31.484        43.560        .17850E-02   -1.4585    
   5  Prefactor     .10000E-03    18.868        .12506       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.102        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.449        34.429        .16826E-02   -1.4516    
   8  norm          .10000E-03    1.2556        .38164E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.191        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6179        3.4791        .63010E-02   -1.5384    
  11  Prefactor     .10000E-03    43.077        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.5936        7.1790        .39073E-02   -1.5194    
  13  norm          9.3212        2.3798        .32817E-02   -1.5097    
  14  Prefactor     .10000E-03    13.543        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    16.157        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.0855        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    88.495        .10149E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.4037        .21056        .68172E-01   -.80520    
  19  Prefactor     .87812        .10591        .44724E-01   -.96910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62459e-08
Minuit parameter uncertainties:
  1  8.0813e-05
  2  0.186626
  3  46.2561
  4  43.6038
  5  0.000566793
  6  2.32456e-05
  7  34.4485
  8  4.16623e-07
  9  3.48839e-06
  10  3.47934
  11  7.08622e-05
  12  7.1799
  13  2.37979
  14  8.56347e-05
  15  0.000106092
  16  1.81067e-06
  17  0.000420717
  18  0.21069
  19  0.105932
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  4.166e-07  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:  8.781e-01  1.059e-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.404e+00  2.107e-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.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/710100/likelihoodResults_441504001_441763201_4FGL_J1548.3+1456_daily_bin780.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) = 8238.29680577
delta logL = -0.00215624996235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8238.29465162
delta logL = -2.099919584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11261E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9430       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87818       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=   8238.001     FROM MIGRAD    STATUS=CONVERGED    160 CALLS      312 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99212E-02    .14079E-01    .19833E-02   -.25120E-01
   2  alpha         5.0000        3.2627        .50000    ** at limit **
   3  Normalizat    1.3475        .25737        .30159E-03    .18426E-03
   4  Prefactor     .89531        .12916        .19115E-03    .65233E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00992119
  alpha      = 5
  Normalizat = 1.34745
  Prefactor  = 0.895309
 **********
 **   18 **HESSE 
 **********

 FCN=   8238.001     FROM HESSE     STATUS=OK            31 CALLS      343 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99212E-02    .14788E-01    .12087E-04   -1.5728    
   2  alpha         5.0000        3.2998        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3475        .25785        .12064E-04   -.82161    
   4  Prefactor     .89531        .12929        .38230E-04   -.96305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98476e-10
Minuit parameter uncertainties:
  1  0.0147877
  2  2.62457e-05
  3  0.258102
  4  0.129331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710100': 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) = 8238.00120996
delta logL = 0.293439564353

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  9.921e-03  1.479e-02  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  5.000e+00  2.625e-05  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:  8.953e-01  1.293e-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.347e+00  2.581e-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/710100/cmap_HighResolution_441504001_441763201_4FGL_J1548.3+1456_daily_bin780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-05', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2021-09-12 13:39:57.399403', job_id='710100', GAL2='0.90', fit_tolerance='1e-08', EG2='1.35', EG='1.40', time_epoch_completed='1631479197.4', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.93e-01', ts2='0.63', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='780' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:39:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 710100: <4FGL_J1548.3+1456_daily_bin780> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin780 237.1 14.9461 441504001 441763201 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.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             278.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            875 sec.

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

