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


Performing analysis on: 4FGL_J0448.7-2116_daily_bin1474
RA = 72.1949, Dec = -21.2813
tmin = 621388801, tmax = 621648001
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='755027', job_status='RUN', time_executed='2021-08-21 08:58:15.411671', time_epoch_executed='1629561495.41' WHERE source_name='4FGL J0448.7-2116' and cadence='daily' and bin_id='1474'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/755027

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/755027/ft1_4FGL_J0448.7-2116_daily_bin1474.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/755027/ft1_4FGL_J0448.7-2116_daily_bin1474.fits outfile=/scratch/kocevski/755027/ft1_filteredMKT_4FGL_J0448.7-2116_daily_bin1474.fits ra=72.1949 dec=-21.2813 rad=12.0 tmin=621388801.0 tmax=621648001.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 8.51
user 3.09
sys 5.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.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/755027/ft1_filteredMKT_4FGL_J0448.7-2116_daily_bin1474.fits evtable="EVENTS" outfile="/scratch/kocevski/755027/ft1_filtered_4FGL_J0448.7-2116_daily_bin1474.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 5.74
user 0.36
sys 5.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/755027/ft1_filtered_4FGL_J0448.7-2116_daily_bin1474.fits" evtable="EVENTS" scfile=/scratch/kocevski/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.fits sctable="SC_DATA" outfile=/scratch/kocevski/755027/ltcube_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.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/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.fits
.....................!
real 19.48
user 13.30
sys 6.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/755027/ft1_filtered_4FGL_J0448.7-2116_daily_bin1474.fits evtable="EVENTS" scfile=/scratch/kocevski/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.fits sctable="SC_DATA" expcube=/scratch/kocevski/755027/ltcube_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.fits outfile=/scratch/kocevski/755027/expmap_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.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/755027/ltcube_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.fits
.....................!
real 197.78
user 186.20
sys 11.05

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0448.7-2116 @ 72.1949 -21.2813

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/755027/ft1_filtered_4FGL_J0448.7-2116_daily_bin1474.fits scfile=/scratch/kocevski/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.fits outfile=/scratch/kocevski/755027/cmap_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.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=72.1949 yref=-21.2813 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 6.12
user 0.39
sys 5.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/755027/ft1_filtered_4FGL_J0448.7-2116_daily_bin1474.fits scfile=/scratch/kocevski/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.fits outfile=/scratch/kocevski/755027/cmap_HighResolution_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.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=72.1949 yref=-21.2813 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 5.81
user 0.39
sys 5.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/755027/ft1_filtered_4FGL_J0448.7-2116_daily_bin1474.fits evtable="EVENTS" scfile=/scratch/kocevski/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/755027/Model_4FGL_J0448.7-2116_daily_bin1474.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/755027/ft1_filtered_4FGL_J0448.7-2116_daily_bin1474.fits....................!
real 89.00
user 80.08
sys 7.77

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/755027/ft1_filtered_4FGL_J0448.7-2116_daily_bin1474.fits', '/scratch/kocevski/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.fits', expMap='/scratch/kocevski/755027/expmap_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.fits', expCube='/scratch/kocevski/755027/ltcube_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/755027/Model_4FGL_J0448.7-2116_daily_bin1474.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0448.7-2116'

4FGL J0448.7-2116
   Spectrum: PowerLaw
275    Prefactor:  7.117e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.538e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
277        Scale:  7.295e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/755027/ft1_filtered_4FGL_J0448.7-2116_daily_bin1474.fits
Spacecraft file(s): /scratch/kocevski/755027/ft2_4FGL_J0448.7-2116_daily_bin1474.fits
Exposure map: /scratch/kocevski/755027/expmap_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.fits
Exposure cube: /scratch/kocevski/755027/ltcube_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/755027/Model_4FGL_J0448.7-2116_daily_bin1474.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) = 6334.34997624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10328E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.405       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.9348       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14715E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    62.804       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4768       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7699       1.0000         .10000E-03   10000.    
    12 'norm      '    1.5400       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .41365       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .93714       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6334.338     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1819 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5214        .40415E-07** at limit **
   2  norm          .10000E-03    13.881       -.15751E-04** at limit **
   3  Prefactor     31.381        32.477       -.12479E-05    .35458E-04
   4  Prefactor     .10000E-03    5.1992       -.49151E-06** at limit **
   5  Prefactor     5.8570        20.506        .38171E-04   -.35177E-04
   6  Prefactor     .10000E-03    13.923        .15727E-04** at limit **
   7  norm          .10000E-03    58.203       -.27261E-04** at limit **
   8  Prefactor     .10000E-03    2.9679       -.11103E-06** at limit **
   9  Prefactor     62.816        49.496       -.51112E-06   -.48640E-04
  10  norm          2.4761        3.9216        .28093E-06   -.61784E-03
  11  Prefactor     1.7687        5.1978       -.25377E-06   -.79154E-03
  12  norm          1.5400        .29370        .12274E-07   -.84949E-03
  13  Prefactor     .10000E-03    55.105       -.12343E-04** at limit **
  14  Prefactor     .10000E-03    11.789        .24095E-06** at limit **
  15  norm          .10000E-03    52.530        .24408E-04** at limit **
  16  Prefactor     .14826        20.207       -.97829E-06    .16955E-03
  17  Normalizat    .93736        .19952       -.53462E-05    .35079E-04
  18  Prefactor     1.1184        .14003        .71110E-06   -.29195E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 31.3812
  Prefactor  = 0.000100001
  Prefactor  = 5.857
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 62.8162
  norm       = 2.47606
  Prefactor  = 1.76867
  norm       = 1.53998
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.148258
  Normalizat = 0.937359
  Prefactor  = 1.11845
 **********
 **   18 **HESSE 
 **********

 FCN=   6334.338     FROM HESSE     STATUS=OK           250 CALLS     2069 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5530        .95828E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    13.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.381        32.633        .71499E-04   -1.4587    
   4  Prefactor     .10000E-03    5.4112        .35395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8570        20.423        .16483E-03   -1.5224    
   6  Prefactor     .10000E-03    13.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    58.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.4486        .26606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     62.816        49.572        .50635E-04   -1.4121    
  10  norm          2.4761        3.9042        .18378E-03   -1.5393    
  11  Prefactor     1.7687        5.1633        .29425E-03   -1.5442    
  12  norm          1.5400        .29447        .17637E-04   -1.5460    
  13  Prefactor     .10000E-03    55.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    52.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .14826        24.221        .11600       -1.5631    
  17  Normalizat    .93736        .22753        .29711E-03   -.95160    
  18  Prefactor     1.1184        .15976        .20769E-03   -.88879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39687e-09
