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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin499
RA = 305.591, Dec = -45.2228
tmin = 368668801, tmax = 368928001
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='848988', job_status='RUN', time_executed='2021-09-25 00:48:56.311550', time_epoch_executed='1632556136.31' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='499'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848988

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848988/ft1_4FGL_J2022.3-4513_daily_bin499.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848988/ft2_4FGL_J2022.3-4513_daily_bin499.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848988/ft1_4FGL_J2022.3-4513_daily_bin499.fits outfile=/scratch/kocevski/848988/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin499.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=368668801.0 tmax=368928001.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.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/848988/ft1_filtered_4FGL_J2022.3-4513_daily_bin499.fits" evtable="EVENTS" scfile=/scratch/kocevski/848988/ft2_4FGL_J2022.3-4513_daily_bin499.fits sctable="SC_DATA" outfile=/scratch/kocevski/848988/ltcube_368668801_368928001_4FGL_J2022.3-4513_daily_bin499.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/848988/ft2_4FGL_J2022.3-4513_daily_bin499.fits
.....................!
real 19.70
user 19.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848988/ft1_filtered_4FGL_J2022.3-4513_daily_bin499.fits evtable="EVENTS" scfile=/scratch/kocevski/848988/ft2_4FGL_J2022.3-4513_daily_bin499.fits sctable="SC_DATA" expcube=/scratch/kocevski/848988/ltcube_368668801_368928001_4FGL_J2022.3-4513_daily_bin499.fits outfile=/scratch/kocevski/848988/expmap_368668801_368928001_4FGL_J2022.3-4513_daily_bin499.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/848988/ltcube_368668801_368928001_4FGL_J2022.3-4513_daily_bin499.fits
.....................!
real 197.45
user 192.22
sys 4.83

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/848988/ft1_filtered_4FGL_J2022.3-4513_daily_bin499.fits scfile=/scratch/kocevski/848988/ft2_4FGL_J2022.3-4513_daily_bin499.fits outfile=/scratch/kocevski/848988/cmap_368668801_368928001_4FGL_J2022.3-4513_daily_bin499.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.59
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848988/ft1_filtered_4FGL_J2022.3-4513_daily_bin499.fits scfile=/scratch/kocevski/848988/ft2_4FGL_J2022.3-4513_daily_bin499.fits outfile=/scratch/kocevski/848988/cmap_HighResolution_368668801_368928001_4FGL_J2022.3-4513_daily_bin499.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.59
user 0.41
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10803E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11132E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1211       1.0000         .10000E-03   10000.    
     4 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .50238       1.0000         .10000E-03   10000.    
     6 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .56238       1.0000         .10000E-03   10000.    
     8 'norm      '    .92470       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.1754       1.0000         .10000E-03   10000.    
    11 'norm      '    14.721       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.277       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .22448E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .79779       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.0054       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10844E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.8343       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.6398       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .77723       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=   8840.370     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2065 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2913        .66173E-08** at limit **
   2  Prefactor     .10000E-03    9.6665        .32303E-07** at limit **
   3  Prefactor     3.1221        9.5977        .50233E-05    .47901E-04
   4  norm          .10000E-03    4.6068        .30211E-07** at limit **
   5  norm          .50227        .82211        .11827E-06    .30799E-03
   6  norm          .10000E-03    3.8107       -.51718E-08** at limit **
   7  norm          .48797        12.696       -.14783E-05    .15602E-03
   8  norm          .92454        .87463        .17012E-09    .47240E-04
   9  Prefactor     .10000E-03    29.780       -.38871E-05** at limit **
  10  norm          8.1713        4.4761       -.24240E-07    .14244E-03
  11  norm          14.734        14.365       -.28285E-06    .64544E-05
  12  Prefactor     25.237        24.826        .20721E-05    .11249E-04
  13  Prefactor     .10000E-03    83.136       -.67475E-06** at limit **
  14  Prefactor     .79879        1.9427        .22974E-06    .71853E-05
  15  Prefactor     .10000E-03    14.244       -.22428E-06** at limit **
  16  norm          2.0054        1.4253        .32494E-07    .15067E-04
  17  Prefactor     .10000E-03    26.693        .34807E-05** at limit **
  18  Prefactor     6.8415        6.3367       -.14197E-06    .26723E-06
  19  Normalizat    1.6398        .21291        .11901E-06    .68786E-04
  20  Prefactor     .77718        .92990E-01   -.55645E-06    .14244E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.12214
  norm       = 0.0001
  norm       = 0.502273
  norm       = 0.0001
  norm       = 0.487971
  norm       = 0.924541
  Prefactor  = 0.0001
  norm       = 8.1713
  norm       = 14.7337
  Prefactor  = 25.2366
  Prefactor  = 0.0001
  Prefactor  = 0.798792
  Prefactor  = 0.0001
  norm       = 2.00537
  Prefactor  = 0.0001
  Prefactor  = 6.84154
  Normalizat = 1.63981
  Prefactor  = 0.777184
 **********
 **   18 **HESSE 
 **********

 FCN=   8840.370     FROM HESSE     STATUS=OK           301 CALLS     2366 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.4770        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.6758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.1221        9.6119        .11475E-02   -1.5355    
   4  norm          .10000E-03    4.6074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .50227        .74668        .10377E-02   -1.5566    
   6  norm          .10000E-03    3.8311        .17918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48797        145.07        .60244E-02   -1.5568    
   8  norm          .92454        .91106        .83264E-03   -1.5516    
   9  Prefactor     .10000E-03    29.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1713        4.4783        .13809E-03   -1.5136    
  11  norm          14.734        14.367        .10439E-03   -1.4940    
  12  Prefactor     25.237        24.849        .79677E-04   -1.4703    
  13  Prefactor     .10000E-03    83.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .79879        1.9447        .19649E-03   -1.5529    
  15  Prefactor     .10000E-03    14.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.0054        1.4198        .91002E-04   -1.5425    
  17  Prefactor     .10000E-03    26.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.8415        6.3430        .15347E-03   -1.5185    
  19  Normalizat    1.6398        .25219        .30394E-03   -.73922    
  20  Prefactor     .77718        .11023        .18572E-03   -1.0057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35474e-09
