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


Performing analysis on: 4FGL_J0453.1-2806_daily_bin1017
RA = 73.2887, Dec = -28.1144
tmin = 502934401, tmax = 503193601
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='818552', job_status='RUN', time_executed='2021-08-21 12:24:30.656523', time_epoch_executed='1629573870.66' WHERE source_name='4FGL J0453.1-2806' and cadence='daily' and bin_id='1017'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/818552

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/818552/ft1_4FGL_J0453.1-2806_daily_bin1017.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/818552/ft2_4FGL_J0453.1-2806_daily_bin1017.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/818552/ft1_4FGL_J0453.1-2806_daily_bin1017.fits outfile=/scratch/kocevski/818552/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1017.fits ra=73.2887 dec=-28.1144 rad=12.0 tmin=502934401.0 tmax=503193601.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.80
user 3.33
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/818552/ft1_filtered_4FGL_J0453.1-2806_daily_bin1017.fits" evtable="EVENTS" scfile=/scratch/kocevski/818552/ft2_4FGL_J0453.1-2806_daily_bin1017.fits sctable="SC_DATA" outfile=/scratch/kocevski/818552/ltcube_502934401_503193601_4FGL_J0453.1-2806_daily_bin1017.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/818552/ft2_4FGL_J0453.1-2806_daily_bin1017.fits
.....................!
real 11.84
user 11.24
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/818552/ft1_filtered_4FGL_J0453.1-2806_daily_bin1017.fits evtable="EVENTS" scfile=/scratch/kocevski/818552/ft2_4FGL_J0453.1-2806_daily_bin1017.fits sctable="SC_DATA" expcube=/scratch/kocevski/818552/ltcube_502934401_503193601_4FGL_J0453.1-2806_daily_bin1017.fits outfile=/scratch/kocevski/818552/expmap_502934401_503193601_4FGL_J0453.1-2806_daily_bin1017.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/818552/ltcube_502934401_503193601_4FGL_J0453.1-2806_daily_bin1017.fits
.....................!
real 191.06
user 186.26
sys 4.47

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/818552/ft1_filtered_4FGL_J0453.1-2806_daily_bin1017.fits scfile=/scratch/kocevski/818552/ft2_4FGL_J0453.1-2806_daily_bin1017.fits outfile=/scratch/kocevski/818552/cmap_502934401_503193601_4FGL_J0453.1-2806_daily_bin1017.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.78
user 0.37
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/818552/ft1_filtered_4FGL_J0453.1-2806_daily_bin1017.fits scfile=/scratch/kocevski/818552/ft2_4FGL_J0453.1-2806_daily_bin1017.fits outfile=/scratch/kocevski/818552/cmap_HighResolution_502934401_503193601_4FGL_J0453.1-2806_daily_bin1017.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.77
user 0.36
sys 0.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/818552/ft1_filtered_4FGL_J0453.1-2806_daily_bin1017.fits evtable="EVENTS" scfile=/scratch/kocevski/818552/ft2_4FGL_J0453.1-2806_daily_bin1017.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/818552/Model_4FGL_J0453.1-2806_daily_bin1017.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/818552/ft1_filtered_4FGL_J0453.1-2806_daily_bin1017.fits.....................!
real 101.78
user 100.14
sys 1.44

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10797E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.093       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.8596       1.0000         .10000E-03   10000.    
     4 'norm      '    5.9143       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3875       1.0000         .10000E-03   10000.    
     6 'norm      '    180.09       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4589       1.0000         .10000E-03   10000.    
     8 'Prefactor '    112.74       1.0000         .10000E-03   10000.    
     9 'norm      '    .10377E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .55660E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11082E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .25928E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .32139E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.4455       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .80234       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0837       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=   4431.457     FROM MIGRAD    STATUS=CONVERGED    810 CALLS     2622 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.643        .18142E-02** at limit **
   2  Prefactor     17.083        37.389        .96874E-04    .65719E-05
   3  Prefactor     3.8878        86.095        .20541E-03   -.12121E-04
   4  norm          5.9139        1.5018        .34747E-04    .65436E-06
   5  Prefactor     6.3824        18.677        .79405E-03   -.85188E-05
   6  norm          180.03        177.39        .15040E-03    .26926E-04
   7  Prefactor     3.4578        6.4963        .21745E-03   -.34977E-04
   8  Prefactor     112.78        61.160        .18944E-03   -.57313E-04
   9  norm          .10000E-03    5.9372        .21395E-02** at limit **
  10  Prefactor     .10000E-03    1.9860        .91459E-03** at limit **
  11  norm          .55324E-01    .13063        .37674E-03    .67346E-03
  12  Prefactor     .10000E-03    19.196        .18142E-02** at limit **
  13  Prefactor     .10000E-03    51.051        .18142E-02** at limit **
  14  norm          .10000E-03    73.762        .18142E-02** at limit **
  15  norm          .10719E-03    2.6223        .25793E-01** at limit **
  16  Prefactor     .10000E-03    65.902        .13170    ** at limit **
  17  Prefactor     .10000E-03    3.2974        .11805E-02** at limit **
  18  norm          .10000E-03    1.7140        .85005E-03** at limit **
  19  norm          6.4467        3.5975        .43473E-03   -.40408E-03
  20  Normalizat    .80231        .26361        .29006E-03   -.65376E-04
  21  Prefactor     1.0839        .23106        .22790E-03    .20054E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 17.0832
  Prefactor  = 3.8878
  norm       = 5.91391
  Prefactor  = 6.38245
  norm       = 180.026
  Prefactor  = 3.45778
  Prefactor  = 112.779
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0553245
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.00010719
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.44668
  Normalizat = 0.802311
  Prefactor  = 1.08391
 **********
 **   18 **HESSE 
 **********

 FCN=   4431.457     FROM HESSE     STATUS=OK           319 CALLS     2941 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.645        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.083        37.383        .38750E-05   -1.4881    
   3  Prefactor     3.8878        85.961        .82163E-05   -1.5314    
   4  norm          5.9139        1.5009        .13899E-05   -1.5222    
   5  Prefactor     6.3824        18.671        .31762E-04   -1.5203    
   6  norm          180.03        177.39        .30079E-04   -1.3016    
   7  Prefactor     3.4578        6.4964        .86980E-05   -1.5336    
   8  Prefactor     112.78        61.128        .75775E-05   -1.3580    
   9  norm          .10000E-03    5.9659        .42789E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.9861        .18292E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55324E-01    .13045        .15069E-04   -1.5661    
  12  Prefactor     .10000E-03    19.196        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    51.068        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    73.765        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10719E-03    2.1438        .29773E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    65.880        .13172       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.2975        .23610E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.7141        .17001E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.4467        3.5973        .17389E-04   -1.5200    
  20  Normalizat    .80231        .26392        .11602E-04   -.99983    
  21  Prefactor     1.0839        .23125        .91159E-05   -.89982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.85264e-10
