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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin535
RA = 305.591, Dec = -45.2228
tmin = 378000001, tmax = 378259201
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='849045', job_status='RUN', time_executed='2021-09-25 00:49:10.629635', time_epoch_executed='1632556150.63' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849045

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849045/ft1_4FGL_J2022.3-4513_daily_bin535.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849045/ft2_4FGL_J2022.3-4513_daily_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849045/ft1_4FGL_J2022.3-4513_daily_bin535.fits outfile=/scratch/kocevski/849045/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin535.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=378000001.0 tmax=378259201.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.47
user 3.26
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849045/ft2_4FGL_J2022.3-4513_daily_bin535.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/849045/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin535.fits evtable="EVENTS" outfile="/scratch/kocevski/849045/ft1_filtered_4FGL_J2022.3-4513_daily_bin535.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/849045/ft1_filtered_4FGL_J2022.3-4513_daily_bin535.fits" evtable="EVENTS" scfile=/scratch/kocevski/849045/ft2_4FGL_J2022.3-4513_daily_bin535.fits sctable="SC_DATA" outfile=/scratch/kocevski/849045/ltcube_378000001_378259201_4FGL_J2022.3-4513_daily_bin535.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/849045/ft2_4FGL_J2022.3-4513_daily_bin535.fits
.....................!
real 12.36
user 12.00
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849045/ft1_filtered_4FGL_J2022.3-4513_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/849045/ft2_4FGL_J2022.3-4513_daily_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/849045/ltcube_378000001_378259201_4FGL_J2022.3-4513_daily_bin535.fits outfile=/scratch/kocevski/849045/expmap_378000001_378259201_4FGL_J2022.3-4513_daily_bin535.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/849045/ltcube_378000001_378259201_4FGL_J2022.3-4513_daily_bin535.fits
.....................!
real 192.42
user 186.70
sys 5.11

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/849045/ft1_filtered_4FGL_J2022.3-4513_daily_bin535.fits scfile=/scratch/kocevski/849045/ft2_4FGL_J2022.3-4513_daily_bin535.fits outfile=/scratch/kocevski/849045/cmap_378000001_378259201_4FGL_J2022.3-4513_daily_bin535.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849045/ft1_filtered_4FGL_J2022.3-4513_daily_bin535.fits scfile=/scratch/kocevski/849045/ft2_4FGL_J2022.3-4513_daily_bin535.fits outfile=/scratch/kocevski/849045/cmap_HighResolution_378000001_378259201_4FGL_J2022.3-4513_daily_bin535.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/849045/ft1_filtered_4FGL_J2022.3-4513_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/849045/ft2_4FGL_J2022.3-4513_daily_bin535.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849045/Model_4FGL_J2022.3-4513_daily_bin535.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/849045/ft1_filtered_4FGL_J2022.3-4513_daily_bin535.fits.....................!
real 74.88
user 73.52
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2256       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6799       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.1802       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .99910       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    20.283       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8567       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8181       1.0000         .10000E-03   10000.    
    11 'norm      '    10.156       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.705       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7444       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.0467       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.998       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7216       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .95443       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0505       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=   9825.562     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     2031 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2283        8.4614       -.22325E-06   -.15676E-03
   2  Prefactor     2.5187        77.889        .12531E-05   -.46177E-05
   3  Prefactor     8.1772        9.4128        .22330E-05   -.45887E-03
   4  norm          .10000E-03    5.3650       -.16423E-07** at limit **
   5  norm          .99878        .75254       -.88440E-08   -.24342E-03
   6  norm          .10000E-03    1.3062       -.38731E-08** at limit **
   7  norm          20.280        16.048        .35853E-07    .17506E-04
   8  norm          1.8565        1.3553        .32810E-07   -.62148E-04
   9  Prefactor     .10000E-03    23.332        .33584E-07** at limit **
  10  norm          1.8193        2.8737        .39578E-06   -.19177E-03
  11  norm          10.154        15.332        .53076E-06    .80278E-04
  12  Prefactor     25.700        26.136       -.12106E-06   -.25678E-06
  13  Prefactor     .10000E-03    17.216        .77842E-08** at limit **
  14  Prefactor     2.7444        2.8208        .22696E-06   -.12985E-03
  15  Prefactor     .10000E-03    13.575       -.25026E-08** at limit **
  16  norm          6.0470        2.0789        .30131E-07   -.52937E-04
  17  Prefactor     14.975        38.501       -.55850E-05   -.19383E-03
  18  Prefactor     4.7225        6.1561        .16385E-06   -.56731E-04
  19  Normalizat    .95404        .21099       -.16643E-06   -.31010E-04
  20  Prefactor     1.0507        .95923E-01   -.21863E-06   -.26010E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.22827
  Prefactor  = 2.51867
  Prefactor  = 8.17718
  norm       = 0.0001
  norm       = 0.998781
  norm       = 0.0001
  norm       = 20.2805
  norm       = 1.85654
  Prefactor  = 0.0001
  norm       = 1.81934
  norm       = 10.154
  Prefactor  = 25.6996
  Prefactor  = 0.0001
  Prefactor  = 2.74435
  Prefactor  = 0.0001
  norm       = 6.04699
  Prefactor  = 14.9747
  Prefactor  = 4.72245
  Normalizat = 0.954036
  Prefactor  = 1.05068
 **********
 **   18 **HESSE 
 **********

 FCN=   9825.562     FROM HESSE     STATUS=OK           299 CALLS     2330 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2283        8.3900        .13195E-03   -1.5100    
   2  Prefactor     2.5187        76.620        .24892E-03   -1.5391    
   3  Prefactor     8.1772        9.8818        .70088E-03   -1.5136    
   4  norm          .10000E-03    5.3661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .99878        .73161        .71866E-03   -1.5508    
   6  norm          .10000E-03    1.3066        .11063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.280        16.032        .88935E-04   -1.4807    
   8  norm          1.8565        1.3473        .95759E-04   -1.5435    
   9  Prefactor     .10000E-03    23.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8193        2.8667        .20354E-03   -1.5438    
  11  norm          10.154        15.363        .12574E-03   -1.5071    
  12  Prefactor     25.700        26.146        .79011E-04   -1.4694    
  13  Prefactor     .10000E-03    17.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.7444        2.8168        .16224E-03   -1.5377    
  15  Prefactor     .10000E-03    13.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.0470        2.0850        .79180E-04   -1.5216    
  17  Prefactor     14.975        41.860        .10342E-03   -1.4934    
  18  Prefactor     4.7225        6.1647        .18518E-03   -1.5273    
  19  Normalizat    .95404        .24446        .38395E-03   -.94587    
  20  Prefactor     1.0507        .11223        .16961E-03   -.91059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6443e-10
