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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin991
RA = 305.591, Dec = -45.2228
tmin = 496195201, tmax = 496454401
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='853395', job_status='RUN', time_executed='2021-09-25 01:05:49.201868', time_epoch_executed='1632557149.2' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='991'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853395

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853395/ft1_4FGL_J2022.3-4513_daily_bin991.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853395/ft2_4FGL_J2022.3-4513_daily_bin991.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853395/ft1_4FGL_J2022.3-4513_daily_bin991.fits outfile=/scratch/kocevski/853395/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin991.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=496195201.0 tmax=496454401.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.44
user 3.20
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/853395/ft2_4FGL_J2022.3-4513_daily_bin991.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/853395/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin991.fits evtable="EVENTS" outfile="/scratch/kocevski/853395/ft1_filtered_4FGL_J2022.3-4513_daily_bin991.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/853395/ft1_filtered_4FGL_J2022.3-4513_daily_bin991.fits" evtable="EVENTS" scfile=/scratch/kocevski/853395/ft2_4FGL_J2022.3-4513_daily_bin991.fits sctable="SC_DATA" outfile=/scratch/kocevski/853395/ltcube_496195201_496454401_4FGL_J2022.3-4513_daily_bin991.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/853395/ft2_4FGL_J2022.3-4513_daily_bin991.fits
.....................!
real 13.36
user 12.95
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853395/ft1_filtered_4FGL_J2022.3-4513_daily_bin991.fits evtable="EVENTS" scfile=/scratch/kocevski/853395/ft2_4FGL_J2022.3-4513_daily_bin991.fits sctable="SC_DATA" expcube=/scratch/kocevski/853395/ltcube_496195201_496454401_4FGL_J2022.3-4513_daily_bin991.fits outfile=/scratch/kocevski/853395/expmap_496195201_496454401_4FGL_J2022.3-4513_daily_bin991.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/853395/ltcube_496195201_496454401_4FGL_J2022.3-4513_daily_bin991.fits
.....................!
real 191.60
user 186.13
sys 4.97

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/853395/ft1_filtered_4FGL_J2022.3-4513_daily_bin991.fits scfile=/scratch/kocevski/853395/ft2_4FGL_J2022.3-4513_daily_bin991.fits outfile=/scratch/kocevski/853395/cmap_496195201_496454401_4FGL_J2022.3-4513_daily_bin991.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853395/ft1_filtered_4FGL_J2022.3-4513_daily_bin991.fits scfile=/scratch/kocevski/853395/ft2_4FGL_J2022.3-4513_daily_bin991.fits outfile=/scratch/kocevski/853395/cmap_HighResolution_496195201_496454401_4FGL_J2022.3-4513_daily_bin991.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/853395/ft1_filtered_4FGL_J2022.3-4513_daily_bin991.fits evtable="EVENTS" scfile=/scratch/kocevski/853395/ft2_4FGL_J2022.3-4513_daily_bin991.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/853395/Model_4FGL_J2022.3-4513_daily_bin991.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/853395/ft1_filtered_4FGL_J2022.3-4513_daily_bin991.fits.....................!
real 58.10
user 56.80
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8462       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    14.760       1.0000         .10000E-03   10000.    
     5 'norm      '    .90330       1.0000         .10000E-03   10000.    
     6 'norm      '    8.2051       1.0000         .10000E-03   10000.    
     7 'norm      '    .14388E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.4959       1.0000         .10000E-03   10000.    
    10 'norm      '    4.8071       1.0000         .10000E-03   10000.    
    11 'norm      '    .14444E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16715E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.6705       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3711       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2914       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98349       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=   6779.453     FROM MIGRAD    STATUS=CONVERGED    749 CALLS     2389 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8484        10.220        .20578E-03    .28480E-03
   2  Prefactor     .10000E-03    8.7164        .18142E-02** at limit **
   3  Prefactor     .10000E-03    5.8570        .18142E-02** at limit **
   4  norm          14.758        15.788        .10425E-03    .69792E-05
   5  norm          .90457        1.2137        .10585E-02   -.73505E-03
   6  norm          8.2010        12.365        .13996E-03    .31760E-03
   7  norm          .10000E-03    25.219        .99359E-01** at limit **
   8  norm          .10000E-03    .83782        .72893E-03** at limit **
   9  Prefactor     8.4567        145.03        .13753E-03    .54558E-05
  10  norm          4.8062        3.5478        .12857E-03    .29709E-03
  11  norm          .10018E-03    102.51        .56120E-02** at limit **
  12  Prefactor     .10000E-03    13.469        .18142E-02** at limit **
  13  Prefactor     .10000E-03    54.835        .18142E-02** at limit **
  14  Prefactor     .10011E-03    3.9545        .34859E-01** at limit **
  15  Prefactor     .10000E-03    13.724        .18142E-02** at limit **
  16  norm          3.6704        2.0966        .86372E-04    .27009E-03
  17  Prefactor     .10000E-03    65.200        .18142E-02** at limit **
  18  Prefactor     3.3716        5.7452        .22039E-03    .34582E-03
  19  Normalizat    1.2916        .31033        .35471E-03    .28355E-03
  20  Prefactor     .98342        .13494        .17550E-03    .97965E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.84839
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.7581
  norm       = 0.90457
  norm       = 8.20104
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 8.45667
  norm       = 4.80617
  norm       = 0.000100184
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100109
  Prefactor  = 0.0001
  norm       = 3.67035
  Prefactor  = 0.0001
  Prefactor  = 3.3716
  Normalizat = 1.2916
  Prefactor  = 0.983418
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8484        10.217        .82311E-05   -1.5316    
   2  Prefactor     .10000E-03    8.7164        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.8579        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          14.758        15.789        .41701E-05   -1.4939    
   5  norm          .90457        1.2124        .42339E-04   -1.5518    
   6  norm          8.2010        12.364        .55985E-05   -1.5135    
   7  norm          .10000E-03    23.204        .10519       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .83792        .14579E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.4567        145.15        .55012E-05   -1.5126    
  10  norm          4.8062        3.5476        .25714E-04   -1.5269    
  11  norm          .10018E-03    105.44        .22448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    54.838        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10011E-03    3.0211        .41527E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.726        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6704        2.0965        .34549E-05   -1.5325    
  17  Prefactor     .10000E-03    65.203        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.3716        5.7451        .88156E-05   -1.5341    
  19  Normalizat    1.2916        .31055        .70941E-04   -.83817    
  20  Prefactor     .98342        .13503        .35100E-04   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02466e-09
