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


Performing analysis on: 4FGL_J2046.8-4258_daily_bin1582
RA = 311.72, Dec = -42.9694
tmin = 649382401, tmax = 649641601
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='156311', job_status='RUN', time_executed='2021-09-25 18:27:32.682431', time_epoch_executed='1632619652.68' WHERE source_name='4FGL J2046.8-4258' and cadence='daily' and bin_id='1582'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156311

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156311/ft1_4FGL_J2046.8-4258_daily_bin1582.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156311/ft1_4FGL_J2046.8-4258_daily_bin1582.fits outfile=/scratch/kocevski/156311/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1582.fits ra=311.72 dec=-42.9694 rad=12.0 tmin=649382401.0 tmax=649641601.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 2.75
user 2.51
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.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/156311/ft1_filteredMKT_4FGL_J2046.8-4258_daily_bin1582.fits evtable="EVENTS" outfile="/scratch/kocevski/156311/ft1_filtered_4FGL_J2046.8-4258_daily_bin1582.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156311/ft1_filtered_4FGL_J2046.8-4258_daily_bin1582.fits" evtable="EVENTS" scfile=/scratch/kocevski/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.fits sctable="SC_DATA" outfile=/scratch/kocevski/156311/ltcube_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.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/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.fits
.....................!
real 14.92
user 14.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156311/ft1_filtered_4FGL_J2046.8-4258_daily_bin1582.fits evtable="EVENTS" scfile=/scratch/kocevski/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.fits sctable="SC_DATA" expcube=/scratch/kocevski/156311/ltcube_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.fits outfile=/scratch/kocevski/156311/expmap_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.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/156311/ltcube_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.fits
.....................!
real 192.37
user 187.54
sys 4.38

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 167 point sources and 0 extended sources

Setting source of interest to:
4FGL J2046.8-4258 @ 311.72 -42.9694

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/156311/ft1_filtered_4FGL_J2046.8-4258_daily_bin1582.fits scfile=/scratch/kocevski/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.fits outfile=/scratch/kocevski/156311/cmap_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.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=311.72 yref=-42.9694 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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156311/ft1_filtered_4FGL_J2046.8-4258_daily_bin1582.fits scfile=/scratch/kocevski/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.fits outfile=/scratch/kocevski/156311/cmap_HighResolution_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.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=311.72 yref=-42.9694 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/156311/ft1_filtered_4FGL_J2046.8-4258_daily_bin1582.fits evtable="EVENTS" scfile=/scratch/kocevski/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/156311/Model_4FGL_J2046.8-4258_daily_bin1582.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/156311/ft1_filtered_4FGL_J2046.8-4258_daily_bin1582.fits..................!
real 15.25
user 13.88
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/156311/ft1_filtered_4FGL_J2046.8-4258_daily_bin1582.fits', '/scratch/kocevski/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.fits', expMap='/scratch/kocevski/156311/expmap_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.fits', expCube='/scratch/kocevski/156311/ltcube_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/156311/Model_4FGL_J2046.8-4258_daily_bin1582.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2046.8-4258'

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  5.589e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
283        Index:  2.134e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.921e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/156311/ft1_filtered_4FGL_J2046.8-4258_daily_bin1582.fits
Spacecraft file(s): /scratch/kocevski/156311/ft2_4FGL_J2046.8-4258_daily_bin1582.fits
Exposure map: /scratch/kocevski/156311/expmap_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.fits
Exposure cube: /scratch/kocevski/156311/ltcube_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/156311/Model_4FGL_J2046.8-4258_daily_bin1582.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 232.599038081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 225.891001177

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3554       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0443       1.0000         .10000E-03   10000.    
     3 'norm      '    3.4048       1.0000         .10000E-03   10000.    
     4 'norm      '    8.0497       1.0000         .10000E-03   10000.    
     5 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3851       1.0000         .10000E-03   10000.    
     7 'norm      '    9999.9       1.0000         .10000E-03   10000.    
     8 'norm      '    4.7694       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2981       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.8787       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .79550       1.0000         .10000E-03   10000.    
    12 'Prefactor '    61.316       1.0000         .10000E-03   10000.    
    13 'norm      '    .10170E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23897       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18870E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.3897       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.1943       1.0000         .10000E-03   10000.    
    19 'norm      '    27.521       1.0000         .10000E-03   10000.    
    20 'Prefactor '    45.684       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13214E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .10017E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0773       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   225.8884     FROM MIGRAD    STATUS=CONVERGED    142 CALLS      691 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3554        1.0927         .0000         .0000    
   2  norm          1.0443        1.2462         .0000         .0000    
   3  norm          3.4426        1.0168        .72296E-07   -.71386E-04
   4  norm          8.2041        1.0115        .19173E-06   -.45700E-03
   5  norm         10000.0        .21311       -.12683E-05** at limit **
   6  Prefactor     2.3851        1.0239         .0000         .0000    
   7  norm          9999.9        .26017        .21087E-05    .25518E-02
   8  norm          4.7694        1.0056         .0000         .0000    
   9  norm          2.5189        1.0740        .50504E-06   -.33656E-03
  10  Prefactor     5.5462        1.0719        .10401E-05   -.15519E-02
  11  Prefactor     .26058E-02    .38583        .15167E-04   -.90282E-03
  12  Prefactor     62.264        1.0077        .43509E-06   -.43076E-02
  13  norm          .10000E-03    .20571       -.60387E-06** at limit **
  14  Prefactor     .12455E-01    .25776        .78138E-05    .26050E-02
  15  Prefactor     .10000E-03    .25706        .50481E-05** at limit **
  16  Prefactor     .10000E-03    .20571        .22293E-05** at limit **
  17  Prefactor     33.126        1.9881        .18699E-04   -.16359E-03
  18  Prefactor     7.2282        1.0048       -.59309E-06   -.33741E-04
  19  norm          25.576        .96427       -.14346E-05   -.44002E-03
  20  Prefactor     44.249        .98430       -.96301E-06    .68793E-02
  21  Prefactor     .10000E-03    .20571       -.37158E-05** at limit **
  22  Normalizat    .10000E-01    .25505        .13038E-03** at limit **
  23  Prefactor     1.0721        1.1624       -.37288E-05   -.28346E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35542
  norm       = 1.04428
  norm       = 3.44258
  norm       = 8.20408
  norm       = 10000
  Prefactor  = 2.38509
  norm       = 9999.93
  norm       = 4.76943
  norm       = 2.51886
  Prefactor  = 5.54622
  Prefactor  = 0.00260577
  Prefactor  = 62.2636
  norm       = 0.0001
  Prefactor  = 0.0124545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.1259
  Prefactor  = 7.2282
  norm       = 25.5764
  Prefactor  = 44.2492
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.07207
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   225.8884     FROM HESSE     STATUS=FAILED         9 CALLS      700 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          580.63        579.06         .0000       -1.5475    
   2  norm          1.0443        1.2462         .0000       -1.5504    
   3  norm          3.4426        1.0168        .72296E-07   -1.5337    
   4  norm          8.2041        1.0115        .19173E-06   -1.5135    
   5  norm         10000.0        .21311       -.12683E-05    1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3851        1.0239         .0000       -1.5399    
   7  norm          9999.9        .26017        .21087E-05    1.5762    
   8  norm          4.7694        1.0056         .0000       -1.5271    
   9  norm          2.5189        1.0740        .50504E-06   -1.5391    
  10  Prefactor     5.5462        1.0719        .10401E-05   -1.5237    
  11  Prefactor     .26058E-02    .38583        .15167E-04   -1.5718    
  12  Prefactor     62.264        1.0077        .43509E-06   -1.4128    
  13  norm          .10000E-03    .20571       -.60387E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .12455E-01    .25776        .78138E-05   -1.5686    
  15  Prefactor     .10000E-03    .25706        .50481E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .20571        .22293E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     33.126        1.9881        .18699E-04   -1.4556    
  18  Prefactor     7.2282        1.0048       -.59309E-06   -1.5170    
  19  norm          25.576        .96427       -.14346E-05   -1.4696    
  20  Prefactor     44.249        .98430       -.96301E-06   -1.4377    
  21  Prefactor     .10000E-03    .20571       -.37158E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .25505        .13038E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.0721        1.1624       -.37288E-05   -.90364    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.18971e-09
