/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 201 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 = 7482
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2022.3-4513_daily_bin350
RA = 305.591, Dec = -45.2228
tmin = 330048001, tmax = 330307201
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='847605', job_status='RUN', time_executed='2021-09-25 00:45:01.625987', time_epoch_executed='1632555901.63' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847605

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847605/ft1_4FGL_J2022.3-4513_daily_bin350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847605/ft2_4FGL_J2022.3-4513_daily_bin350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847605/ft1_4FGL_J2022.3-4513_daily_bin350.fits outfile=/scratch/kocevski/847605/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin350.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=330048001.0 tmax=330307201.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.48
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847605/ft1_filtered_4FGL_J2022.3-4513_daily_bin350.fits" evtable="EVENTS" scfile=/scratch/kocevski/847605/ft2_4FGL_J2022.3-4513_daily_bin350.fits sctable="SC_DATA" outfile=/scratch/kocevski/847605/ltcube_330048001_330307201_4FGL_J2022.3-4513_daily_bin350.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/847605/ft2_4FGL_J2022.3-4513_daily_bin350.fits
.....................!
real 12.77
user 12.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847605/ft1_filtered_4FGL_J2022.3-4513_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/847605/ft2_4FGL_J2022.3-4513_daily_bin350.fits sctable="SC_DATA" expcube=/scratch/kocevski/847605/ltcube_330048001_330307201_4FGL_J2022.3-4513_daily_bin350.fits outfile=/scratch/kocevski/847605/expmap_330048001_330307201_4FGL_J2022.3-4513_daily_bin350.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/847605/ltcube_330048001_330307201_4FGL_J2022.3-4513_daily_bin350.fits
.....................!
real 193.00
user 186.58
sys 5.50

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/847605/ft1_filtered_4FGL_J2022.3-4513_daily_bin350.fits scfile=/scratch/kocevski/847605/ft2_4FGL_J2022.3-4513_daily_bin350.fits outfile=/scratch/kocevski/847605/cmap_330048001_330307201_4FGL_J2022.3-4513_daily_bin350.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=305.591 yref=-45.2228 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847605/ft1_filtered_4FGL_J2022.3-4513_daily_bin350.fits scfile=/scratch/kocevski/847605/ft2_4FGL_J2022.3-4513_daily_bin350.fits outfile=/scratch/kocevski/847605/cmap_HighResolution_330048001_330307201_4FGL_J2022.3-4513_daily_bin350.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.64
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/847605/ft1_filtered_4FGL_J2022.3-4513_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/847605/ft2_4FGL_J2022.3-4513_daily_bin350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847605/Model_4FGL_J2022.3-4513_daily_bin350.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/847605/ft1_filtered_4FGL_J2022.3-4513_daily_bin350.fits.....................!
real 65.33
user 63.81
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4254       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.7283       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6648       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.5813       1.0000         .10000E-03   10000.    
     6 'norm      '    3.6427       1.0000         .10000E-03   10000.    
     7 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.5601       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.406       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    20.240       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11598E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17058E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.335       1.0000         .10000E-03   10000.    
    16 'norm      '    7.6896       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.731       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1217       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0044       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7926.754     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     2049 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4240        5.8561         .0000        .24984E-01
   2  Prefactor     8.7282        17.780         .0000        .62534E-03
   3  Prefactor     2.6635        12.373         .0000        .47071E-02
   4  norm          .10000E-03    5.1991         .0000    ** at limit **
   5  norm          1.5812        1.2867         .0000        .92243E-03
   6  norm          3.6419        8.3597         .0000        .56042E-02
   7  norm          .10000E-03    11.388         .0000    ** at limit **
   8  norm          1.5600        1.2828         .0000       -.42327E-04
   9  Prefactor     16.405        30.863         .0000        .14348E-03
  10  norm          .10000E-03    1.3701         .0000    ** at limit **
  11  norm          20.239        21.302         .0000       -.10397E-03
  12  Prefactor     .10000E-03    33.648         .0000    ** at limit **
  13  Prefactor     .10000E-03    90.059         .0000    ** at limit **
  14  Prefactor     .10000E-03    2.2737         .0000    ** at limit **
  15  Prefactor     14.349        25.593         .0000       -.13144E-02
  16  norm          7.6892        2.6259         .0000        .80859E-04
  17  Prefactor     .10000E-03    29.563         .0000    ** at limit **
  18  Prefactor     16.729        10.372         .0000       -.49067E-03
  19  Normalizat    1.1219        .24180         .0000        .12000E-04
  20  Prefactor     1.0044        .10443         .0000        .51047E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42399
  Prefactor  = 8.72824
  Prefactor  = 2.66354
  norm       = 0.0001
  norm       = 1.58119
  norm       = 3.64194
  norm       = 0.0001
  norm       = 1.56002
  Prefactor  = 16.4049
  norm       = 0.0001
  norm       = 20.2395
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 14.3485
  norm       = 7.68919
  Prefactor  = 0.0001
  Prefactor  = 16.7292
  Normalizat = 1.12187
  Prefactor  = 1.00439
 **********
 **   18 **HESSE 
 **********

 FCN=   7926.754     FROM HESSE     STATUS=OK           291 CALLS     2340 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4240        5.8043        .18105E-02   -1.5469    
   2  Prefactor     8.7282        17.759        .67838E-03   -1.5117    
   3  Prefactor     2.6635        12.349        .12484E-02   -1.5382    
   4  norm          .10000E-03    5.1993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5812        1.2730        .85555E-04   -1.5456    
   6  norm          3.6419        8.3430        .10583E-02   -1.5326    
   7  norm          .10000E-03    11.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5600        1.2886        .88904E-04   -1.5458    
   9  Prefactor     16.405        30.873        .98883E-04   -1.4898    
  10  norm          .10000E-03    1.3812        .10175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          20.239        21.297        .89027E-04   -1.4808    
  12  Prefactor     .10000E-03    33.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    90.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.7289        .25645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.349        25.512        .10579E-03   -1.4950    
  16  norm          7.6892        2.6331        .79934E-04   -1.5153    
  17  Prefactor     .10000E-03    29.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.729        10.382        .97918E-04   -1.4890    
  19  Normalizat    1.1219        .28563        .37217E-03   -.89053    
  20  Prefactor     1.0044        .12490        .17247E-03   -.92583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04739e-08
