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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1296
RA = 305.591, Dec = -45.2228
tmin = 575251201, tmax = 575510401
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='856888', job_status='RUN', time_executed='2021-09-25 01:14:41.918422', time_epoch_executed='1632557681.92' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/856888

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/856888/ft1_4FGL_J2022.3-4513_daily_bin1296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/856888/ft2_4FGL_J2022.3-4513_daily_bin1296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/856888/ft1_4FGL_J2022.3-4513_daily_bin1296.fits outfile=/scratch/kocevski/856888/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1296.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=575251201.0 tmax=575510401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.55
user 5.09
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/856888/ft2_4FGL_J2022.3-4513_daily_bin1296.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/856888/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1296.fits evtable="EVENTS" outfile="/scratch/kocevski/856888/ft1_filtered_4FGL_J2022.3-4513_daily_bin1296.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.69
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/856888/ft1_filtered_4FGL_J2022.3-4513_daily_bin1296.fits" evtable="EVENTS" scfile=/scratch/kocevski/856888/ft2_4FGL_J2022.3-4513_daily_bin1296.fits sctable="SC_DATA" outfile=/scratch/kocevski/856888/ltcube_575251201_575510401_4FGL_J2022.3-4513_daily_bin1296.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/856888/ft2_4FGL_J2022.3-4513_daily_bin1296.fits
.....................!
real 14.09
user 12.25
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/856888/ft1_filtered_4FGL_J2022.3-4513_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/856888/ft2_4FGL_J2022.3-4513_daily_bin1296.fits sctable="SC_DATA" expcube=/scratch/kocevski/856888/ltcube_575251201_575510401_4FGL_J2022.3-4513_daily_bin1296.fits outfile=/scratch/kocevski/856888/expmap_575251201_575510401_4FGL_J2022.3-4513_daily_bin1296.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/856888/ltcube_575251201_575510401_4FGL_J2022.3-4513_daily_bin1296.fits
.....................!
real 193.55
user 186.20
sys 5.37

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/856888/ft1_filtered_4FGL_J2022.3-4513_daily_bin1296.fits scfile=/scratch/kocevski/856888/ft2_4FGL_J2022.3-4513_daily_bin1296.fits outfile=/scratch/kocevski/856888/cmap_575251201_575510401_4FGL_J2022.3-4513_daily_bin1296.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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/856888/ft1_filtered_4FGL_J2022.3-4513_daily_bin1296.fits scfile=/scratch/kocevski/856888/ft2_4FGL_J2022.3-4513_daily_bin1296.fits outfile=/scratch/kocevski/856888/cmap_HighResolution_575251201_575510401_4FGL_J2022.3-4513_daily_bin1296.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.58
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.924       1.0000         .10000E-03   10000.    
     4 'norm      '    7.3911       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0961       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4667       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.690       1.0000         .10000E-03   10000.    
    10 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.085       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.077       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .78238       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.5501       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.456       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2779       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96823       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=   11659.70     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     2014 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1066        .29890E-06** at limit **
   2  Prefactor     .10000E-03    8.5637        .10449E-05** at limit **
   3  Prefactor     18.924        9.1915       -.51308E-06   -.21776E-04
   4  norm          7.3915        8.0250        .89950E-06    .10935E-02
   5  norm          1.0964        .74009        .99262E-07    .86865E-04
   6  norm          .10000E-03    1.8735       -.17939E-07** at limit **
   7  norm          .10000E-03    5.3361        .24750E-05** at limit **
   8  norm          1.4667        1.1424       -.16029E-06   -.50713E-03
   9  Prefactor     16.664        41.203       -.55771E-04    .65647E-05
  10  norm          .10000E-03    1.4485       -.77529E-07** at limit **
  11  norm          .10000E-03    4.7364       -.19650E-05** at limit **
  12  Prefactor     14.085        13.906       -.80196E-07    .28379E-04
  13  Prefactor     21.077        38.085        .18183E-06    .53345E-05
  14  Prefactor     .78243        1.8937       -.10981E-05   -.22416E-02
  15  Prefactor     .10000E-03    18.125        .28350E-06** at limit **
  16  norm          8.5499        2.1571       -.14723E-06    .86249E-04
  17  Prefactor     17.444        66.720       -.27931E-04    .98109E-05
  18  Prefactor     .10000E-03    6.8364       -.21275E-05** at limit **
  19  Normalizat    1.2780        .19180        .28157E-05    .66628E-04
  20  Prefactor     .96820        .85468E-01    .11804E-05    .44980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.9244
  norm       = 7.39145
  norm       = 1.09642
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.46671
  Prefactor  = 16.6639
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.0851
  Prefactor  = 21.0772
  Prefactor  = 0.782429
  Prefactor  = 0.0001
  norm       = 8.54993
  Prefactor  = 17.4439
  Prefactor  = 0.0001
  Normalizat = 1.27796
  Prefactor  = 0.968196
 **********
 **   18 **HESSE 
 **********

 FCN=   11659.70     FROM HESSE     STATUS=OK           295 CALLS     2309 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.5820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.924        9.1961        .92071E-04   -1.4838    
   4  norm          7.3915        8.0613        .73763E-03   -1.5164    
   5  norm          1.0964        .72754        .73215E-04   -1.5499    
   6  norm          .10000E-03    1.8779        .14433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.3481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4667        1.1329        .99022E-04   -1.5466    
   9  Prefactor     16.664        40.968        .98037E-04   -1.4891    
  10  norm          .10000E-03    1.4794        .12687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.7398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.085        13.910        .10672E-03   -1.4957    
  13  Prefactor     21.077        38.090        .87244E-04   -1.4789    
  14  Prefactor     .78243        1.8688        .22542E-03   -1.5531    
  15  Prefactor     .10000E-03    18.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.5499        2.1651        .75736E-04   -1.5123    
  17  Prefactor     17.444        66.657        .95862E-04   -1.4872    
  18  Prefactor     .10000E-03    7.1499        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2780        .22935        .34732E-03   -.84227    
  20  Prefactor     .96820        .10261        .17676E-03   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38986e-09