Minuit parameter uncertainties:
  1  2.1065e-05
  2  37.4341
  3  36.6216
  4  1.50087
  5  18.6885
  6  177.923
  7  6.49771
  8  61.1625
  9  0.000241451
  10  8.73274e-07
  11  0.130455
  12  5.98314e-06
  13  0.000227661
  14  0.000436972
  15  0.00785226
  16  0.000846775
  17  9.09519e-07
  18  1.46924e-06
  19  3.59744
  20  0.264342
  21  0.23146
Done.

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

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  1.000e-04  2.415e-04  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.084e+00  2.315e-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.023e-01  2.643e-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.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/818552/likelihoodResults_502934401_503193601_4FGL_J0453.1-2806_daily_bin1017.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) = 4431.45829843
delta logL = -0.000801988472631

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4431.4574966
delta logL = -1.62142896443e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5436       1.0000          .0000       5.0000    
     3 'Normalizat'    .80230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0840       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4431.457     FROM MIGRAD    STATUS=FAILED        89 CALLS      251 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10013E-03    1044.8        .21398E-02** at limit **
   2  alpha         2.5871        2.7227        .16464       -.12160E-05
   3  Normalizat    .80231        .10521        .29007E-03   -.39217E-03
   4  Prefactor     1.0839        .94884E-01    .22790E-03   -.32383E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4431.457     FROM SIMPLEX   STATUS=UNCHANGED    164 CALLS      415 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10013E-03    1044.8        .45835E-03** at limit **
   2  alpha         2.5871        2.7227        .72182E-05   -.12160E-05
   3  Normalizat    .80231        .10521        .36956E-06   -.39217E-03
   4  Prefactor     1.0839        .94884E-01    .11914E-06   -.32383E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4431.457     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      453 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.1971        .42797E-03** at limit **
   2  alpha         2.6130        3.0861        .65855E-01    .11912E-07
   3  Normalizat    .80231        .24907        .58013E-04   -.26808E-04
   4  Prefactor     1.0839        .22580        .45579E-04    .35319E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.61299
  Normalizat = 0.802311
  Prefactor  = 1.08391
 **********
 **   18 **HESSE 
 **********

 FCN=   4431.457     FROM HESSE     STATUS=OK            23 CALLS      476 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.0040        .85594E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6130        3.6823        .26342E-02    .45211E-01
   3  Normalizat    .80231        .24912        .11603E-04   -.99983    
   4  Prefactor     1.0839        .22585        .91158E-05   -.89982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52915e-11
Minuit parameter uncertainties:
  1  2.54868e-06
  2  231.234
  3  0.249474
  4  0.226046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/818552': 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) = 4431.45749639
delta logL = 5.18248270964e-08

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  1.000e-04  2.549e-06  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.613e+00  2.312e+02  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.084e+00  2.260e-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.023e-01  2.495e-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/818552/cmap_HighResolution_502934401_503193601_4FGL_J0453.1-2806_daily_bin1017.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-05', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-08-21 12:34:39.088257', job_id='818552', GAL2='1.08', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1629574479.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='5.18e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1017' AND source_name='4FGL J0453.1-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 12:34:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 818552: <4FGL_J0453.1-2806_daily_bin1017> in cluster <slac> Done

Job <4FGL_J0453.1-2806_daily_bin1017> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 21 12:20:30 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 12:20:32 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:32 2021
Terminated at Sat Aug 21 12:34:39 2021
Results reported at Sat Aug 21 12:34:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.1-2806_daily_bin1017 73.2887 -28.1144 502934401 503193601 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 :                                   607.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            849 sec.

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

