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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin847
RA = 305.591, Dec = -45.2228
tmin = 458870401, tmax = 459129601
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='851748', job_status='RUN', time_executed='2021-09-25 01:00:41.527612', time_epoch_executed='1632556841.53' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='847'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851748

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851748/ft1_4FGL_J2022.3-4513_daily_bin847.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851748/ft2_4FGL_J2022.3-4513_daily_bin847.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851748/ft1_4FGL_J2022.3-4513_daily_bin847.fits outfile=/scratch/kocevski/851748/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin847.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=458870401.0 tmax=459129601.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.56
user 3.35
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/851748/ft2_4FGL_J2022.3-4513_daily_bin847.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/851748/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin847.fits evtable="EVENTS" outfile="/scratch/kocevski/851748/ft1_filtered_4FGL_J2022.3-4513_daily_bin847.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851748/ft1_filtered_4FGL_J2022.3-4513_daily_bin847.fits" evtable="EVENTS" scfile=/scratch/kocevski/851748/ft2_4FGL_J2022.3-4513_daily_bin847.fits sctable="SC_DATA" outfile=/scratch/kocevski/851748/ltcube_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.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/851748/ft2_4FGL_J2022.3-4513_daily_bin847.fits
.....................!
real 13.32
user 12.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851748/ft1_filtered_4FGL_J2022.3-4513_daily_bin847.fits evtable="EVENTS" scfile=/scratch/kocevski/851748/ft2_4FGL_J2022.3-4513_daily_bin847.fits sctable="SC_DATA" expcube=/scratch/kocevski/851748/ltcube_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.fits outfile=/scratch/kocevski/851748/expmap_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.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/851748/ltcube_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.fits
.....................!
real 192.48
user 185.76
sys 5.14

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/851748/ft1_filtered_4FGL_J2022.3-4513_daily_bin847.fits scfile=/scratch/kocevski/851748/ft2_4FGL_J2022.3-4513_daily_bin847.fits outfile=/scratch/kocevski/851748/cmap_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851748/ft1_filtered_4FGL_J2022.3-4513_daily_bin847.fits scfile=/scratch/kocevski/851748/ft2_4FGL_J2022.3-4513_daily_bin847.fits outfile=/scratch/kocevski/851748/cmap_HighResolution_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/851748/ft1_filtered_4FGL_J2022.3-4513_daily_bin847.fits evtable="EVENTS" scfile=/scratch/kocevski/851748/ft2_4FGL_J2022.3-4513_daily_bin847.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/851748/Model_4FGL_J2022.3-4513_daily_bin847.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/851748/ft1_filtered_4FGL_J2022.3-4513_daily_bin847.fits.....................!
real 61.50
user 59.97
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/851748/ft1_filtered_4FGL_J2022.3-4513_daily_bin847.fits', '/scratch/kocevski/851748/ft2_4FGL_J2022.3-4513_daily_bin847.fits', expMap='/scratch/kocevski/851748/expmap_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.fits', expCube='/scratch/kocevski/851748/ltcube_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/851748/Model_4FGL_J2022.3-4513_daily_bin847.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/851748/ft1_filtered_4FGL_J2022.3-4513_daily_bin847.fits
Spacecraft file(s): /scratch/kocevski/851748/ft2_4FGL_J2022.3-4513_daily_bin847.fits
Exposure map: /scratch/kocevski/851748/expmap_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.fits
Exposure cube: /scratch/kocevski/851748/ltcube_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/851748/Model_4FGL_J2022.3-4513_daily_bin847.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) = 7329.56021256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0139       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.981       1.0000         .10000E-03   10000.    
     4 'norm      '    29.677       1.0000         .10000E-03   10000.    
     5 'norm      '    2.0202       1.0000         .10000E-03   10000.    
     6 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    35.110       1.0000         .10000E-03   10000.    
     8 'norm      '    .41825       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .94552E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    2.2329       1.0000         .10000E-03   10000.    
    11 'norm      '    15.200       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    46.534       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2246       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.124       1.0000         .10000E-03   10000.    
    17 'Prefactor '    72.108       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0204       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99666       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=   7329.555     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2023 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0157        7.8486       -.16625E-05   -.17264E-03
   2  Prefactor     .10000E-03    9.1669        .16282E-05** at limit **
   3  Prefactor     18.985        14.453       -.13663E-04    .23101E-04
   4  norm          29.677        24.947       -.13746E-05    .47908E-05
   5  norm          2.0195        1.2271       -.16352E-07    .16997E-03
   6  norm          .10000E-03    4.7583        .27031E-06** at limit **
   7  norm          35.117        23.646       -.10147E-04    .92881E-04
   8  norm          .41900        1.1097       -.94157E-06   -.32191E-02
   9  Prefactor     .10001E-03    232.36       -.43365E-05** at limit **
  10  norm          2.2340        3.3724        .43293E-06   -.17456E-03
  11  norm          15.199        19.440        .56000E-05    .18823E-04
  12  Prefactor     .10000E-03    10.714       -.97389E-06** at limit **
  13  Prefactor     46.399        91.901       -.16672E-03    .15967E-04
  14  Prefactor     4.2251        3.1172       -.81933E-06   -.84254E-04
  15  Prefactor     .10000E-03    6.6370       -.58586E-05** at limit **
  16  norm          10.126        3.0101        .40006E-06    .30610E-03
  17  Prefactor     72.118        67.474        .79456E-05    .20377E-04
  18  Prefactor     .10000E-03    6.4857        .49052E-05** at limit **
  19  Normalizat    1.0201        .25792        .16152E-04    .14773E-04
  20  Prefactor     .99669        .11027        .18323E-05    .31863E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.01568
  Prefactor  = 0.0001
  Prefactor  = 18.9847
  norm       = 29.6773
  norm       = 2.01953
  norm       = 0.0001
  norm       = 35.1171
  norm       = 0.419001
  Prefactor  = 0.000100008
  norm       = 2.23397
  norm       = 15.1993
  Prefactor  = 0.0001
  Prefactor  = 46.3991
  Prefactor  = 4.22513
  Prefactor  = 0.0001
  norm       = 10.126
  Prefactor  = 72.118
  Prefactor  = 0.0001
  Normalizat = 1.02009
  Prefactor  = 0.996687
 **********
 **   18 **HESSE 
 **********

 FCN=   7329.555     FROM HESSE     STATUS=OK           297 CALLS     2320 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0157        7.8429        .17959E-03   -1.5260    
   2  Prefactor     .10000E-03    9.1696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.985        14.459        .91931E-04   -1.4836    
   4  norm          29.677        24.994        .73546E-04   -1.4618    
   5  norm          2.0195        1.2249        .70409E-04   -1.5424    
   6  norm          .10000E-03    4.7803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          35.117        23.619        .67632E-04   -1.4522    
   8  norm          .41900        .93150        .14257E-02   -1.5579    
   9  Prefactor     .10001E-03    239.33        .36356E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2340        3.3502        .18553E-03   -1.5409    
  11  norm          15.199        19.441        .10273E-03   -1.4928    
  12  Prefactor     .10000E-03    10.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     46.399        91.968        .29389E-03   -1.4345    
  14  Prefactor     4.2251        3.1166        .12538E-03   -1.5297    
  15  Prefactor     .10000E-03    6.6451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.126        3.0200        .76620E-04   -1.5071    
  17  Prefactor     72.118        67.504        .23639E-03   -1.4007    
  18  Prefactor     .10000E-03    6.5400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0201        .30378        .39324E-03   -.92360    
  20  Prefactor     .99669        .13146        .17426E-03   -.92840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27734e-09
