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


Performing analysis on: 4FGL_J1548.8-2250_daily_bin466
RA = 237.201, Dec = -22.8471
tmin = 360115201, tmax = 360374401
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='716893', job_status='RUN', time_executed='2021-09-12 13:49:14.523388', time_epoch_executed='1631479754.52' WHERE source_name='4FGL J1548.8-2250' and cadence='daily' and bin_id='466'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/716893

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/716893/ft1_4FGL_J1548.8-2250_daily_bin466.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/716893/ft2_4FGL_J1548.8-2250_daily_bin466.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/716893/ft1_4FGL_J1548.8-2250_daily_bin466.fits outfile=/scratch/kocevski/716893/ft1_filteredMKT_4FGL_J1548.8-2250_daily_bin466.fits ra=237.201 dec=-22.8471 rad=12.0 tmin=360115201.0 tmax=360374401.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 2.76
user 2.55
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/716893/ft2_4FGL_J1548.8-2250_daily_bin466.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/716893/ft2_4FGL_J1548.8-2250_daily_bin466.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/716893/ft1_filteredMKT_4FGL_J1548.8-2250_daily_bin466.fits evtable="EVENTS" outfile="/scratch/kocevski/716893/ft1_filtered_4FGL_J1548.8-2250_daily_bin466.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.44
user 0.27
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/716893/ft1_filtered_4FGL_J1548.8-2250_daily_bin466.fits" evtable="EVENTS" scfile=/scratch/kocevski/716893/ft2_4FGL_J1548.8-2250_daily_bin466.fits sctable="SC_DATA" outfile=/scratch/kocevski/716893/ltcube_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.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/716893/ft2_4FGL_J1548.8-2250_daily_bin466.fits
.....................!
real 10.01
user 9.71
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/716893/ft1_filtered_4FGL_J1548.8-2250_daily_bin466.fits evtable="EVENTS" scfile=/scratch/kocevski/716893/ft2_4FGL_J1548.8-2250_daily_bin466.fits sctable="SC_DATA" expcube=/scratch/kocevski/716893/ltcube_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.fits outfile=/scratch/kocevski/716893/expmap_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.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/716893/ltcube_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.fits
.....................!
real 152.85
user 148.29
sys 4.24

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
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 209 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1548.8-2250 @ 237.201 -22.8471

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/716893/ft1_filtered_4FGL_J1548.8-2250_daily_bin466.fits scfile=/scratch/kocevski/716893/ft2_4FGL_J1548.8-2250_daily_bin466.fits outfile=/scratch/kocevski/716893/cmap_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.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.201 yref=-22.8471 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.47
user 0.33
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/716893/ft1_filtered_4FGL_J1548.8-2250_daily_bin466.fits scfile=/scratch/kocevski/716893/ft2_4FGL_J1548.8-2250_daily_bin466.fits outfile=/scratch/kocevski/716893/cmap_HighResolution_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.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.201 yref=-22.8471 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.48
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/716893/ft1_filtered_4FGL_J1548.8-2250_daily_bin466.fits evtable="EVENTS" scfile=/scratch/kocevski/716893/ft2_4FGL_J1548.8-2250_daily_bin466.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/716893/Model_4FGL_J1548.8-2250_daily_bin466.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 FHES J1626.9-2431
adding source GAL_V02
Working on...
/scratch/kocevski/716893/ft1_filtered_4FGL_J1548.8-2250_daily_bin466.fits.....................!
real 130.63
user 129.31
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/716893/ft1_filtered_4FGL_J1548.8-2250_daily_bin466.fits', '/scratch/kocevski/716893/ft2_4FGL_J1548.8-2250_daily_bin466.fits', expMap='/scratch/kocevski/716893/expmap_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.fits', expCube='/scratch/kocevski/716893/ltcube_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/716893/Model_4FGL_J1548.8-2250_daily_bin466.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1548.8-2250'

4FGL J1548.8-2250
   Spectrum: PowerLaw
