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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin315
RA = 237.1, Dec = 14.9461
tmin = 320976001, tmax = 321235201
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='707278', job_status='RUN', time_executed='2021-09-12 13:19:21.958330', time_epoch_executed='1631477961.96' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707278

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707278/ft1_4FGL_J1548.3+1456_daily_bin315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707278/ft2_4FGL_J1548.3+1456_daily_bin315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707278/ft1_4FGL_J1548.3+1456_daily_bin315.fits outfile=/scratch/kocevski/707278/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin315.fits ra=237.1 dec=14.9461 rad=12.0 tmin=320976001.0 tmax=321235201.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.51
user 3.28
sys 0.20

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707278/ft1_filtered_4FGL_J1548.3+1456_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/707278/ft2_4FGL_J1548.3+1456_daily_bin315.fits sctable="SC_DATA" expcube=/scratch/kocevski/707278/ltcube_320976001_321235201_4FGL_J1548.3+1456_daily_bin315.fits outfile=/scratch/kocevski/707278/expmap_320976001_321235201_4FGL_J1548.3+1456_daily_bin315.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/707278/ltcube_320976001_321235201_4FGL_J1548.3+1456_daily_bin315.fits
.....................!
real 193.99
user 188.64
sys 4.89

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/707278/ft1_filtered_4FGL_J1548.3+1456_daily_bin315.fits scfile=/scratch/kocevski/707278/ft2_4FGL_J1548.3+1456_daily_bin315.fits outfile=/scratch/kocevski/707278/cmap_320976001_321235201_4FGL_J1548.3+1456_daily_bin315.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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707278/ft1_filtered_4FGL_J1548.3+1456_daily_bin315.fits scfile=/scratch/kocevski/707278/ft2_4FGL_J1548.3+1456_daily_bin315.fits outfile=/scratch/kocevski/707278/cmap_HighResolution_320976001_321235201_4FGL_J1548.3+1456_daily_bin315.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.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .77428       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.902       1.0000         .10000E-03   10000.    
     5 'Prefactor '    37.471       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.199       1.0000         .10000E-03   10000.    
     8 'norm      '    .63078       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1388       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    21.753       1.0000         .10000E-03   10000.    
    13 'norm      '    .91636       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    15.207       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.967       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2140       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98623       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=   8083.590     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1855 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.415       -.20073E-06** at limit **
   2  norm          .77438        .26317        .12605E-07   -.11976E-03
   3  norm          .10000E-03    21.455        .52463E-06** at limit **
   4  Prefactor     21.907        50.989        .86257E-06    .21132E-04
   5  Prefactor     37.484        43.298        .78408E-06    .75297E-04
   6  Prefactor     .10000E-03    10.285       -.70449E-07** at limit **
   7  Prefactor     32.202        28.444       -.38172E-06    .50070E-05
   8  norm          .63067        2.1206        .13026E-05   -.93504E-04
   9  Prefactor     .10000E-03    12.508       -.94521E-07** at limit **
  10  norm          1.1371        3.3446        .12906E-05   -.60884E-04
  11  Prefactor     .10000E-03    16.662       -.41706E-06** at limit **
  12  norm          21.754        10.822       -.18212E-06   -.10786E-03
  13  norm          .91611        1.2063        .14523E-06    .28526E-03
  14  Prefactor     .10000E-03    4.6379       -.29121E-07** at limit **
  15  norm          15.209        18.468        .19093E-06   -.50331E-05
  16  Prefactor     .10000E-03    11.302        .17081E-06** at limit **
  17  Prefactor     11.964        34.306        .12699E-06   -.18658E-04
  18  Normalizat    1.2132        .24606       -.16694E-05   -.12814E-04
  19  Prefactor     .98660        .11696        .46689E-06   -.20953E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.774377
  norm       = 0.000100001
  Prefactor  = 21.9074
  Prefactor  = 37.4844
  Prefactor  = 0.0001
  Prefactor  = 32.2016
  norm       = 0.630668
  Prefactor  = 0.0001
  norm       = 1.13705
  Prefactor  = 0.0001
  norm       = 21.7535
  norm       = 0.916115
  Prefactor  = 0.0001
  norm       = 15.2092
  Prefactor  = 0.0001
  Prefactor  = 11.9639
  Normalizat = 1.21323
  Prefactor  = 0.986602
 **********
 **   18 **HESSE 
 **********

 FCN=   8083.590     FROM HESSE     STATUS=OK           270 CALLS     2125 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .77438        .26330        .25911E-04   -1.5532    
   3  norm          .10000E-03    21.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.907        51.143        .85588E-04   -1.4772    
   5  Prefactor     37.484        43.732        .65473E-04   -1.4483    
   6  Prefactor     .10000E-03    10.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.202        28.352        .70615E-04   -1.4572    
   8  norm          .63067        2.1144        .23164E-03   -1.5549    
   9  Prefactor     .10000E-03    12.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1371        3.3196        .26806E-03   -1.5495    
  11  Prefactor     .10000E-03    16.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          21.754        10.802        .85880E-04   -1.4775    
  13  norm          .91611        1.0308        .11101E-02   -1.5517    
  14  Prefactor     .10000E-03    4.6704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.209        18.467        .10271E-03   -1.4928    
  16  Prefactor     .10000E-03    11.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.964        34.335        .11580E-03   -1.5016    
  18  Normalizat    1.2132        .29439        .34676E-03   -.86195    
  19  Prefactor     .98660        .14156        .19043E-03   -.93177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08826e-10
