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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1633
RA = 305.591, Dec = -45.2228
tmin = 662601601, tmax = 662860801
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='692820', job_status='RUN', time_executed='2022-01-03 00:38:29.915409', time_epoch_executed='1641199109.92' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1633'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692820

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692820/ft1_4FGL_J2022.3-4513_daily_bin1633.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692820/ft2_4FGL_J2022.3-4513_daily_bin1633.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692820/ft1_4FGL_J2022.3-4513_daily_bin1633.fits outfile=/scratch/kocevski/692820/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1633.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=662601601.0 tmax=662860801.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 2.94
user 2.75
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/692820/ft1_filtered_4FGL_J2022.3-4513_daily_bin1633.fits" evtable="EVENTS" scfile=/scratch/kocevski/692820/ft2_4FGL_J2022.3-4513_daily_bin1633.fits sctable="SC_DATA" outfile=/scratch/kocevski/692820/ltcube_662601601_662860801_4FGL_J2022.3-4513_daily_bin1633.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/692820/ft2_4FGL_J2022.3-4513_daily_bin1633.fits
.....................!
real 13.05
user 12.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692820/ft1_filtered_4FGL_J2022.3-4513_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/692820/ft2_4FGL_J2022.3-4513_daily_bin1633.fits sctable="SC_DATA" expcube=/scratch/kocevski/692820/ltcube_662601601_662860801_4FGL_J2022.3-4513_daily_bin1633.fits outfile=/scratch/kocevski/692820/expmap_662601601_662860801_4FGL_J2022.3-4513_daily_bin1633.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/692820/ltcube_662601601_662860801_4FGL_J2022.3-4513_daily_bin1633.fits
.....................!
real 189.67
user 184.91
sys 4.34

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/692820/ft1_filtered_4FGL_J2022.3-4513_daily_bin1633.fits scfile=/scratch/kocevski/692820/ft2_4FGL_J2022.3-4513_daily_bin1633.fits outfile=/scratch/kocevski/692820/cmap_662601601_662860801_4FGL_J2022.3-4513_daily_bin1633.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.52
user 0.36
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/692820/ft1_filtered_4FGL_J2022.3-4513_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/692820/ft2_4FGL_J2022.3-4513_daily_bin1633.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692820/Model_4FGL_J2022.3-4513_daily_bin1633.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/692820/ft1_filtered_4FGL_J2022.3-4513_daily_bin1633.fits......................!
real 27.31
user 26.07
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     2 'Prefactor '    88.111       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15430       1.0000         .10000E-03   10000.    
     4 'norm      '    455.30       1.0000         .10000E-03   10000.    
     5 'norm      '    5.3360       1.0000         .10000E-03   10000.    
     6 'norm      '    .11908E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .10794E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .23883E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    .69373       1.0000         .10000E-03   10000.    
    11 'norm      '    .26563E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .43286E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3869       1.0000         .10000E-03   10000.    
    16 'norm      '    3.4494       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .28830E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.1992       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2245.563     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     1788 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        366.82       -.14433E-04** at limit **
   2  Prefactor    10000.0        8542.7        .11438E-03** at limit **
   3  Prefactor     .10000E-03    104.04        .35775E-05** at limit **
   4  norm          399.25        384.02       -.14035E-05    .13770E-04
   5  norm          5.1403        6.0840        .51547E-06    .37466E-04
   6  norm          .10000E-03    61.028        .32774E-05** at limit **
   7  norm          .10000E-03    20.546       -.29199E-06** at limit **
   8  norm          .10000E-03    2.9318       -.33934E-06** at limit **
   9  Prefactor     .10000E-03    69.234        .80088E-05** at limit **
  10  norm          .57850        9.6826        .20231E-05   -.83800E-04
  11  norm          .10000E-03    21.634        .32106E-06** at limit **
  12  Prefactor     .10000E-03    17.918       -.60119E-06** at limit **
  13  Prefactor     .10000E-03    86.827       -.33000E-05** at limit **
  14  Prefactor     .10000E-03    6.7206        .14113E-06** at limit **
  15  Prefactor     3.7382        86.399       -.49860E-05    .51233E-05
  16  norm          3.3415        2.9943        .51482E-06   -.10595E-03
  17  Prefactor     .10000E-03    54.464        .17922E-05** at limit **
  18  Prefactor     6.2513        9.0487        .29078E-06    .47768E-04
  19  Normalizat    .10000E-01    .25076        .18714E-04** at limit **
  20  Prefactor     1.3018        .13134        .12357E-05    .35849E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  norm       = 399.254
  norm       = 5.14028
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.578503
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.73819
  norm       = 3.34149
  Prefactor  = 0.0001
  Prefactor  = 6.25128
  Normalizat = 0.01
  Prefactor  = 1.30184
 **********
 **   18 **HESSE 
 **********

 FCN=   2245.563     FROM HESSE     STATUS=OK           329 CALLS     2117 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        364.77        .90712E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        8540.2        .10701E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    102.33        .97670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          399.25        374.98        .47970E-03   -1.1685    
   5  norm          5.1403        6.2401        .43495E-02   -1.5254    
   6  norm          .10000E-03    55.055        .10322E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    19.772        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.8085        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    70.103        .10031E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .57850        10.260        .12038E-01   -1.5556    
  11  norm          .10000E-03    20.102        .10720E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.620        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    84.754        .96973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.1231        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7382        87.690        .43286E-02   -1.5321    
  16  norm          3.3415        3.0203        .54440E-02   -1.5342    
  17  Prefactor     .10000E-03    53.980        .91662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.2513        9.1493        .40309E-02   -1.5208    
  19  Normalizat    .10000E-01    .20699        .21904       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.3018        .14125        .32294E-01   -.83252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15622e-09
