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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin425
RA = 305.591, Dec = -45.2228
tmin = 349488001, tmax = 349747201
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='848875', job_status='RUN', time_executed='2021-09-25 00:50:10.364235', time_epoch_executed='1632556210.36' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848875

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848875/ft1_4FGL_J2022.3-4513_daily_bin425.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848875/ft2_4FGL_J2022.3-4513_daily_bin425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848875/ft1_4FGL_J2022.3-4513_daily_bin425.fits outfile=/scratch/kocevski/848875/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin425.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=349488001.0 tmax=349747201.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.41
user 3.18
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/848875/ft1_filtered_4FGL_J2022.3-4513_daily_bin425.fits" evtable="EVENTS" scfile=/scratch/kocevski/848875/ft2_4FGL_J2022.3-4513_daily_bin425.fits sctable="SC_DATA" outfile=/scratch/kocevski/848875/ltcube_349488001_349747201_4FGL_J2022.3-4513_daily_bin425.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/848875/ft2_4FGL_J2022.3-4513_daily_bin425.fits
.....................!
real 13.77
user 13.34
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848875/ft1_filtered_4FGL_J2022.3-4513_daily_bin425.fits evtable="EVENTS" scfile=/scratch/kocevski/848875/ft2_4FGL_J2022.3-4513_daily_bin425.fits sctable="SC_DATA" expcube=/scratch/kocevski/848875/ltcube_349488001_349747201_4FGL_J2022.3-4513_daily_bin425.fits outfile=/scratch/kocevski/848875/expmap_349488001_349747201_4FGL_J2022.3-4513_daily_bin425.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/848875/ltcube_349488001_349747201_4FGL_J2022.3-4513_daily_bin425.fits
.....................!
real 192.42
user 186.16
sys 4.99

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/848875/ft1_filtered_4FGL_J2022.3-4513_daily_bin425.fits scfile=/scratch/kocevski/848875/ft2_4FGL_J2022.3-4513_daily_bin425.fits outfile=/scratch/kocevski/848875/cmap_349488001_349747201_4FGL_J2022.3-4513_daily_bin425.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.57
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2509       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.8042       1.0000         .10000E-03   10000.    
     4 'norm      '    1.1199       1.0000         .10000E-03   10000.    
     5 'norm      '    .46299       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10128E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    62.000       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    107.99       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.3265       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    36.451       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .83305       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2910       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=   7702.211     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2066 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2510        9.2167        .30091E-07   -.18330E-04
   2  Prefactor     .10000E-03    18.331       -.34564E-08** at limit **
   3  Prefactor     6.8041        13.055        .45072E-05   -.18480E-04
   4  norm          1.1205        48.550        .25923E-05   -.18443E-04
   5  norm          .46219        1.0702        .24764E-06   -.10130E-03
   6  norm          .10000E-03    10.492        .88463E-07** at limit **
   7  norm          .10000E-03    69.482        .76497E-06** at limit **
   8  norm          .10000E-03    .96435        .22749E-06** at limit **
   9  Prefactor     61.951        60.158       -.58227E-06   -.14199E-03
  10  norm          .10000E-03    2.5488        .77514E-07** at limit **
  11  norm          .10000E-03    16.375        .65849E-07** at limit **
  12  Prefactor     .10000E-03    17.429       -.17038E-06** at limit **
  13  Prefactor     107.96        94.930       -.64856E-07   -.61574E-04
  14  Prefactor     .10000E-03    1.1753        .22157E-06** at limit **
  15  Prefactor     .10000E-03    13.730        .19885E-06** at limit **
  16  norm          6.3269        2.7530        .70152E-07   -.31574E-04
  17  Prefactor     .10000E-03    24.803        .71805E-07** at limit **
  18  Prefactor     36.454        14.313        .99924E-07   -.15723E-04
  19  Normalizat    .83268        .28448       -.12454E-05   -.73655E-04
  20  Prefactor     1.2911        .12684       -.19757E-06   -.15476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.25098
  Prefactor  = 0.0001
  Prefactor  = 6.80412
  norm       = 1.12049
  norm       = 0.462193
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 61.9513
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 107.956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.32692
  Prefactor  = 0.0001
  Prefactor  = 36.4538
  Normalizat = 0.832682
  Prefactor  = 1.29114
 **********
 **   18 **HESSE 
 **********

 FCN=   7702.211     FROM HESSE     STATUS=OK           293 CALLS     2359 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2510        9.2082        .13177E-03   -1.5100    
   2  Prefactor     .10000E-03    18.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.8041        13.069        .76909E-03   -1.5186    
   4  norm          1.1205        49.612        .44397E-03   -1.5496    
   5  norm          .46219        1.0510        .13069E-03   -1.5572    
   6  norm          .10000E-03    10.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    71.348        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.6924        .16696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     61.951        59.985        .25480E-03   -1.4132    
  10  norm          .10000E-03    2.6063        .13681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    16.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     107.96        94.835        .19351E-03   -1.3626    
  14  Prefactor     .10000E-03    2.0381        .18470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.3269        2.7541        .90496E-04   -1.5205    
  17  Prefactor     .10000E-03    24.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     36.454        14.326        .66380E-04   -1.4500    
  19  Normalizat    .83268        .31303        .46791E-03   -.98868    
  20  Prefactor     1.2911        .14066        .17338E-03   -.83571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79503e-10