Minuit parameter uncertainties:
  1  1.96436e-06
  2  6.49307e-07
  3  9.61662
  4  1.2215e-08
  5  0.746696
  6  9.79306e-07
  7  16.8667
  8  0.911072
  9  2.28908e-06
  10  4.4785
  11  14.3705
  12  24.8595
  13  0.000161212
  14  1.94483
  15  1.34015e-06
  16  1.4198
  17  1.17649e-06
  18  6.34358
  19  0.25239
  20  0.110259
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  8.171e+00  4.478e+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:  7.772e-01  1.103e-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.640e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.07
Ra Dec: 305.591 -45.223
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 6.68e-08 +/- 3.66e-08
Energy Flux (Fixed Index): 3.87e-05 +/- 2.12e-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) = 8838.54523399
delta logL = 1.82509478974

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8838.5417347
delta logL = 1.82859408043

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1822       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9710       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5324       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80534       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=   8838.542     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      307 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1822        4.3583        .73499E-04   -.10858E-03
   2  alpha         2.9710        .66434        .84768E-02    .40478E-03
   3  Normalizat    1.5324        .25631        .31190E-03    .34555E-04
   4  Prefactor     .80531        .11102        .18264E-03    .13420E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.18224
  alpha      = 2.97102
  Normalizat = 1.53242
  Prefactor  = 0.805313
 **********
 **   18 **HESSE 
 **********

 FCN=   8838.542     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1822        3.6912        .29400E-05   -1.5299    
   2  alpha         2.9710        .56418        .16954E-02    .18954    
   3  Normalizat    1.5324        .25513        .12476E-04   -.76871    
   4  Prefactor     .80531        .11064        .73055E-05   -.99533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34976e-11
Minuit parameter uncertainties:
  1  3.69145
  2  0.569268
  3  0.255344
  4  0.110671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848988': 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) = 8838.54173467
delta logL = 1.82859411156

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  4.182e+00  3.691e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.971e+00  5.693e-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:  8.053e-01  1.107e-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.532e+00  2.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.91
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 2.97 +/- 0.57
Photon Flux (Free Index): 1.47e-07 +/- 6.68e-08
Energy Flux (Free Index): 3.27e-05 +/- 1.37e-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/848988/cmap_HighResolution_368668801_368928001_4FGL_J2022.3-4513_daily_bin499.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.68e-08', energy_flux2='3.27e-05', photon_flux_error='3.66e-08', dlogl='1.83e+00', energy_flux='3.87e-05', photon_flux2='1.47e-07', job_status='DONE', time_completed='2021-09-25 01:00:29.306276', photon_index_error2='0.57', photon_index2='2.97', ts='6.07', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='1.37e-05', EG='1.64', time_epoch_completed='1632556829.31', return_code='0', job_id='848988', GAL2='0.81', EG2='1.53', return_code2='0', energy_flux_error='2.12e-05', photon_flux_error2='6.68e-08', ts2='9.91', photon_index='2.02' WHERE bin_id='499' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:00:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 848988: <4FGL_J2022.3-4513_daily_bin499> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin499> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 00:46:17 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:46:33 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:33 2021
Terminated at Sat Sep 25 01:00:30 2021
Results reported at Sat Sep 25 01:00:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin499 305.591 -45.2228 368668801 368928001 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 :                                   694.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            853 sec.

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