Minuit parameter uncertainties:
  1  3.42157e-05
  2  1.7588e-05
  3  9.19676
  4  8.0625
  5  0.727546
  6  3.14058e-06
  7  1.40116e-05
  8  1.13294
  9  41.0371
  10  8.71167e-06
  11  8.99273e-07
  12  13.9129
  13  38.1338
  14  1.86892
  15  4.07688e-05
  16  2.16512
  17  66.9433
  18  1.78255e-05
  19  0.229528
  20  0.102626
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  8.712e-06  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.682e-01  1.026e-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.278e+00  2.295e-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: 4.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/856888/likelihoodResults_575251201_575510401_4FGL_J2022.3-4513_daily_bin1296.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) = 11659.7049097
delta logL = -0.00322112725007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11659.7016883
delta logL = 1.92118022824e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0332       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96820       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=   11659.70     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      192 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8408        .90712E-02** at limit **
   2  alpha         2.0454        3.4786        .42096       -.40706E-04
   3  Normalizat    1.2780        .18586        .78467E-01    .33332E-04
   4  Prefactor     .96820        .84162E-01    .45868E-01    .21663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.04544
  Normalizat = 1.27796
  Prefactor  = 0.968196
 **********
 **   18 **HESSE 
 **********

 FCN=   11659.70     FROM HESSE     STATUS=OK            31 CALLS      223 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.4988        .12754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0454        3.4303        .16839       -.18284    
   3  Normalizat    1.2780        .22128        .34732E-03   -.84227    
   4  Prefactor     .96820        .10036        .17676E-03   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65161e-09
Minuit parameter uncertainties:
  1  2.94479e-06
  2  2.46054
  3  0.221441
  4  0.100381
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/856888': 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) = 11659.7016881
delta logL = 3.98169504479e-07

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  2.945e-06  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.045e+00  2.461e+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.682e-01  1.004e-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.278e+00  2.214e-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/856888/cmap_HighResolution_575251201_575510401_4FGL_J2022.3-4513_daily_bin1296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-05', job_status='DONE', photon_flux_upper_limit='4.30e-08', time_completed='2021-09-25 01:29:00.124769', job_id='856888', GAL2='0.97', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1632558540.12', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.98e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1296' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:29:00 PDT 2021


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

Job <4FGL_J2022.3-4513_daily_bin1296> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 01:10:58 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 01:14:32 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:14:32 2021
Terminated at Sat Sep 25 01:29:01 2021
Results reported at Sat Sep 25 01:29:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1296 305.591 -45.2228 575251201 575510401 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 :                                   848.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             305.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            1083 sec.

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

