/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 46 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 = 7468
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1473
RA = 305.591, Dec = -45.2228
tmin = 621129601, tmax = 621388801
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='858684', job_status='RUN', time_executed='2021-09-25 01:18:17.136370', time_epoch_executed='1632557897.14' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/858684

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/858684/ft1_4FGL_J2022.3-4513_daily_bin1473.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/858684/ft2_4FGL_J2022.3-4513_daily_bin1473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/858684/ft1_4FGL_J2022.3-4513_daily_bin1473.fits outfile=/scratch/kocevski/858684/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1473.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=621129601.0 tmax=621388801.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.13
user 2.87
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/858684/ft1_filtered_4FGL_J2022.3-4513_daily_bin1473.fits" evtable="EVENTS" scfile=/scratch/kocevski/858684/ft2_4FGL_J2022.3-4513_daily_bin1473.fits sctable="SC_DATA" outfile=/scratch/kocevski/858684/ltcube_621129601_621388801_4FGL_J2022.3-4513_daily_bin1473.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/858684/ft2_4FGL_J2022.3-4513_daily_bin1473.fits
.....................!
real 13.83
user 13.30
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/858684/ft1_filtered_4FGL_J2022.3-4513_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/858684/ft2_4FGL_J2022.3-4513_daily_bin1473.fits sctable="SC_DATA" expcube=/scratch/kocevski/858684/ltcube_621129601_621388801_4FGL_J2022.3-4513_daily_bin1473.fits outfile=/scratch/kocevski/858684/expmap_621129601_621388801_4FGL_J2022.3-4513_daily_bin1473.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/858684/ltcube_621129601_621388801_4FGL_J2022.3-4513_daily_bin1473.fits
.....................!
real 191.55
user 186.57
sys 4.17

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/858684/ft1_filtered_4FGL_J2022.3-4513_daily_bin1473.fits scfile=/scratch/kocevski/858684/ft2_4FGL_J2022.3-4513_daily_bin1473.fits outfile=/scratch/kocevski/858684/cmap_621129601_621388801_4FGL_J2022.3-4513_daily_bin1473.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/858684/ft1_filtered_4FGL_J2022.3-4513_daily_bin1473.fits scfile=/scratch/kocevski/858684/ft2_4FGL_J2022.3-4513_daily_bin1473.fits outfile=/scratch/kocevski/858684/cmap_HighResolution_621129601_621388801_4FGL_J2022.3-4513_daily_bin1473.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/858684/ft1_filtered_4FGL_J2022.3-4513_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/858684/ft2_4FGL_J2022.3-4513_daily_bin1473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/858684/Model_4FGL_J2022.3-4513_daily_bin1473.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/858684/ft1_filtered_4FGL_J2022.3-4513_daily_bin1473.fits.....................!
real 50.76
user 49.43
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7007       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.9728       1.0000         .10000E-03   10000.    
     4 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.8490       1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.3456       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    26.434       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.146       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .67577       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.7422       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    19.496       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10351E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.7606       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .83257       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=   5408.751     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2144 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7000        8.8251       -.94920E-05   -.45305E-04
   2  Prefactor     .10000E-03    16.815       -.18680E-06** at limit **
   3  Prefactor     9.9732        13.764       -.75247E-05    .42683E-05
   4  norm          .10000E-03    31.770        .16375E-06** at limit **
   5  norm          6.8491        1.8729        .22930E-07    .32918E-03
   6  norm          .10000E-03    4.4258        .43416E-07** at limit **
   7  norm          4.3407        28.930       -.20360E-04   -.10521E-04
   8  norm          .10000E-03    1.1659       -.26151E-07** at limit **
   9  Prefactor     .10000E-03    27.759        .81167E-07** at limit **
  10  norm          .10000E-03    2.1862        .49748E-07** at limit **
  11  norm          26.434        27.077       -.39460E-04    .64797E-04
  12  Prefactor     28.151        43.032        .58337E-04    .10878E-03
  13  Prefactor     .27279E-03    125.17       -.18025E-04** at limit **
  14  Prefactor     8.7403        5.4992       -.46204E-06   -.67061E-05
  15  Prefactor     .10000E-03    10.996       -.11723E-06** at limit **
  16  norm          19.495        5.8310       -.45265E-06    .53523E-03
  17  Prefactor     .10000E-03    197.90       -.31162E-06** at limit **
  18  Prefactor     .10000E-03    17.153        .35345E-06** at limit **
  19  Normalizat    1.7608        .34058        .35996E-05    .33181E-03
  20  Prefactor     .83251        .13303        .25844E-05    .38464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70002
  Prefactor  = 0.0001
  Prefactor  = 9.97318
  norm       = 0.0001
  norm       = 6.84906
  norm       = 0.0001
  norm       = 4.3407
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 26.4345
  Prefactor  = 28.1507
  Prefactor  = 0.000272795
  Prefactor  = 8.74028
  Prefactor  = 0.0001
  norm       = 19.4952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.76082
  Prefactor  = 0.832508
 **********
 **   18 **HESSE 
 **********

 FCN=   5408.751     FROM HESSE     STATUS=OK           291 CALLS     2435 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7000        8.8384        .14451E-03   -1.5153    
   2  Prefactor     .10000E-03    16.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.9732        13.779        .12689E-03   -1.5076    
   4  norm          .10000E-03    31.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.8491        1.8735        .50449E-04   -1.5184    
   6  norm          .10000E-03    4.4382        .15108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.3407        28.985        .19323E-03   -1.5291    
   8  norm          .10000E-03    1.8522        .15419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    27.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.1991        .10616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          26.434        27.023        .77917E-04   -1.4679    
  12  Prefactor     28.151        43.134        .75515E-04   -1.4646    
  13  Prefactor     .27279E-03    124.43        .24701       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.7403        5.5084        .13229E-03   -1.5117    
  15  Prefactor     .10000E-03    10.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          19.495        5.8584        .90711E-04   -1.4825    
  17  Prefactor     .10000E-03    198.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.7608        .40740        .36646E-03   -.70691    
  20  Prefactor     .83251        .15889        .19998E-03   -.98541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71707e-10
