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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin731
RA = 305.591, Dec = -45.2228
tmin = 428803201, tmax = 429062401
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='850418', job_status='RUN', time_executed='2021-09-25 00:53:47.392256', time_epoch_executed='1632556427.39' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850418

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850418/ft1_4FGL_J2022.3-4513_daily_bin731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850418/ft2_4FGL_J2022.3-4513_daily_bin731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850418/ft1_4FGL_J2022.3-4513_daily_bin731.fits outfile=/scratch/kocevski/850418/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin731.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=428803201.0 tmax=429062401.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 6.58
user 6.26
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850418/ft2_4FGL_J2022.3-4513_daily_bin731.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/850418/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin731.fits evtable="EVENTS" outfile="/scratch/kocevski/850418/ft1_filtered_4FGL_J2022.3-4513_daily_bin731.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/850418/ft1_filtered_4FGL_J2022.3-4513_daily_bin731.fits" evtable="EVENTS" scfile=/scratch/kocevski/850418/ft2_4FGL_J2022.3-4513_daily_bin731.fits sctable="SC_DATA" outfile=/scratch/kocevski/850418/ltcube_428803201_429062401_4FGL_J2022.3-4513_daily_bin731.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/850418/ft2_4FGL_J2022.3-4513_daily_bin731.fits
.....................!
real 14.12
user 13.74
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850418/ft1_filtered_4FGL_J2022.3-4513_daily_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/850418/ft2_4FGL_J2022.3-4513_daily_bin731.fits sctable="SC_DATA" expcube=/scratch/kocevski/850418/ltcube_428803201_429062401_4FGL_J2022.3-4513_daily_bin731.fits outfile=/scratch/kocevski/850418/expmap_428803201_429062401_4FGL_J2022.3-4513_daily_bin731.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/850418/ltcube_428803201_429062401_4FGL_J2022.3-4513_daily_bin731.fits
.....................!
real 191.93
user 186.00
sys 5.54

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/850418/ft1_filtered_4FGL_J2022.3-4513_daily_bin731.fits scfile=/scratch/kocevski/850418/ft2_4FGL_J2022.3-4513_daily_bin731.fits outfile=/scratch/kocevski/850418/cmap_428803201_429062401_4FGL_J2022.3-4513_daily_bin731.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850418/ft1_filtered_4FGL_J2022.3-4513_daily_bin731.fits scfile=/scratch/kocevski/850418/ft2_4FGL_J2022.3-4513_daily_bin731.fits outfile=/scratch/kocevski/850418/cmap_HighResolution_428803201_429062401_4FGL_J2022.3-4513_daily_bin731.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/850418/ft1_filtered_4FGL_J2022.3-4513_daily_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/850418/ft2_4FGL_J2022.3-4513_daily_bin731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/850418/Model_4FGL_J2022.3-4513_daily_bin731.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/850418/ft1_filtered_4FGL_J2022.3-4513_daily_bin731.fits.....................!
real 95.59
user 94.18
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.984       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.735       1.0000         .10000E-03   10000.    
     4 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.2350       1.0000         .10000E-03   10000.    
     6 'norm      '    10.663       1.0000         .10000E-03   10000.    
     7 'norm      '    .88743       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0809       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.5631       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.154       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .31047E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.201       1.0000         .10000E-03   10000.    
    16 'norm      '    10.526       1.0000         .10000E-03   10000.    
    17 'Prefactor '    146.35       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.556       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .98458       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98813       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=   12638.27     FROM MIGRAD    STATUS=CONVERGED    410 CALLS     2046 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9541       -.86660E-08** at limit **
   2  Prefactor     10.982        15.563        .43020E-06   -.10478E-04
   3  Prefactor     19.734        8.5195        .10162E-05    .24358E-04
   4  norm          .10000E-03    7.0077        .76327E-06** at limit **
   5  norm          3.2349        .87543       -.41135E-07   -.45398E-02
   6  norm          10.660        7.0031       -.40352E-05    .11920E-03
   7  norm          .86814        7.9024       -.12606E-05    .68038E-03
   8  norm          1.0807        1.0823       -.17478E-07   -.30453E-03
   9  Prefactor     .10000E-03    51.682       -.95128E-05** at limit **
  10  norm          3.5618        2.7449        .19188E-06    .28307E-04
  11  norm          .10000E-03    4.6847        .94168E-07** at limit **
  12  Prefactor     31.148        24.341       -.30522E-05    .13337E-04
  13  Prefactor     .10000E-03    45.420        .11315E-04** at limit **
  14  Prefactor     .10000E-03    2.7036       -.39972E-05** at limit **
  15  Prefactor     14.224        26.157        .20859E-04    .38491E-03
  16  norm          10.525        2.9910       -.36227E-06    .17298E-03
  17  Prefactor     146.38        104.91        .20379E-04    .11014E-03
  18  Prefactor     12.555        11.389        .30014E-06   -.12822E-04
  19  Normalizat    .98469        .21301       -.17945E-05    .64905E-03
  20  Prefactor     .98810        .83435E-01    .51575E-06    .10346E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.9819
  Prefactor  = 19.7345
  norm       = 0.0001
  norm       = 3.23495
  norm       = 10.6598
  norm       = 0.868137
  norm       = 1.08067
  Prefactor  = 0.0001
  norm       = 3.56176
  norm       = 0.0001
  Prefactor  = 31.148
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 14.224
  norm       = 10.5255
  Prefactor  = 146.378
  Prefactor  = 12.5553
  Normalizat = 0.98469
  Prefactor  = 0.988097
 **********
 **   18 **HESSE 
 **********

 FCN=   12638.27     FROM HESSE     STATUS=OK           295 CALLS     2341 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9660        .15341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.982        15.569        .12089E-03   -1.5045    
   3  Prefactor     19.734        8.5184        .90160E-04   -1.4819    
   4  norm          .10000E-03    7.0994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.2349        .87653        .26175E-03   -1.5348    
   6  norm          10.660        7.0025        .12269E-03   -1.5055    
   7  norm          .86814        61.215        .56907E-02   -1.5522    
   8  norm          1.0807        1.0645        .11341E-03   -1.5500    
   9  Prefactor     .10000E-03    51.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.5618        2.7382        .15583E-03   -1.5330    
  11  norm          .10000E-03    4.6875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     31.148        24.364        .71785E-04   -1.4591    
  13  Prefactor     .10000E-03    45.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.8800        .34912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.224        26.203        .10629E-03   -1.4953    
  16  norm          10.525        3.0008        .97851E-04   -1.5059    
  17  Prefactor     146.38        104.73        .16655E-03   -1.3282    
  18  Prefactor     12.555        11.397        .11305E-03   -1.4999    
  19  Normalizat    .98469        .25013        .41890E-03   -.93545    
  20  Prefactor     .98810        .99904E-01    .17157E-03   -.93127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42778e-08