Minuit parameter uncertainties:
  1  7.84455
  2  1.81219e-05
  3  14.4612
  4  25.0029
  5  1.22495
  6  6.51099e-05
  7  23.6256
  8  0.93153
  9  0.0028211
  10  3.35052
  11  19.4489
  12  0.000101105
  13  92.2515
  14  3.11672
  15  3.98314e-05
  16  3.02009
  17  67.5756
  18  7.43149e-05
  19  0.304296
  20  0.131503
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  2.234e+00  3.351e+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.967e-01  1.315e-01  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.020e+00  3.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.70
Ra Dec: 305.591 -45.223
Photon Flux Upper Limit: 9.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/851748/likelihoodResults_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.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) = 7329.26462413
delta logL = 0.290163874993

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7329.25395199
delta logL = 0.300836019139

Fit tolerance = 1e-08

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

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

 FCN=   7329.254     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7993        2.3256        .77924E-02    .10435E-03
   2  alpha         1.2104        .59376        .50000       -.47761E-04
   3  Normalizat    1.0344        .24529        .88250E-01    .21679E-04
   4  Prefactor     .99307        .10818        .46180E-01   -.45445E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.79932
  alpha      = 1.21043
  Normalizat = 1.03437
  Prefactor  = 0.993068
 **********
 **   18 **HESSE 
 **********

 FCN=   7329.254     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7993        2.8166        .14472E-03   -1.5440    
   2  alpha         1.2104        .82395        .23454E-01   -.54197    
   3  Normalizat    1.0344        .28920        .39081E-03   -.91888    
   4  Prefactor     .99307        .12793        .17451E-03   -.92961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70837e-09
Minuit parameter uncertainties:
  1  2.81683
  2  0.845762
  3  0.289642
  4  0.127967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851748': 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) = 7329.25395192
delta logL = 0.300836087481

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.799e+00  2.817e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  1.210e+00  8.458e-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.931e-01  1.280e-01  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.034e+00  2.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.30
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 1.21 +/- 0.85
Photon Flux (Free Index): 8.08e-09 +/- 1.28e-08
Energy Flux (Free Index): 2.98e-05 +/- 5.39e-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/851748/cmap_HighResolution_458870401_459129601_4FGL_J2022.3-4513_daily_bin847.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-05', comment='SUCCESS', energy_flux2='2.98e-05', dlogl='3.01e-01', photon_flux2='8.08e-09', job_status='DONE', time_completed='2021-09-25 01:11:26.000971', photon_index_error2='0.85', photon_index2='1.21', ts='0.70', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='9.32e-08', energy_flux_error2='5.39e-05', EG='1.02', time_epoch_completed='1632557486.0', return_code='0', job_id='851748', GAL2='0.99', EG2='1.03', return_code2='0', photon_flux_error2='1.28e-08', ts2='1.30', photon_index='2.02' WHERE bin_id='847' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:11:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 851748: <4FGL_J2022.3-4513_daily_bin847> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin847> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 00:56:13 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:57:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 00:57:35 2021
Terminated at Sat Sep 25 01:11:26 2021
Results reported at Sat Sep 25 01:11:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin847 305.591 -45.2228 458870401 459129601 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 :                                   642.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            913 sec.

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

