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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1083
RA = 305.591, Dec = -45.2228
tmin = 520041601, tmax = 520300801
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='853537', job_status='RUN', time_executed='2021-09-25 01:03:41.103593', time_epoch_executed='1632557021.1' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1083'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853537

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853537/ft1_4FGL_J2022.3-4513_daily_bin1083.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853537/ft2_4FGL_J2022.3-4513_daily_bin1083.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853537/ft1_4FGL_J2022.3-4513_daily_bin1083.fits outfile=/scratch/kocevski/853537/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1083.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=520041601.0 tmax=520300801.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 4.31
user 4.05
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853537/ft1_filtered_4FGL_J2022.3-4513_daily_bin1083.fits" evtable="EVENTS" scfile=/scratch/kocevski/853537/ft2_4FGL_J2022.3-4513_daily_bin1083.fits sctable="SC_DATA" outfile=/scratch/kocevski/853537/ltcube_520041601_520300801_4FGL_J2022.3-4513_daily_bin1083.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/853537/ft2_4FGL_J2022.3-4513_daily_bin1083.fits
.....................!
real 13.68
user 13.19
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853537/ft1_filtered_4FGL_J2022.3-4513_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/853537/ft2_4FGL_J2022.3-4513_daily_bin1083.fits sctable="SC_DATA" expcube=/scratch/kocevski/853537/ltcube_520041601_520300801_4FGL_J2022.3-4513_daily_bin1083.fits outfile=/scratch/kocevski/853537/expmap_520041601_520300801_4FGL_J2022.3-4513_daily_bin1083.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/853537/ltcube_520041601_520300801_4FGL_J2022.3-4513_daily_bin1083.fits
.....................!
real 192.61
user 185.75
sys 5.40

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/853537/ft1_filtered_4FGL_J2022.3-4513_daily_bin1083.fits scfile=/scratch/kocevski/853537/ft2_4FGL_J2022.3-4513_daily_bin1083.fits outfile=/scratch/kocevski/853537/cmap_520041601_520300801_4FGL_J2022.3-4513_daily_bin1083.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/853537/ft1_filtered_4FGL_J2022.3-4513_daily_bin1083.fits scfile=/scratch/kocevski/853537/ft2_4FGL_J2022.3-4513_daily_bin1083.fits outfile=/scratch/kocevski/853537/cmap_HighResolution_520041601_520300801_4FGL_J2022.3-4513_daily_bin1083.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/853537/ft1_filtered_4FGL_J2022.3-4513_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/853537/ft2_4FGL_J2022.3-4513_daily_bin1083.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/853537/Model_4FGL_J2022.3-4513_daily_bin1083.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/853537/ft1_filtered_4FGL_J2022.3-4513_daily_bin1083.fits.....................!
real 87.42
user 85.58
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6693       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2484       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .77905       1.0000         .10000E-03   10000.    
     6 'norm      '    .10164E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.5939       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4184       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    52.901       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14036E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.4505       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0056       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .86438       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0601       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=   12051.71     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2128 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6698        6.5186         .0000        .81181E-02
   2  Prefactor     .10000E-03    7.5993         .0000    ** at limit **
   3  Prefactor     3.2485        7.0686         .0000        .10004E-01
   4  norm          .10000E-03    3.4211         .0000    ** at limit **
   5  norm          .77906        .53713         .0000       -.98136E-04
   6  norm          .10000E-03    2.4474         .0000    ** at limit **
   7  norm          .10000E-03    4.8679         .0000    ** at limit **
   8  norm          .10000E-03    .41014         .0000    ** at limit **
   9  Prefactor     .10000E-03    7.1902         .0000    ** at limit **
  10  norm          4.5941        2.9201         .0000        .39365E-03
  11  norm          2.4186        8.5798         .0000        .34816E-03
  12  Prefactor     .10000E-03    6.0070         .0000    ** at limit **
  13  Prefactor     52.901        54.191         .0000       -.46108E-03
  14  Prefactor     .14981E-01    .76694         .0000        .61335E-03
  15  Prefactor     .10000E-03    8.7613         .0000    ** at limit **
  16  norm          1.4507        1.4583         .0000        .11423E-02
  17  Prefactor     .10000E-03    33.178         .0000    ** at limit **
  18  Prefactor     8.0057        6.8088         .0000        .36672E-02
  19  Normalizat    .86431        .18237         .0000       -.14843E-05
  20  Prefactor     1.0602        .80484E-01     .0000       -.19369E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.66976
  Prefactor  = 0.000100003
  Prefactor  = 3.24848
  norm       = 0.0001
  norm       = 0.779056
  norm       = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.59414
  norm       = 2.4186
  Prefactor  = 0.0001
  Prefactor  = 52.9012
  Prefactor  = 0.0149815
  Prefactor  = 0.0001
  norm       = 1.45071
  Prefactor  = 0.0001
  Prefactor  = 8.00573
  Normalizat = 0.86431
  Prefactor  = 1.06016
 **********
 **   18 **HESSE 
 **********

 FCN=   12051.71     FROM HESSE     STATUS=OK           301 CALLS     2429 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6698        6.5099        .84353E-03   -1.5232    
   2  Prefactor     .10000E-03    7.6107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2485        7.0627        .11236E-02   -1.5347    
   4  norm          .10000E-03    3.4216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .77906        .52014        .64540E-03   -1.5531    
   6  norm          .10000E-03    6.8895        .33264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.8826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .42540        .13727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.1941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5941        2.9170        .14410E-03   -1.5279    
  11  norm          2.4186        8.5694        .26321E-03   -1.5397    
  12  Prefactor     .10000E-03    6.0094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     52.901        54.227        .55144E-04   -1.4252    
  14  Prefactor     .14981E-01    1.0852        .36265E-01   -1.5684    
  15  Prefactor     .10000E-03    8.8081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4507        1.4426        .12474E-03   -1.5467    
  17  Prefactor     .10000E-03    33.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.0057        6.8165        .70854E-03   -1.5142    
  19  Normalizat    .86431        .21006        .38050E-03   -.97726    
  20  Prefactor     1.0602        .93913E-01    .15842E-03   -.90750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63288e-09
