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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1503
RA = 305.591, Dec = -45.2228
tmin = 628905601, tmax = 629164801
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='858774', job_status='RUN', time_executed='2021-09-25 01:18:13.116655', time_epoch_executed='1632557893.12' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1503'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/858774

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/858774/ft1_4FGL_J2022.3-4513_daily_bin1503.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/858774/ft2_4FGL_J2022.3-4513_daily_bin1503.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/858774/ft1_4FGL_J2022.3-4513_daily_bin1503.fits outfile=/scratch/kocevski/858774/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1503.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=628905601.0 tmax=629164801.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.63
user 3.36
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/858774/ft1_filtered_4FGL_J2022.3-4513_daily_bin1503.fits" evtable="EVENTS" scfile=/scratch/kocevski/858774/ft2_4FGL_J2022.3-4513_daily_bin1503.fits sctable="SC_DATA" outfile=/scratch/kocevski/858774/ltcube_628905601_629164801_4FGL_J2022.3-4513_daily_bin1503.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/858774/ft2_4FGL_J2022.3-4513_daily_bin1503.fits
.....................!
real 16.96
user 16.36
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/858774/ft1_filtered_4FGL_J2022.3-4513_daily_bin1503.fits evtable="EVENTS" scfile=/scratch/kocevski/858774/ft2_4FGL_J2022.3-4513_daily_bin1503.fits sctable="SC_DATA" expcube=/scratch/kocevski/858774/ltcube_628905601_629164801_4FGL_J2022.3-4513_daily_bin1503.fits outfile=/scratch/kocevski/858774/expmap_628905601_629164801_4FGL_J2022.3-4513_daily_bin1503.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/858774/ltcube_628905601_629164801_4FGL_J2022.3-4513_daily_bin1503.fits
.....................!
real 197.24
user 190.51
sys 5.65

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/858774/ft1_filtered_4FGL_J2022.3-4513_daily_bin1503.fits scfile=/scratch/kocevski/858774/ft2_4FGL_J2022.3-4513_daily_bin1503.fits outfile=/scratch/kocevski/858774/cmap_628905601_629164801_4FGL_J2022.3-4513_daily_bin1503.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.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/858774/ft1_filtered_4FGL_J2022.3-4513_daily_bin1503.fits scfile=/scratch/kocevski/858774/ft2_4FGL_J2022.3-4513_daily_bin1503.fits outfile=/scratch/kocevski/858774/cmap_HighResolution_628905601_629164801_4FGL_J2022.3-4513_daily_bin1503.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/858774/ft1_filtered_4FGL_J2022.3-4513_daily_bin1503.fits evtable="EVENTS" scfile=/scratch/kocevski/858774/ft2_4FGL_J2022.3-4513_daily_bin1503.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/858774/Model_4FGL_J2022.3-4513_daily_bin1503.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/858774/ft1_filtered_4FGL_J2022.3-4513_daily_bin1503.fits.....................!
real 64.93
user 63.36
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9542       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10342E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.0410       1.0000         .10000E-03   10000.    
     4 'norm      '    25.557       1.0000         .10000E-03   10000.    
     5 'norm      '    4.2412       1.0000         .10000E-03   10000.    
     6 'norm      '    .12046E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    16.201       1.0000         .10000E-03   10000.    
     8 'norm      '    .94663       1.0000         .10000E-03   10000.    
     9 'Prefactor '    46.486       1.0000         .10000E-03   10000.    
    10 'norm      '    .27919E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.804       1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.240       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .28321E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.438       1.0000         .10000E-03   10000.    
    15 'Prefactor '    46.789       1.0000         .10000E-03   10000.    
    16 'norm      '    3.1796       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .40152E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8522       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .41129       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3282       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=   7750.807     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     1530 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9510        5.3500        .41507E-05   -.12019E-02
   2  Prefactor     .10000E-03    7.0564       -.52501E-07** at limit **
   3  Prefactor     8.0492        15.405       -.47896E-06   -.58260E-04
   4  norm          25.422        21.793        .24491E-05    .52182E-03
   5  norm          4.2437        1.5520        .34485E-07    .29360E-04
   6  norm          .10000E-03    3.5905        .61562E-08** at limit **
   7  norm          16.128        13.887        .79078E-07    .61579E-07
   8  norm          .94180        1.9651        .53822E-06   -.13218E-03
   9  Prefactor     43.816        45.123       -.21762E-06   -.45099E-04
  10  norm          .10000E-03    2.8168        .16151E-06** at limit **
  11  norm          10.458        21.894        .70034E-06   -.11242E-03
  12  Prefactor     37.901        31.223       -.29096E-05   -.53200E-03
  13  Prefactor     .10000E-03    45.544       -.15560E-06** at limit **
  14  Prefactor     13.372        4.6522        .79546E-07    .69726E-04
  15  Prefactor     47.100        24.972       -.29902E-06   -.93947E-04
  16  norm          3.1758        2.2222        .16439E-06    .28095E-06
  17  Prefactor     .10016E-03    155.15       -.20134E-04** at limit **
  18  Prefactor     5.7401        8.7305        .34845E-06   -.78361E-05
  19  Normalizat    .41159        .33728       -.33601E-05   -.36985E-04
  20  Prefactor     1.3286        .14903        .34011E-06    .33179E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95102
  Prefactor  = 0.0001
  Prefactor  = 8.04923
  norm       = 25.4217
  norm       = 4.24365
  norm       = 0.0001
  norm       = 16.1285
  norm       = 0.941796
  Prefactor  = 43.8163
  norm       = 0.0001
  norm       = 10.4576
  Prefactor  = 37.9005
  Prefactor  = 0.0001
  Prefactor  = 13.3717
  Prefactor  = 47.0997
  norm       = 3.1758
  Prefactor  = 0.000100158
  Prefactor  = 5.74008
  Normalizat = 0.411587
  Prefactor  = 1.32864
 **********
 **   18 **HESSE 
 **********

 FCN=   7750.807     FROM HESSE     STATUS=OK           295 CALLS     1825 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9510        5.6003        .10143E-02   -1.5310    
   2  Prefactor     .10000E-03    7.0585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.0492        15.389        .14139E-03   -1.5140    
   4  norm          25.422        22.190        .39620E-03   -1.4699    
   5  norm          4.2437        1.5509        .63157E-04   -1.5296    
   6  norm          .10000E-03    3.6023        .16290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          16.128        13.832        .99507E-04   -1.4905    
   8  norm          .94180        1.9116        .17005E-03   -1.5514    
   9  Prefactor     43.816        45.115        .29404E-03   -1.4383    
  10  norm          .10000E-03    7.0545        .28381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.458        21.899        .12189E-03   -1.5061    
  12  Prefactor     37.901        31.862        .65676E-04   -1.4476    
  13  Prefactor     .10000E-03    45.614        .21414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.372        4.6358        .10665E-03   -1.4976    
  15  Prefactor     47.100        24.759        .58618E-04   -1.4334    
  16  norm          3.1758        2.1886        .10198E-03   -1.5352    
  17  Prefactor     .10016E-03    166.88        .18444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.7401        8.6735        .16601E-03   -1.5229    
  19  Normalizat    .41159        .30080        .61352E-03   -1.1671    
  20  Prefactor     1.3286        .13842        .16573E-03   -.82459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33463e-09
