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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin515
RA = 237.1, Dec = 14.9461
tmin = 372816001, tmax = 373075201
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='708688', job_status='RUN', time_executed='2021-09-12 13:23:18.796040', time_epoch_executed='1631478198.8' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='515'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708688

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708688/ft1_4FGL_J1548.3+1456_daily_bin515.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708688/ft2_4FGL_J1548.3+1456_daily_bin515.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708688/ft1_4FGL_J1548.3+1456_daily_bin515.fits outfile=/scratch/kocevski/708688/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin515.fits ra=237.1 dec=14.9461 rad=12.0 tmin=372816001.0 tmax=373075201.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.75
user 4.19
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/708688/ft2_4FGL_J1548.3+1456_daily_bin515.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/708688/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin515.fits evtable="EVENTS" outfile="/scratch/kocevski/708688/ft1_filtered_4FGL_J1548.3+1456_daily_bin515.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.34
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708688/ft1_filtered_4FGL_J1548.3+1456_daily_bin515.fits evtable="EVENTS" scfile=/scratch/kocevski/708688/ft2_4FGL_J1548.3+1456_daily_bin515.fits sctable="SC_DATA" expcube=/scratch/kocevski/708688/ltcube_372816001_373075201_4FGL_J1548.3+1456_daily_bin515.fits outfile=/scratch/kocevski/708688/expmap_372816001_373075201_4FGL_J1548.3+1456_daily_bin515.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/708688/ltcube_372816001_373075201_4FGL_J1548.3+1456_daily_bin515.fits
.....................!
real 192.27
user 186.88
sys 4.70

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/708688/ft1_filtered_4FGL_J1548.3+1456_daily_bin515.fits scfile=/scratch/kocevski/708688/ft2_4FGL_J1548.3+1456_daily_bin515.fits outfile=/scratch/kocevski/708688/cmap_372816001_373075201_4FGL_J1548.3+1456_daily_bin515.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/708688/ft1_filtered_4FGL_J1548.3+1456_daily_bin515.fits scfile=/scratch/kocevski/708688/ft2_4FGL_J1548.3+1456_daily_bin515.fits outfile=/scratch/kocevski/708688/cmap_HighResolution_372816001_373075201_4FGL_J1548.3+1456_daily_bin515.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=237.1 yref=14.9461 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .39381       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.797       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9981       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .23387E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2742       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.3444       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.8194       1.0000         .10000E-03   10000.    
    13 'norm      '    3.2503       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.8652       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .46792       1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.772       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .64561       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3137       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=   7958.309     FROM MIGRAD    STATUS=CONVERGED    401 CALLS     1884 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    59.190        .37162E-06** at limit **
   2  norm          .39375        .19642       -.42338E-07    .60179E-03
   3  norm          .10000E-03    13.994       -.25286E-07** at limit **
   4  Prefactor     18.682        35.369        .16853E-05    .35326E-03
   5  Prefactor     8.9913        20.915       -.17760E-05   -.78929E-05
   6  Prefactor     .10000E-03    8.3396       -.24253E-06** at limit **
   7  Prefactor     .10000E-03    86.958       -.36183E-05** at limit **
   8  norm          1.2753        2.0840        .58048E-07    .10359E-02
   9  Prefactor     .10000E-03    21.825       -.42900E-06** at limit **
  10  norm          4.3328        4.8199       -.10261E-05    .10442E-02
  11  Prefactor     .10000E-03    32.939       -.51041E-06** at limit **
  12  norm          1.8030        13.160       -.46150E-05    .25670E-03
  13  norm          3.2508        1.7336        .22547E-06    .11526E-02
  14  Prefactor     .10000E-03    2.2116       -.21774E-06** at limit **
  15  norm          3.8601        13.447       -.98011E-06    .18072E-03
  16  Prefactor     .36856        79.930       -.43824E-04    .99792E-04
  17  Prefactor     27.752        35.238       -.53676E-06    .11473E-03
  18  Normalizat    .64586        .24684        .74328E-05    .80263E-03
  19  Prefactor     1.3138        .12821       -.54692E-07    .16507E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.393754
  norm       = 0.0001
  Prefactor  = 18.6817
  Prefactor  = 8.99128
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.27527
  Prefactor  = 0.0001
  norm       = 4.33283
  Prefactor  = 0.0001
  norm       = 1.80299
  norm       = 3.25083
  Prefactor  = 0.0001
  norm       = 3.86012
  Prefactor  = 0.368563
  Prefactor  = 27.7519
  Normalizat = 0.645864
  Prefactor  = 1.31377
 **********
 **   18 **HESSE 
 **********

 FCN=   7958.309     FROM HESSE     STATUS=OK           266 CALLS     2150 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    59.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .39375        .19465        .27036E-04   -1.5582    
   3  norm          .10000E-03    13.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.682        35.595        .92381E-04   -1.4843    
   5  Prefactor     8.9913        20.915        .13362E-03   -1.5108    
   6  Prefactor     .10000E-03    8.3478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    87.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2753        2.0315        .15652E-03   -1.5482    
   9  Prefactor     .10000E-03    21.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.3328        4.7992        .19325E-03   -1.5292    
  11  Prefactor     .10000E-03    32.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.8030        13.113        .30959E-03   -1.5439    
  13  norm          3.2508        1.7312        .82011E-04   -1.5347    
  14  Prefactor     .10000E-03    2.2150        .12959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.8601        13.399        .20526E-03   -1.5315    
  16  Prefactor     .36856        80.606        .39850E-02   -1.5587    
  17  Prefactor     27.752        35.267        .76020E-04   -1.4654    
  18  Normalizat    .64586        .27179        .42573E-03   -1.0607    
  19  Prefactor     1.3138        .14326        .16790E-03   -.82898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03491e-09
