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


Performing analysis on: 4FGL_J0453.1-2806_daily_bin1121
RA = 73.2887, Dec = -28.1144
tmin = 529891201, tmax = 530150401
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='818715', job_status='RUN', time_executed='2021-08-21 12:22:13.065651', time_epoch_executed='1629573733.07' WHERE source_name='4FGL J0453.1-2806' and cadence='daily' and bin_id='1121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/818715

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/818715/ft1_4FGL_J0453.1-2806_daily_bin1121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/818715/ft2_4FGL_J0453.1-2806_daily_bin1121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/818715/ft1_4FGL_J0453.1-2806_daily_bin1121.fits outfile=/scratch/kocevski/818715/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1121.fits ra=73.2887 dec=-28.1144 rad=12.0 tmin=529891201.0 tmax=530150401.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 5.12
user 3.30
sys 1.79

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/818715/ft2_4FGL_J0453.1-2806_daily_bin1121.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/818715/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1121.fits evtable="EVENTS" outfile="/scratch/kocevski/818715/ft1_filtered_4FGL_J0453.1-2806_daily_bin1121.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 2.05
user 0.32
sys 1.70

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/818715/ft1_filtered_4FGL_J0453.1-2806_daily_bin1121.fits" evtable="EVENTS" scfile=/scratch/kocevski/818715/ft2_4FGL_J0453.1-2806_daily_bin1121.fits sctable="SC_DATA" outfile=/scratch/kocevski/818715/ltcube_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.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/818715/ft2_4FGL_J0453.1-2806_daily_bin1121.fits
.....................!
real 13.62
user 11.37
sys 2.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/818715/ft1_filtered_4FGL_J0453.1-2806_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/818715/ft2_4FGL_J0453.1-2806_daily_bin1121.fits sctable="SC_DATA" expcube=/scratch/kocevski/818715/ltcube_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.fits outfile=/scratch/kocevski/818715/expmap_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.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/818715/ltcube_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.fits
.....................!
real 192.63
user 184.67
sys 7.54

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/818715/ft1_filtered_4FGL_J0453.1-2806_daily_bin1121.fits scfile=/scratch/kocevski/818715/ft2_4FGL_J0453.1-2806_daily_bin1121.fits outfile=/scratch/kocevski/818715/cmap_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.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 2.13
user 0.38
sys 1.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/818715/ft1_filtered_4FGL_J0453.1-2806_daily_bin1121.fits scfile=/scratch/kocevski/818715/ft2_4FGL_J0453.1-2806_daily_bin1121.fits outfile=/scratch/kocevski/818715/cmap_HighResolution_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.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 2.09
user 0.38
sys 1.69

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/818715/ft1_filtered_4FGL_J0453.1-2806_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/818715/ft2_4FGL_J0453.1-2806_daily_bin1121.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/818715/Model_4FGL_J0453.1-2806_daily_bin1121.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/818715/ft1_filtered_4FGL_J0453.1-2806_daily_bin1121.fits....................!
real 140.99
user 137.39
sys 3.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/818715/ft1_filtered_4FGL_J0453.1-2806_daily_bin1121.fits', '/scratch/kocevski/818715/ft2_4FGL_J0453.1-2806_daily_bin1121.fits', expMap='/scratch/kocevski/818715/expmap_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.fits', expCube='/scratch/kocevski/818715/ltcube_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/818715/Model_4FGL_J0453.1-2806_daily_bin1121.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/818715/ft1_filtered_4FGL_J0453.1-2806_daily_bin1121.fits
Spacecraft file(s): /scratch/kocevski/818715/ft2_4FGL_J0453.1-2806_daily_bin1121.fits
Exposure map: /scratch/kocevski/818715/expmap_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.fits
Exposure cube: /scratch/kocevski/818715/ltcube_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/818715/Model_4FGL_J0453.1-2806_daily_bin1121.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) = 6204.50353219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.180       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.8244       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    59.445       1.0000         .10000E-03   10000.    
     9 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.738       1.0000         .10000E-03   10000.    
    11 'norm      '    .31299       1.0000         .10000E-03   10000.    
    12 'Prefactor '    48.830       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.864       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .78938       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    12.744       1.0000         .10000E-03   10000.    
    19 'norm      '    1.5332       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .82936       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2083       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=   6204.503     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2168 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.180        11.546        .21843E-06    .36218E-03
   2  Prefactor     .10000E-03    9.7639        .47823E-05** at limit **
   3  Prefactor     .10000E-03    11.589        .67845E-05** at limit **
   4  norm          1.8242        .63788       -.14801E-08   -.54485E-03
   5  Prefactor     .10000E-03    10.604       -.11003E-04** at limit **
   6  norm          .10000E-03    59.629       -.10483E-04** at limit **
   7  Prefactor     .10000E-03    2.4706       -.77938E-07** at limit **
   8  Prefactor     59.433        50.129       -.12307E-04    .32240E-04
   9  norm          .10000E-03    1.9556       -.20944E-07** at limit **
  10  Prefactor     12.739        6.7038       -.65074E-07   -.23334E-06
  11  norm          .31307        .19363        .12178E-06    .35769E-03
  12  Prefactor     48.836        41.549        .47543E-05    .25853E-04
  13  Prefactor     13.863        21.563       -.31011E-06   -.17512E-04
  14  norm          .10000E-03    35.727        .17367E-04** at limit **
  15  norm          .78886        1.7710       -.74141E-06   -.16319E-02
  16  Prefactor     .10000E-03    28.943       -.97933E-05** at limit **
  17  Prefactor     .10000E-03    21.362       -.18369E-05** at limit **
  18  norm          12.729        6.0414       -.89686E-07    .25348E-03
  19  norm          1.5331        1.8469       -.40982E-06   -.52435E-03
  20  Normalizat    .82935        .19122        .12431E-05    .10378E-03
  21  Prefactor     1.2083        .17486        .47765E-06    .15430E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.18
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.82422
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.4327
  norm       = 0.0001
  Prefactor  = 12.7386
  norm       = 0.313072
  Prefactor  = 48.8356
  Prefactor  = 13.8631
  norm       = 0.0001
  norm       = 0.788865
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.7288
  norm       = 1.53311
  Normalizat = 0.82935
  Prefactor  = 1.20827
 **********
 **   18 **HESSE 
 **********

 FCN=   6204.503     FROM HESSE     STATUS=OK           317 CALLS     2485 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.180        11.557        .48314E-03   -1.4879    
   2  Prefactor     .10000E-03    9.7596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.8242        .63729        .36099E-04   -1.5438    
   5  Prefactor     .10000E-03    10.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    59.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4864        .12091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     59.433        49.913        .52037E-04   -1.4165    
   9  norm          .10000E-03    3.5056        .21145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.739        6.7169        .11224E-03   -1.4994    
  11  norm          .31307        .18843        .25224E-04   -1.5596    
  12  Prefactor     48.836        41.561        .28693E-03   -1.4309    
  13  Prefactor     13.863        21.579        .10757E-03   -1.4963    
  14  norm          .10000E-03    35.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .78886        1.6232        .15004E-02   -1.5530    
  16  Prefactor     .10000E-03    29.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.729        5.9464        .11221E-03   -1.4994    
  19  norm          1.5331        1.8312        .11312E-03   -1.5460    
  20  Normalizat    .82935        .22828        .29014E-03   -.98989    
  21  Prefactor     1.2083        .21067        .23033E-03   -.86077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00478e-09
