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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin356
RA = 237.1, Dec = 14.9461
tmin = 331603201, tmax = 331862401
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='708463', job_status='RUN', time_executed='2021-09-12 13:22:48.018862', time_epoch_executed='1631478168.02' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708463/ft1_4FGL_J1548.3+1456_daily_bin356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708463/ft2_4FGL_J1548.3+1456_daily_bin356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708463/ft1_4FGL_J1548.3+1456_daily_bin356.fits outfile=/scratch/kocevski/708463/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin356.fits ra=237.1 dec=14.9461 rad=12.0 tmin=331603201.0 tmax=331862401.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.29
user 3.07
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/708463/ft1_filtered_4FGL_J1548.3+1456_daily_bin356.fits" evtable="EVENTS" scfile=/scratch/kocevski/708463/ft2_4FGL_J1548.3+1456_daily_bin356.fits sctable="SC_DATA" outfile=/scratch/kocevski/708463/ltcube_331603201_331862401_4FGL_J1548.3+1456_daily_bin356.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/708463/ft2_4FGL_J1548.3+1456_daily_bin356.fits
.....................!
real 13.77
user 13.30
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708463/ft1_filtered_4FGL_J1548.3+1456_daily_bin356.fits evtable="EVENTS" scfile=/scratch/kocevski/708463/ft2_4FGL_J1548.3+1456_daily_bin356.fits sctable="SC_DATA" expcube=/scratch/kocevski/708463/ltcube_331603201_331862401_4FGL_J1548.3+1456_daily_bin356.fits outfile=/scratch/kocevski/708463/expmap_331603201_331862401_4FGL_J1548.3+1456_daily_bin356.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/708463/ltcube_331603201_331862401_4FGL_J1548.3+1456_daily_bin356.fits
.....................!
real 191.36
user 185.73
sys 5.08

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/708463/ft1_filtered_4FGL_J1548.3+1456_daily_bin356.fits scfile=/scratch/kocevski/708463/ft2_4FGL_J1548.3+1456_daily_bin356.fits outfile=/scratch/kocevski/708463/cmap_331603201_331862401_4FGL_J1548.3+1456_daily_bin356.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708463/ft1_filtered_4FGL_J1548.3+1456_daily_bin356.fits scfile=/scratch/kocevski/708463/ft2_4FGL_J1548.3+1456_daily_bin356.fits outfile=/scratch/kocevski/708463/cmap_HighResolution_331603201_331862401_4FGL_J1548.3+1456_daily_bin356.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/708463/ft1_filtered_4FGL_J1548.3+1456_daily_bin356.fits evtable="EVENTS" scfile=/scratch/kocevski/708463/ft2_4FGL_J1548.3+1456_daily_bin356.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/708463/Model_4FGL_J1548.3+1456_daily_bin356.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/708463/ft1_filtered_4FGL_J1548.3+1456_daily_bin356.fits.....................!
real 61.32
user 59.99
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.986       1.0000         .10000E-03   10000.    
     2 'norm      '    1.5626       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.303       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.175       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    55.722       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.292       1.0000         .10000E-03   10000.    
    13 'norm      '    2.1077       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12639E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1436       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1047       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=   8158.659     FROM MIGRAD    STATUS=CONVERGED    365 CALLS     1840 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.983        34.751       -.27347E-06    .48326E-06
   2  norm          1.5627        .32914        .29265E-07    .78956E-03
   3  norm          .10000E-03    23.932       -.65988E-06** at limit **
   4  Prefactor     .10000E-03    29.455        .11424E-05** at limit **
   5  Prefactor     33.291        37.078        .89222E-06    .52222E-04
   6  Prefactor     .10000E-03    28.670       -.28956E-05** at limit **
   7  Prefactor     39.171        27.606       -.17025E-06    .17062E-04
   8  norm          .10000E-03    .92145       -.34169E-06** at limit **
   9  Prefactor     55.729        36.640        .56129E-06    .57694E-04
  10  norm          .10000E-03    1.2354        .16614E-06** at limit **
  11  Prefactor     .10000E-03    19.956        .21131E-06** at limit **
  12  norm          11.293        10.706       -.46958E-06    .90608E-05
  13  norm          2.1076        1.3767        .10527E-07    .94738E-04
  14  Prefactor     .10000E-03    3.2533       -.35049E-06** at limit **
  15  norm          .10000E-03    7.4712       -.50626E-06** at limit **
  16  Prefactor     .10000E-03    50.278       -.33886E-05** at limit **
  17  Prefactor     .10000E-03    28.525       -.11114E-05** at limit **
  18  Normalizat    1.1431        .26522       -.30782E-05    .32035E-03
  19  Prefactor     1.1049        .13837        .25234E-05    .26190E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.983
  norm       = 1.56269
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.2909
  Prefactor  = 0.0001
  Prefactor  = 39.1715
  norm       = 0.0001
  Prefactor  = 55.7295
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 11.293
  norm       = 2.10763
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14313
  Prefactor  = 1.10495
 **********
 **   18 **HESSE 
 **********

 FCN=   8158.659     FROM HESSE     STATUS=OK           264 CALLS     2104 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.983        34.771        .94439E-04   -1.4860    
   2  norm          1.5627        .32901        .22972E-04   -1.5458    
   3  norm          .10000E-03    23.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.291        37.110        .69438E-04   -1.4553    
   6  Prefactor     .10000E-03    29.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     39.171        27.610        .64039E-04   -1.4455    
   8  norm          .10000E-03    .93494        .84917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     55.729        36.674        .53737E-04   -1.4214    
  10  norm          .10000E-03    1.2404        .97987E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.293        10.729        .11922E-03   -1.5036    
  13  norm          2.1076        1.3738        .83013E-04   -1.5418    
  14  Prefactor     .10000E-03    3.2702        .15931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.5308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    49.218        .40507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    28.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1431        .28460        .35188E-03   -.88379    
  19  Prefactor     1.1049        .14465        .18770E-03   -.89309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70178e-10
