/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1404
RA = 305.591, Dec = -45.2228
tmin = 603244801, tmax = 603504001
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='857032', job_status='RUN', time_executed='2021-09-25 01:18:22.551704', time_epoch_executed='1632557902.55' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1404'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857032

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857032/ft1_4FGL_J2022.3-4513_daily_bin1404.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857032/ft2_4FGL_J2022.3-4513_daily_bin1404.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857032/ft1_4FGL_J2022.3-4513_daily_bin1404.fits outfile=/scratch/kocevski/857032/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1404.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=603244801.0 tmax=603504001.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 2.95
user 2.70
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857032/ft1_filtered_4FGL_J2022.3-4513_daily_bin1404.fits" evtable="EVENTS" scfile=/scratch/kocevski/857032/ft2_4FGL_J2022.3-4513_daily_bin1404.fits sctable="SC_DATA" outfile=/scratch/kocevski/857032/ltcube_603244801_603504001_4FGL_J2022.3-4513_daily_bin1404.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/857032/ft2_4FGL_J2022.3-4513_daily_bin1404.fits
.....................!
real 13.59
user 13.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857032/ft1_filtered_4FGL_J2022.3-4513_daily_bin1404.fits evtable="EVENTS" scfile=/scratch/kocevski/857032/ft2_4FGL_J2022.3-4513_daily_bin1404.fits sctable="SC_DATA" expcube=/scratch/kocevski/857032/ltcube_603244801_603504001_4FGL_J2022.3-4513_daily_bin1404.fits outfile=/scratch/kocevski/857032/expmap_603244801_603504001_4FGL_J2022.3-4513_daily_bin1404.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/857032/ltcube_603244801_603504001_4FGL_J2022.3-4513_daily_bin1404.fits
.....................!
real 191.52
user 185.37
sys 5.78

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/857032/ft1_filtered_4FGL_J2022.3-4513_daily_bin1404.fits scfile=/scratch/kocevski/857032/ft2_4FGL_J2022.3-4513_daily_bin1404.fits outfile=/scratch/kocevski/857032/cmap_603244801_603504001_4FGL_J2022.3-4513_daily_bin1404.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857032/ft1_filtered_4FGL_J2022.3-4513_daily_bin1404.fits scfile=/scratch/kocevski/857032/ft2_4FGL_J2022.3-4513_daily_bin1404.fits outfile=/scratch/kocevski/857032/cmap_HighResolution_603244801_603504001_4FGL_J2022.3-4513_daily_bin1404.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857032/ft1_filtered_4FGL_J2022.3-4513_daily_bin1404.fits evtable="EVENTS" scfile=/scratch/kocevski/857032/ft2_4FGL_J2022.3-4513_daily_bin1404.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857032/Model_4FGL_J2022.3-4513_daily_bin1404.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/857032/ft1_filtered_4FGL_J2022.3-4513_daily_bin1404.fits......................!
real 32.90
user 31.53
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.164       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.074       1.0000         .10000E-03   10000.    
     4 'norm      '    .10238E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.5243       1.0000         .10000E-03   10000.    
     6 'norm      '    9.6320       1.0000         .10000E-03   10000.    
     7 'norm      '    .89559       1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.8045       1.0000         .10000E-03   10000.    
    11 'norm      '    25.223       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13377E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11751E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.8583       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .35868E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0433       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=   2683.698     FROM MIGRAD    STATUS=CONVERGED    433 CALLS     2471 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.160        11.172       -.12266E-05   -.35711E-03
   2  Prefactor     .10000E-03    23.585       -.62180E-06** at limit **
   3  Prefactor     40.082        19.585        .18068E-05   -.25332E-03
   4  norm          .10000E-03    10.557       -.58855E-06** at limit **
   5  norm          3.5241        1.8587        .17295E-06   -.59494E-03
   6  norm          9.6434        14.920       -.15316E-05   -.30796E-03
   7  norm          .84901        25.747        .26136E-05   -.28185E-03
   8  norm          .10000E-03    2.8637        .56358E-06** at limit **
   9  Prefactor     .10000E-03    32.447       -.28315E-05** at limit **
  10  norm          2.8060        4.0032       -.71930E-07   -.19372E-03
  11  norm          25.259        37.234       -.99568E-05   -.33493E-05
  12  Prefactor     .10000E-03    51.112       -.33753E-05** at limit **
  13  Prefactor     .10000E-03    95.618        .60716E-05** at limit **
  14  Prefactor     .10000E-03    4.7584        .66921E-06** at limit **
  15  Prefactor     .10000E-03    32.607        .51619E-05** at limit **
  16  norm          2.8595        6.8909        .39233E-06   -.26667E-03
  17  Prefactor     .10000E-03    2007.7       -.20668E-03** at limit **
  18  Prefactor     10000.        400.52        .50939E-04** at limit **
  19  Normalizat    .10000E-01    .25266        .56185E-05** at limit **
  20  Prefactor     1.0430        .12083       -.87543E-06   -.79915E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.1604
  Prefactor  = 0.0001
  Prefactor  = 40.0818
  norm       = 0.0001
  norm       = 3.52406
  norm       = 9.64338
  norm       = 0.849013
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.80597
  norm       = 25.2591
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.85947
  Prefactor  = 0.0001
  Prefactor  = 10000
  Normalizat = 0.01
  Prefactor  = 1.04302
 **********
 **   18 **HESSE 
 **********

 FCN=   2683.698     FROM HESSE     STATUS=OK           291 CALLS     2762 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.160        11.192        .87064E-04   -1.4788    
   2  Prefactor     .10000E-03    23.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.082        19.594        .63319E-04   -1.4441    
   4  norm          .10000E-03    10.559        .16442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.5241        1.8560        .48718E-04   -1.5332    
   6  norm          9.6434        14.880        .12912E-03   -1.5087    
   7  norm          .84901        207.24        .47178E-02   -1.5524    
   8  norm          .10000E-03    5.1529        .16828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8060        3.9930        .12026E-03   -1.5373    
  11  norm          25.259        37.121        .79761E-04   -1.4702    
  12  Prefactor     .10000E-03    51.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    95.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.7597        .11037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    32.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.8595        6.8690        .20572E-03   -1.5370    
  17  Prefactor     .10000E-03    1989.5        .21313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10000.        399.29        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .46499        .11920E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.0430        .10015        .14326E-03   -.91309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55347e-09