Minuit parameter uncertainties:
  1  5.601
  2  6.66089e-06
  3  15.3965
  4  22.1974
  5  1.55092
  6  4.15046e-07
  7  13.8351
  8  1.91169
  9  45.1498
  10  3.60808e-05
  11  21.9154
  12  31.8767
  13  1.40163e-05
  14  4.63596
  15  24.7646
  16  2.18863
  17  0.0102824
  18  8.6754
  19  0.301993
  20  0.138458
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  3.608e-05  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.329e+00  1.385e-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:  4.116e-01  3.020e-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: 7.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/858774/likelihoodResults_628905601_629164801_4FGL_J2022.3-4513_daily_bin1503.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) = 7750.80718107
delta logL = -0.000672639826917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7750.80650497
delta logL = 3.4592794691e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10748E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1431       1.0000          .0000       5.0000    
     3 'Normalizat'    .41129       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3288       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=   7750.112     FROM MIGRAD    STATUS=CONVERGED    174 CALLS      344 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35097E-01    .42500E-01    .16640E-03   -.17212E-02
   2  alpha         5.0000        3.1760        .50000    ** at limit **
   3  Normalizat    .31890        .29777        .69321E-03    .27929E-04
   4  Prefactor     1.3545        .13686        .16432E-03    .18742E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0350969
  alpha      = 5
  Normalizat = 0.318903
  Prefactor  = 1.35455
 **********
 **   18 **HESSE 
 **********

 FCN=   7750.112     FROM HESSE     STATUS=OK            31 CALLS      375 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35097E-01    .40569E-01    .66559E-05   -1.5671    
   2  alpha         5.0000        3.1223        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .31890        .29778        .27728E-04   -1.2173    
   4  Prefactor     1.3545        .13677        .65729E-05   -.81699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84554e-11
Minuit parameter uncertainties:
  1  0.0405687
  2  6.45543e-07
  3  0.299269
  4  0.136802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/858774': 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) = 7750.11210756
delta logL = 0.694400868684

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  3.510e-02  4.057e-02  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  5.000e+00  6.455e-07  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.355e+00  1.368e-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:  3.189e-01  2.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.49
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.18e-08 +/- 7.10e-08
Energy Flux (Free Index): 8.48e-06 +/- 9.77e-06

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/858774/cmap_HighResolution_628905601_629164801_4FGL_J2022.3-4513_daily_bin1503.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-05', comment='SUCCESS', energy_flux2='8.48e-06', dlogl='6.94e-01', photon_flux2='6.18e-08', job_status='DONE', time_completed='2021-09-25 01:29:01.018904', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', photon_flux_upper_limit='7.77e-08', energy_flux_error2='9.77e-06', EG='0.41', time_epoch_completed='1632558541.02', return_code='0', job_id='858774', GAL2='1.35', EG2='0.32', return_code2='0', photon_flux_error2='7.10e-08', ts2='1.49', photon_index='2.02' WHERE bin_id='1503' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:29:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 858774: <4FGL_J2022.3-4513_daily_bin1503> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1503 305.591 -45.2228 628905601 629164801 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 :                                   642.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            783 sec.

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