Minuit parameter uncertainties:
  1  3.87324e-06
  2  15.5751
  3  8.51893
  4  7.30877e-06
  5  0.876538
  6  7.00309
  7  14.5946
  8  1.06449
  9  0.000133088
  10  2.7383
  11  7.99559e-06
  12  24.3714
  13  6.61412e-05
  14  0.00033453
  15  26.2245
  16  3.00081
  17  104.86
  18  11.3985
  19  0.250423
  20  0.0999226
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  3.562e+00  2.738e+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.881e-01  9.992e-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:  9.847e-01  2.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.65
Ra Dec: 305.591 -45.223
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.91e-08 +/- 2.24e-08
Energy Flux (Fixed Index): 1.69e-05 +/- 1.30e-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) = 12638.1055814
delta logL = 0.16904709896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12638.0997872
delta logL = 0.174841240902

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2977       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4707       1.0000          .0000       5.0000    
     3 'Normalizat'    .95402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99493       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=   12638.10     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2965        37.458        .55737E-02    .53828E-03
   2  alpha         2.4720        3.7334        .41155        .76780E-04
   3  Normalizat    .95337        .83561E-01    .95947E-01    .70292E-04
   4  Prefactor     .99520        .25900E-01    .46204E-01    .59489E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.29655
  alpha      = 2.47202
  Normalizat = 0.953366
  Prefactor  = 0.995201
 **********
 **   18 **HESSE 
 **********

 FCN=   12638.10     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2965        2.6869        .13079E-03   -1.5345    
   2  alpha         2.4720        .74860        .17250E-01   -.11194E-01
   3  Normalizat    .95337        .24646        .42504E-03   -.94610    
   4  Prefactor     .99520        .99283E-01    .17100E-03   -.92890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65083e-11
Minuit parameter uncertainties:
  1  2.68695
  2  0.760263
  3  0.246749
  4  0.0993013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850418': 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) = 12638.0997823
delta logL = 0.174846137836

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  3.297e+00  2.687e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.472e+00  7.603e-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.952e-01  9.930e-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:  9.534e-01  2.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.02
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 2.47 +/- 0.76
Photon Flux (Free Index): 5.09e-08 +/- 4.97e-08
Energy Flux (Free Index): 1.63e-05 +/- 1.10e-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/850418/cmap_HighResolution_428803201_429062401_4FGL_J2022.3-4513_daily_bin731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.91e-08', energy_flux2='1.63e-05', photon_flux_error='2.24e-08', dlogl='1.75e-01', energy_flux='1.69e-05', photon_flux2='5.09e-08', job_status='DONE', time_completed='2021-09-25 01:06:57.428141', photon_index_error2='0.76', photon_index2='2.47', ts='4.65', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.10e-05', EG='0.98', time_epoch_completed='1632557217.43', return_code='0', job_id='850418', GAL2='1.00', EG2='0.95', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='4.97e-08', ts2='5.02', photon_index='2.02' WHERE bin_id='731' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:06:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 850418: <4FGL_J2022.3-4513_daily_bin731> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin731> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 00:51:11 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:52:45 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:52:45 2021
Terminated at Sat Sep 25 01:06:58 2021
Results reported at Sat Sep 25 01:06:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin731 305.591 -45.2228 428803201 429062401 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 :                                   788.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            947 sec.

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

