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


Performing analysis on: 4FGL_J0448.7-2116_daily_bin1352
RA = 72.1949, Dec = -21.2813
tmin = 589766401, tmax = 590025601
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='753776', job_status='RUN', time_executed='2021-08-21 08:51:02.387118', time_epoch_executed='1629561062.39' WHERE source_name='4FGL J0448.7-2116' and cadence='daily' and bin_id='1352'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/753776

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/753776/ft1_4FGL_J0448.7-2116_daily_bin1352.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/753776/ft2_4FGL_J0448.7-2116_daily_bin1352.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/753776/ft1_4FGL_J0448.7-2116_daily_bin1352.fits outfile=/scratch/kocevski/753776/ft1_filteredMKT_4FGL_J0448.7-2116_daily_bin1352.fits ra=72.1949 dec=-21.2813 rad=12.0 tmin=589766401.0 tmax=590025601.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 4.30
user 3.80
sys 0.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/753776/ft1_filtered_4FGL_J0448.7-2116_daily_bin1352.fits" evtable="EVENTS" scfile=/scratch/kocevski/753776/ft2_4FGL_J0448.7-2116_daily_bin1352.fits sctable="SC_DATA" outfile=/scratch/kocevski/753776/ltcube_589766401_590025601_4FGL_J0448.7-2116_daily_bin1352.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/753776/ft2_4FGL_J0448.7-2116_daily_bin1352.fits
.....................!
real 9.42
user 8.80
sys 0.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/753776/ft1_filtered_4FGL_J0448.7-2116_daily_bin1352.fits evtable="EVENTS" scfile=/scratch/kocevski/753776/ft2_4FGL_J0448.7-2116_daily_bin1352.fits sctable="SC_DATA" expcube=/scratch/kocevski/753776/ltcube_589766401_590025601_4FGL_J0448.7-2116_daily_bin1352.fits outfile=/scratch/kocevski/753776/expmap_589766401_590025601_4FGL_J0448.7-2116_daily_bin1352.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/753776/ltcube_589766401_590025601_4FGL_J0448.7-2116_daily_bin1352.fits
.....................!
real 143.24
user 138.57
sys 4.39

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/753776/ft1_filtered_4FGL_J0448.7-2116_daily_bin1352.fits scfile=/scratch/kocevski/753776/ft2_4FGL_J0448.7-2116_daily_bin1352.fits outfile=/scratch/kocevski/753776/cmap_589766401_590025601_4FGL_J0448.7-2116_daily_bin1352.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 0.64
user 0.28
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/753776/ft1_filtered_4FGL_J0448.7-2116_daily_bin1352.fits scfile=/scratch/kocevski/753776/ft2_4FGL_J0448.7-2116_daily_bin1352.fits outfile=/scratch/kocevski/753776/cmap_HighResolution_589766401_590025601_4FGL_J0448.7-2116_daily_bin1352.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 0.65
user 0.30
sys 0.34

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/753776/ft1_filtered_4FGL_J0448.7-2116_daily_bin1352.fits evtable="EVENTS" scfile=/scratch/kocevski/753776/ft2_4FGL_J0448.7-2116_daily_bin1352.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/753776/Model_4FGL_J0448.7-2116_daily_bin1352.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/753776/ft1_filtered_4FGL_J0448.7-2116_daily_bin1352.fits.....................!
real 52.92
user 51.31
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.959       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.2249       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.711       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .59026       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.980       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.9913       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3850       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.8645       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1068       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96018       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=   5184.980     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1712 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1021       -.16674E-06** at limit **
   2  norm          .10000E-03    8.2927       -.11885E-06** at limit **
   3  Prefactor     16.973        32.376        .15256E-04   -.56453E-05
   4  Prefactor     .10000E-03    2.0681        .18872E-07** at limit **
   5  Prefactor     7.2231        15.182       -.26144E-05   -.92304E-03
   6  Prefactor     15.686        33.931       -.30440E-04   -.86013E-04
   7  norm          .10000E-03    70.240       -.30880E-04** at limit **
   8  Prefactor     .58181        5.4026        .22033E-05   -.19980E-03
   9  Prefactor     .10000E-03    14.144       -.61325E-06** at limit **
  10  norm          10.981        5.1196       -.16152E-06   -.97204E-04
  11  Prefactor     8.9922        6.6668        .55626E-07   -.10791E-03
  12  norm          1.3850        .32432       -.26568E-07   -.56804E-03
  13  Prefactor     .10000E-03    26.869       -.43417E-05** at limit **
  14  Prefactor     .10000E-03    17.693        .22036E-05** at limit **
  15  norm          .10000E-03    61.293        .33543E-04** at limit **
  16  Prefactor     4.8729        93.690        .23192E-04   -.12744E-04
  17  Normalizat    1.1066        .22043       -.13458E-05   -.14960E-03
  18  Prefactor     .96030        .15496        .27938E-05   -.50414E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.9731
  Prefactor  = 0.0001
  Prefactor  = 7.22308
  Prefactor  = 15.6863
  norm       = 0.0001
  Prefactor  = 0.581809
  Prefactor  = 0.0001
  norm       = 10.9805
  Prefactor  = 8.99225
  norm       = 1.38503
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.87291
  Normalizat = 1.10662
  Prefactor  = 0.960299
 **********
 **   18 **HESSE 
 **********

 FCN=   5184.980     FROM HESSE     STATUS=OK           246 CALLS     1958 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1622        .20378E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.2976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.973        32.462        .97257E-04   -1.4884    
   4  Prefactor     .10000E-03    2.0862        .10108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.2231        15.419        .74614E-03   -1.5170    
   6  Prefactor     15.686        33.909        .10105E-03   -1.4916    
   7  norm          .10000E-03    70.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .58181        32.170        .30850E-02   -1.5555    
   9  Prefactor     .10000E-03    14.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.981        5.1328        .10535E-03   -1.5045    
  11  Prefactor     8.9922        6.6740        .13367E-03   -1.5108    
  12  norm          1.3850        .32534        .18748E-04   -1.5473    
  13  Prefactor     .10000E-03    26.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    61.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.8729        94.112        .18238E-03   -1.5266    
  17  Normalizat    1.1066        .25642        .28158E-03   -.89540    
  18  Prefactor     .96030        .18010        .22177E-03   -.94065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49669e-09
