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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1143
RA = 305.591, Dec = -45.2228
tmin = 535593601, tmax = 535852801
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='853627', job_status='RUN', time_executed='2021-09-25 01:05:10.700966', time_epoch_executed='1632557110.7' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1143'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853627

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853627/ft1_4FGL_J2022.3-4513_daily_bin1143.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853627/ft1_4FGL_J2022.3-4513_daily_bin1143.fits outfile=/scratch/kocevski/853627/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1143.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=535593601.0 tmax=535852801.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.05
user 4.76
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.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/853627/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1143.fits evtable="EVENTS" outfile="/scratch/kocevski/853627/ft1_filtered_4FGL_J2022.3-4513_daily_bin1143.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.54
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853627/ft1_filtered_4FGL_J2022.3-4513_daily_bin1143.fits" evtable="EVENTS" scfile=/scratch/kocevski/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.fits sctable="SC_DATA" outfile=/scratch/kocevski/853627/ltcube_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.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/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.fits
.....................!
real 14.27
user 13.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853627/ft1_filtered_4FGL_J2022.3-4513_daily_bin1143.fits evtable="EVENTS" scfile=/scratch/kocevski/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.fits sctable="SC_DATA" expcube=/scratch/kocevski/853627/ltcube_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.fits outfile=/scratch/kocevski/853627/expmap_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.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/853627/ltcube_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.fits
.....................!
real 191.22
user 185.90
sys 4.88

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J2022.3-4513 @ 305.591 -45.2228

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/853627/ft1_filtered_4FGL_J2022.3-4513_daily_bin1143.fits scfile=/scratch/kocevski/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.fits outfile=/scratch/kocevski/853627/cmap_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.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=305.591 yref=-45.2228 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.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853627/ft1_filtered_4FGL_J2022.3-4513_daily_bin1143.fits scfile=/scratch/kocevski/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.fits outfile=/scratch/kocevski/853627/cmap_HighResolution_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.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=305.591 yref=-45.2228 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/853627/ft1_filtered_4FGL_J2022.3-4513_daily_bin1143.fits evtable="EVENTS" scfile=/scratch/kocevski/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/853627/Model_4FGL_J2022.3-4513_daily_bin1143.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/853627/ft1_filtered_4FGL_J2022.3-4513_daily_bin1143.fits.....................!
real 86.56
user 85.06
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/853627/ft1_filtered_4FGL_J2022.3-4513_daily_bin1143.fits', '/scratch/kocevski/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.fits', expMap='/scratch/kocevski/853627/expmap_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.fits', expCube='/scratch/kocevski/853627/ltcube_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/853627/Model_4FGL_J2022.3-4513_daily_bin1143.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2022.3-4513'

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.021e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.021e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  1.015e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/853627/ft1_filtered_4FGL_J2022.3-4513_daily_bin1143.fits
Spacecraft file(s): /scratch/kocevski/853627/ft2_4FGL_J2022.3-4513_daily_bin1143.fits
Exposure map: /scratch/kocevski/853627/expmap_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.fits
Exposure cube: /scratch/kocevski/853627/ltcube_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/853627/Model_4FGL_J2022.3-4513_daily_bin1143.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) = 11629.4152981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.797       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.720       1.0000         .10000E-03   10000.    
     4 'norm      '    11.352       1.0000         .10000E-03   10000.    
     5 'norm      '    .46159E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    6.4899       1.0000         .10000E-03   10000.    
     7 'norm      '    5.0142       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.0025       1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4278       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4259       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.490       1.0000         .10000E-03   10000.    
    16 'norm      '    7.1255       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13341E-01   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2036       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98236       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11629.30     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     1828 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8288        .36262E-06** at limit **
   2  Prefactor     33.794        21.860       -.10561E-05   -.28603E-04
   3  Prefactor     10.718        7.7581        .95935E-06   -.91149E-05
   4  norm          11.351        11.111        .17293E-07   -.18809E-05
   5  norm          .46080E-01    .23092       -.12277E-07   -.89401E-03
   6  norm          6.4885        6.7205        .43093E-05    .60667E-04
   7  norm          5.0126        9.0918        .85618E-06   -.38898E-04
   8  norm          .10000E-03    .56857        .73304E-07** at limit **
   9  Prefactor     .10000E-03    20.877       -.14572E-04** at limit **
  10  norm          5.0022        2.7295       -.28135E-07   -.70198E-04
  11  norm          .10000E-03    6.4306        .45164E-08** at limit **
  12  Prefactor     1.4256        2.7375        .61899E-06   -.13919E-02
  13  Prefactor     .10000E-03    19.184        .68581E-05** at limit **
  14  Prefactor     1.4265        2.5130        .24002E-06   -.22174E-03
  15  Prefactor     15.487        15.588        .79769E-07   -.34876E-04
  16  norm          7.1263        2.0768        .20075E-06   -.12380E-03
  17  Prefactor     .10000E-03    24.998        .10159E-04** at limit **
  18  Prefactor     .10005E-03    4.0552        .79954E-07** at limit **
  19  Normalizat    1.2035        .19205       -.20667E-05   -.42091E-04
  20  Prefactor     .98241        .83766E-01   -.65970E-07   -.17580E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 33.7938
  Prefactor  = 10.7182
  norm       = 11.3513
  norm       = 0.0460798
  norm       = 6.48848
  norm       = 5.01263
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.00216
  norm       = 0.0001
  Prefactor  = 1.42556
  Prefactor  = 0.0001
  Prefactor  = 1.42655
  Prefactor  = 15.4871
  norm       = 7.12627
  Prefactor  = 0.0001
  Prefactor  = 0.000100048
  Normalizat = 1.20353
  Prefactor  = 0.982406
 **********
 **   18 **HESSE 
 **********

 FCN=   11629.30     FROM HESSE     STATUS=OK           303 CALLS     2131 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.9072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.794        21.862        .68929E-04   -1.4545    
   3  Prefactor     10.718        7.7575        .12237E-03   -1.5053    
   4  norm          11.351        11.117        .11890E-03   -1.5034    
   5  norm          .46080E-01    .46710        .10049E-02   -1.5665    
   6  norm          6.4885        6.7184        .15754E-03   -1.5198    
   7  norm          5.0126        9.0692        .17958E-03   -1.5260    
   8  norm          .10000E-03    .92792        .15798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    20.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.0022        2.7277        .12748E-03   -1.5261    
  11  norm          .10000E-03    6.4698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4256        13.685        .18084E-02   -1.5469    
  13  Prefactor     .10000E-03    19.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.4265        2.4991        .21781E-03   -1.5469    
  15  Prefactor     15.487        15.602        .10176E-03   -1.4921    
  16  norm          7.1263        2.0823        .79583E-04   -1.5174    
  17  Prefactor     .10000E-03    25.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10005E-03    60.530        .41515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2035        .22510        .35190E-03   -.86494    
  20  Prefactor     .98241        .99947E-01    .17233E-03   -.93318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.26039e-08