Minuit parameter uncertainties:
  1  6.51069
  2  0.000304573
  3  7.0645
  4  1.06118e-05
  5  0.520142
  6  0.000256576
  7  8.81775e-06
  8  2.76263e-07
  9  5.58726e-05
  10  2.91712
  11  8.57375
  12  6.16781e-05
  13  54.2772
  14  0.254165
  15  0.000121341
  16  1.44259
  17  2.8423e-05
  18  6.81711
  19  0.210262
  20  0.0939275
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  4.594e+00  2.917e+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:  1.060e+00  9.393e-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:  8.643e-01  2.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.76
Ra Dec: 305.591 -45.223
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 2.39e-08
Energy Flux (Fixed Index): 2.18e-05 +/- 1.38e-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) = 12051.4884692
delta logL = 0.216693471832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12051.4836854
delta logL = 0.221477246592

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9167       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3708       1.0000          .0000       5.0000    
     3 'Normalizat'    .84635       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0643       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=   12051.48     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9167        44.862        .50963E-02    .15922E-02
   2  alpha         2.3708        3.6717        .29854        .99028E-04
   3  Normalizat    .84634        .86821E-01    .86745E-01   -.30874E-05
   4  Prefactor     1.0643        .31002E-01    .39137E-01    .24963E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.91669
  alpha      = 2.37079
  Normalizat = 0.846342
  Prefactor  = 1.06429
 **********
 **   18 **HESSE 
 **********

 FCN=   12051.48     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9167        2.9320        .12138E-03   -1.5312    
   2  alpha         2.3708        .54908        .15017E-01   -.51706E-01
   3  Normalizat    .84634        .20314        .38414E-03   -.98372    
   4  Prefactor     1.0643        .92430E-01    .15812E-03   -.90616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18035e-10
Minuit parameter uncertainties:
  1  2.93206
  2  0.553602
  3  0.20332
  4  0.0924443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853537': 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) = 12051.4836854
delta logL = 0.221477248433

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  3.917e+00  2.932e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.371e+00  5.536e-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:  1.064e+00  9.244e-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:  8.463e-01  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.21
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 2.37 +/- 0.55
Photon Flux (Free Index): 5.18e-08 +/- 3.53e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.18e-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/853537/cmap_HighResolution_520041601_520300801_4FGL_J2022.3-4513_daily_bin1083.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.85e-05', photon_flux_error='2.39e-08', dlogl='2.21e-01', energy_flux='2.18e-05', photon_flux2='5.18e-08', job_status='DONE', time_completed='2021-09-25 01:17:10.178521', photon_index_error2='0.55', photon_index2='2.37', ts='4.76', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.18e-05', EG='0.86', time_epoch_completed='1632557830.18', return_code='0', job_id='853537', GAL2='1.06', EG2='0.85', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.53e-08', ts2='5.21', photon_index='2.02' WHERE bin_id='1083' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:17:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 853537: <4FGL_J2022.3-4513_daily_bin1083> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1083 305.591 -45.2228 520041601 520300801 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 :                                   791.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            906 sec.

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