Minuit parameter uncertainties:
  1  34.8104
  2  0.329011
  3  9.5526e-05
  4  8.48019e-05
  5  37.1358
  6  0.000230795
  7  27.6188
  8  5.44566e-06
  9  36.6891
  10  1.31533e-06
  11  3.19778e-05
  12  10.7306
  13  1.37383
  14  1.05715e-05
  15  2.66836e-05
  16  6.15178e-05
  17  0.000117591
  18  0.284981
  19  0.144703
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  5.446e-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.105e+00  1.447e-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.143e+00  2.850e-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.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/708463/likelihoodResults_331603201_331862401_4FGL_J1548.3+1456_daily_bin356.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) = 8158.66432846
delta logL = -0.00499976666924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8158.65932885
delta logL = -1.58283000928e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9119       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1049       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=   8158.659     FROM MIGRAD    STATUS=FAILED        83 CALLS      220 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    2.1235        .84927E-03** at limit **
   2  alpha         1.8876        3.5833        .17077        .41300E-05
   3  Normalizat    1.1431        .26945        .35188E-03   -.89818E-05
   4  Prefactor     1.1050        .14261        .18770E-03   -.14755E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8158.659     FROM SIMPLEX   STATUS=UNCHANGED    124 CALLS      344 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    2.1235        .94343E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8876        3.5833        .85803E-03   -.24748    
   3  Normalizat    1.1431        .26945        .98572E-04   -.88379    
   4  Prefactor     1.1050        .14261        .68219E-04   -.89309    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8158.659     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      371 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .93657        .16985E-03** at limit **
   2  alpha         1.8630        4.0512        .68307E-02   -.20372E-06
   3  Normalizat    1.1431        .26969        .14075E-04    .16801E-04
   4  Prefactor     1.1050        .14274        .37540E-04    .29376E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.86295
  Normalizat = 1.14312
  Prefactor  = 1.10495
 **********
 **   18 **HESSE 
 **********

 FCN=   8158.659     FROM HESSE     STATUS=OK            23 CALLS      394 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .93655        .33971E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8630        4.0550        .13661E-02   -.25766    
   3  Normalizat    1.1431        .26978        .28150E-05   -.88379    
   4  Prefactor     1.1050        .14278        .75080E-05   -.89309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01461e-10
Minuit parameter uncertainties:
  1  1.90329e-05
  2  116.739
  3  0.270109
  4  0.142832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708463': 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) = 8158.65932861
delta logL = 8.82246240508e-08

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  1.903e-05  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  1.863e+00  1.167e+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.105e+00  1.428e-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.143e+00  2.701e-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/708463/cmap_HighResolution_331603201_331862401_4FGL_J1548.3+1456_daily_bin356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', job_status='DONE', photon_flux_upper_limit='4.50e-08', time_completed='2021-09-12 13:33:12.055460', job_id='708463', GAL2='1.10', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631478792.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='8.82e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='356' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:33:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 708463: <4FGL_J1548.3+1456_daily_bin356> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin356 237.1 14.9461 331603201 331862401 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 :                                   622.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            769 sec.

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