Minuit parameter uncertainties:
  1  5.75063
  2  17.7697
  3  11.474
  4  2.04375e-06
  5  1.27307
  6  8.34564
  7  2.08411e-05
  8  1.2886
  9  30.9032
  10  1.03368e-06
  11  21.305
  12  0.000185412
  13  0.000857365
  14  1.98973e-07
  15  25.531
  16  2.63313
  17  2.34714e-05
  18  10.383
  19  0.286027
  20  0.124936
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  1.034e-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:  1.004e+00  1.249e-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.122e+00  2.860e-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: 5.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847605/likelihoodResults_330048001_330307201_4FGL_J2022.3-4513_daily_bin350.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) = 7926.75787549
delta logL = -0.00343559129487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7926.75443989
delta logL = 6.33826857666e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0244       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0044       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7926.595     FROM MIGRAD    STATUS=FAILED       135 CALLS      270 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20428E-01    1.3525        .50360E-02    .88643E-02
   2  alpha         5.0000        4.6645        .50000    ** at limit **
   3  Normalizat    1.0734        .72311E-01    .37217E-03    .25506E-04
   4  Prefactor     1.0169        .29322E-01    .17247E-03    .20026E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7926.595     FROM SIMPLEX   STATUS=UNCHANGED    148 CALLS      418 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20428E-01    1.3525        .28647E-06    .88643E-02
   2  alpha         5.0000        4.6645        .13348E-01** at limit **
   3  Normalizat    1.0734        .72311E-01    .94504E-07    .25506E-04
   4  Prefactor     1.0169        .29322E-01    .73244E-08    .20026E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7926.595     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      463 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20428E-01    .43659E-01    .21472E-03    .15083E-02
   2  alpha         5.0000        4.1193        .50000    ** at limit **
   3  Normalizat    1.0734        .28629        .14887E-04    .32685E-04
   4  Prefactor     1.0169        .12268        .34493E-04    .28279E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0204281
  alpha      = 5
  Normalizat = 1.07335
  Prefactor  = 1.01689
 **********
 **   18 **HESSE 
 **********

 FCN=   7926.595     FROM HESSE     STATUS=OK            31 CALLS      494 TOTAL
                     EDM=   .69E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20428E-01    .41235E-01    .85888E-05   -1.5679    
   2  alpha         5.0000        4.0004        .50000        14.137    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0734        .28680        .29774E-05   -.90612    
   4  Prefactor     1.0169        .12274        .68986E-05   -.92169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.89768e-12
Minuit parameter uncertainties:
  1  0.0412353
  2  1.95165e-05
  3  0.28722
  4  0.122773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847605': 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) = 7926.59511211
delta logL = 0.159327786128

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  2.043e-02  4.124e-02  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  5.000e+00  1.952e-05  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.017e+00  1.228e-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.073e+00  2.872e-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/847605/cmap_HighResolution_330048001_330307201_4FGL_J2022.3-4513_daily_bin350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-05', job_status='DONE', photon_flux_upper_limit='5.15e-08', time_completed='2021-09-25 00:56:40.570077', job_id='847605', GAL2='1.02', fit_tolerance='1e-08', EG2='1.07', EG='1.12', time_epoch_completed='1632556600.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.59e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='350' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 00:56:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 847605: <4FGL_J2022.3-4513_daily_bin350> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin350> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 25 00:41:04 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:41:31 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:41:31 2021
Terminated at Sat Sep 25 00:56:41 2021
Results reported at Sat Sep 25 00:56:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin350 305.591 -45.2228 330048001 330307201 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 :                                   698.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            937 sec.

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

