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


Performing analysis on: 4FGL_J0448.7-2116_daily_bin1136
RA = 72.1949, Dec = -21.2813
tmin = 533779201, tmax = 534038401
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='752460', job_status='RUN', time_executed='2021-08-21 08:48:50.494468', time_epoch_executed='1629560930.49' WHERE source_name='4FGL J0448.7-2116' and cadence='daily' and bin_id='1136'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/752460

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/752460/ft1_4FGL_J0448.7-2116_daily_bin1136.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/752460/ft2_4FGL_J0448.7-2116_daily_bin1136.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/752460/ft1_4FGL_J0448.7-2116_daily_bin1136.fits outfile=/scratch/kocevski/752460/ft1_filteredMKT_4FGL_J0448.7-2116_daily_bin1136.fits ra=72.1949 dec=-21.2813 rad=12.0 tmin=533779201.0 tmax=534038401.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 7.92
user 3.28
sys 4.61

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/752460/ft2_4FGL_J0448.7-2116_daily_bin1136.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/752460/ft1_filteredMKT_4FGL_J0448.7-2116_daily_bin1136.fits evtable="EVENTS" outfile="/scratch/kocevski/752460/ft1_filtered_4FGL_J0448.7-2116_daily_bin1136.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 4.95
user 0.32
sys 4.55

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/752460/ft1_filtered_4FGL_J0448.7-2116_daily_bin1136.fits" evtable="EVENTS" scfile=/scratch/kocevski/752460/ft2_4FGL_J0448.7-2116_daily_bin1136.fits sctable="SC_DATA" outfile=/scratch/kocevski/752460/ltcube_533779201_534038401_4FGL_J0448.7-2116_daily_bin1136.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/752460/ft2_4FGL_J0448.7-2116_daily_bin1136.fits
.....................!
real 16.60
user 11.24
sys 5.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/752460/ft1_filtered_4FGL_J0448.7-2116_daily_bin1136.fits evtable="EVENTS" scfile=/scratch/kocevski/752460/ft2_4FGL_J0448.7-2116_daily_bin1136.fits sctable="SC_DATA" expcube=/scratch/kocevski/752460/ltcube_533779201_534038401_4FGL_J0448.7-2116_daily_bin1136.fits outfile=/scratch/kocevski/752460/expmap_533779201_534038401_4FGL_J0448.7-2116_daily_bin1136.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/752460/ltcube_533779201_534038401_4FGL_J0448.7-2116_daily_bin1136.fits
.....................!
real 195.36
user 184.34
sys 10.62

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/752460/ft1_filtered_4FGL_J0448.7-2116_daily_bin1136.fits scfile=/scratch/kocevski/752460/ft2_4FGL_J0448.7-2116_daily_bin1136.fits outfile=/scratch/kocevski/752460/cmap_533779201_534038401_4FGL_J0448.7-2116_daily_bin1136.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 4.77
user 0.39
sys 4.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/752460/ft1_filtered_4FGL_J0448.7-2116_daily_bin1136.fits scfile=/scratch/kocevski/752460/ft2_4FGL_J0448.7-2116_daily_bin1136.fits outfile=/scratch/kocevski/752460/cmap_HighResolution_533779201_534038401_4FGL_J0448.7-2116_daily_bin1136.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 4.85
user 0.39
sys 4.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/752460/ft1_filtered_4FGL_J0448.7-2116_daily_bin1136.fits evtable="EVENTS" scfile=/scratch/kocevski/752460/ft2_4FGL_J0448.7-2116_daily_bin1136.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/752460/Model_4FGL_J0448.7-2116_daily_bin1136.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/752460/ft1_filtered_4FGL_J0448.7-2116_daily_bin1136.fits.....................!
real 102.48
user 95.30
sys 6.92

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3717       1.0000         .10000E-03   10000.    
     2 'norm      '    10.730       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1316       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    77.311       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.362       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1168       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.1510       1.0000         .10000E-03   10000.    
    12 'norm      '    .31044       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.279       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.632       1.0000         .10000E-03   10000.    
    15 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .95931       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0680       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.

 FCN=   7619.092     FROM MIGRAD    STATUS=CONVERGED    347 CALLS     1752 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3718        1.6307        .93046E-02    .47483E-03
   2  norm          10.730        11.528        .30577E-02    .28633E-03
   3  Prefactor     .10000E-03    14.014        .90712E-02** at limit **
   4  Prefactor     1.1316        2.6296        .10974E-01    .12809E-02
   5  Prefactor     .10000E-03    3.9542        .90712E-02** at limit **
   6  Prefactor     .10000E-03    20.402        .90712E-02** at limit **
   7  norm          77.311        96.644        .11418E-02   -.45512E-03
   8  Prefactor     .10000E-03    3.4322        .90712E-02** at limit **
   9  Prefactor     43.362        37.470        .15220E-02    .81574E-04
  10  norm          1.1169        1.8886        .11134E-01    .83748E-03
  11  Prefactor     6.1509        5.1108        .40468E-02    .20812E-02
  12  norm          .31043        .13329        .45019E-02    .23092E-03
  13  Prefactor     27.279        32.401        .19176E-02    .66597E-04
  14  Prefactor     18.631        27.805        .23197E-02    .97330E-03
  15  norm          .10000E-03    35.719        .90712E-02** at limit **
  16  Prefactor     .10000E-03    7.1940        .90712E-02** at limit **
  17  Normalizat    .95934        .16375        .45655E-01    .20072E-04
  18  Prefactor     1.0680        .12681        .38955E-01    .10308E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.37181
  norm       = 10.7297
  Prefactor  = 0.0001
  Prefactor  = 1.13161
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 77.3115
  Prefactor  = 0.0001
  Prefactor  = 43.3619
  norm       = 1.11688
  Prefactor  = 6.15089
  norm       = 0.310429
  Prefactor  = 27.279
  Prefactor  = 18.6306
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.959339
  Prefactor  = 1.06795
 **********
 **   18 **HESSE 
 **********

 FCN=   7619.092     FROM HESSE     STATUS=OK           242 CALLS     1994 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3718        1.6084        .11755E-03   -1.5474    
   2  norm          10.730        11.526        .61155E-03   -1.5053    
   3  Prefactor     .10000E-03    14.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1316        2.5978        .20594E-03   -1.5495    
   5  Prefactor     .10000E-03    3.9604        .16951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          77.311        96.652        .22835E-03   -1.3947    
   8  Prefactor     .10000E-03    3.4957        .15786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     43.362        37.481        .60881E-04   -1.4390    
  10  norm          1.1169        1.8371        .14944E-03   -1.5497    
  11  Prefactor     6.1509        5.1133        .16187E-03   -1.5212    
  12  norm          .31043        .13275        .19924E-04   -1.5597    
  13  Prefactor     27.279        32.423        .76703E-04   -1.4663    
  14  Prefactor     18.631        27.809        .92788E-04   -1.4844    
  15  norm          .10000E-03    35.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.1975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .95934        .18454        .26845E-03   -.94405    
  18  Prefactor     1.0680        .14361        .20577E-03   -.90497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8364e-09
