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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin820
RA = 305.591, Dec = -45.2228
tmin = 451872001, tmax = 452131201
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='851705', job_status='RUN', time_executed='2021-09-25 00:57:25.037183', time_epoch_executed='1632556645.04' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='820'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851705

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851705/ft1_4FGL_J2022.3-4513_daily_bin820.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851705/ft2_4FGL_J2022.3-4513_daily_bin820.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851705/ft1_4FGL_J2022.3-4513_daily_bin820.fits outfile=/scratch/kocevski/851705/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin820.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=451872001.0 tmax=452131201.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 2.81
user 2.58
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851705/ft1_filtered_4FGL_J2022.3-4513_daily_bin820.fits" evtable="EVENTS" scfile=/scratch/kocevski/851705/ft2_4FGL_J2022.3-4513_daily_bin820.fits sctable="SC_DATA" outfile=/scratch/kocevski/851705/ltcube_451872001_452131201_4FGL_J2022.3-4513_daily_bin820.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/851705/ft2_4FGL_J2022.3-4513_daily_bin820.fits
.....................!
real 11.98
user 11.66
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851705/ft1_filtered_4FGL_J2022.3-4513_daily_bin820.fits evtable="EVENTS" scfile=/scratch/kocevski/851705/ft2_4FGL_J2022.3-4513_daily_bin820.fits sctable="SC_DATA" expcube=/scratch/kocevski/851705/ltcube_451872001_452131201_4FGL_J2022.3-4513_daily_bin820.fits outfile=/scratch/kocevski/851705/expmap_451872001_452131201_4FGL_J2022.3-4513_daily_bin820.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/851705/ltcube_451872001_452131201_4FGL_J2022.3-4513_daily_bin820.fits
.....................!
real 155.74
user 151.32
sys 4.05

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/851705/ft1_filtered_4FGL_J2022.3-4513_daily_bin820.fits scfile=/scratch/kocevski/851705/ft2_4FGL_J2022.3-4513_daily_bin820.fits outfile=/scratch/kocevski/851705/cmap_451872001_452131201_4FGL_J2022.3-4513_daily_bin820.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.47
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851705/ft1_filtered_4FGL_J2022.3-4513_daily_bin820.fits scfile=/scratch/kocevski/851705/ft2_4FGL_J2022.3-4513_daily_bin820.fits outfile=/scratch/kocevski/851705/cmap_HighResolution_451872001_452131201_4FGL_J2022.3-4513_daily_bin820.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.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/851705/ft1_filtered_4FGL_J2022.3-4513_daily_bin820.fits evtable="EVENTS" scfile=/scratch/kocevski/851705/ft2_4FGL_J2022.3-4513_daily_bin820.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/851705/Model_4FGL_J2022.3-4513_daily_bin820.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/851705/ft1_filtered_4FGL_J2022.3-4513_daily_bin820.fits.....................!
real 66.92
user 65.76
sys 1.00

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.2912       1.0000         .10000E-03   10000.    
     4 'norm      '    11.934       1.0000         .10000E-03   10000.    
     5 'norm      '    1.3178       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.6497       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24054E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .93374       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6954       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.2320       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18884E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1197       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0017       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11020.69     FROM MIGRAD    STATUS=CONVERGED    435 CALLS     1802 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.1349        .90712E-02** at limit **
   2  Prefactor     .10000E-03    13.026        .90712E-02** at limit **
   3  Prefactor     7.2924        8.3661        .37136E-02    .36058E-02
   4  norm          11.934        12.899        .28990E-02    .10094E-04
   5  norm          1.3175        .83294        .95880E-02    .62870E-03
   6  norm          .10000E-03    2.6252        .90712E-02** at limit **
   7  norm          6.6508        9.2571        .38903E-02    .23010E-02
   8  norm          .10000E-03    .48699        .90712E-02** at limit **
   9  Prefactor     .10000E-03    169.61        .90712E-02** at limit **
  10  norm          .93347        1.9375        .37005E-01    .10587E-02
  11  norm          .10000E-03    6.4082        .90712E-02** at limit **
  12  Prefactor     .10000E-03    6.9807        .90712E-02** at limit **
  13  Prefactor     .10000E-03    29.864        .90712E-02** at limit **
  14  Prefactor     1.6956        1.9331        .80796E-02    .35636E-03
  15  Prefactor     .10000E-03    7.2356        .90712E-02** at limit **
  16  norm          7.2324        1.9668        .37289E-02    .11020E-03
  17  Prefactor     .10000E-03    50.176        .90712E-02** at limit **
  18  Prefactor     .10000E-03    2.6782        .90712E-01** at limit **
  19  Normalizat    1.1195        .18901        .79861E-01    .22634E-04
  20  Prefactor     1.0018        .84541E-01    .45074E-01   -.24420E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.29235
  norm       = 11.9338
  norm       = 1.31747
  norm       = 0.0001
  norm       = 6.65084
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.933475
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.69563
  Prefactor  = 0.0001
  norm       = 7.23241
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11951
  Prefactor  = 1.00175
 **********
 **   18 **HESSE 
 **********

 FCN=   11020.69     FROM HESSE     STATUS=OK           291 CALLS     2093 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.2924        8.3640        .74271E-03   -1.5168    
   4  norm          11.934        12.908        .11596E-03   -1.5017    
   5  norm          1.3175        .82535        .72746E-04   -1.5478    
   6  norm          .10000E-03    2.6460        .16609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.6508        9.2260        .77806E-03   -1.5192    
   8  norm          .10000E-03    .50654        .14304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    172.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .93347        1.4702        .20271E-02   -1.5515    
  11  norm          .10000E-03    6.4537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.0081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    29.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6956        1.9251        .15113E-03   -1.5448    
  15  Prefactor     .10000E-03    7.2514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.2324        1.9717        .73371E-04   -1.5170    
  17  Prefactor     .10000E-03    50.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.457        .33217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1195        .22299        .35353E-03   -.89128    
  20  Prefactor     1.0018        .10098        .16797E-03   -.92671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28746e-11