Minuit parameter uncertainties:
  1  0.00290199
  2  0.0439546
  3  7.32736e-05
  4  377.31
  5  6.24094
  6  0.000454376
  7  6.08425e-05
  8  7.68767e-06
  9  0.000302845
  10  4.87307
  11  0.00016802
  12  8.80729e-06
  13  0.000112657
  14  1.72172e-05
  15  36.2701
  16  3.02046
  17  4.96546e-05
  18  9.15139
  19  3.99049e-07
  20  0.141296
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  5.785e-01  4.873e+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.302e+00  1.413e-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.000e-02  3.990e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 305.591 -45.223
Photon Flux Upper Limit: 1.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/692820/likelihoodResults_662601601_662860801_4FGL_J2022.3-4513_daily_bin1633.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) = 2245.56229443
delta logL = 0.000669088902669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2245.56177868
delta logL = 0.00118483324195

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2245.562     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      292 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66274        11.614        .29504E-03   -.35912E-04
   2  alpha         1.9011        3.3943        .37887E-01   -.16021E-05
   3  Normalizat    .10000E-01    .23574        .11388E-01** at limit **
   4  Prefactor     1.3018        .11634        .15905E-03   -.78985E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.662737
  alpha      = 1.90109
  Normalizat = 0.01
  Prefactor  = 1.30176
 **********
 **   18 **HESSE 
 **********

 FCN=   2245.562     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66274        10.715        .11802E-04   -1.5545    
   2  alpha         1.9011        2.0274        .15155E-02   -.24192    
   3  Normalizat    .10000E-01    .23582        .22777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3018        .11627        .63619E-05   -.83255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86786e-10
Minuit parameter uncertainties:
  1  5.33033
  2  2.39959
  3  1.32404e-05
  4  0.116288
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692820': 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) = 2245.56177783
delta logL = 0.00118568930793

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  6.627e-01  5.330e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  1.901e+00  2.400e+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.302e+00  1.163e-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.000e-02  1.324e-05  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/692820/cmap_HighResolution_662601601_662860801_4FGL_J2022.3-4513_daily_bin1633.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.21e-05', job_status='DONE', photon_flux_upper_limit='1.59e-07', time_completed='2022-01-03 00:45:15.875535', job_id='692820', GAL2='1.30', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1641199515.88', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='1.19e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1633' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan  3 00:45:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 692820: <4FGL_J2022.3-4513_daily_bin1633> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin1633> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Mon Jan  3 00:35:15 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan  3 00:35:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan  3 00:35:16 2022
Terminated at Mon Jan  3 00:45:16 2022
Results reported at Mon Jan  3 00:45:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1633 305.591 -45.2228 662601601 662860801 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 :                                   408.42 sec.
    Max Memory :                                 1231 MB
    Average Memory :                             258.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            601 sec.

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