Minuit parameter uncertainties:
  1  11.1935
  2  4.0134e-05
  3  19.5969
  4  5.34288e-06
  5  1.85599
  6  14.8854
  7  26.621
  8  0.000102273
  9  5.46013e-07
  10  3.99342
  11  37.1549
  12  0.000524976
  13  1.26015e-05
  14  9.49241e-08
  15  9.71057e-08
  16  6.87094
  17  2.66775e-06
  18  7.35948e-06
  19  3.5263e-06
  20  0.100164
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  2.806e+00  3.993e+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:  1.043e+00  1.002e-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.000e-02  3.526e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.99
Ra Dec: 305.591 -45.223
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857032/likelihoodResults_603244801_603504001_4FGL_J2022.3-4513_daily_bin1404.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) = 2682.35807119
delta logL = 1.33952665066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2682.32988146
delta logL = 1.36771637947

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9972       1.0000         .10000E-03   10000.    
     2 'alpha     '    .71245       1.0000          .0000       5.0000    
     3 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0435       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=   2682.330     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9908        2.3271        .73274E-02   -.10909E-03
   2  alpha         .71100        .51272        .30456       -.12145E-04
   3  Normalizat    .10000E-01    .25778        .32185    ** at limit **
   4  Prefactor     1.0434        .11724        .40307E-01   -.26690E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.99083
  alpha      = 0.711001
  Normalizat = 0.01
  Prefactor  = 1.0434
 **********
 **   18 **HESSE 
 **********

 FCN=   2682.330     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .55E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9908        3.2447        .75600E-04   -1.5426    
   2  alpha         .71100        .69206        .13658E-02   -.79748    
   3  Normalizat    .10000E-01    .49897        .12036E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0434        .86605E-01    .14308E-03   -.91297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.5454e-13
Minuit parameter uncertainties:
  1  3.24499
  2  0.711589
  3  4.1844e-07
  4  0.0866166
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857032': 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) = 2682.32987602
delta logL = 1.36772182106

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.991e+00  3.245e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  7.110e-01  7.116e-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:  1.043e+00  8.662e-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.000e-02  4.184e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.72
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 0.71 +/- 0.71
Photon Flux (Free Index): 1.21e-08 +/- 1.34e-08
Energy Flux (Free Index): 1.46e-04 +/- 2.28e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/857032/cmap_HighResolution_603244801_603504001_4FGL_J2022.3-4513_daily_bin1404.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-05', comment='SUCCESS', energy_flux2='1.46e-04', dlogl='1.37e+00', photon_flux2='1.21e-08', job_status='DONE', time_completed='2021-09-25 01:26:09.919236', photon_index_error2='0.71', photon_index2='0.71', ts='0.99', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='2.28e-04', EG='0.01', time_epoch_completed='1632558369.92', return_code='0', job_id='857032', GAL2='1.04', EG2='0.01', return_code2='0', photon_flux_error2='1.34e-08', ts2='3.72', photon_index='2.02' WHERE bin_id='1404' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:26:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 857032: <4FGL_J2022.3-4513_daily_bin1404> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1404 305.591 -45.2228 603244801 603504001 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 :                                   453.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             196.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            900 sec.

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

