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


Performing analysis on: 4FGL_J0448.7-2116_daily_bin1321
RA = 72.1949, Dec = -21.2813
tmin = 581731201, tmax = 581990401
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='753732', job_status='RUN', time_executed='2021-08-21 08:50:55.879051', time_epoch_executed='1629561055.88' WHERE source_name='4FGL J0448.7-2116' and cadence='daily' and bin_id='1321'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/753732

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/753732/ft1_4FGL_J0448.7-2116_daily_bin1321.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/753732/ft2_4FGL_J0448.7-2116_daily_bin1321.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/753732/ft1_4FGL_J0448.7-2116_daily_bin1321.fits outfile=/scratch/kocevski/753732/ft1_filteredMKT_4FGL_J0448.7-2116_daily_bin1321.fits ra=72.1949 dec=-21.2813 rad=12.0 tmin=581731201.0 tmax=581990401.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.26
user 2.36
sys 0.88

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/753732/ft2_4FGL_J0448.7-2116_daily_bin1321.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/753732/ft1_filteredMKT_4FGL_J0448.7-2116_daily_bin1321.fits evtable="EVENTS" outfile="/scratch/kocevski/753732/ft1_filtered_4FGL_J0448.7-2116_daily_bin1321.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 1.20
user 0.33
sys 0.85

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/753732/ft1_filtered_4FGL_J0448.7-2116_daily_bin1321.fits" evtable="EVENTS" scfile=/scratch/kocevski/753732/ft2_4FGL_J0448.7-2116_daily_bin1321.fits sctable="SC_DATA" outfile=/scratch/kocevski/753732/ltcube_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.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/753732/ft2_4FGL_J0448.7-2116_daily_bin1321.fits
.....................!
real 13.47
user 12.29
sys 1.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/753732/ft1_filtered_4FGL_J0448.7-2116_daily_bin1321.fits evtable="EVENTS" scfile=/scratch/kocevski/753732/ft2_4FGL_J0448.7-2116_daily_bin1321.fits sctable="SC_DATA" expcube=/scratch/kocevski/753732/ltcube_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.fits outfile=/scratch/kocevski/753732/expmap_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.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/753732/ltcube_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.fits
.....................!
real 190.91
user 185.40
sys 5.14

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/753732/ft1_filtered_4FGL_J0448.7-2116_daily_bin1321.fits scfile=/scratch/kocevski/753732/ft2_4FGL_J0448.7-2116_daily_bin1321.fits outfile=/scratch/kocevski/753732/cmap_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.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 1.23
user 0.38
sys 0.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/753732/ft1_filtered_4FGL_J0448.7-2116_daily_bin1321.fits scfile=/scratch/kocevski/753732/ft2_4FGL_J0448.7-2116_daily_bin1321.fits outfile=/scratch/kocevski/753732/cmap_HighResolution_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.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 1.23
user 0.38
sys 0.84

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/753732/ft1_filtered_4FGL_J0448.7-2116_daily_bin1321.fits evtable="EVENTS" scfile=/scratch/kocevski/753732/ft2_4FGL_J0448.7-2116_daily_bin1321.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/753732/Model_4FGL_J0448.7-2116_daily_bin1321.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/753732/ft1_filtered_4FGL_J0448.7-2116_daily_bin1321.fits.....................!
real 83.60
user 81.33
sys 2.03

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/753732/ft1_filtered_4FGL_J0448.7-2116_daily_bin1321.fits', '/scratch/kocevski/753732/ft2_4FGL_J0448.7-2116_daily_bin1321.fits', expMap='/scratch/kocevski/753732/expmap_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.fits', expCube='/scratch/kocevski/753732/ltcube_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/753732/Model_4FGL_J0448.7-2116_daily_bin1321.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/753732/ft1_filtered_4FGL_J0448.7-2116_daily_bin1321.fits
Spacecraft file(s): /scratch/kocevski/753732/ft2_4FGL_J0448.7-2116_daily_bin1321.fits
Exposure map: /scratch/kocevski/753732/expmap_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.fits
Exposure cube: /scratch/kocevski/753732/ltcube_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/753732/Model_4FGL_J0448.7-2116_daily_bin1321.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) = 6456.05124539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5551       1.0000         .10000E-03   10000.    
     2 'norm      '    15.451       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.109       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    60.015       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4667       1.0000         .10000E-03   10000.    
     9 'Prefactor '    74.737       1.0000         .10000E-03   10000.    
    10 'norm      '    4.4930       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .89304       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-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 '    .10050E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .88553       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0363       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=   6456.040     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1751 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5552        3.3549        .39328E-07   -.99521E-05
   2  norm          15.451        17.642        .77704E-07   -.34265E-05
   3  Prefactor     19.109        28.695        .21701E-06   -.53861E-05
   4  Prefactor     .10000E-03    3.8176        .61263E-07** at limit **
   5  Prefactor     .10000E-03    11.014       -.10450E-07** at limit **
   6  Prefactor     60.018        35.450        .27113E-06    .10504E-04
   7  norm          .10000E-03    70.743        .37142E-06** at limit **
   8  Prefactor     2.4668        4.7664        .66866E-06    .11319E-03
   9  Prefactor     74.731        53.523        .43142E-07   -.33887E-04
  10  norm          4.4927        3.1276        .11324E-05   -.23812E-03
  11  Prefactor     .10000E-03    1.9605       -.31129E-07** at limit **
  12  norm          .89304        .22897       -.82828E-08   -.13675E-03
  13  Prefactor     .10000E-03    37.529       -.66449E-06** at limit **
  14  Prefactor     .10000E-03    7.7587        .15671E-07** at limit **
  15  norm          .10000E-03    43.409        .10656E-05** at limit **
  16  Prefactor     .10000E-03    78.188       -.18993E-05** at limit **
  17  Normalizat    .88562        .18608       -.53418E-06   -.48254E-05
  18  Prefactor     1.0362        .13971       -.40396E-06   -.31516E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.55519
  norm       = 15.4509
  Prefactor  = 19.1093
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.0179
  norm       = 0.0001
  Prefactor  = 2.46675
  Prefactor  = 74.731
  norm       = 4.49274
  Prefactor  = 0.0001
  norm       = 0.893041
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.000100002
  Normalizat = 0.885616
  Prefactor  = 1.03619
 **********
 **   18 **HESSE 
 **********

 FCN=   6456.040     FROM HESSE     STATUS=OK           246 CALLS     1997 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5552        3.3547        .10190E-03   -1.5196    
   2  norm          15.451        17.629        .10189E-03   -1.4922    
   3  Prefactor     19.109        28.692        .91623E-04   -1.4833    
   4  Prefactor     .10000E-03    3.9886        .30641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     60.018        35.469        .51791E-04   -1.4157    
   7  norm          .10000E-03    70.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4668        4.7590        .23609E-03   -1.5394    
   9  Prefactor     74.731        53.725        .46444E-04   -1.3977    
  10  norm          4.4927        3.1373        .56470E-03   -1.5284    
  11  Prefactor     .10000E-03    1.9765        .10985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .89304        .22936        .18145E-04   -1.5519    
  13  Prefactor     .10000E-03    37.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.7649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    44.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    80.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .88562        .21293        .29510E-03   -.96967    
  18  Prefactor     1.0362        .16000        .21332E-03   -.91533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40679e-10
