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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1054
RA = 305.591, Dec = -45.2228
tmin = 512524801, tmax = 512784001
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='853493', job_status='RUN', time_executed='2021-09-25 01:04:48.187554', time_epoch_executed='1632557088.19' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1054'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853493

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853493/ft1_4FGL_J2022.3-4513_daily_bin1054.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853493/ft2_4FGL_J2022.3-4513_daily_bin1054.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853493/ft1_4FGL_J2022.3-4513_daily_bin1054.fits outfile=/scratch/kocevski/853493/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1054.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=512524801.0 tmax=512784001.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.68
user 3.43
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853493/ft1_filtered_4FGL_J2022.3-4513_daily_bin1054.fits" evtable="EVENTS" scfile=/scratch/kocevski/853493/ft2_4FGL_J2022.3-4513_daily_bin1054.fits sctable="SC_DATA" outfile=/scratch/kocevski/853493/ltcube_512524801_512784001_4FGL_J2022.3-4513_daily_bin1054.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/853493/ft2_4FGL_J2022.3-4513_daily_bin1054.fits
.....................!
real 13.44
user 13.02
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853493/ft1_filtered_4FGL_J2022.3-4513_daily_bin1054.fits evtable="EVENTS" scfile=/scratch/kocevski/853493/ft2_4FGL_J2022.3-4513_daily_bin1054.fits sctable="SC_DATA" expcube=/scratch/kocevski/853493/ltcube_512524801_512784001_4FGL_J2022.3-4513_daily_bin1054.fits outfile=/scratch/kocevski/853493/expmap_512524801_512784001_4FGL_J2022.3-4513_daily_bin1054.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/853493/ltcube_512524801_512784001_4FGL_J2022.3-4513_daily_bin1054.fits
.....................!
real 192.33
user 186.40
sys 5.48

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/853493/ft1_filtered_4FGL_J2022.3-4513_daily_bin1054.fits scfile=/scratch/kocevski/853493/ft2_4FGL_J2022.3-4513_daily_bin1054.fits outfile=/scratch/kocevski/853493/cmap_512524801_512784001_4FGL_J2022.3-4513_daily_bin1054.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853493/ft1_filtered_4FGL_J2022.3-4513_daily_bin1054.fits scfile=/scratch/kocevski/853493/ft2_4FGL_J2022.3-4513_daily_bin1054.fits outfile=/scratch/kocevski/853493/cmap_HighResolution_512524801_512784001_4FGL_J2022.3-4513_daily_bin1054.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=305.591 yref=-45.2228 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/853493/ft1_filtered_4FGL_J2022.3-4513_daily_bin1054.fits evtable="EVENTS" scfile=/scratch/kocevski/853493/ft2_4FGL_J2022.3-4513_daily_bin1054.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/853493/Model_4FGL_J2022.3-4513_daily_bin1054.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/853493/ft1_filtered_4FGL_J2022.3-4513_daily_bin1054.fits.....................!
real 75.65
user 74.26
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.184       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3219       1.0000         .10000E-03   10000.    
     4 'norm      '    6.0409       1.0000         .10000E-03   10000.    
     5 'norm      '    1.9895       1.0000         .10000E-03   10000.    
     6 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    18.104       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0510       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.418       1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    118.28       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .88399       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.2841       1.0000         .10000E-03   10000.    
    17 'Prefactor '    58.082       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1707       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87134       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=   10180.45     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     2035 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1274       -.72855E-07** at limit **
   2  Prefactor     40.187        21.984        .19405E-05    .10287E-03
   3  Prefactor     5.3216        7.3311        .17855E-06   -.62032E-04
   4  norm          6.0403        8.6622        .46731E-07   -.13811E-03
   5  norm          1.9894        .89509        .56115E-07   -.66765E-04
   6  norm          .10000E-03    2.2244       -.43024E-07** at limit **
   7  norm          18.103        13.732       -.30568E-06   -.43738E-04
   8  norm          1.0511        1.0296        .34094E-07    .72167E-04
   9  Prefactor     16.418        20.088        .28869E-06    .28359E-05
  10  norm          .10000E-03    1.0012        .27496E-07** at limit **
  11  norm          .10000E-03    7.2340        .19247E-06** at limit **
  12  Prefactor     .10000E-03    8.6478        .72160E-06** at limit **
  13  Prefactor     118.30        70.039        .71733E-05    .10934E-03
  14  Prefactor     .88419        2.0555        .42594E-06   -.36104E-03
  15  Prefactor     .10000E-03    15.750       -.64888E-06** at limit **
  16  norm          2.2843        .90380        .17968E-06   -.51412E-02
  17  Prefactor     58.081        53.557       -.89433E-06   -.16254E-04
  18  Prefactor     .10000E-03    7.9945       -.14165E-05** at limit **
  19  Normalizat    1.1705        .18960       -.11798E-05    .86033E-05
  20  Prefactor     .87144        .83072E-01   -.88741E-07   -.69078E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 40.1867
  Prefactor  = 5.32161
  norm       = 6.04034
  norm       = 1.98943
  norm       = 0.0001
  norm       = 18.1028
  norm       = 1.05114
  Prefactor  = 16.4183
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 118.296
  Prefactor  = 0.884188
  Prefactor  = 0.0001
  norm       = 2.28428
  Prefactor  = 58.0807
  Prefactor  = 0.0001
  Normalizat = 1.17053
  Prefactor  = 0.871437
 **********
 **   18 **HESSE 
 **********

 FCN=   10180.45     FROM HESSE     STATUS=OK           291 CALLS     2326 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     40.187        22.014        .63232E-04   -1.4439    
   3  Prefactor     5.3216        7.3404        .17422E-03   -1.5247    
   4  norm          6.0403        8.6811        .81680E-03   -1.5216    
   5  norm          1.9894        .89360        .61156E-04   -1.5426    
   6  norm          .10000E-03    2.2298        .14691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.103        13.756        .94132E-04   -1.4857    
   8  norm          1.0511        .91449        .98571E-03   -1.5503    
   9  Prefactor     16.418        20.087        .98846E-04   -1.4897    
  10  norm          .10000E-03    1.0249        .98568E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    7.2475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.6492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     118.30        70.603        .36998E-04   -1.3528    
  14  Prefactor     .88419        2.0436        .21541E-03   -1.5520    
  15  Prefactor     .10000E-03    15.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.2843        1.8140        .57166E-03   -1.5406    
  17  Prefactor     58.081        53.620        .52641E-04   -1.4182    
  18  Prefactor     .10000E-03    8.2018        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1705        .22711        .33375E-03   -.87518    
  20  Prefactor     .87144        .99370E-01    .16918E-03   -.97146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00488e-09
