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


Performing analysis on: 4FGL_J1548.8-2250_daily_bin992
RA = 237.201, Dec = -22.8471
tmin = 496454401, tmax = 496713601
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='721247', job_status='RUN', time_executed='2021-09-12 14:00:37.331987', time_epoch_executed='1631480437.33' WHERE source_name='4FGL J1548.8-2250' and cadence='daily' and bin_id='992'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/721247

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/721247/ft1_4FGL_J1548.8-2250_daily_bin992.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/721247/ft2_4FGL_J1548.8-2250_daily_bin992.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/721247/ft1_4FGL_J1548.8-2250_daily_bin992.fits outfile=/scratch/kocevski/721247/ft1_filteredMKT_4FGL_J1548.8-2250_daily_bin992.fits ra=237.201 dec=-22.8471 rad=12.0 tmin=496454401.0 tmax=496713601.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.26
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/721247/ft1_filtered_4FGL_J1548.8-2250_daily_bin992.fits" evtable="EVENTS" scfile=/scratch/kocevski/721247/ft2_4FGL_J1548.8-2250_daily_bin992.fits sctable="SC_DATA" outfile=/scratch/kocevski/721247/ltcube_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.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/721247/ft2_4FGL_J1548.8-2250_daily_bin992.fits
.....................!
real 14.51
user 14.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/721247/ft1_filtered_4FGL_J1548.8-2250_daily_bin992.fits evtable="EVENTS" scfile=/scratch/kocevski/721247/ft2_4FGL_J1548.8-2250_daily_bin992.fits sctable="SC_DATA" expcube=/scratch/kocevski/721247/ltcube_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.fits outfile=/scratch/kocevski/721247/expmap_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.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/721247/ltcube_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.fits
.....................!
real 191.46
user 186.54
sys 4.40

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/721247/ft1_filtered_4FGL_J1548.8-2250_daily_bin992.fits scfile=/scratch/kocevski/721247/ft2_4FGL_J1548.8-2250_daily_bin992.fits outfile=/scratch/kocevski/721247/cmap_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.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.59
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/721247/ft1_filtered_4FGL_J1548.8-2250_daily_bin992.fits scfile=/scratch/kocevski/721247/ft2_4FGL_J1548.8-2250_daily_bin992.fits outfile=/scratch/kocevski/721247/cmap_HighResolution_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/721247/ft1_filtered_4FGL_J1548.8-2250_daily_bin992.fits evtable="EVENTS" scfile=/scratch/kocevski/721247/ft2_4FGL_J1548.8-2250_daily_bin992.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/721247/Model_4FGL_J1548.8-2250_daily_bin992.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/721247/ft1_filtered_4FGL_J1548.8-2250_daily_bin992.fits.....................!
real 144.73
user 142.52
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/721247/ft1_filtered_4FGL_J1548.8-2250_daily_bin992.fits', '/scratch/kocevski/721247/ft2_4FGL_J1548.8-2250_daily_bin992.fits', expMap='/scratch/kocevski/721247/expmap_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.fits', expCube='/scratch/kocevski/721247/ltcube_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/721247/Model_4FGL_J1548.8-2250_daily_bin992.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/721247/ft1_filtered_4FGL_J1548.8-2250_daily_bin992.fits
Spacecraft file(s): /scratch/kocevski/721247/ft2_4FGL_J1548.8-2250_daily_bin992.fits
Exposure map: /scratch/kocevski/721247/expmap_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.fits
Exposure cube: /scratch/kocevski/721247/ltcube_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/721247/Model_4FGL_J1548.8-2250_daily_bin992.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) = 12211.58197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7483       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3423       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.563       1.0000         .10000E-03   10000.    
     4 'norm      '    1.7825       1.0000         .10000E-03   10000.    
     5 'norm      '    6.2441       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11154E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    60.811       1.0000         .10000E-03   10000.    
     8 'norm      '    15.808       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.439       1.0000         .10000E-03   10000.    
    11 'norm      '    54.595       1.0000         .10000E-03   10000.    
    12 'norm      '    11.197       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7824       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.0539       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0630       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12211.56     FROM MIGRAD    STATUS=CONVERGED     81 CALLS     1126 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7476        1.3479        .15850E-05    .23862E-02
   2  norm          1.3425        .79365       -.33811E-06   -.74648E-04
   3  Prefactor     11.566        2.6979        .13149E-04    .16606E-01
   4  norm          1.7816        2.8765       -.43743E-05   -.74743E-03
   5  norm          6.2422        9.3373       -.25485E-05    .11121E-02
   6  Prefactor     .10000E-03    50.907       -.45277E-05** at limit **
   7  Prefactor     60.880        16.491       -.15644E-04    .14625E-01
   8  norm          15.800        11.750        .73968E-05   -.18193E-02
   9  Prefactor     .10000E-03    3.5204       -.90360E-05** at limit **
  10  Prefactor     33.121        64.304       -.10553E-03    .22993E-02
  11  norm          54.566        24.440        .57488E-04    .44999E-02
  12  norm          11.192        7.6731        .16238E-05    .82238E-03
  13  norm          1.7825        2.5101       -.11399E-04   -.14863E-03
  14  Normalizat    1.0533        .35702        .10064E-04   -.30806E-04
  15  Prefactor     1.0631        .75510E-01   -.99530E-06   -.13974E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.7476
  norm       = 1.3425
  Prefactor  = 11.5664
  norm       = 1.78159
  norm       = 6.24218
  Prefactor  = 0.0001
  Prefactor  = 60.8798
  norm       = 15.7998
  Prefactor  = 0.0001
  Prefactor  = 33.1209
  norm       = 54.5656
  norm       = 11.1921
  norm       = 1.78252
  Normalizat = 1.05326
  Prefactor  = 1.06314
 **********
 **   18 **HESSE 
 **********

 FCN=   12211.56     FROM HESSE     STATUS=OK           224 CALLS     1350 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7476        12.242        .38615E-02   -1.5188    
   2  norm          1.3425        .80717        .94552E-02   -1.5476    
   3  Prefactor     11.566        9.6210        .29453E-02   -1.5028    
   4  norm          1.7816        3.1209        .78357E-02   -1.5441    
   5  norm          6.2422        9.4580        .40161E-02   -1.5208    
   6  Prefactor     .10000E-03    50.831        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     60.880        36.721        .12863E-02   -1.4146    
   8  norm          15.800        11.834        .25184E-02   -1.4913    
   9  Prefactor     .10000E-03    1.7161        .44590E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.121        67.862        .17324E-02   -1.4556    
  11  norm          54.566        26.735        .13572E-02   -1.4229    
  12  norm          11.192        7.6213        .29932E-02   -1.5039    
  13  norm          1.7825        2.5195        .78361E-02   -1.5441    
  14  Normalizat    1.0533        .34115        .15753       -.91267    
  15  Prefactor     1.0631        .69316E-01    .39204E-01   -.90653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04052e-06