Minuit parameter uncertainties:
  1  3.35475
  2  17.6349
  3  28.7129
  4  5.96547e-06
  5  8.09044e-06
  6  35.4819
  7  0.000330842
  8  4.75976
  9  53.7596
  10  3.13741
  11  1.71805e-06
  12  0.229357
  13  0.00037884
  14  2.51967e-06
  15  0.000670779
  16  0.000790166
  17  0.213132
  18  0.160073
Done.

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

Extracting fit parameters...

4FGL J0448.7-2116
   Spectrum: PowerLaw
275    Prefactor:  7.473e+01  5.376e+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.036e+00  1.601e-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:  8.856e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.74
Ra Dec: 72.195 -21.281
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 7.54e-08 +/- 5.42e-08
Energy Flux (Fixed Index): 2.10e-05 +/- 1.51e-05

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

Saving results to:
/scratch/kocevski/753732/likelihoodResults_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.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) = 6454.50947226
delta logL = 1.53005634296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6454.4919861
delta logL = 1.54754249663

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.965       1.0000         .10000E-03   10000.    
     2 'Index     '    4.2258       1.0000          .0000       10.000    
     3 'Normalizat'    .78312       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0928       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=   6454.492     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      295 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.958        129.99        .11581E-03   -.26613E-03
   2  Index         4.2263        3.5671        .39916E-02   -.75553E-04
   3  Normalizat    .78312        .20282        .31108E-03    .38133E-03
   4  Prefactor     1.0928        .15869        .20841E-03    .41919E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9576
  Index      = 4.2263
  Normalizat = 0.783117
  Prefactor  = 1.09281
 **********
 **   18 **HESSE 
 **********

 FCN=   6454.492     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.958        29.226        .46325E-05   -1.5016    
   2  Index         4.2263        1.4527        .15966E-03   -.15536    
   3  Normalizat    .78312        .21414        .12443E-04   -1.0070    
   4  Prefactor     1.0928        .16336        .41683E-04   -.89697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0911e-10
Minuit parameter uncertainties:
  1  29.2607
  2  1.47454
  3  0.214374
  4  0.16343
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/753732': 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) = 6454.49198588
delta logL = 1.54754272305

Extracting fit parameters...

4FGL J0448.7-2116
   Spectrum: PowerLaw
275    Prefactor:  1.196e+01  2.926e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  4.226e+00  1.475e+00  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.093e+00  1.634e-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:  7.831e-01  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.32
Ra Dec: 72.195 -21.281
Photon Index (Free Index): 4.23 +/- 1.47
Photon Flux (Free Index): 1.65e-07 +/- 8.17e-08
Energy Flux (Free Index): 2.39e-05 +/- 1.21e-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/753732/cmap_HighResolution_581731201_581990401_4FGL_J0448.7-2116_daily_bin1321.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.40e-02', comment='SUCCESS', photon_flux='7.54e-08', energy_flux2='2.39e-05', photon_flux_error='5.42e-08', dlogl='1.55e+00', energy_flux='2.10e-05', photon_flux2='1.65e-07', job_status='DONE', time_completed='2021-08-21 09:00:46.560031', photon_index_error2='1.47', photon_index2='4.23', ts='2.74', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.80e-07', energy_flux_error2='1.21e-05', EG='0.89', time_epoch_completed='1629561646.56', return_code='0', job_id='753732', GAL2='1.09', EG2='0.78', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='8.17e-08', ts2='6.32', photon_index='2.54' WHERE bin_id='1321' AND source_name='4FGL J0448.7-2116' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 09:00:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 753732: <4FGL_J0448.7-2116_daily_bin1321> in cluster <slac> Done

Job <4FGL_J0448.7-2116_daily_bin1321> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 21 08:50:34 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 08:50:36 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:50:36 2021
Terminated at Sat Aug 21 09:00:47 2021
Results reported at Sat Aug 21 09:00:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0448.7-2116_daily_bin1321 72.1949 -21.2813 581731201 581990401 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 :                                   596.00 sec.
    Max Memory :                                 1157 MB
    Average Memory :                             327.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   611 sec.
    Turnaround time :                            613 sec.

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

