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


Performing analysis on: 4FGL_J0453.1-2806_daily_bin1071
RA = 73.2887, Dec = -28.1144
tmin = 516931201, tmax = 517190401
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='818639', job_status='RUN', time_executed='2021-08-21 12:23:08.631830', time_epoch_executed='1629573788.63' WHERE source_name='4FGL J0453.1-2806' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/818639

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/818639/ft1_4FGL_J0453.1-2806_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/818639/ft1_4FGL_J0453.1-2806_daily_bin1071.fits outfile=/scratch/kocevski/818639/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1071.fits ra=73.2887 dec=-28.1144 rad=12.0 tmin=516931201.0 tmax=517190401.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.13
user 3.69
sys 0.41

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.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/818639/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1071.fits evtable="EVENTS" outfile="/scratch/kocevski/818639/ft1_filtered_4FGL_J0453.1-2806_daily_bin1071.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.79
user 0.33
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/818639/ft1_filtered_4FGL_J0453.1-2806_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/818639/ltcube_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.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/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.fits
.....................!
real 12.31
user 11.70
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/818639/ft1_filtered_4FGL_J0453.1-2806_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/818639/ltcube_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.fits outfile=/scratch/kocevski/818639/expmap_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.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/818639/ltcube_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.fits
.....................!
real 190.51
user 185.39
sys 4.75

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 171 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 J0453.1-2806 @ 73.2887 -28.1144

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/818639/ft1_filtered_4FGL_J0453.1-2806_daily_bin1071.fits scfile=/scratch/kocevski/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.fits outfile=/scratch/kocevski/818639/cmap_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.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=73.2887 yref=-28.1144 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.75
user 0.39
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/818639/ft1_filtered_4FGL_J0453.1-2806_daily_bin1071.fits scfile=/scratch/kocevski/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.fits outfile=/scratch/kocevski/818639/cmap_HighResolution_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.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=73.2887 yref=-28.1144 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.79
user 0.38
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/818639/ft1_filtered_4FGL_J0453.1-2806_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/818639/Model_4FGL_J0453.1-2806_daily_bin1071.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/818639/ft1_filtered_4FGL_J0453.1-2806_daily_bin1071.fits.....................!
real 92.36
user 89.81
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/818639/ft1_filtered_4FGL_J0453.1-2806_daily_bin1071.fits', '/scratch/kocevski/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.fits', expMap='/scratch/kocevski/818639/expmap_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.fits', expCube='/scratch/kocevski/818639/ltcube_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/818639/Model_4FGL_J0453.1-2806_daily_bin1071.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0453.1-2806'

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  4.593e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.539e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  9.636e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.180e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/818639/ft1_filtered_4FGL_J0453.1-2806_daily_bin1071.fits
Spacecraft file(s): /scratch/kocevski/818639/ft2_4FGL_J0453.1-2806_daily_bin1071.fits
Exposure map: /scratch/kocevski/818639/expmap_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.fits
Exposure cube: /scratch/kocevski/818639/ltcube_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/818639/Model_4FGL_J0453.1-2806_daily_bin1071.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) = 4073.61208195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10236E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    42.598       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.233       1.0000         .10000E-03   10000.    
     4 'norm      '    3.2454       1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.131       1.0000         .10000E-03   10000.    
     6 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .39358E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17974       1.0000         .10000E-03   10000.    
    11 'norm      '    .41433       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11109E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.7568       1.0000         .10000E-03   10000.    
    16 'Prefactor '    65.564       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.722       1.0000         .10000E-03   10000.    
    18 'norm      '    .19990E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.9959       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .27139       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.5499       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4073.594     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2235 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    25.023        .24660E-04** at limit **
   2  Prefactor     42.584        42.320       -.14220E-04   -.18235E-03
   3  Prefactor     18.230        18.680       -.64412E-07    .27099E-04
   4  norm          3.2451        1.0292        .40593E-07    .37989E-03
   5  Prefactor     32.120        24.547       -.44575E-05    .75393E-04
   6  norm          .10000E-03    65.357        .73333E-04** at limit **
   7  Prefactor     .10000E-03    2.2486        .38046E-07** at limit **
   8  Prefactor     .10000E-03    28.801       -.24901E-04** at limit **
   9  norm          .10003E-03    2.8954        .68829E-06** at limit **
  10  Prefactor     .12305        6.0422       -.13902E-05    .32404E-03
  11  norm          .41420        .24208       -.11359E-09    .58481E-03
  12  Prefactor     .10000E-03    109.85       -.59999E-04** at limit **
  13  Prefactor     .10000E-03    7.5936       -.59594E-07** at limit **
  14  norm          .10000E-03    43.913       -.20322E-04** at limit **
  15  norm          6.7556        3.6473        .48104E-07    .78324E-03
  16  Prefactor     65.594        60.241        .26361E-04    .12627E-03
  17  Prefactor     13.732        13.265        .15331E-05    .40907E-03
  18  norm          .10000E-03    6.6170       -.19816E-05** at limit **
  19  norm          1.9927        3.0934       -.22159E-05   -.44460E-03
  20  Normalizat    .27202        .32466       -.84433E-05    .10830E-03
  21  Prefactor     1.5498        .26871        .26600E-05    .37479E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  Prefactor  = 42.5844
  Prefactor  = 18.2304
  norm       = 3.24508
  Prefactor  = 32.12
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100029
  Prefactor  = 0.123053
  norm       = 0.414204
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.75555
  Prefactor  = 65.5942
  Prefactor  = 13.7317
  norm       = 0.000100001
  norm       = 1.99265
  Normalizat = 0.272022
  Prefactor  = 1.5498
 **********
 **   18 **HESSE 
 **********

 FCN=   4073.594     FROM HESSE     STATUS=OK           313 CALLS     2548 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    25.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     42.584        42.288        .61422E-04   -1.4402    
   3  Prefactor     18.230        18.657        .93796E-04   -1.4854    
   4  norm          3.2451        1.0261        .22483E-04   -1.5348    
   5  Prefactor     32.120        24.422        .70689E-04   -1.4574    
   6  norm          .10000E-03    65.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.2524        .93471E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    28.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10003E-03    17.917        .19736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .12305        137.48        .27925E-02   -1.5638    
  11  norm          .41420        .23751        .22299E-04   -1.5579    
  12  Prefactor     .10000E-03    109.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.5946        .17179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    43.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.7556        3.5986        .84113E-04   -1.5188    
  16  Prefactor     65.594        59.562        .49564E-04   -1.4086    
  17  Prefactor     13.732        12.736        .10813E-03   -1.4967    
  18  norm          .10000E-03    16.463        .29998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.9927        3.0364        .12691E-03   -1.5426    
  20  Normalizat    .27202        .28219        .48412E-03   -1.2455    
  21  Prefactor     1.5498        .24956        .20254E-03   -.76155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.58069e-09