Minuit parameter uncertainties:
  1  0.000141691
  2  0.263301
  3  0.000238186
  4  51.2457
  5  43.7692
  6  2.98887e-05
  7  28.364
  8  2.11465
  9  2.01875e-05
  10  3.32012
  11  0.000164084
  12  10.8032
  13  1.03079
  14  2.78559e-06
  15  18.4734
  16  8.32742e-05
  17  34.3913
  18  0.294794
  19  0.141609
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  6.307e-01  2.115e+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:  9.866e-01  1.416e-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.213e+00  2.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/707278/likelihoodResults_320976001_321235201_4FGL_J1548.3+1456_daily_bin315.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) = 8083.31593969
delta logL = 0.273680091437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8083.31159372
delta logL = 0.278026067589

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .73191       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7769       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98888       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=   8083.312     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73188        32.430        .12184E-02    .28858E-03
   2  alpha         2.7775        3.7766        .41475        .54217E-04
   3  Normalizat    1.1948        .68856E-01    .78821E-01    .14712E-04
   4  Prefactor     .98885        .31372E-01    .46128E-01    .30589E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.731878
  alpha      = 2.77753
  Normalizat = 1.19481
  Prefactor  = 0.988852
 **********
 **   18 **HESSE 
 **********

 FCN=   8083.312     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73188        1.6776        .48735E-04   -1.5537    
   2  alpha         2.7775        1.2087        .19410E-01    .11124    
   3  Normalizat    1.1948        .27682        .34890E-03   -.86763    
   4  Prefactor     .98885        .13883        .19014E-03   -.93102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01478e-11
Minuit parameter uncertainties:
  1  1.67774
  2  1.26227
  3  0.277164
  4  0.138877
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707278': 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) = 8083.31159335
delta logL = 0.278026436149

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  7.319e-01  1.678e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  2.778e+00  1.262e+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.889e-01  1.389e-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.195e+00  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/707278/cmap_HighResolution_320976001_321235201_4FGL_J1548.3+1456_daily_bin315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.95e-05', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2021-09-12 13:29:38.520372', job_id='707278', GAL2='0.99', fit_tolerance='1e-08', EG2='1.19', EG='1.21', time_epoch_completed='1631478578.52', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.78e-01', ts2='0.66', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='315' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:29:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 707278: <4FGL_J1548.3+1456_daily_bin315> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin315 237.1 14.9461 320976001 321235201 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 :                                   607.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            848 sec.

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

