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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1047
RA = 305.591, Dec = -45.2228
tmin = 510710401, tmax = 510969601
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='853482', job_status='RUN', time_executed='2021-09-25 01:05:33.457960', time_epoch_executed='1632557133.46' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1047'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853482

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853482/ft1_4FGL_J2022.3-4513_daily_bin1047.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853482/ft2_4FGL_J2022.3-4513_daily_bin1047.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853482/ft1_4FGL_J2022.3-4513_daily_bin1047.fits outfile=/scratch/kocevski/853482/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1047.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=510710401.0 tmax=510969601.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.50
user 3.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853482/ft1_filtered_4FGL_J2022.3-4513_daily_bin1047.fits" evtable="EVENTS" scfile=/scratch/kocevski/853482/ft2_4FGL_J2022.3-4513_daily_bin1047.fits sctable="SC_DATA" outfile=/scratch/kocevski/853482/ltcube_510710401_510969601_4FGL_J2022.3-4513_daily_bin1047.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/853482/ft2_4FGL_J2022.3-4513_daily_bin1047.fits
.....................!
real 14.40
user 13.99
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853482/ft1_filtered_4FGL_J2022.3-4513_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/853482/ft2_4FGL_J2022.3-4513_daily_bin1047.fits sctable="SC_DATA" expcube=/scratch/kocevski/853482/ltcube_510710401_510969601_4FGL_J2022.3-4513_daily_bin1047.fits outfile=/scratch/kocevski/853482/expmap_510710401_510969601_4FGL_J2022.3-4513_daily_bin1047.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/853482/ltcube_510710401_510969601_4FGL_J2022.3-4513_daily_bin1047.fits
.....................!
real 191.21
user 186.49
sys 4.33

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/853482/ft1_filtered_4FGL_J2022.3-4513_daily_bin1047.fits scfile=/scratch/kocevski/853482/ft2_4FGL_J2022.3-4513_daily_bin1047.fits outfile=/scratch/kocevski/853482/cmap_510710401_510969601_4FGL_J2022.3-4513_daily_bin1047.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853482/ft1_filtered_4FGL_J2022.3-4513_daily_bin1047.fits scfile=/scratch/kocevski/853482/ft2_4FGL_J2022.3-4513_daily_bin1047.fits outfile=/scratch/kocevski/853482/cmap_HighResolution_510710401_510969601_4FGL_J2022.3-4513_daily_bin1047.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/853482/ft1_filtered_4FGL_J2022.3-4513_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/853482/ft2_4FGL_J2022.3-4513_daily_bin1047.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/853482/Model_4FGL_J2022.3-4513_daily_bin1047.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/853482/ft1_filtered_4FGL_J2022.3-4513_daily_bin1047.fits.....................!
real 70.21
user 68.84
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.726       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.439       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.1081       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .36708       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .12166E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.6292       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    92.556       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5853       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.426       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .65806E-02   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1230       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0273       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=   8953.200     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     2071 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.728        8.8352        .28885E-07   -.54754E-04
   2  Prefactor     11.441        26.124        .54749E-06    .32880E-04
   3  Prefactor     .10000E-03    5.0603        .27172E-07** at limit **
   4  norm          .10000E-03    7.9559        .21045E-06** at limit **
   5  norm          2.1083        1.0228        .18064E-07   -.10577E-03
   6  norm          .10000E-03    2.6370        .21593E-07** at limit **
   7  norm          .10000E-03    10.646        .21719E-05** at limit **
   8  norm          .36754        .76860        .41073E-06    .14473E-02
   9  Prefactor     .10000E-03    54.553       -.57164E-06** at limit **
  10  norm          .10000E-03    1.3642       -.62292E-07** at limit **
  11  norm          4.6302        16.470        .59234E-05   -.22934E-03
  12  Prefactor     .10000E-03    13.682       -.18585E-05** at limit **
  13  Prefactor     92.540        67.981       -.25155E-05   -.23406E-03
  14  Prefactor     4.5853        2.9322        .28465E-07   -.32288E-04
  15  Prefactor     .10000E-03    9.4159       -.12821E-05** at limit **
  16  norm          .10000E-03    .86694       -.16599E-07** at limit **
  17  Prefactor     27.424        35.015       -.26048E-06   -.26885E-04
  18  Prefactor     .10006E-03    3.4002        .70312E-06** at limit **
  19  Normalizat    1.1232        .21638        .46826E-06   -.13627E-03
  20  Prefactor     1.0271        .97557E-01   -.32988E-06   -.80970E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7275
  Prefactor  = 11.4414
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.10825
  norm       = 0.0001
  norm       = 0.000100003
  norm       = 0.367541
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.63019
  Prefactor  = 0.000100002
  Prefactor  = 92.5399
  Prefactor  = 4.5853
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 27.4244
  Prefactor  = 0.000100057
  Normalizat = 1.12323
  Prefactor  = 1.02713
 **********
 **   18 **HESSE 
 **********

 FCN=   8953.200     FROM HESSE     STATUS=OK           295 CALLS     2366 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.728        8.8245        .12234E-03   -1.5053    
   2  Prefactor     11.441        26.122        .11845E-03   -1.5031    
   3  Prefactor     .10000E-03    5.0870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    7.9702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.1083        1.0197        .64131E-04   -1.5418    
   6  norm          .10000E-03    2.6440        .15005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .36754        .61545        .12691E-02   -1.5587    
   9  Prefactor     .10000E-03    54.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    13.079        .21407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.6302        16.776        .93532E-03   -1.5278    
  12  Prefactor     .10000E-03    13.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     92.540        69.230        .41772E-04   -1.3781    
  14  Prefactor     4.5853        2.9315        .12503E-03   -1.5280    
  15  Prefactor     .10000E-03    9.6007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.5222        .16859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     27.424        35.022        .76498E-04   -1.4660    
  18  Prefactor     .10006E-03    25.733        .33033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1232        .24952        .35662E-03   -.89009    
  20  Prefactor     1.0271        .11513        .17033E-03   -.91831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55592e-09
