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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1483
RA = 305.591, Dec = -45.2228
tmin = 623721601, tmax = 623980801
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='858712', job_status='RUN', time_executed='2021-09-25 01:17:38.897798', time_epoch_executed='1632557858.9' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/858712

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/858712/ft1_4FGL_J2022.3-4513_daily_bin1483.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/858712/ft2_4FGL_J2022.3-4513_daily_bin1483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/858712/ft1_4FGL_J2022.3-4513_daily_bin1483.fits outfile=/scratch/kocevski/858712/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1483.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=623721601.0 tmax=623980801.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 5.21
user 4.92
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/858712/ft1_filtered_4FGL_J2022.3-4513_daily_bin1483.fits" evtable="EVENTS" scfile=/scratch/kocevski/858712/ft2_4FGL_J2022.3-4513_daily_bin1483.fits sctable="SC_DATA" outfile=/scratch/kocevski/858712/ltcube_623721601_623980801_4FGL_J2022.3-4513_daily_bin1483.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/858712/ft2_4FGL_J2022.3-4513_daily_bin1483.fits
.....................!
real 12.90
user 12.52
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/858712/ft1_filtered_4FGL_J2022.3-4513_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/858712/ft2_4FGL_J2022.3-4513_daily_bin1483.fits sctable="SC_DATA" expcube=/scratch/kocevski/858712/ltcube_623721601_623980801_4FGL_J2022.3-4513_daily_bin1483.fits outfile=/scratch/kocevski/858712/expmap_623721601_623980801_4FGL_J2022.3-4513_daily_bin1483.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/858712/ltcube_623721601_623980801_4FGL_J2022.3-4513_daily_bin1483.fits
.....................!
real 193.55
user 187.47
sys 5.59

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/858712/ft1_filtered_4FGL_J2022.3-4513_daily_bin1483.fits scfile=/scratch/kocevski/858712/ft2_4FGL_J2022.3-4513_daily_bin1483.fits outfile=/scratch/kocevski/858712/cmap_623721601_623980801_4FGL_J2022.3-4513_daily_bin1483.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/858712/ft1_filtered_4FGL_J2022.3-4513_daily_bin1483.fits scfile=/scratch/kocevski/858712/ft2_4FGL_J2022.3-4513_daily_bin1483.fits outfile=/scratch/kocevski/858712/cmap_HighResolution_623721601_623980801_4FGL_J2022.3-4513_daily_bin1483.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.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/858712/ft1_filtered_4FGL_J2022.3-4513_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/858712/ft2_4FGL_J2022.3-4513_daily_bin1483.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/858712/Model_4FGL_J2022.3-4513_daily_bin1483.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/858712/ft1_filtered_4FGL_J2022.3-4513_daily_bin1483.fits.....................!
real 60.11
user 58.75
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.845       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.1707       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.8936       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.2869       1.0000         .10000E-03   10000.    
     6 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    166.39       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3441       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.752       1.0000         .10000E-03   10000.    
    10 'norm      '    .10736E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .11435E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.129       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14995E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.054       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.5255       1.0000         .10000E-03   10000.    
    16 'norm      '    12.554       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .51466E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1283       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0391       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=   7040.153     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     2086 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.844        11.865       -.41958E-07    .37805E-04
   2  Prefactor     7.1701        15.770       -.27958E-06    .26389E-05
   3  Prefactor     9.8930        10.061        .25053E-07    .36224E-04
   4  norm          .10000E-03    11.532       -.33432E-08** at limit **
   5  norm          1.2867        1.3318       -.37776E-06   -.16889E-03
   6  norm          .10000E-03    4.0363       -.29937E-06** at limit **
   7  norm          166.40        39.957       -.61468E-06   -.61405E-04
   8  norm          3.3440        1.8498        .18144E-07    .29269E-04
   9  Prefactor     24.752        61.614        .70676E-07    .84331E-05
  10  norm          .10000E-03    2.9078       -.20968E-06** at limit **
  11  norm          .10000E-03    20.404        .46178E-05** at limit **
  12  Prefactor     27.073        50.711        .47166E-05    .10069E-03
  13  Prefactor     .10000E-03    125.44        .36243E-05** at limit **
  14  Prefactor     17.055        5.6431        .15200E-06    .36501E-04
  15  Prefactor     9.5264        26.272       -.71072E-05    .13627E-04
  16  norm          12.555        3.7225        .11367E-06    .65045E-04
  17  Prefactor     .10000E-03    28.732        .68953E-06** at limit **
  18  Prefactor     .10000E-03    54.995        .21590E-04** at limit **
  19  Normalizat    1.1282        .32653        .17171E-05    .86658E-04
  20  Prefactor     1.0392        .13286       -.92307E-07   -.65251E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.8442
  Prefactor  = 7.17009
  Prefactor  = 9.89301
  norm       = 0.0001
  norm       = 1.28668
  norm       = 0.0001
  norm       = 166.404
  norm       = 3.34397
  Prefactor  = 24.7519
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 27.0725
  Prefactor  = 0.0001
  Prefactor  = 17.0546
  Prefactor  = 9.52638
  norm       = 12.5549
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.12823
  Prefactor  = 1.0392
 **********
 **   18 **HESSE 
 **********

 FCN=   7040.153     FROM HESSE     STATUS=OK           297 CALLS     2383 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.844        11.860        .77319E-04   -1.4671    
   2  Prefactor     7.1701        15.763        .14980E-03   -1.5172    
   3  Prefactor     9.8930        10.066        .12740E-03   -1.5079    
   4  norm          .10000E-03    11.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2867        1.3146        .94018E-04   -1.5481    
   6  norm          .10000E-03    4.0403        .16459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          166.40        39.663        .15635E-03   -1.3121    
   8  norm          3.3440        1.8519        .82576E-04   -1.5342    
   9  Prefactor     24.752        61.581        .80516E-04   -1.4713    
  10  norm          .10000E-03    8.8852        .27547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    20.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.073        51.236        .76914E-04   -1.4667    
  13  Prefactor     .10000E-03    125.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.055        5.6436        .96984E-04   -1.4882    
  15  Prefactor     9.5264        26.530        .64922E-03   -1.5091    
  16  norm          12.555        3.7372        .82709E-04   -1.4999    
  17  Prefactor     .10000E-03    28.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    54.121        .42804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1282        .37333        .43965E-03   -.88851    
  20  Prefactor     1.0392        .15458        .19490E-03   -.91434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99579e-10
