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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin990
RA = 305.591, Dec = -45.2228
tmin = 495936001, tmax = 496195201
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='853393', job_status='RUN', time_executed='2021-09-25 01:05:12.356718', time_epoch_executed='1632557112.36' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='990'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853393

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853393/ft1_4FGL_J2022.3-4513_daily_bin990.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853393/ft2_4FGL_J2022.3-4513_daily_bin990.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853393/ft1_4FGL_J2022.3-4513_daily_bin990.fits outfile=/scratch/kocevski/853393/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin990.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=495936001.0 tmax=496195201.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.53
user 3.26
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853393/ft1_filtered_4FGL_J2022.3-4513_daily_bin990.fits" evtable="EVENTS" scfile=/scratch/kocevski/853393/ft2_4FGL_J2022.3-4513_daily_bin990.fits sctable="SC_DATA" outfile=/scratch/kocevski/853393/ltcube_495936001_496195201_4FGL_J2022.3-4513_daily_bin990.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/853393/ft2_4FGL_J2022.3-4513_daily_bin990.fits
.....................!
real 13.90
user 13.31
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853393/ft1_filtered_4FGL_J2022.3-4513_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/853393/ft2_4FGL_J2022.3-4513_daily_bin990.fits sctable="SC_DATA" expcube=/scratch/kocevski/853393/ltcube_495936001_496195201_4FGL_J2022.3-4513_daily_bin990.fits outfile=/scratch/kocevski/853393/expmap_495936001_496195201_4FGL_J2022.3-4513_daily_bin990.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/853393/ltcube_495936001_496195201_4FGL_J2022.3-4513_daily_bin990.fits
.....................!
real 194.73
user 186.56
sys 5.49

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/853393/ft1_filtered_4FGL_J2022.3-4513_daily_bin990.fits scfile=/scratch/kocevski/853393/ft2_4FGL_J2022.3-4513_daily_bin990.fits outfile=/scratch/kocevski/853393/cmap_495936001_496195201_4FGL_J2022.3-4513_daily_bin990.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853393/ft1_filtered_4FGL_J2022.3-4513_daily_bin990.fits scfile=/scratch/kocevski/853393/ft2_4FGL_J2022.3-4513_daily_bin990.fits outfile=/scratch/kocevski/853393/cmap_HighResolution_495936001_496195201_4FGL_J2022.3-4513_daily_bin990.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11598E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    48.780       1.0000         .10000E-03   10000.    
     4 'norm      '    .14898E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.9436       1.0000         .10000E-03   10000.    
     6 'norm      '    6.0086       1.0000         .10000E-03   10000.    
     7 'norm      '    8.9290       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8763       1.0000         .10000E-03   10000.    
     9 'Prefactor '    67.438       1.0000         .10000E-03   10000.    
    10 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .26771E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .53956E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .92621E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.0816       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3477       1.0000         .10000E-03   10000.    
    16 'norm      '    2.2266       1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.214       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .99849       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.6593       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .74592       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=   6674.053     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2037 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.3365       -.54321E-06** at limit **
   2  Prefactor     .10000E-03    8.6668       -.20975E-06** at limit **
   3  Prefactor     48.780        18.146        .20973E-06    .18940E-03
   4  norm          .10000E-03    7.8643        .12421E-06** at limit **
   5  norm          1.9436        1.2125        .35796E-06    .37591E-02
   6  norm          6.0159        8.0593        .27722E-06    .21669E-03
   7  norm          8.9168        14.491        .27475E-06    .10226E-03
   8  norm          1.8783        1.7759        .43966E-07    .61208E-04
   9  Prefactor     67.584        55.441       -.18865E-06    .26833E-04
  10  norm          .10000E-03    1.6899       -.92469E-07** at limit **
  11  norm          .10000E-03    5.6529        .17828E-06** at limit **
  12  Prefactor     .10000E-03    9.9523        .20012E-06** at limit **
  13  Prefactor     .10000E-03    51.754       -.57041E-06** at limit **
  14  Prefactor     7.0776        3.5161        .31431E-07    .89884E-04
  15  Prefactor     3.3699        12.116       -.24081E-06   -.66046E-04
  16  norm          2.2268        1.9715       -.13528E-06   -.24632E-03
  17  Prefactor     26.417        44.451        .30712E-06    .16297E-04
  18  Prefactor     .99853        13.128        .14883E-04   -.13957E-03
  19  Normalizat    1.6592        .25229        .18180E-05    .38893E-03
  20  Prefactor     .74591        .10779       -.17722E-05   -.14571E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 48.7796
  norm       = 0.0001
  norm       = 1.94357
  norm       = 6.01594
  norm       = 8.91683
  norm       = 1.87827
  Prefactor  = 67.584
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 7.07759
  Prefactor  = 3.36993
  norm       = 2.22679
  Prefactor  = 26.4175
  Prefactor  = 0.998532
  Normalizat = 1.65919
  Prefactor  = 0.745905
 **********
 **   18 **HESSE 
 **********

 FCN=   6674.053     FROM HESSE     STATUS=OK           293 CALLS     2330 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.3845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.6714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     48.780        18.153        .57415E-04   -1.4310    
   4  norm          .10000E-03    7.8671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.9436        1.2233        .68899E-04   -1.5429    
   6  norm          6.0159        8.0512        .16380E-03   -1.5217    
   7  norm          8.9168        14.487        .13413E-03   -1.5111    
   8  norm          1.8783        1.7720        .10250E-03   -1.5434    
   9  Prefactor     67.584        55.441        .24438E-03   -1.4062    
  10  norm          .10000E-03    1.7010        .10371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.6550        .18973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.9581        .21119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    51.874        .20812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.0776        3.5167        .10476E-03   -1.5176    
  15  Prefactor     3.3699        12.102        .22120E-03   -1.5341    
  16  norm          2.2268        1.9715        .10328E-03   -1.5410    
  17  Prefactor     26.417        44.459        .78243E-04   -1.4680    
  18  Prefactor     .99853        13.391        .26321E-02   -1.5508    
  19  Normalizat    1.6592        .30065        .32412E-03   -.73398    
  20  Prefactor     .74591        .12770        .19570E-03   -1.0175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99306e-09