Minuit parameter uncertainties:
  1  9.2096
  2  3.35234e-05
  3  13.0742
  4  14.9242
  5  1.05107
  6  4.12555e-06
  7  0.000101926
  8  1.1968e-05
  9  60.0431
  10  2.89765e-06
  11  4.52916e-05
  12  6.57407e-06
  13  94.9686
  14  1.15372e-05
  15  1.95721e-06
  16  2.75419
  17  1.18311e-05
  18  14.3274
  19  0.313713
  20  0.140702
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  2.898e-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.291e+00  1.407e-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:  8.327e-01  3.137e-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: 6.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/848875/likelihoodResults_349488001_349747201_4FGL_J2022.3-4513_daily_bin425.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): 102
logL (Free Index) = 7702.21296172
delta logL = -0.00182592114015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7702.21113663
delta logL = -8.35703758639e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10680E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9961       1.0000          .0000       5.0000    
     3 'Normalizat'    .83273       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2911       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=   7702.211     FROM MIGRAD    STATUS=FAILED       106 CALLS      245 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.8082        .48959E-01** at limit **
   2  alpha         1.5092        3.3657        .50000       -.20137E-05
   3  Normalizat    .83268        .13435E-01    .46791E-03    .26875E-03
   4  Prefactor     1.2911        .60997E-02    .17338E-03    .94637E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7702.211     FROM SIMPLEX   STATUS=UNCHANGED    166 CALLS      411 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.8082        .32047E-03** at limit **
   2  alpha         1.5092        3.3657        .85033E-05   -.20137E-05
   3  Normalizat    .83268        .13435E-01    .67360E-07    .26875E-03
   4  Prefactor     1.2911        .60997E-02    .12669E-07    .94637E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7702.211     FROM MIGRAD    STATUS=FAILED        74 CALLS      485 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    841.18        .47805E-03** at limit **
   2  alpha         1.5096        2.5502        .50000       -.19556E-05
   3  Normalizat    .83268        .21085        .37433E-05    .25208E-03
   4  Prefactor     1.2911        .95829E-01    .69350E-05    .90162E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.50957
  Normalizat = 0.832682
  Prefactor  = 1.29114
 **********
 **   18 **HESSE 
 **********

 FCN=   7702.211     FROM HESSE     STATUS=OK            27 CALLS      512 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9277        .95609E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5096        4.1835        .50000       -.40734    
   3  Normalizat    .83268        .29913        .74866E-06   -.98868    
   4  Prefactor     1.2911        .13594        .13870E-05   -.83571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13794e-09
Minuit parameter uncertainties:
  1  2.34931e-06
  2  110.116
  3  0.299728
  4  0.135973
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848875': 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): 1
logL (Free Index) = 7702.21113006
delta logL = 5.73337547394e-06

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  2.349e-06  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  1.510e+00  1.101e+02  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.291e+00  1.360e-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:  8.327e-01  2.997e-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/848875/cmap_HighResolution_349488001_349747201_4FGL_J2022.3-4513_daily_bin425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.99e-05', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-09-25 01:01:34.796394', job_id='848875', GAL2='1.29', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1632556894.8', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='5.73e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='425' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:01:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 848875: <4FGL_J2022.3-4513_daily_bin425> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin425 305.591 -45.2228 349488001 349747201 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 :                                   679.07 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             261.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            927 sec.

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

