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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin226
RA = 237.1, Dec = 14.9461
tmin = 297907201, tmax = 298166401
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='707148', job_status='RUN', time_executed='2021-09-12 13:18:50.680166', time_epoch_executed='1631477930.68' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='226'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707148

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707148/ft1_4FGL_J1548.3+1456_daily_bin226.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707148/ft2_4FGL_J1548.3+1456_daily_bin226.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707148/ft1_4FGL_J1548.3+1456_daily_bin226.fits outfile=/scratch/kocevski/707148/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin226.fits ra=237.1 dec=14.9461 rad=12.0 tmin=297907201.0 tmax=298166401.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.55
user 3.28
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707148/ft1_filtered_4FGL_J1548.3+1456_daily_bin226.fits" evtable="EVENTS" scfile=/scratch/kocevski/707148/ft2_4FGL_J1548.3+1456_daily_bin226.fits sctable="SC_DATA" outfile=/scratch/kocevski/707148/ltcube_297907201_298166401_4FGL_J1548.3+1456_daily_bin226.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/707148/ft2_4FGL_J1548.3+1456_daily_bin226.fits
.....................!
real 14.18
user 13.84
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707148/ft1_filtered_4FGL_J1548.3+1456_daily_bin226.fits evtable="EVENTS" scfile=/scratch/kocevski/707148/ft2_4FGL_J1548.3+1456_daily_bin226.fits sctable="SC_DATA" expcube=/scratch/kocevski/707148/ltcube_297907201_298166401_4FGL_J1548.3+1456_daily_bin226.fits outfile=/scratch/kocevski/707148/expmap_297907201_298166401_4FGL_J1548.3+1456_daily_bin226.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/707148/ltcube_297907201_298166401_4FGL_J1548.3+1456_daily_bin226.fits
.....................!
real 191.37
user 185.76
sys 5.16

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/707148/ft1_filtered_4FGL_J1548.3+1456_daily_bin226.fits scfile=/scratch/kocevski/707148/ft2_4FGL_J1548.3+1456_daily_bin226.fits outfile=/scratch/kocevski/707148/cmap_297907201_298166401_4FGL_J1548.3+1456_daily_bin226.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.52
user 0.37
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.138       1.0000         .10000E-03   10000.    
     2 'norm      '    .31282       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    66.903       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5285       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .13645E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16514E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.0318       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    16.962       1.0000         .10000E-03   10000.    
    13 'norm      '    3.9632       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    103.80       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0966       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90895       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=   8514.516     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1903 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.138        39.464        .18152E-06   -.73377E-05
   2  norm          .31286        .17986       -.10715E-07    .37207E-04
   3  norm          .10000E-03    27.614        .77618E-06** at limit **
   4  Prefactor     .10000E-03    14.988        .92600E-07** at limit **
   5  Prefactor     66.929        40.836       -.12441E-06   -.18753E-03
   6  Prefactor     5.4475        31.800       -.22734E-05   -.75543E-04
   7  Prefactor     .10000E-03    17.045       -.72612E-07** at limit **
   8  norm          .10001E-03    2.2425       -.81370E-06** at limit **
   9  Prefactor     .10000E-03    51.016        .45215E-05** at limit **
  10  norm          6.0320        4.3131       -.75099E-07    .45367E-04
  11  Prefactor     .10000E-03    17.760       -.80451E-07** at limit **
  12  norm          16.960        10.018       -.12846E-05   -.88173E-03
  13  norm          3.9631        1.7557        .44982E-07   -.29312E-03
  14  Prefactor     .10000E-03    3.7350        .10924E-06** at limit **
  15  norm          .10000E-03    5.4972        .71349E-07** at limit **
  16  Prefactor     .10004E-03    34.507        .11392E-04** at limit **
  17  Prefactor     103.79        49.615        .34427E-06   -.15892E-04
  18  Normalizat    1.0962        .21863       -.97012E-06   -.72494E-03
  19  Prefactor     .90916        .10668       -.40498E-07   -.86862E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.1381
  norm       = 0.312856
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 66.9288
  Prefactor  = 5.44745
  Prefactor  = 0.0001
  norm       = 0.000100005
  Prefactor  = 0.000100001
  norm       = 6.03199
  Prefactor  = 0.0001
  norm       = 16.9601
  norm       = 3.9631
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010004
  Prefactor  = 103.79
  Normalizat = 1.0962
  Prefactor  = 0.909163
 **********
 **   18 **HESSE 
 **********

 FCN=   8514.516     FROM HESSE     STATUS=OK           260 CALLS     2163 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.138        39.467        .62498E-04   -1.4424    
   2  norm          .31286        .17855        .28613E-04   -1.5596    
   3  norm          .10000E-03    27.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     66.929        41.220        .49069E-04   -1.4070    
   6  Prefactor     5.4475        32.110        .17087E-03   -1.5241    
   7  Prefactor     .10000E-03    17.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10001E-03    3.5596        .23440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    50.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.0320        4.3034        .15494E-03   -1.5217    
  11  Prefactor     .10000E-03    17.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.960        10.101        .97248E-04   -1.4884    
  13  norm          3.9631        1.7569        .77933E-04   -1.5310    
  14  Prefactor     .10000E-03    3.7443        .17416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.5112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10004E-03    40.498        .45132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     103.79        49.660        .39468E-04   -1.3667    
  18  Normalizat    1.0962        .26644        .33763E-03   -.89874    
  19  Prefactor     .90916        .12941        .18507E-03   -.95822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51366e-09
