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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1064
RA = 305.591, Dec = -45.2228
tmin = 515116801, tmax = 515376001
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='853508', job_status='RUN', time_executed='2021-09-25 01:04:30.500302', time_epoch_executed='1632557070.5' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1064'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853508

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853508/ft1_4FGL_J2022.3-4513_daily_bin1064.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853508/ft2_4FGL_J2022.3-4513_daily_bin1064.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853508/ft1_4FGL_J2022.3-4513_daily_bin1064.fits outfile=/scratch/kocevski/853508/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1064.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=515116801.0 tmax=515376001.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.63
user 3.28
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853508/ft1_filtered_4FGL_J2022.3-4513_daily_bin1064.fits" evtable="EVENTS" scfile=/scratch/kocevski/853508/ft2_4FGL_J2022.3-4513_daily_bin1064.fits sctable="SC_DATA" outfile=/scratch/kocevski/853508/ltcube_515116801_515376001_4FGL_J2022.3-4513_daily_bin1064.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/853508/ft2_4FGL_J2022.3-4513_daily_bin1064.fits
.....................!
real 13.40
user 13.03
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853508/ft1_filtered_4FGL_J2022.3-4513_daily_bin1064.fits evtable="EVENTS" scfile=/scratch/kocevski/853508/ft2_4FGL_J2022.3-4513_daily_bin1064.fits sctable="SC_DATA" expcube=/scratch/kocevski/853508/ltcube_515116801_515376001_4FGL_J2022.3-4513_daily_bin1064.fits outfile=/scratch/kocevski/853508/expmap_515116801_515376001_4FGL_J2022.3-4513_daily_bin1064.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/853508/ltcube_515116801_515376001_4FGL_J2022.3-4513_daily_bin1064.fits
.....................!
real 192.09
user 186.40
sys 4.74

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/853508/ft1_filtered_4FGL_J2022.3-4513_daily_bin1064.fits scfile=/scratch/kocevski/853508/ft2_4FGL_J2022.3-4513_daily_bin1064.fits outfile=/scratch/kocevski/853508/cmap_515116801_515376001_4FGL_J2022.3-4513_daily_bin1064.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.73
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853508/ft1_filtered_4FGL_J2022.3-4513_daily_bin1064.fits scfile=/scratch/kocevski/853508/ft2_4FGL_J2022.3-4513_daily_bin1064.fits outfile=/scratch/kocevski/853508/cmap_HighResolution_515116801_515376001_4FGL_J2022.3-4513_daily_bin1064.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=305.591 yref=-45.2228 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1660       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0890       1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .45358       1.0000         .10000E-03   10000.    
     6 'norm      '    .94569       1.0000         .10000E-03   10000.    
     7 'norm      '    .11034E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    92.859       1.0000         .10000E-03   10000.    
    10 'norm      '    .55388       1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.824       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .38536E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4399       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.400       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4742       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.4916       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0335       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0903       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=   9258.735     FROM MIGRAD    STATUS=CONVERGED    771 CALLS     2447 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1693        8.9112        .16167E-03    .19689E-05
   2  Prefactor     .10000E-03    18.888        .18142E-02** at limit **
   3  Prefactor     1.1015        29.872        .41784E-02    .49390E-03
   4  norm          .10000E-03    13.571        .18142E-02** at limit **
   5  norm          .45734        .79070        .11340E-02    .25551E-02
   6  norm          .94455        4.6256        .40732E-03   -.28302E-04
   7  norm          .10000E-03    13.751        .18142E-02** at limit **
   8  norm          .10000E-03    .98979        .15010E-02** at limit **
   9  Prefactor     92.935        52.335        .20852E-03   -.88323E-05
  10  norm          .55335        2.9942        .31811E-03    .14295E-04
  11  norm          .10000E-03    4.9870        .18142E-02** at limit **
  12  Prefactor     13.823        23.745        .10773E-03   -.97089E-05
  13  Prefactor     .10021E-03    36.811        .19628    ** at limit **
  14  Prefactor     4.4403        2.6404        .11619E-03    .24853E-04
  15  Prefactor     17.393        19.570        .96017E-04   -.94722E-05
  16  norm          2.4743        1.7979        .10399E-03   -.60345E-04
  17  Prefactor     .10000E-03    25.719        .18142E-02** at limit **
  18  Prefactor     9.4925        7.7065        .13008E-03   -.28492E-04
  19  Normalizat    1.0336        .26621        .38434E-03   -.11654E-04
  20  Prefactor     1.0901        .11787        .17015E-03   -.32294E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.16929
  Prefactor  = 0.0001
  Prefactor  = 1.10147
  norm       = 0.0001
  norm       = 0.457342
  norm       = 0.944552
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 92.9347
  norm       = 0.553347
  norm       = 0.0001
  Prefactor  = 13.8232
  Prefactor  = 0.000100214
  Prefactor  = 4.44035
  Prefactor  = 17.393
  norm       = 2.47433
  Prefactor  = 0.0001
  Prefactor  = 9.49247
  Normalizat = 1.03357
  Prefactor  = 1.09014
 **********
 **   18 **HESSE 
 **********

 FCN=   9258.735     FROM HESSE     STATUS=OK           285 CALLS     2732 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1693        8.9097        .64669E-05   -1.5211    
   2  Prefactor     .10000E-03    18.890        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1015        29.681        .16714E-03   -1.5498    
   4  norm          .10000E-03    13.579        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .45734        .78938        .45361E-04   -1.5573    
   6  norm          .94455        4.6247        .16293E-04   -1.5514    
   7  norm          .10000E-03    13.757        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .99140        .30020E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     92.935        52.327        .83408E-05   -1.3777    
  10  norm          .55335        2.9928        .12724E-04   -1.5559    
  11  norm          .10000E-03    4.9870        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.823        23.746        .43091E-05   -1.4964    
  13  Prefactor     .10021E-03    37.112        .19471       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.4403        2.6402        .46476E-05   -1.5286    
  15  Prefactor     17.393        19.569        .38407E-05   -1.4874    
  16  norm          2.4743        1.7976        .41597E-05   -1.5393    
  17  Prefactor     .10000E-03    25.719        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.4925        7.7057        .52031E-05   -1.5092    
  19  Normalizat    1.0336        .26632        .15374E-04   -.91914    
  20  Prefactor     1.0901        .11788        .34029E-04   -.89782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68572e-09