Minuit parameter uncertainties:
  1  9.20562e-05
  2  0.194652
  3  1.1255e-05
  4  35.6355
  5  20.9322
  6  3.67102e-05
  7  0.000936504
  8  2.03159
  9  5.21982e-05
  10  4.79961
  11  0.000121372
  12  9.72734
  13  1.73127
  14  1.11331e-05
  15  13.4093
  16  10.9145
  17  35.2931
  18  0.272356
  19  0.143303
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.275e+00  2.032e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  1.914e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
237         beta:  1.051e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
238           Eb:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.314e+00  1.433e-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.459e-01  2.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/708688/likelihoodResults_372816001_373075201_4FGL_J1548.3+1456_daily_bin515.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) = 7956.73418288
delta logL = 1.57513786745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7956.5194778
delta logL = 1.78984295482

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66875E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.5739       1.0000          .0000       5.0000    
     3 'Normalizat'    .49029       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3670       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.

 FCN=   7956.519     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      260 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66205E-01    .60337        .28030E-02    .38124E-02
   2  alpha         4.5783        4.7165        .35530        .39647E-04
   3  Normalizat    .49032        .68179E-01    .10928        .57624E-04
   4  Prefactor     1.3670        .37298E-01    .31534E-01   -.99888E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0662048
  alpha      = 4.57833
  Normalizat = 0.49032
  Prefactor  = 1.36699
 **********
 **   18 **HESSE 
 **********

 FCN=   7956.519     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66205E-01    1.0195        .12680E-03   -1.5657    
   2  alpha         4.5783        4.7891        .18044E-01    .98150    
   3  Normalizat    .49032        .20474        .48431E-03   -1.1287    
   4  Prefactor     1.3670        .11118        .16489E-03   -.81336    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.55906e-07
Minuit parameter uncertainties:
  1  0.519222
  2  3.55533
  3  0.205059
  4  0.111196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708688': 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): 102
logL (Free Index) = 7956.51947496
delta logL = 1.78984579222

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  6.620e-02  5.192e-01  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  4.578e+00  3.555e+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.367e+00  1.112e-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:  4.903e-01  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.48
Ra Dec: 237.100 14.946
Photon Index (Free Index): 4.58 +/- 3.56
Photon Flux (Free Index): 1.13e-07 +/- 6.20e-08
Energy Flux (Free Index): 1.64e-05 +/- 1.16e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/708688/cmap_HighResolution_372816001_373075201_4FGL_J1548.3+1456_daily_bin515.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-05', comment='SUCCESS', energy_flux2='1.64e-05', dlogl='1.79e+00', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-09-12 13:33:38.519345', photon_index_error2='3.56', photon_index2='4.58', ts='0.57', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='1.16e-05', EG='0.65', time_epoch_completed='1631478818.52', return_code='0', job_id='708688', GAL2='1.37', EG2='0.49', return_code2='102', photon_flux_error2='6.20e-08', ts2='4.48', photon_index='1.91' WHERE bin_id='515' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:33:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 708688: <4FGL_J1548.3+1456_daily_bin515> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin515 237.1 14.9461 372816001 373075201 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 :                                   614.35 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             355.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            782 sec.

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