Minuit parameter uncertainties:
  1  8.83991
  2  8.38066e-05
  3  13.7833
  4  6.40979e-05
  5  1.87349
  6  2.38507e-05
  7  22.449
  8  2.19254e-05
  9  3.0167e-05
  10  3.56153e-06
  11  27.0353
  12  43.1815
  13  0.293878
  14  5.5087
  15  8.08947e-06
  16  5.85857
  17  0.000155456
  18  1.86983e-05
  19  0.408185
  20  0.158983
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  3.562e-06  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:  8.325e-01  1.590e-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.761e+00  4.082e-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: 8.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/858684/likelihoodResults_621129601_621388801_4FGL_J2022.3-4513_daily_bin1473.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) = 5408.75300148
delta logL = -0.00214739927651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5408.75085409
delta logL = -1.61371644936e-08

Fit tolerance = 1e-08

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

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

 FCN=   5408.751     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      237 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    536.99        .10618E-02** at limit **
   2  alpha         2.0770        3.4934        .16856        .13894E-07
   3  Normalizat    1.7608        .36727        .36646E-03   -.15263E-04
   4  Prefactor     .83251        .14608        .19998E-03   -.28993E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.07701
  Normalizat = 1.76081
  Prefactor  = 0.832509
 **********
 **   18 **HESSE 
 **********

 FCN=   5408.751     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2042        .21235E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0770        3.0557        .67424E-02   -.17001    
   3  Normalizat    1.7608        .39185        .14659E-04   -.70691    
   4  Prefactor     .83251        .15588        .79992E-05   -.98541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66058e-12
Minuit parameter uncertainties:
  1  2.16678e-06
  2  175.99
  3  0.392551
  4  0.155963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/858684': 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) = 5408.75085403
delta logL = 4.99330781167e-08

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  2.167e-06  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.077e+00  1.760e+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:  8.325e-01  1.560e-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.761e+00  3.926e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/858684/cmap_HighResolution_621129601_621388801_4FGL_J2022.3-4513_daily_bin1473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-05', job_status='DONE', photon_flux_upper_limit='8.01e-08', time_completed='2021-09-25 01:27:53.997526', job_id='858684', GAL2='0.83', fit_tolerance='1e-08', EG2='1.76', EG='1.76', time_epoch_completed='1632558474.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.99e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1473' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:27:54 PDT 2021


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

Job <4FGL_J2022.3-4513_daily_bin1473> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 01:15:55 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 01:17:06 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:17:06 2021
Terminated at Sat Sep 25 01:27:54 2021
Results reported at Sat Sep 25 01:27:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1473 305.591 -45.2228 621129601 621388801 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 :                                   567.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            719 sec.

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

