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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1041
RA = 305.591, Dec = -45.2228
tmin = 509155201, tmax = 509414401
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='853473', job_status='RUN', time_executed='2021-09-25 01:06:06.895350', time_epoch_executed='1632557166.9' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1041'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853473

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853473/ft1_4FGL_J2022.3-4513_daily_bin1041.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853473/ft2_4FGL_J2022.3-4513_daily_bin1041.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853473/ft1_4FGL_J2022.3-4513_daily_bin1041.fits outfile=/scratch/kocevski/853473/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1041.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=509155201.0 tmax=509414401.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.73
user 3.48
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853473/ft1_filtered_4FGL_J2022.3-4513_daily_bin1041.fits" evtable="EVENTS" scfile=/scratch/kocevski/853473/ft2_4FGL_J2022.3-4513_daily_bin1041.fits sctable="SC_DATA" outfile=/scratch/kocevski/853473/ltcube_509155201_509414401_4FGL_J2022.3-4513_daily_bin1041.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/853473/ft2_4FGL_J2022.3-4513_daily_bin1041.fits
.....................!
real 14.82
user 14.28
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853473/ft1_filtered_4FGL_J2022.3-4513_daily_bin1041.fits evtable="EVENTS" scfile=/scratch/kocevski/853473/ft2_4FGL_J2022.3-4513_daily_bin1041.fits sctable="SC_DATA" expcube=/scratch/kocevski/853473/ltcube_509155201_509414401_4FGL_J2022.3-4513_daily_bin1041.fits outfile=/scratch/kocevski/853473/expmap_509155201_509414401_4FGL_J2022.3-4513_daily_bin1041.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/853473/ltcube_509155201_509414401_4FGL_J2022.3-4513_daily_bin1041.fits
.....................!
real 192.41
user 185.98
sys 4.18

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/853473/ft1_filtered_4FGL_J2022.3-4513_daily_bin1041.fits scfile=/scratch/kocevski/853473/ft2_4FGL_J2022.3-4513_daily_bin1041.fits outfile=/scratch/kocevski/853473/cmap_509155201_509414401_4FGL_J2022.3-4513_daily_bin1041.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853473/ft1_filtered_4FGL_J2022.3-4513_daily_bin1041.fits scfile=/scratch/kocevski/853473/ft2_4FGL_J2022.3-4513_daily_bin1041.fits outfile=/scratch/kocevski/853473/cmap_HighResolution_509155201_509414401_4FGL_J2022.3-4513_daily_bin1041.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.7165       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .79129       1.0000         .10000E-03   10000.    
     4 'norm      '    32.322       1.0000         .10000E-03   10000.    
     5 'norm      '    1.4916       1.0000         .10000E-03   10000.    
     6 'norm      '    .70098       1.0000         .10000E-03   10000.    
     7 'norm      '    36.669       1.0000         .10000E-03   10000.    
     8 'norm      '    .68209       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7106       1.0000         .10000E-03   10000.    
    11 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.950       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .99338       1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.594       1.0000         .10000E-03   10000.    
    16 'norm      '    5.9681       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.152       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0474       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98935       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.

 FCN=   7550.675     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     2038 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.5538         .0000    ** at limit **
   2  Prefactor     6.7172        16.619         .0000       -.57544E-04
   3  Prefactor     .79047        11.275         .0000        .33261E-01
   4  norm          32.322        25.755         .0000       -.41474E-03
   5  norm          1.4915        1.1223         .0000        .33041E-02
   6  norm          .70507        10.728         .0000        .34941E-01
   7  norm          36.662        20.768         .0000        .49667E-02
   8  norm          .68212        .97054         .0000        .22566E-02
   9  Prefactor     .10000E-03    11.258         .0000    ** at limit **
  10  norm          1.7112        2.9079         .0000        .66591E-03
  11  norm          .10002E-03    31.945         .0000    ** at limit **
  12  Prefactor     45.950        29.059         .0000       -.12383E-02
  13  Prefactor     .10000E-03    27.251         .0000    ** at limit **
  14  Prefactor     .98851        3.1949         .0000        .13831E-02
  15  Prefactor     29.592        29.045         .0000        .17536E-02
  16  norm          5.9670        3.0291         .0000        .33741E-03
  17  Prefactor     .10000E-03    33.294         .0000    ** at limit **
  18  Prefactor     20.151        12.133         .0000        .89210E-04
  19  Normalizat    1.0478        .25863         .0000        .15210E-04
  20  Prefactor     .98920        .10714         .0000        .45513E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.71725
  Prefactor  = 0.790465
  norm       = 32.3225
  norm       = 1.49155
  norm       = 0.705071
  norm       = 36.662
  norm       = 0.682116
  Prefactor  = 0.0001
  norm       = 1.71116
  norm       = 0.00010002
  Prefactor  = 45.9503
  Prefactor  = 0.000100005
  Prefactor  = 0.988514
  Prefactor  = 29.5919
  norm       = 5.96704
  Prefactor  = 0.000100001
  Prefactor  = 20.1506
  Normalizat = 1.04782
  Prefactor  = 0.989202
 **********
 **   18 **HESSE 
 **********

 FCN=   7550.675     FROM HESSE     STATUS=OK           291 CALLS     2329 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5711        .13558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.7172        16.628        .15483E-03   -1.5190    
   3  Prefactor     .79047        11.579        .24815E-02   -1.5530    
   4  norm          32.322        25.798        .70480E-04   -1.4570    
   5  norm          1.4915        1.1234        .17549E-03   -1.5464    
   6  norm          .70507        10.935        .24131E-02   -1.5540    
   7  norm          36.662        20.704        .66183E-04   -1.4496    
   8  norm          .68212        .97026        .23986E-03   -1.5543    
   9  Prefactor     .10000E-03    11.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7112        2.8772        .18625E-03   -1.5446    
  11  norm          .10002E-03    32.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     45.950        29.046        .59149E-04   -1.4351    
  13  Prefactor     .10000E-03    27.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .98851        3.1554        .25972E-03   -1.5509    
  15  Prefactor     29.592        29.059        .73649E-04   -1.4619    
  16  norm          5.9670        3.0451        .99617E-04   -1.5219    
  17  Prefactor     .10000E-03    33.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.151        12.147        .89222E-04   -1.4810    
  19  Normalizat    1.0478        .30994        .38497E-03   -.91445    
  20  Prefactor     .98920        .12933        .17241E-03   -.93090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61341e-08