Minuit parameter uncertainties:
  1  10.2219
  2  3.62713e-05
  3  4.37771e-07
  4  15.793
  5  1.21245
  6  12.3683
  7  0.000463024
  8  3.36295e-06
  9  70.2719
  10  3.54774
  11  0.00883148
  12  2.92289e-05
  13  6.0782e-05
  14  0.00115021
  15  6.76892e-06
  16  2.09652
  17  4.01224e-06
  18  5.74602
  19  0.310996
  20  0.135074
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  4.806e+00  3.548e+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

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  9.834e-01  1.351e-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.292e+00  3.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.15
Ra Dec: 305.591 -45.223
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 3.93e-08 +/- 2.90e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.68e-05

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) = 6778.082746
delta logL = 1.37065191278

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6777.86064835
delta logL = 1.59274956146

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5155       1.0000         .10000E-03   10000.    
     2 'alpha     '    .76251       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98664       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=   6777.861     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      217 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5147        1.6668        .86815E-02   -.26106E-03
   2  alpha         .76227        .43012        .36838       -.31912E-04
   3  Normalizat    1.3061        .25021        .79774E-01    .10110E-04
   4  Prefactor     .98667        .11050        .46100E-01   -.32600E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.51471
  alpha      = 0.762274
  Normalizat = 1.30611
  Prefactor  = 0.986667
 **********
 **   18 **HESSE 
 **********

 FCN=   6777.861     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .29E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5147        4.0410        .91850E-04   -1.5462    
   2  alpha         .76227        .97566        .16396E-02   -.76855    
   3  Normalizat    1.3061        .30057        .35312E-03   -.83384    
   4  Prefactor     .98667        .13320        .17534E-03   -.93175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85708e-13
Minuit parameter uncertainties:
  1  4.04169
  2  1.03133
  3  0.300976
  4  0.133248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853395': 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) = 6777.86064827
delta logL = 1.5927496402

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.515e+00  4.042e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  7.623e-01  1.031e+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:  9.867e-01  1.332e-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.306e+00  3.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.33
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 0.76 +/- 1.03
Photon Flux (Free Index): 8.66e-09 +/- 1.39e-08
Energy Flux (Free Index): 9.40e-05 +/- 1.21e-04

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/853395/cmap_HighResolution_496195201_496454401_4FGL_J2022.3-4513_daily_bin991.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.93e-08', energy_flux2='9.40e-05', photon_flux_error='2.90e-08', dlogl='1.59e+00', energy_flux='2.28e-05', photon_flux2='8.66e-09', job_status='DONE', time_completed='2021-09-25 01:15:45.057842', photon_index_error2='1.03', photon_index2='0.76', ts='8.15', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.21e-04', EG='1.29', time_epoch_completed='1632557745.06', return_code='0', job_id='853395', GAL2='0.99', EG2='1.31', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='1.39e-08', ts2='11.33', photon_index='2.02' WHERE bin_id='991' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:15:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 853395: <4FGL_J2022.3-4513_daily_bin991> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin991> 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) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 01:02:31 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:31 2021
Terminated at Sat Sep 25 01:15:45 2021
Results reported at Sat Sep 25 01:15:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin991 305.591 -45.2228 496195201 496454401 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 :                                   594.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            824 sec.

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