329    Prefactor:  5.289e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
330        Index:  1.793e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  4.643e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/716893/ft1_filtered_4FGL_J1548.8-2250_daily_bin466.fits
Spacecraft file(s): /scratch/kocevski/716893/ft2_4FGL_J1548.8-2250_daily_bin466.fits
Exposure map: /scratch/kocevski/716893/expmap_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.fits
Exposure cube: /scratch/kocevski/716893/ltcube_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/716893/Model_4FGL_J1548.8-2250_daily_bin466.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) = 13637.3555941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.4446       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5406       1.0000         .10000E-03   10000.    
     4 'norm      '    2.4557       1.0000         .10000E-03   10000.    
     5 'norm      '    .44664E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.6557       1.0000         .10000E-03   10000.    
    12 'norm      '    12.884       1.0000         .10000E-03   10000.    
    13 'norm      '    1.0823       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .99227       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1065       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13637.18     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1186 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1886        .90309E-08** at limit **
   2  norm          3.4446        1.0265        .18747E-08   -.22544E-05
   3  Prefactor     4.5409        3.5700        .27824E-06   -.10842E-02
   4  norm          2.4550        3.0822       -.46854E-07   -.15538E-03
   5  norm          .10000E-03    2.9845        .94733E-08** at limit **
   6  Prefactor     .10000E-03    50.109       -.37571E-06** at limit **
   7  Prefactor     .10000E-03    33.989        .48422E-06** at limit **
   8  norm          .10000E-03    3.5162        .62058E-09** at limit **
   9  Prefactor     .10000E-03    .77531       -.19258E-08** at limit **
  10  Prefactor     .10000E-03    16.379        .43266E-07** at limit **
  11  norm          6.6500        16.886        .40599E-05    .81402E-04
  12  norm          12.882        6.7611       -.19955E-07   -.49126E-04
  13  norm          1.0818        1.8868        .52722E-07   -.71718E-03
  14  Normalizat    .99227        .33150        .28367E-06   -.19917E-04
  15  Prefactor     1.1065        .67655E-01   -.10983E-06    .60201E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.44455
  Prefactor  = 4.54087
  norm       = 2.455
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.64996
  norm       = 12.8823
  norm       = 1.08184
  Normalizat = 0.992272
  Prefactor  = 1.10653
 **********
 **   18 **HESSE 
 **********

 FCN=   13637.18     FROM HESSE     STATUS=OK           192 CALLS     1378 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.4446        1.0259        .21792E-04   -1.5337    
   3  Prefactor     4.5409        5.3300        .94462E-03   -1.5282    
   4  norm          2.4550        3.0728        .21840E-03   -1.5395    
   5  norm          .10000E-03    3.8469        .72332E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    50.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    34.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.5180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .78087        .10037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.6500        17.101        .15554E-03   -1.5192    
  12  norm          12.882        6.8050        .11160E-03   -1.4990    
  13  norm          1.0818        2.0486        .21705E-03   -1.5500    
  14  Normalizat    .99227        .35174        .72973E-03   -.93290    
  15  Prefactor     1.1065        .73260E-01    .13906E-03   -.89258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.60204e-10
Minuit parameter uncertainties:
  1  1.73848e-07
  2  1.02591
  3  5.33053
  4  3.073
  5  8.49339e-05
  6  2.55614e-05
  7  2.62363e-05
  8  2.61187e-07
  9  4.24001e-08
  10  1.87982e-06
  11  17.1133
  12  6.80537
  13  2.04875
  14  0.352566
  15  0.0732664
Done.

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

Extracting fit parameters...

4FGL J1548.8-2250
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  2.624e-05  1.000e-04  1.000e+04 ( 1.000e-14)
330        Index:  1.793e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  4.643e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
713    Prefactor:  1.107e+00  7.327e-02  0.000e+00  1.000e+01 ( 1.000e+00)
714        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
715        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
708   Normalization:  9.923e-01  3.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 237.201 -22.847
Photon Flux Upper Limit: 7.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/716893/likelihoodResults_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.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) = 13637.1823212
delta logL = -0.00013854631834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13637.1821827
delta logL = -1.94249878405e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12701E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0151       1.0000          .0000       10.000    
     3 'Normalizat'    .99227       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1065       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13637.18     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      243 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .92397        .90712E-02** at limit **
   2  Index         2.0368        8.4698        .50000       -.38387E-05
   3  Normalizat    .99227        .12548E-02    .16415        .71669E-04
   4  Prefactor     1.1065        .25217E-03    .37344E-01    .25547E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.03678
  Normalizat = 0.992274
  Prefactor  = 1.10653
 **********
 **   18 **HESSE 
 **********

 FCN=   13637.18     FROM HESSE     STATUS=OK            29 CALLS      272 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.253        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0368        5.2511        .20000       -.63434    
   3  Normalizat    .99227        .34464        .72973E-03   -.93290    
   4  Prefactor     1.1065        .69849E-01    .13906E-03   -.89258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58524e-07
Minuit parameter uncertainties:
  1  0.000192857
  2  632.128
  3  0.345413
  4  0.0698547
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/716893': 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) = 13637.1821824
delta logL = 3.14850694849e-07

Extracting fit parameters...

4FGL J1548.8-2250
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  1.929e-04  1.000e-04  1.000e+04 ( 1.000e-14)
330        Index:  2.037e+00  6.321e+02  0.000e+00  1.000e+01 (-1.000e+00)
331        Scale:  4.643e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
713    Prefactor:  1.107e+00  6.985e-02  0.000e+00  1.000e+01 ( 1.000e+00)
714        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
715        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
708   Normalization:  9.923e-01  3.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.201 -22.847

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/716893/cmap_HighResolution_360115201_360374401_4FGL_J1548.8-2250_daily_bin466.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.30e-03', job_status='DONE', photon_flux_upper_limit='7.19e-08', time_completed='2021-09-12 14:01:40.994719', job_id='716893', GAL2='1.11', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1631480500.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.15e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.79' WHERE bin_id='466' AND source_name='4FGL J1548.8-2250' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 14:01:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 716893: <4FGL_J1548.8-2250_daily_bin466> in cluster <slac> Done

Job <4FGL_J1548.8-2250_daily_bin466> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 13:45:23 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:49:04 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:49:04 2021
Terminated at Sun Sep 12 14:01:41 2021
Results reported at Sun Sep 12 14:01:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.8-2250_daily_bin466 237.201 -22.8471 360115201 360374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1548.8-2250 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   730.34 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             334.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            978 sec.

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