Minuit parameter uncertainties:
  1  3.03159e-06
  2  4.50674e-06
  3  8.36529
  4  12.9112
  5  0.825361
  6  1.60255e-07
  7  9.228
  8  1.29491e-07
  9  0.000354436
  10  1.47028
  11  2.32846e-06
  12  1.52759e-06
  13  8.83285e-06
  14  1.92513
  15  2.80791e-06
  16  1.97176
  17  8.33518e-05
  18  9.21968e-07
  19  0.223179
  20  0.100997
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  9.335e-01  1.470e+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.002e+00  1.010e-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.120e+00  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/851705/likelihoodResults_451872001_452131201_4FGL_J2022.3-4513_daily_bin820.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) = 11020.6740759
delta logL = 0.0110576300995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11020.6736072
delta logL = 0.0115263297139

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89397       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1987       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1177       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0021       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11020.67     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      209 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89409        43.374        .35565E-01    .71870E-03
   2  alpha         2.1988        2.8322        .41536        .61719E-04
   3  Normalizat    1.1177        .36038E-01    .79918E-01    .14831E-04
   4  Prefactor     1.0021        .16349E-01    .44937E-01   -.18776E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.894092
  alpha      = 2.19878
  Normalizat = 1.1177
  Prefactor  = 1.00211
 **********
 **   18 **HESSE 
 **********

 FCN=   11020.67     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89409        1.5390        .19234E-02   -1.5519    
   2  alpha         2.1988        1.1990        .38289E-01   -.12078    
   3  Normalizat    1.1177        .21844        .35378E-03   -.89185    
   4  Prefactor     1.0021        .99290E-01    .16794E-03   -.92659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55512e-10
Minuit parameter uncertainties:
  1  1.53909
  2  1.25134
  3  0.218619
  4  0.0993082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851705': 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) = 11020.6736072
delta logL = 0.0115263383741

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  8.941e-01  1.539e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.199e+00  1.251e+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.002e+00  9.931e-02  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.118e+00  2.186e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.71
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/851705/cmap_HighResolution_451872001_452131201_4FGL_J2022.3-4513_daily_bin820.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.77e-05', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2021-09-25 01:08:13.677526', job_id='851705', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1632557293.68', return_code2='0', ts='0.71', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.15e-02', ts2='0.74', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='820' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:08:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 851705: <4FGL_J2022.3-4513_daily_bin820> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin820> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 00:56:09 2021
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:56:37 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:56:37 2021
Terminated at Sat Sep 25 01:08:14 2021
Results reported at Sat Sep 25 01:08:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin820 305.591 -45.2228 451872001 452131201 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 :                                   647.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            725 sec.

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