Minuit parameter uncertainties:
  1  8.91157
  2  3.64625e-06
  3  11.4412
  4  1.17279e-05
  5  0.789401
  6  4.1804
  7  0.000131698
  8  4.73633e-05
  9  52.3528
  10  2.57371
  11  2.02267e-06
  12  23.7619
  13  0.00564278
  14  2.64028
  15  19.576
  16  1.79759
  17  2.9352e-05
  18  7.70655
  19  0.266662
  20  0.117904
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  5.533e-01  2.574e+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.090e+00  1.179e-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.034e+00  2.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/853508/likelihoodResults_515116801_515376001_4FGL_J2022.3-4513_daily_bin1064.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) = 9258.72591634
delta logL = 0.00926472984065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9258.72415166
delta logL = 0.0110294169717

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71742       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7240       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0895       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=   9258.724     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71732        2.9062        .31053E-03    .35937E-03
   2  alpha         1.7250        1.6987        .55541E-01    .20398E-04
   3  Normalizat    1.0350        .25099        .38409E-03   -.34749E-04
   4  Prefactor     1.0894        .11489        .17019E-03   -.11075E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.717321
  alpha      = 1.72495
  Normalizat = 1.03501
  Prefactor  = 1.08944
 **********
 **   18 **HESSE 
 **********

 FCN=   9258.724     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71732        2.8213        .12421E-04   -1.5539    
   2  alpha         1.7250        1.6744        .22217E-02   -.31521    
   3  Normalizat    1.0350        .25111        .15364E-04   -.91867    
   4  Prefactor     1.0894        .11494        .34039E-04   -.89805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77381e-10
Minuit parameter uncertainties:
  1  2.82182
  2  1.85795
  3  0.251399
  4  0.114963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853508': 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) = 9258.72415139
delta logL = 0.0110296875646

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  7.173e-01  2.822e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  1.725e+00  1.858e+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.089e+00  1.150e-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.035e+00  2.514e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/853508/cmap_HighResolution_515116801_515376001_4FGL_J2022.3-4513_daily_bin1064.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.72e-05', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2021-09-25 01:17:35.765481', job_id='853508', GAL2='1.09', fit_tolerance='1e-08', EG2='1.04', EG='1.03', time_epoch_completed='1632557855.77', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.10e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1064' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:17:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 853508: <4FGL_J2022.3-4513_daily_bin1064> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin1064> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 25 01:02:11 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 01:03:07 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:03:07 2021
Terminated at Sat Sep 25 01:17:36 2021
Results reported at Sat Sep 25 01:17:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1064 305.591 -45.2228 515116801 515376001 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 :                                   773.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            925 sec.

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