Minuit parameter uncertainties:
  1  39.4918
  2  0.178548
  3  0.000112767
  4  3.54007e-05
  5  41.2375
  6  26.4724
  7  5.23357e-06
  8  0.000272407
  9  0.000404559
  10  4.30362
  11  3.30695e-06
  12  10.1018
  13  1.75689
  14  2.68531e-06
  15  1.46898e-05
  16  0.00255198
  17  49.6796
  18  0.266766
  19  0.129459
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  2.724e-04  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:  9.092e-01  1.295e-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.096e+00  2.668e-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: 6.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/707148/likelihoodResults_297907201_298166401_4FGL_J1548.3+1456_daily_bin226.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) = 8514.51725292
delta logL = -0.00133750867099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8512.30373285
delta logL = 2.21218256465

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26495       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.0604       1.0000          .0000       5.0000    
     3 'Normalizat'    .93084       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95425       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=   8512.304     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      312 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26497        1.7794        .53892E-02    .21900E-02
   2  alpha         4.0614        3.8851        .25104        .90837E-04
   3  Normalizat    .93027        .59438E-01    .81749E-01    .29278E-04
   4  Prefactor     .95449        .30076E-01    .45693E-01    .30703E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.26497
  alpha      = 4.06138
  Normalizat = 0.930266
  Prefactor  = 0.954492
 **********
 **   18 **HESSE 
 **********

 FCN=   8512.304     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      345 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26497        3.5261        .24306E-04   -1.5605    
   2  alpha         4.0614        4.3850        .10741E-01    .67456    
   3  Normalizat    .93027        .24446        .36189E-03   -.95405    
   4  Prefactor     .95449        .12338        .18069E-03   -.94262    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.10112e-07
Minuit parameter uncertainties:
  1  1.93296
  2  3.43186
  3  0.244755
  4  0.123413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707148': 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) = 8512.30372505
delta logL = 2.21219035711

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  2.650e-01  1.933e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  4.061e+00  3.432e+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:  9.545e-01  1.234e-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:  9.303e-01  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.76
Ra Dec: 237.100 14.946
Photon Index (Free Index): 4.06 +/- 3.43
Photon Flux (Free Index): 1.46e-07 +/- 7.99e-08
Energy Flux (Free Index): 2.31e-05 +/- 1.81e-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/707148/cmap_HighResolution_297907201_298166401_4FGL_J1548.3+1456_daily_bin226.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-05', comment='SUCCESS', energy_flux2='2.31e-05', dlogl='2.21e+00', photon_flux2='1.46e-07', job_status='DONE', time_completed='2021-09-12 13:29:20.304755', photon_index_error2='3.43', photon_index2='4.06', ts='-0.00', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='6.42e-08', energy_flux_error2='1.81e-05', EG='1.10', time_epoch_completed='1631478560.3', return_code='0', job_id='707148', GAL2='0.95', EG2='0.93', return_code2='102', photon_flux_error2='7.99e-08', ts2='4.76', photon_index='1.91' WHERE bin_id='226' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:29:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 707148: <4FGL_J1548.3+1456_daily_bin226> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin226 237.1 14.9461 297907201 298166401 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 :                                   628.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             330.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            838 sec.

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