Minuit parameter uncertainties:
  1  1.6084
  2  11.5281
  3  1.12453e-05
  4  2.59802
  5  5.51285e-07
  6  2.50488e-05
  7  96.8496
  8  3.5972e-07
  9  37.5016
  10  1.83716
  11  5.11367
  12  0.132753
  13  32.4438
  14  27.8286
  15  1.0377e-05
  16  3.46432e-06
  17  0.184664
  18  0.143659
Done.

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

Extracting fit parameters...

4FGL J0448.7-2116
   Spectrum: PowerLaw
275    Prefactor:  4.336e+01  3.750e+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.068e+00  1.437e-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.593e-01  1.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.76
Ra Dec: 72.195 -21.281
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 4.37e-08 +/- 3.78e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.05e-05

TS (Fixed Index): 1.76
Ra Dec: 72.195 -21.281
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/752460/likelihoodResults_533779201_534038401_4FGL_J0448.7-2116_daily_bin1136.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) = 7619.0786908
delta logL = 0.0128816714796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7619.06968456
delta logL = 0.021887908405

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.199       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7189       1.0000          .0000       10.000    
     3 'Normalizat'    .95290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0716       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=   7619.070     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      269 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.196        53.235        .65712E-04    .51037E-04
   2  Index         2.7191        1.0446        .88244E-02    .31516E-04
   3  Normalizat    .95277        .18148        .26925E-03   -.27399E-03
   4  Prefactor     1.0717        .14395        .20546E-03   -.40676E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.1956
  Index      = 2.71907
  Normalizat = 0.952766
  Prefactor  = 1.07168
 **********
 **   18 **HESSE 
 **********

 FCN=   7619.070     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.196        46.596        .26285E-05   -1.4487    
   2  Index         2.7191        .91444        .35298E-03   -.47370    
   3  Normalizat    .95277        .18117        .10770E-04   -.94630    
   4  Prefactor     1.0717        .14368        .41093E-04   -.90377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1811e-10
Minuit parameter uncertainties:
  1  46.6419
  2  0.921004
  3  0.181287
  4  0.143734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/752460': 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) = 7619.06968425
delta logL = 0.021888213847

Extracting fit parameters...

4FGL J0448.7-2116
   Spectrum: PowerLaw
275    Prefactor:  3.720e+01  4.664e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.719e+00  9.210e-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.072e+00  1.437e-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.528e-01  1.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.82
Ra Dec: 72.195 -21.281
Photon Index (Free Index): 2.72 +/- 0.92
Photon Flux (Free Index): 4.81e-08 +/- 4.40e-08
Energy Flux (Free Index): 1.14e-05 +/- 1.03e-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/752460/cmap_HighResolution_533779201_534038401_4FGL_J0448.7-2116_daily_bin1136.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.34e-03', comment='SUCCESS', photon_flux='4.37e-08', energy_flux2='1.14e-05', photon_flux_error='3.78e-08', dlogl='2.19e-02', energy_flux='1.22e-05', photon_flux2='4.81e-08', job_status='DONE', time_completed='2021-08-21 09:00:48.463829', photon_index_error2='0.92', photon_index2='2.72', ts='1.76', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.03e-05', EG='0.96', time_epoch_completed='1629561648.46', return_code='0', job_id='752460', GAL2='1.07', EG2='0.95', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='4.40e-08', ts2='1.82', photon_index='2.54' WHERE bin_id='1136' AND source_name='4FGL J0448.7-2116' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 09:00:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 752460: <4FGL_J0448.7-2116_daily_bin1136> in cluster <slac> Done

Job <4FGL_J0448.7-2116_daily_bin1136> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 21 08:45:53 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 08:45:55 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:45:55 2021
Terminated at Sat Aug 21 09:00:49 2021
Results reported at Sat Aug 21 09:00:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0448.7-2116_daily_bin1136 72.1949 -21.2813 533779201 534038401 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 :                                   765.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             277.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            896 sec.

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