Minuit parameter uncertainties:
  1  7.67766e-06
  2  22.0186
  3  7.34167
  4  8.68294
  5  0.893605
  6  1.74294e-06
  7  13.7584
  8  0.914506
  9  20.0956
  10  5.84698e-07
  11  3.44151e-07
  12  1.67016e-06
  13  70.6535
  14  2.04375
  15  2.35654e-06
  16  1.81406
  17  53.6646
  18  3.15902e-06
  19  0.227304
  20  0.0993908
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  5.847e-07  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.714e-01  9.939e-02  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.171e+00  2.273e-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: 3.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/853493/likelihoodResults_512524801_512784001_4FGL_J2022.3-4513_daily_bin1054.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) = 10180.4571851
delta logL = -0.0046389401723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10180.4525461
delta logL = 4.64606273454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0035       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87151       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=   10180.45     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      239 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    46.680        .99751E-02** at limit **
   2  alpha         1.6892        2.9863        .16891        .83461E-07
   3  Normalizat    1.1705        .32620E-01    .33375E-03    .24185E-04
   4  Prefactor     .87144        .14590E-01    .16918E-03    .14093E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.6892
  Normalizat = 1.17053
  Prefactor  = 0.871437
 **********
 **   18 **HESSE 
 **********

 FCN=   10180.45     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1653        .20930E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6892        2.6591        .67563E-02   -.33029    
   3  Normalizat    1.1705        .21731        .13350E-04   -.87518    
   4  Prefactor     .87144        .97237E-01    .33835E-04   -.97146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46251e-11
Minuit parameter uncertainties:
  1  8.2034e-07
  2  95.3328
  3  0.217481
  4  0.0972567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853493': 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) = 10180.4525403
delta logL = 5.86064379604e-06

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  8.203e-07  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  1.689e+00  9.533e+01  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  1.015e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  8.714e-01  9.726e-02  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.171e+00  2.175e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/853493/cmap_HighResolution_512524801_512784001_4FGL_J2022.3-4513_daily_bin1054.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-05', job_status='DONE', photon_flux_upper_limit='3.46e-08', time_completed='2021-09-25 01:18:22.254941', job_id='853493', GAL2='0.87', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632557902.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='5.86e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1054' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:18:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 853493: <4FGL_J2022.3-4513_daily_bin1054> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1054 305.591 -45.2228 512524801 512784001 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 :                                   778.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            975 sec.

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