Minuit parameter uncertainties:
  1  12.2466
  2  0.807181
  3  9.62229
  4  3.12121
  5  9.46025
  6  0.000259238
  7  36.7343
  8  11.8354
  9  7.74043e-06
  10  68.0211
  11  26.7405
  12  7.62198
  13  2.5196
  14  0.341865
  15  0.0693214
Done.

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

Extracting fit parameters...

4FGL J1548.8-2250
   Spectrum: PowerLaw
329    Prefactor:  6.088e+01  3.673e+01  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.063e+00  6.932e-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:  1.053e+00  3.419e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.18
Ra Dec: 237.201 -22.847
Photon Index (Fixed Index): 1.79 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 4.49e-08
Energy Flux (Fixed Index): 9.11e-05 +/- 5.49e-05

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) = 12211.3751463
delta logL = 0.189496274232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12211.3412819
delta logL = 0.223360651522

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.718       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1015       1.0000          .0000       10.000    
     3 'Normalizat'    1.0115       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0656       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12211.34     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      284 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.731        46.289        .62064E-04    .28217E-03
   2  Index         2.1016        .55746        .55722E-02    .25084E-03
   3  Normalizat    1.0116        .35902        .71278E-03    .55627E-03
   4  Prefactor     1.0656        .71871E-01    .14190E-03    .38050E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.731
  Index      = 2.10162
  Normalizat = 1.01156
  Prefactor  = 1.06562
 **********
 **   18 **HESSE 
 **********

 FCN=   12211.34     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.731        38.988        .12413E-04   -1.4415    
   2  Index         2.1016        .46881        .22289E-03   -.61833    
   3  Normalizat    1.0116        .35564        .28511E-04   -.92644    
   4  Prefactor     1.0656        .71732E-01    .28380E-04   -.90573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58317e-09
Minuit parameter uncertainties:
  1  39.0114
  2  0.469855
  3  0.356475
  4  0.0717384
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/721247': 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) = 12211.3412803
delta logL = 0.223362282914

Extracting fit parameters...

4FGL J1548.8-2250
   Spectrum: PowerLaw
329    Prefactor:  4.173e+01  3.901e+01  1.000e-04  1.000e+04 ( 1.000e-14)
330        Index:  2.102e+00  4.699e-01  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.066e+00  7.174e-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:  1.012e+00  3.565e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.63
Ra Dec: 237.201 -22.847
Photon Index (Free Index): 2.10 +/- 0.47
Photon Flux (Free Index): 1.21e-07 +/- 9.91e-08
Energy Flux (Free Index): 6.59e-05 +/- 4.42e-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/721247/cmap_HighResolution_496454401_496713601_4FGL_J1548.8-2250_daily_bin992.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='6.59e-05', photon_flux_error='4.49e-08', dlogl='2.23e-01', energy_flux='9.11e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-09-12 14:13:19.680761', photon_index_error2='0.47', photon_index2='2.10', ts='8.18', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='4.42e-05', EG='1.05', time_epoch_completed='1631481199.68', return_code='0', job_id='721247', GAL2='1.07', EG2='1.01', return_code2='0', energy_flux_error='5.49e-05', photon_flux_error2='9.91e-08', ts2='8.63', photon_index='1.79' WHERE bin_id='992' AND source_name='4FGL J1548.8-2250' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 14:13:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 721247: <4FGL_J1548.8-2250_daily_bin992> in cluster <slac> Done

Job <4FGL_J1548.8-2250_daily_bin992> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 14:00:19 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 14:00:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 14:00:28 2021
Terminated at Sun Sep 12 14:13:20 2021
Results reported at Sun Sep 12 14:13:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.8-2250_daily_bin992 237.201 -22.8471 496454401 496713601 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 :                                   758.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             409.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            781 sec.

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