Minuit parameter uncertainties:
  1  3.63883e-06
  2  16.6398
  3  6.05172
  4  25.8073
  5  1.12345
  6  5.5542
  7  20.7079
  8  0.970286
  9  3.3461e-06
  10  2.87745
  11  0.00161913
  12  29.0551
  13  0.000734181
  14  3.15596
  15  29.0724
  16  3.04516
  17  0.000421614
  18  12.1486
  19  0.310474
  20  0.129374
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.711e+00  2.877e+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.892e-01  1.294e-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.048e+00  3.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/853473/likelihoodResults_509155201_509414401_4FGL_J2022.3-4513_daily_bin1041.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) = 7550.264963
delta logL = 0.410079735184

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7550.26325243
delta logL = 0.411790306241

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0433       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1813       1.0000          .0000       5.0000    
     3 'Normalizat'    .99850       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0011       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=   7550.263     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      245 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0434        16.367        .12216E-01    .17570E-02
   2  alpha         3.1813        4.0106        .43272        .45429E-04
   3  Normalizat    .99852        .52821E-01    .88794E-01    .27441E-04
   4  Prefactor     1.0011        .22537E-01    .45332E-01   -.78057E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.04336
  alpha      = 3.18135
  Normalizat = 0.998515
  Prefactor  = 1.00109
 **********
 **   18 **HESSE 
 **********

 FCN=   7550.263     FROM HESSE     STATUS=OK            31 CALLS      276 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0434        2.7277        .88998E-04   -1.5504    
   2  alpha         3.1813        1.5872        .16341E-01    .27603    
   3  Normalizat    .99852        .29162        .39318E-03   -.93080    
   4  Prefactor     1.0011        .12502        .17142E-03   -.92693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64505e-08
Minuit parameter uncertainties:
  1  2.72805
  2  1.73338
  3  0.292086
  4  0.125052
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853473': 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) = 7550.26325242
delta logL = 0.411790314389

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.043e+00  2.728e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  3.181e+00  1.733e+00  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:  1.001e+00  1.251e-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:  9.985e-01  2.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.37
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 3.18 +/- 1.73
Photon Flux (Free Index): 5.32e-08 +/- 6.69e-08
Energy Flux (Free Index): 1.07e-05 +/- 1.11e-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/853473/cmap_HighResolution_509155201_509414401_4FGL_J2022.3-4513_daily_bin1041.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-05', comment='SUCCESS', energy_flux2='1.07e-05', dlogl='4.12e-01', photon_flux2='5.32e-08', job_status='DONE', time_completed='2021-09-25 01:17:28.384925', photon_index_error2='1.73', photon_index2='3.18', ts='0.52', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='8.10e-08', energy_flux_error2='1.11e-05', EG='1.05', time_epoch_completed='1632557848.38', return_code='0', job_id='853473', GAL2='1.00', EG2='1.00', return_code2='0', photon_flux_error2='6.69e-08', ts2='1.37', photon_index='2.02' WHERE bin_id='1041' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:17:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 853473: <4FGL_J2022.3-4513_daily_bin1041> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin1041> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 25 01:02:07 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 01:02:57 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:02:57 2021
Terminated at Sat Sep 25 01:17:29 2021
Results reported at Sat Sep 25 01:17:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1041 305.591 -45.2228 509155201 509414401 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 :                                   655.39 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             280.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            922 sec.

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