Minuit parameter uncertainties:
  1  8.82559
  2  26.1484
  3  6.22182e-07
  4  2.90672e-05
  5  1.01967
  6  2.10856e-07
  7  0.000341206
  8  0.615463
  9  0.000211268
  10  0.000127268
  11  16.7927
  12  0.000313431
  13  69.2907
  14  2.93158
  15  0.000196627
  16  5.29963e-06
  17  35.0486
  18  0.0024288
  19  0.249785
  20  0.115162
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  1.273e-04  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:  1.027e+00  1.152e-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.123e+00  2.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/853482/likelihoodResults_510710401_510969601_4FGL_J2022.3-4513_daily_bin1047.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): 102
logL (Free Index) = 8953.2006508
delta logL = -0.000362796101399

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8953.20028777
delta logL = 2.27721102419e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8953.200     FROM MIGRAD    STATUS=FAILED        99 CALLS      274 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10023E-03    875.97        .20764E-02** at limit **
   2  alpha         2.1628        3.0005        .16768       -.60588E-06
   3  Normalizat    1.1232        .43841E-01    .35662E-03    .38892E-04
   4  Prefactor     1.0271        .20264E-01    .17033E-03    .34154E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8953.200     FROM SIMPLEX   STATUS=UNCHANGED    154 CALLS      428 TOTAL
                     EDM=   .68E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10023E-03    875.97        .55224E-03** at limit **
   2  alpha         2.1628        3.0005        .11011E-04   -.60588E-06
   3  Normalizat    1.1232        .43841E-01    .21417E-06    .38892E-04
   4  Prefactor     1.0271        .20264E-01    .10661E-06    .34154E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8953.200     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      460 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10009E-03    16.464        .83056E-04** at limit **
   2  alpha         2.1573        2.7239        .67070E-01   -.14944E-05
   3  Normalizat    1.1232        .24530        .14265E-04    .31241E-04
   4  Prefactor     1.0271        .11344        .34066E-04    .32585E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100091
  alpha      = 2.15727
  Normalizat = 1.12323
  Prefactor  = 1.02713
 **********
 **   18 **HESSE 
 **********

 FCN=   8953.200     FROM HESSE     STATUS=OK            23 CALLS      483 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10009E-03    16.333        .16611E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1573        2.7363        .26828E-02   -.13753    
   3  Normalizat    1.1232        .24520        .28530E-05   -.89009    
   4  Prefactor     1.0271        .11340        .68133E-05   -.91831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13395e-08
Minuit parameter uncertainties:
  1  0.0024325
  2  124.959
  3  0.245446
  4  0.113425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853482': 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) = 8953.20028734
delta logL = 6.57903001411e-07

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.001e-04  2.433e-03  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.157e+00  1.250e+02  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.027e+00  1.134e-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.123e+00  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 305.591 -45.223

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/853482/cmap_HighResolution_510710401_510969601_4FGL_J2022.3-4513_daily_bin1047.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.26e-05', job_status='DONE', photon_flux_upper_limit='5.63e-08', time_completed='2021-09-25 01:18:17.217460', job_id='853482', GAL2='1.03', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1632557897.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='6.58e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1047' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:18:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 853482: <4FGL_J2022.3-4513_daily_bin1047> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1047 305.591 -45.2228 510710401 510969601 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 :                                   746.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            970 sec.

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