Minuit parameter uncertainties:
  1  8.39111
  2  27.8221
  3  9.88372
  4  1.76852e-06
  5  0.731619
  6  3.6454e-07
  7  16.0352
  8  1.34737
  9  6.55708e-07
  10  2.8669
  11  15.3686
  12  26.1576
  13  7.24754e-08
  14  2.81694
  15  1.77497e-05
  16  2.08501
  17  41.9424
  18  6.16556
  19  0.244747
  20  0.112258
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.819e+00  2.867e+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.051e+00  1.123e-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:  9.540e-01  2.447e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.50
Ra Dec: 305.591 -45.223
Photon Flux Upper Limit: 7.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.14e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849045/likelihoodResults_378000001_378259201_4FGL_J2022.3-4513_daily_bin535.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) = 9824.8426851
delta logL = 0.718958468986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9824.82141914
delta logL = 0.740224425899

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1800       1.0000         .10000E-03   10000.    
     2 'alpha     '    .90619       1.0000          .0000       5.0000    
     3 'Normalizat'    .95930       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0506       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=   9824.821     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      209 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1829        1.3690        .10524E-01    .89297E-03
   2  alpha         .90671        .46184        .50000       -.12534E-03
   3  Normalizat    .95931        .20193        .86468E-01    .95787E-04
   4  Prefactor     1.0506        .93722E-01    .39876E-01    .66812E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.18293
  alpha      = 0.906711
  Normalizat = 0.959314
  Prefactor  = 1.05056
 **********
 **   18 **HESSE 
 **********

 FCN=   9824.821     FROM HESSE     STATUS=OK            27 CALLS      236 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1829        3.0043        .11932E-03   -1.5490    
   2  alpha         .90671        .99041        .22968E-02   -.69101    
   3  Normalizat    .95931        .23373        .38286E-03   -.94406    
   4  Prefactor     1.0506        .10894        .16959E-03   -.91062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4355e-10
Minuit parameter uncertainties:
  1  3.00466
  2  1.04023
  3  0.233983
  4  0.108959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849045': 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) = 9824.8214183
delta logL = 0.740225262532

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.183e+00  3.005e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  9.067e-01  1.040e+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:  1.051e+00  1.090e-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:  9.593e-01  2.340e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.98
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 0.91 +/- 1.04
Photon Flux (Free Index): 5.90e-09 +/- 1.11e-08
Energy Flux (Free Index): 4.64e-05 +/- 6.78e-05

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/849045/cmap_HighResolution_378000001_378259201_4FGL_J2022.3-4513_daily_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-05', comment='SUCCESS', energy_flux2='4.64e-05', dlogl='7.40e-01', photon_flux2='5.90e-09', job_status='DONE', time_completed='2021-09-25 01:01:49.807428', photon_index_error2='1.04', photon_index2='0.91', ts='0.50', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='7.14e-08', energy_flux_error2='6.78e-05', EG='0.95', time_epoch_completed='1632556909.81', return_code='0', job_id='849045', GAL2='1.05', EG2='0.96', return_code2='0', photon_flux_error2='1.11e-08', ts2='1.98', photon_index='2.02' WHERE bin_id='535' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:01:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 849045: <4FGL_J2022.3-4513_daily_bin535> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin535> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 00:46:20 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:46:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 00:46:45 2021
Terminated at Sat Sep 25 01:01:50 2021
Results reported at Sat Sep 25 01:01:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin535 305.591 -45.2228 378000001 378259201 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 :                                   757.43 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             298.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            930 sec.

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