Minuit parameter uncertainties:
  1  3.67291e-06
  2  5.70524e-05
  3  32.6512
  4  0.00012202
  5  20.4471
  6  3.32165e-07
  7  2.37624e-06
  8  2.71733e-05
  9  49.6051
  10  3.90457
  11  5.16464
  12  0.294468
  13  0.000150866
  14  2.20485e-05
  15  3.30306e-05
  16  3.79024
  17  0.227768
  18  0.159833
Done.

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

Extracting fit parameters...

4FGL J0448.7-2116
   Spectrum: PowerLaw
275    Prefactor:  6.282e+01  4.961e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.538e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
277        Scale:  7.295e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.118e+00  1.598e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  9.374e-01  2.278e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.57
Ra Dec: 72.195 -21.281
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 6.34e-08 +/- 5.00e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 1.39e-05

TS (Fixed Index): 2.57
Ra Dec: 72.195 -21.281
Photon Flux Upper Limit: 1.67e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.31e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/755027/likelihoodResults_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.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) = 6334.29552952
delta logL = 0.0420822583674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6334.29481589
delta logL = 0.0427958829578

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.625       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7170       1.0000          .0000       10.000    
     3 'Normalizat'    .93074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1216       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+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=   6334.295     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      281 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.639        54.682        .54271E-04   -.72635E-03
   2  Index         2.7174        .65773        .67237E-02   -.47701E-03
   3  Normalizat    .93067        .20983        .29802E-03    .76157E-03
   4  Prefactor     1.1216        .15760        .20743E-03    .10338E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.6391
  Index      = 2.71738
  Normalizat = 0.930673
  Prefactor  = 1.12159
 **********
 **   18 **HESSE 
 **********

 FCN=   6334.295     FROM HESSE     STATUS=OK            23 CALLS      304 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.639        52.359        .10854E-04   -1.4228    
   2  Index         2.7174        .62952        .26895E-03   -.47408    
   3  Normalizat    .93067        .20994        .59604E-04   -.95391    
   4  Prefactor     1.1216        .15767        .41486E-04   -.88779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62391e-09
Minuit parameter uncertainties:
  1  52.4028
  2  0.631644
  3  0.210121
  4  0.157731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/755027': 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) = 6334.29481531
delta logL = 0.0427964694663

Extracting fit parameters...

4FGL J0448.7-2116
   Spectrum: PowerLaw
275    Prefactor:  5.464e+01  5.240e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.717e+00  6.316e-01  0.000e+00  1.000e+01 (-1.000e+00)
277        Scale:  7.295e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.122e+00  1.577e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  9.307e-01  2.101e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.70
Ra Dec: 72.195 -21.281
Photon Index (Free Index): 2.72 +/- 0.63
Photon Flux (Free Index): 7.05e-08 +/- 5.69e-08
Energy Flux (Free Index): 1.67e-05 +/- 1.30e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/755027/cmap_HighResolution_621388801_621648001_4FGL_J0448.7-2116_daily_bin1474.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', comment='SUCCESS', photon_flux='6.34e-08', energy_flux2='1.67e-05', photon_flux_error='5.00e-08', dlogl='4.28e-02', energy_flux='1.77e-05', photon_flux2='7.05e-08', job_status='DONE', time_completed='2021-08-21 09:09:25.636444', photon_index_error2='0.63', photon_index2='2.72', ts='2.57', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.30e-05', EG='0.94', time_epoch_completed='1629562165.64', return_code='0', job_id='755027', GAL2='1.12', EG2='0.93', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='5.69e-08', ts2='2.70', photon_index='2.54' WHERE bin_id='1474' AND source_name='4FGL J0448.7-2116' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 09:09:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 755027: <4FGL_J0448.7-2116_daily_bin1474> in cluster <slac> Done

Job <4FGL_J0448.7-2116_daily_bin1474> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 21 08:55:24 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 08:55:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 21 08:55:26 2021
Terminated at Sat Aug 21 09:09:27 2021
Results reported at Sat Aug 21 09:09:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0448.7-2116_daily_bin1474 72.1949 -21.2813 621388801 621648001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0448.7-2116 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   739.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            843 sec.

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