Minuit parameter uncertainties:
  1  2.16549e-05
  2  5.76556e-05
  3  32.4957
  4  1.64692e-06
  5  15.4271
  6  33.951
  7  1.31606e-06
  8  8.6567
  9  5.7755e-06
  10  5.13304
  11  6.67456
  12  0.325343
  13  1.17835e-05
  14  1.29866e-05
  15  8.85508e-05
  16  42.9075
  17  0.256706
  18  0.180213
Done.

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

Extracting fit parameters...

4FGL J0448.7-2116
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  5.775e-06  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:  9.603e-01  1.802e-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:  1.107e+00  2.567e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 72.195 -21.281
Photon Flux Upper Limit: 7.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/753776/likelihoodResults_589766401_590025601_4FGL_J0448.7-2116_daily_bin1352.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) = 5184.98023027
delta logL = -0.00033317193629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5184.97989709
delta logL = 8.89485818334e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5289       1.0000          .0000       10.000    
     3 'Normalizat'    1.1066       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96029       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=   5184.980     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      252 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    210.25        .18142E-01** at limit **
   2  Index         2.0809        5.3601        .50000       -.14529E-07
   3  Normalizat    1.1066        .20874E-01    .28158E-03    .15463E-04
   4  Prefactor     .96030        .15522E-01    .22177E-03    .18199E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.08093
  Normalizat = 1.10662
  Prefactor  = 0.960302
 **********
 **   18 **HESSE 
 **********

 FCN=   5184.980     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1593.9        .27743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0809        8.6286        .50000       -.62342    
   3  Normalizat    1.1066        .67467E-01    .11263E-04   -.89540    
   4  Prefactor     .96030        .50169E-01    .88708E-05   -.94065    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.58997e-10
Minuit parameter uncertainties:
  1  2.36852e-05
  2  3309.01
  3  0.0674726
  4  0.0501718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/753776': 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): 102
logL (Free Index) = 5184.97989678
delta logL = 3.21400875691e-07

Extracting fit parameters...

4FGL J0448.7-2116
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  2.369e-05  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.081e+00  3.309e+03  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:  9.603e-01  5.017e-02  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:  1.107e+00  6.747e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 72.195 -21.281

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/753776/cmap_HighResolution_589766401_590025601_4FGL_J0448.7-2116_daily_bin1352.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.89e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2021-08-21 08:57:51.681743', job_id='753776', GAL2='0.96', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1629561471.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='3.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1352' AND source_name='4FGL J0448.7-2116' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 08:57:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 753776: <4FGL_J0448.7-2116_daily_bin1352> in cluster <slac> Done

Job <4FGL_J0448.7-2116_daily_bin1352> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 21 08:50:37 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 08:50:38 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:38 2021
Terminated at Sat Aug 21 08:57:52 2021
Results reported at Sat Aug 21 08:57:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0448.7-2116_daily_bin1352 72.1949 -21.2813 589766401 590025601 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 :                                   405.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   434 sec.
    Turnaround time :                            435 sec.

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