Minuit parameter uncertainties:
  1  0.000114015
  2  5.51949e-05
  3  18.1555
  4  3.15777e-05
  5  1.22336
  6  8.05261
  7  14.4926
  8  1.77208
  9  55.4832
  10  1.10754e-05
  11  3.83648e-05
  12  5.72353e-05
  13  0.000397865
  14  3.51683
  15  12.1105
  16  1.97152
  17  44.5152
  18  7.31488
  19  0.300985
  20  0.127746
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  1.108e-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:  7.459e-01  1.277e-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.659e+00  3.010e-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: 6.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/853393/likelihoodResults_495936001_496195201_4FGL_J2022.3-4513_daily_bin990.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) = 6674.05590649
delta logL = -0.00277863294741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6674.05312776
delta logL = 9.32959665079e-08

Fit tolerance = 1e-08

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

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

 FCN=   6674.053     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      196 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2496        .90712E-02** at limit **
   2  alpha         2.0494        3.4876        .42088       -.40828E-04
   3  Normalizat    1.6592        .24919        .73260E-01    .65154E-04
   4  Prefactor     .74591        .10668        .43009E-01    .88938E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.04939
  Normalizat = 1.65918
  Prefactor  = 0.745909
 **********
 **   18 **HESSE 
 **********

 FCN=   6674.053     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7397        .10451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0494        3.4327        .50000       -.18124    
   3  Normalizat    1.6592        .29096        .32412E-03   -.73398    
   4  Prefactor     .74591        .12466        .19570E-03   -1.0175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67516e-09
Minuit parameter uncertainties:
  1  1.32096e-05
  2  2.46784
  3  0.291264
  4  0.124711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853393': 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) = 6674.05312738
delta logL = 4.68770849693e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  7.459e-01  1.247e-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.659e+00  2.913e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/853393/cmap_HighResolution_495936001_496195201_4FGL_J2022.3-4513_daily_bin990.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-05', job_status='DONE', photon_flux_upper_limit='6.34e-08', time_completed='2021-09-25 01:15:41.112372', job_id='853393', GAL2='0.75', fit_tolerance='1e-08', EG2='1.66', EG='1.66', time_epoch_completed='1632557741.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='4.69e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='990' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:15:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 853393: <4FGL_J2022.3-4513_daily_bin990> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin990 305.591 -45.2228 495936001 496195201 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 :                                   617.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             266.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            821 sec.

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