Minuit parameter uncertainties:
  1  9.99231e-06
  2  21.8675
  3  7.75827
  4  11.1191
  5  0.293103
  6  6.71914
  7  9.07164
  8  6.19431e-06
  9  5.0168e-05
  10  2.72776
  11  3.12746e-06
  12  8.83601
  13  5.05236e-05
  14  2.49931
  15  15.6063
  16  2.0823
  17  7.98335e-05
  18  0.00341155
  19  0.225282
  20  0.0999656
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  5.002e+00  2.728e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.021e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  1.015e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  9.824e-01  9.997e-02  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.204e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.86
Ra Dec: 305.591 -45.223
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.09e-08 +/- 2.23e-08
Energy Flux (Fixed Index): 2.37e-05 +/- 1.29e-05

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) = 11629.0179373
delta logL = 0.281208921191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11629.0128925
delta logL = 0.286253688831

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11629.01     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      271 TOTAL
                     EDM=   .32E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4826        3.0111        .67462E-03   -.42366E-04
   2  alpha         1.7121        .39589        .14884E-01    .93096E-06
   3  Normalizat    1.2148        .21668        .35048E-03   -.12975E-06
   4  Prefactor     .97962        .97571E-01    .17254E-03    .52713E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 5.48256
  alpha      = 1.71206
  Normalizat = 1.21482
  Prefactor  = 0.979623
 **********
 **   18 **HESSE 
 **********

 FCN=   11629.01     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4826        3.0115        .26985E-04   -1.5240    
   2  alpha         1.7121        .39599        .29767E-02   -.32064    
   3  Normalizat    1.2148        .21684        .14019E-04   -.86146    
   4  Prefactor     .97962        .97647E-01    .34507E-04   -.93412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48189e-13
Minuit parameter uncertainties:
  1  3.01163
  2  0.397847
  3  0.217
  4  0.0976642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853627': 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) = 11629.0128925
delta logL = 0.286253699824

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  5.483e+00  3.012e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  1.712e+00  3.978e-01  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  1.015e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  9.796e-01  9.766e-02  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.215e+00  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.43
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 1.71 +/- 0.40
Photon Flux (Free Index): 3.20e-08 +/- 2.13e-08
Energy Flux (Free Index): 3.39e-05 +/- 2.53e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/853627/cmap_HighResolution_535593601_535852801_4FGL_J2022.3-4513_daily_bin1143.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.09e-08', energy_flux2='3.39e-05', photon_flux_error='2.23e-08', dlogl='2.86e-01', energy_flux='2.37e-05', photon_flux2='3.20e-08', job_status='DONE', time_completed='2021-09-25 01:17:58.836646', photon_index_error2='0.40', photon_index2='1.71', ts='7.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.53e-05', EG='1.20', time_epoch_completed='1632557878.84', return_code='0', job_id='853627', GAL2='0.98', EG2='1.21', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='2.13e-08', ts2='8.43', photon_index='2.02' WHERE bin_id='1143' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:17:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 853627: <4FGL_J2022.3-4513_daily_bin1143> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin1143> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 25 01:02:20 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 01:03:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 01:03:51 2021
Terminated at Sat Sep 25 01:18:04 2021
Results reported at Sat Sep 25 01:18:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1143 305.591 -45.2228 535593601 535852801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2022.3-4513 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   748.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            944 sec.

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