Minuit parameter uncertainties:
  1  1.09272
  2  1.2462
  3  1.01681
  4  1.0115
  5  0.0351805
  6  1.02386
  7  0.260176
  8  1.0056
  9  1.07401
  10  1.07189
  11  0.0621871
  12  1.00768
  13  2.55113e-06
  14  0.112864
  15  2.08646e-05
  16  1.02985e-05
  17  1.98815
  18  1.00479
  19  0.964269
  20  0.984302
  21  1.55512e-05
  22  3.15566e-05
  23  1.19168
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 225.888370011

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  2.606e-03  6.219e-02  1.000e-04  1.000e+04 ( 1.000e-14)
283        Index:  2.134e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.921e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.072e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.000e-02  3.156e-05  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -1.83974263364

TS (Fixed Index): -0.00
Ra Dec: 311.720 -42.969
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.58e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/156311/likelihoodResults_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.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) = 225.888460777
delta logL = -9.07658767062e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 225.888460777
delta logL = -9.07655956155e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.1336       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   225.8885     FROM MIGRAD    STATUS=CONVERGED     27 CALLS       94 TOTAL
                     EDM=   .75E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 23.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       1.3834        5.6089       -.19797        .46678E-07
                               ERR DEF=  .500    
Final values: 
  Index      = 1.3834
 **********
 **   18 **HESSE 
 **********

 FCN=   225.8885     FROM HESSE     STATUS=OK            11 CALLS      105 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       1.3834        7.6369        .50000       -.80860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05072e-10
Minuit parameter uncertainties:
  1  755.3
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156311': 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) = 225.8884606
delta logL = -9.05892559047e-05

Extracting fit parameters...

4FGL J2046.8-4258
   Spectrum: PowerLaw
282    Prefactor:  2.560e-03  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14) fixed
283        Index:  1.383e+00  7.553e+02  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  1.921e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.072e+00  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.020e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): -0.00
Ra Dec: 311.720 -42.969

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/156311/cmap_HighResolution_649382401_649641601_4FGL_J2046.8-4258_daily_bin1582.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.58e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-25 18:32:59.629611', job_id='156311', GAL2='1.07', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632619979.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.07', dlogl='-9.06e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1582' AND source_name='4FGL J2046.8-4258' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 18:32:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 156311: <4FGL_J2046.8-4258_daily_bin1582> in cluster <slac> Done

Job <4FGL_J2046.8-4258_daily_bin1582> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 25 18:25:12 2021
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 18:27:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 18:27:24 2021
Terminated at Sat Sep 25 18:33:00 2021
Results reported at Sat Sep 25 18:33:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2046.8-4258_daily_bin1582 311.72 -42.9694 649382401 649641601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2046.8-4258 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   321.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             247.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   335 sec.
    Turnaround time :                            468 sec.

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

