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


Performing analysis on: 4FGL_J0447.4-2747_daily_bin1592
RA = 71.8687, Dec = -27.7998
tmin = 651974401, tmax = 652233601
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='924901', job_status='RUN', time_executed='2021-09-02 00:31:22.325027', time_epoch_executed='1630567882.33' WHERE source_name='4FGL J0447.4-2747' and cadence='daily' and bin_id='1592'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/924901

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/924901/ft1_4FGL_J0447.4-2747_daily_bin1592.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/924901/ft1_4FGL_J0447.4-2747_daily_bin1592.fits outfile=/scratch/kocevski/924901/ft1_filteredMKT_4FGL_J0447.4-2747_daily_bin1592.fits ra=71.8687 dec=-27.7998 rad=12.0 tmin=651974401.0 tmax=652233601.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.47
user 3.23
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.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/924901/ft1_filteredMKT_4FGL_J0447.4-2747_daily_bin1592.fits evtable="EVENTS" outfile="/scratch/kocevski/924901/ft1_filtered_4FGL_J0447.4-2747_daily_bin1592.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.53
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/924901/ft1_filtered_4FGL_J0447.4-2747_daily_bin1592.fits" evtable="EVENTS" scfile=/scratch/kocevski/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.fits sctable="SC_DATA" outfile=/scratch/kocevski/924901/ltcube_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.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/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.fits
.....................!
real 16.80
user 16.40
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/924901/ft1_filtered_4FGL_J0447.4-2747_daily_bin1592.fits evtable="EVENTS" scfile=/scratch/kocevski/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.fits sctable="SC_DATA" expcube=/scratch/kocevski/924901/ltcube_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.fits outfile=/scratch/kocevski/924901/expmap_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.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/924901/ltcube_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.fits
.....................!
real 193.04
user 187.27
sys 4.84

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 172 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0447.4-2747 @ 71.8687 -27.7998

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/924901/ft1_filtered_4FGL_J0447.4-2747_daily_bin1592.fits scfile=/scratch/kocevski/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.fits outfile=/scratch/kocevski/924901/cmap_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.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=71.8687 yref=-27.7998 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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/924901/ft1_filtered_4FGL_J0447.4-2747_daily_bin1592.fits scfile=/scratch/kocevski/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.fits outfile=/scratch/kocevski/924901/cmap_HighResolution_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.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=71.8687 yref=-27.7998 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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/924901/ft1_filtered_4FGL_J0447.4-2747_daily_bin1592.fits evtable="EVENTS" scfile=/scratch/kocevski/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/924901/Model_4FGL_J0447.4-2747_daily_bin1592.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/924901/ft1_filtered_4FGL_J0447.4-2747_daily_bin1592.fits.....................!
real 196.56
user 194.84
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/924901/ft1_filtered_4FGL_J0447.4-2747_daily_bin1592.fits', '/scratch/kocevski/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.fits', expMap='/scratch/kocevski/924901/expmap_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.fits', expCube='/scratch/kocevski/924901/ltcube_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/924901/Model_4FGL_J0447.4-2747_daily_bin1592.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0447.4-2747'

4FGL J0447.4-2747
   Spectrum: LogParabola
273         norm:  6.926e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
274        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  9.986e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  1.817e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/924901/ft1_filtered_4FGL_J0447.4-2747_daily_bin1592.fits
Spacecraft file(s): /scratch/kocevski/924901/ft2_4FGL_J0447.4-2747_daily_bin1592.fits
Exposure map: /scratch/kocevski/924901/expmap_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.fits
Exposure cube: /scratch/kocevski/924901/ltcube_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/924901/Model_4FGL_J0447.4-2747_daily_bin1592.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) = 8715.29201496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.0894       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.174       1.0000         .10000E-03   10000.    
     6 'norm      '    1.5616       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.526       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7938       1.0000         .10000E-03   10000.    
    10 'Prefactor '    90.307       1.0000         .10000E-03   10000.    
    11 'norm      '    2.6466       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.043       1.0000         .10000E-03   10000.    
    13 'norm      '    1.1586       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.944       1.0000         .10000E-03   10000.    
    16 'norm      '    15.035       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.2826       1.0000         .10000E-03   10000.    
    18 'norm      '    11.633       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0684       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .71733       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8715.266     FROM MIGRAD    STATUS=CONVERGED     68 CALLS     1794 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    38.477        .90504E-04** at limit **
   2  Prefactor     8.0994        2.1177        .46414E-05   -.13552E-02
   3  Prefactor     .10000E-03    3.2051        .59008E-06** at limit **
   4  Prefactor     .10000E-03    8.4159        .52705E-06** at limit **
   5  Prefactor     15.175        1.0044        .99349E-07    .23880E-03
   6  norm          1.5616        .52196        .10894E-06    .57726E-02
   7  Prefactor     14.523        1.1390        .10375E-05   -.23212E-03
   8  norm          .10001E-03    46.799       -.26014E-04** at limit **
   9  Prefactor     2.7937        2.2536       -.25885E-06   -.40753E-03
  10  Prefactor     90.308        1.1220        .40272E-06   -.22192E-02
  11  norm          2.6468        2.3190        .18112E-06    .20229E-03
  12  Prefactor     10.043        1.0972       -.10810E-05   -.45040E-02
  13  norm          1.1586        .21249       -.11741E-07   -.43749E-02
  14  Prefactor     .10000E-03    11.226       -.34432E-05** at limit **
  15  Prefactor     15.943        1.0033       -.75081E-07   -.74574E-04
  16  norm          15.035        3.0443       -.50116E-06   -.98161E-04
  17  Prefactor     8.2949        4.2474        .10632E-04   -.48753E-02
  18  norm          11.633        2.8454       -.57492E-07   -.66531E-03
  19  Normalizat    1.0683        .17934       -.10705E-05   -.18719E-03
  20  Prefactor     .71747        .16129        .19787E-06   -.15566E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010004
  Prefactor  = 8.09936
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 15.1749
  norm       = 1.56162
  Prefactor  = 14.5235
  norm       = 0.000100011
  Prefactor  = 2.79371
  Prefactor  = 90.3085
  norm       = 2.64675
  Prefactor  = 10.043
  norm       = 1.15861
  Prefactor  = 0.000100002
  Prefactor  = 15.9435
  norm       = 15.0347
  Prefactor  = 8.29489
  norm       = 11.6335
  Normalizat = 1.06827
  Prefactor  = 0.717474
 **********
 **   18 **HESSE 
 **********

 FCN=   8715.266     FROM HESSE     STATUS=OK           351 CALLS     2145 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    5.8723        .10474       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.0994        19.474        .35241E-02   -1.5139    
   3  Prefactor     .10000E-03    1.4797        .41448E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.3352        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.175        12.946        .25705E-02   -1.4929    
   6  norm          1.5616        .57971        .85119E-02   -1.5458    
   7  Prefactor     14.523        13.226        .26272E-02   -1.4946    
   8  norm          .10001E-03    47.106        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7937        2.2509        .60854E-02   -1.5374    
  10  Prefactor     90.308        44.465        .10571E-02   -1.3804    
  11  norm          2.6468        2.3433        .62650E-02   -1.5383    
  12  Prefactor     10.043        4.7618        .31611E-02   -1.5074    
  13  norm          1.1586        .21690        .39612E-02   -1.5493    
  14  Prefactor     .10000E-03    11.216        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.943        19.291        .25076E-02   -1.4909    
  16  norm          15.035        3.0482        .25824E-02   -1.4932    
  17  Prefactor     8.2949        34.078        .34825E-02   -1.5132    
  18  norm          11.633        2.9477        .29363E-02   -1.5026    
  19  Normalizat    1.0683        .15906        .57134E-01   -.90777    
  20  Prefactor     .71747        .13695        .62583E-01   -1.0285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5636e-07