Minuit parameter uncertainties:
  1  0.000542276
  2  42.3177
  3  18.6629
  4  1.02609
  5  24.4294
  6  2.26703e-10
  7  5.98622e-07
  8  7.52598e-05
  9  0.00143489
  10  8.24188
  11  0.23751
  12  0.0002998
  13  2.70502e-07
  14  1.06106e-06
  15  3.59872
  16  59.6165
  17  12.7384
  18  0.000284947
  19  3.03659
  20  0.28368
  21  0.249761
Done.

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

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  1.000e-04  1.435e-03  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.539e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  9.636e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.180e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.550e+00  2.498e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  2.720e-01  2.837e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 73.289 -28.114
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/818639/likelihoodResults_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.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) = 4073.59398026
delta logL = -0.000266193484549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4073.40229886
delta logL = 0.191415207076

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1809       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.3186       1.0000          .0000       5.0000    
     3 'Normalizat'    .20606       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5864       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4073.402     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      421 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1798        101.01        .10516E-01    .31669E-02
   2  alpha         4.3195        2.6897        .50000        .43868E-04
   3  Normalizat    .20602        .10867        .12610        .33309E-04
   4  Prefactor     1.5864        .83678E-01    .45400E-01   -.10495E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.17985
  alpha      = 4.31951
  Normalizat = 0.206017
  Prefactor  = 1.58636
 **********
 **   18 **HESSE 
 **********

 FCN=   4073.402     FROM HESSE     STATUS=OK            33 CALLS      454 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1798        6.1234        .10802E-03   -1.5491    
   2  alpha         4.3195        4.6117        .66579E-01    .81512    
   3  Normalizat    .20602        .28077        .55549E-03   -1.2897    
   4  Prefactor     1.5864        .25598        .20065E-03   -.75149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48369e-09
Minuit parameter uncertainties:
  1  5.3764
  2  4.56754
  3  0.282733
  4  0.256189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/818639': 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) = 4073.4022987
delta logL = 0.191415371381

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  1.180e+00  5.376e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  4.320e+00  4.568e+00  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  9.636e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.180e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.586e+00  2.562e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  2.060e-01  2.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 73.289 -28.114

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/818639/cmap_HighResolution_516931201_517190401_4FGL_J0453.1-2806_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-05', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-08-21 12:32:31.861047', job_id='818639', GAL2='1.59', fit_tolerance='1e-08', EG2='0.21', EG='0.27', time_epoch_completed='1629574351.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.55', dlogl='1.91e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1071' AND source_name='4FGL J0453.1-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 12:32:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 818639: <4FGL_J0453.1-2806_daily_bin1071> in cluster <slac> Done

Job <4FGL_J0453.1-2806_daily_bin1071> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 21 12:20:35 2021
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 12:20:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 21 12:20:37 2021
Terminated at Sat Aug 21 12:32:32 2021
Results reported at Sat Aug 21 12:32:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.1-2806_daily_bin1071 73.2887 -28.1144 516931201 517190401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0453.1-2806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   562.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            717 sec.

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