Minuit parameter uncertainties:
  1  11.8611
  2  15.7722
  3  10.0678
  4  3.39355e-06
  5  1.31461
  6  5.3503e-06
  7  39.6694
  8  1.85192
  9  61.7393
  10  6.04917e-05
  11  0.000193604
  12  51.3195
  13  0.000487842
  14  5.64375
  15  26.5628
  16  3.73724
  17  0.000112544
  18  0.000292135
  19  0.374206
  20  0.154644
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  6.049e-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.039e+00  1.546e-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.128e+00  3.742e-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.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/858712/likelihoodResults_623721601_623980801_4FGL_J2022.3-4513_daily_bin1483.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) = 7040.15305531
delta logL = -0.000533432118573

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7040.15252098
delta logL = 9.00829945749e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10394E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0947       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1283       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0392       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=   7040.153     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      272 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10996E-03    9.6888        .43737E-01** at limit **
   2  alpha         2.4241        3.5274        .16743E-01   -.34964E-05
   3  Normalizat    1.1282        .14814E-01    .43964E-03    .10176E-03
   4  Prefactor     1.0392        .63788E-02    .19490E-03    .20550E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010996
  alpha      = 2.42408
  Normalizat = 1.12822
  Prefactor  = 1.0392
 **********
 **   18 **HESSE 
 **********

 FCN=   7040.153     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      305 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10996E-03    10.901        .42923E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4241        3.6407        .33485E-02   -.30374E-01
   3  Normalizat    1.1282        .15549E-01    .17586E-04   -.88851    
   4  Prefactor     1.0392        .66954E-02    .38979E-04   -.91434    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.20644e-10
Minuit parameter uncertainties:
  1  0.0208438
  2  285.614
  3  0.0155492
  4  0.00669538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/858712': 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): 102
logL (Free Index) = 7040.15251837
delta logL = 3.50935533788e-06

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.100e-04  2.084e-02  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.424e+00  2.856e+02  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  1.015e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  1.039e+00  6.695e-03  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.128e+00  1.555e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/858712/cmap_HighResolution_623721601_623980801_4FGL_J2022.3-4513_daily_bin1483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.10e-05', job_status='DONE', photon_flux_upper_limit='8.81e-08', time_completed='2021-09-25 01:28:38.342703', job_id='858712', GAL2='1.04', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1632558518.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.51e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1483' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:28:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 858712: <4FGL_J2022.3-4513_daily_bin1483> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1483 305.591 -45.2228 623721601 623980801 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 :                                   650.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            763 sec.

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