Minuit parameter uncertainties:
  1  0.000972331
  2  19.4892
  3  7.09562e-05
  4  9.94493e-05
  5  12.9485
  6  0.579716
  7  13.229
  8  0.00141951
  9  2.25101
  10  44.4812
  11  2.34341
  12  4.76201
  13  0.216904
  14  0.00030762
  15  19.2982
  16  3.04823
  17  33.6585
  18  2.94769
  19  0.159134
  20  0.137013
Done.

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

Extracting fit parameters...

4FGL J0447.4-2747
   Spectrum: LogParabola
273         norm:  1.000e-04  1.420e-03  1.000e-04  1.000e+04 ( 1.000e-14)
274        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  9.986e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  1.817e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  7.175e-01  1.370e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.068e+00  1.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 71.869 -27.800
Photon Flux Upper Limit: 1.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/924901/likelihoodResults_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.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) = 8715.26615247
delta logL = -0.00010065821516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8715.26605398
delta logL = -2.16184162127e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8126       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0683       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71746       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+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=   8715.266     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      287 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2071.7        .18142E-01** at limit **
   2  alpha         1.4174        2.6976        .20000        .87539E-08
   3  Normalizat    1.0683        .26102E-01    .25265E-03    .24749E-04
   4  Prefactor     .71747        .23994E-01    .27684E-03    .19712E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.41741
  Normalizat = 1.06827
  Prefactor  = 0.717474
 **********
 **   18 **HESSE 
 **********

 FCN=   8715.266     FROM HESSE     STATUS=OK            23 CALLS      310 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    53.391        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4174        4.2440        .80000E-02   -.44786    
   3  Normalizat    1.0683        .17504        .10106E-04   -.90777    
   4  Prefactor     .71747        .16089        .11073E-04   -1.0285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19531e-11
Minuit parameter uncertainties:
  1  0.000242456
  2  1594.77
  3  0.175139
  4  0.16099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/924901': 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) = 8715.26605171
delta logL = 1.01716068457e-07

Extracting fit parameters...

4FGL J0447.4-2747
   Spectrum: LogParabola
273         norm:  1.000e-04  2.425e-04  1.000e-04  1.000e+04 ( 1.000e-14)
274        alpha:  1.417e+00  1.595e+03  0.000e+00  5.000e+00 ( 1.000e+00)
275         beta:  9.986e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  1.817e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  7.175e-01  1.610e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.068e+00  1.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 71.869 -27.800

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/924901/cmap_HighResolution_651974401_652233601_4FGL_J0447.4-2747_daily_bin1592.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-05', job_status='DONE', photon_flux_upper_limit='1.12e-08', time_completed='2021-09-02 00:45:25.545638', job_id='924901', GAL2='0.72', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630568725.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='1592' AND source_name='4FGL J0447.4-2747' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 00:45:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 924901: <4FGL_J0447.4-2747_daily_bin1592> in cluster <slac> Done

Job <4FGL_J0447.4-2747_daily_bin1592> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  2 00:30:22 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 00:30:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  2 00:30:26 2021
Terminated at Thu Sep  2 00:45:26 2021
Results reported at Thu Sep  2 00:45:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0447.4-2747_daily_bin1592 71.8687 -27.7998 651974401 652233601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0447.4-2747 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   845.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             340.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            904 sec.

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