Minuit parameter uncertainties:
  1  11.5585
  2  5.75579e-06
  3  3.55024e-05
  4  0.637292
  5  4.6981e-05
  6  2.69628e-06
  7  4.46471e-06
  8  49.9484
  9  1.84424e-05
  10  6.71725
  11  0.18843
  12  41.586
  13  21.5909
  14  6.73343e-06
  15  1.62333
  16  9.97275e-06
  17  4.19621e-05
  18  5.9467
  19  1.83128
  20  0.228547
  21  0.21082
Done.

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

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  1.000e-04  1.844e-05  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.208e+00  2.108e-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:  8.294e-01  2.285e-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: 8.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/818715/likelihoodResults_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.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) = 6204.50396392
delta logL = -0.00135843068347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6204.50260751
delta logL = -2.02267437999e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11167E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5065       1.0000          .0000       5.0000    
     3 'Normalizat'    .82911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2086       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6204.503     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      273 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    338.16        .21539E-02** at limit **
   2  alpha         2.1412        3.3959        .50000        .17681E-06
   3  Normalizat    .82936        .42261E-01    .29014E-03    .28425E-02
   4  Prefactor     1.2083        .39939E-01    .23033E-03    .34474E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.14117
  Normalizat = 0.829358
  Prefactor  = 1.20827
 **********
 **   18 **HESSE 
 **********

 FCN=   6204.503     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      302 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1058.5        .43079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1412        3.9249        .50000       -.14403    
   3  Normalizat    .82936        .13466        .58028E-04   -.98989    
   4  Prefactor     1.2083        .12729        .46065E-04   -.86077    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.86178e-08
Minuit parameter uncertainties:
  1  0.000211217
  2  1503.86
  3  0.134716
  4  0.12732
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/818715': 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) = 6204.50260152
delta logL = 3.96694940719e-06

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  1.000e-04  2.112e-04  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.141e+00  1.504e+03  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.208e+00  1.273e-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:  8.294e-01  1.347e-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/818715/cmap_HighResolution_529891201_530150401_4FGL_J0453.1-2806_daily_bin1121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-05', job_status='DONE', photon_flux_upper_limit='8.22e-08', time_completed='2021-08-21 12:33:58.682042', job_id='818715', GAL2='1.21', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1629574438.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='3.97e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1121' AND source_name='4FGL J0453.1-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 12:33:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 818715: <4FGL_J0453.1-2806_daily_bin1121> in cluster <slac> Done

Job <4FGL_J0453.1-2806_daily_bin1121> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 21 12:20:40 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 12:20:42 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:42 2021
Terminated at Sat Aug 21 12:33:59 2021
Results reported at Sat Aug 21 12:33:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.1-2806_daily_bin1121 73.2887 -28.1144 529891201 530150401 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 :                                   726.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             328.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            799 sec.

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

