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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin600
RA = 305.591, Dec = -45.2228
tmin = 394848001, tmax = 395107201
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='850239', job_status='RUN', time_executed='2021-09-25 00:53:35.861650', time_epoch_executed='1632556415.86' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850239

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850239/ft1_4FGL_J2022.3-4513_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850239/ft2_4FGL_J2022.3-4513_daily_bin600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850239/ft1_4FGL_J2022.3-4513_daily_bin600.fits outfile=/scratch/kocevski/850239/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin600.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=394848001.0 tmax=395107201.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 4.33
user 4.05
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850239/ft1_filtered_4FGL_J2022.3-4513_daily_bin600.fits" evtable="EVENTS" scfile=/scratch/kocevski/850239/ft2_4FGL_J2022.3-4513_daily_bin600.fits sctable="SC_DATA" outfile=/scratch/kocevski/850239/ltcube_394848001_395107201_4FGL_J2022.3-4513_daily_bin600.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/850239/ft2_4FGL_J2022.3-4513_daily_bin600.fits
.....................!
real 12.52
user 12.17
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850239/ft1_filtered_4FGL_J2022.3-4513_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/850239/ft2_4FGL_J2022.3-4513_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/850239/ltcube_394848001_395107201_4FGL_J2022.3-4513_daily_bin600.fits outfile=/scratch/kocevski/850239/expmap_394848001_395107201_4FGL_J2022.3-4513_daily_bin600.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/850239/ltcube_394848001_395107201_4FGL_J2022.3-4513_daily_bin600.fits
.....................!
real 160.66
user 155.88
sys 4.37

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/850239/ft1_filtered_4FGL_J2022.3-4513_daily_bin600.fits scfile=/scratch/kocevski/850239/ft2_4FGL_J2022.3-4513_daily_bin600.fits outfile=/scratch/kocevski/850239/cmap_394848001_395107201_4FGL_J2022.3-4513_daily_bin600.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.48
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850239/ft1_filtered_4FGL_J2022.3-4513_daily_bin600.fits scfile=/scratch/kocevski/850239/ft2_4FGL_J2022.3-4513_daily_bin600.fits outfile=/scratch/kocevski/850239/cmap_HighResolution_394848001_395107201_4FGL_J2022.3-4513_daily_bin600.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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/850239/ft1_filtered_4FGL_J2022.3-4513_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/850239/ft2_4FGL_J2022.3-4513_daily_bin600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/850239/Model_4FGL_J2022.3-4513_daily_bin600.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/850239/ft1_filtered_4FGL_J2022.3-4513_daily_bin600.fits.....................!
real 53.62
user 52.07
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4871       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.241       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.1484       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.9943       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    92.988       1.0000         .10000E-03   10000.    
    10 'norm      '    8.3824       1.0000         .10000E-03   10000.    
    11 'norm      '    8.3222       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .87110       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .85439E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    2.1301       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .73567       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=   7343.032     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     2020 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4867        7.4553       -.74578E-06   -.28483E-03
   2  Prefactor     .10000E-03    38.510        .11069E-04** at limit **
   3  Prefactor     13.241        14.019       -.64987E-07   -.30311E-04
   4  norm          .10000E-03    7.0387        .28845E-06** at limit **
   5  norm          3.1483        1.4890       -.41704E-07   -.26243E-03
   6  norm          .10000E-03    4.6964       -.10469E-07** at limit **
   7  norm          9.9942        13.425       -.11256E-06   -.15666E-05
   8  norm          .10000E-03    .66399       -.50203E-07** at limit **
   9  Prefactor     92.985        72.010       -.32563E-05    .39289E-05
  10  norm          8.3822        5.1332       -.29009E-05   -.10178E-03
  11  norm          8.3223        14.516       -.66993E-07   -.19411E-04
  12  Prefactor     .10000E-03    11.410        .22234E-06** at limit **
  13  Prefactor     .10000E-03    31.702       -.21102E-05** at limit **
  14  Prefactor     .10000E-03    .64227        .28965E-07** at limit **
  15  Prefactor     .10000E-03    26.504       -.24671E-06** at limit **
  16  norm          .87142        1.6585       -.38813E-06   -.15892E-02
  17  Prefactor     .10000E-03    50.707       -.64440E-05** at limit **
  18  Prefactor     .10002E-03    7.2372        .25846E-06** at limit **
  19  Normalizat    2.1302        .27147        .92295E-06   -.20263E-04
  20  Prefactor     .73563        .11342        .32166E-06   -.19302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.48667
  Prefactor  = 0.0001
  Prefactor  = 13.2406
  norm       = 0.0001
  norm       = 3.14832
  norm       = 0.0001
  norm       = 9.99419
  norm       = 0.0001
  Prefactor  = 92.9848
  norm       = 8.38225
  norm       = 8.32233
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.87142
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  Normalizat = 2.13021
  Prefactor  = 0.735634
 **********
 **   18 **HESSE 
 **********

 FCN=   7343.032     FROM HESSE     STATUS=OK           291 CALLS     2311 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4867        7.4903        .19007E-03   -1.5284    
   2  Prefactor     .10000E-03    38.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.241        14.016        .11008E-03   -1.4980    
   4  norm          .10000E-03    7.0399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.1483        1.4858        .68315E-04   -1.5353    
   6  norm          .10000E-03    4.7144        .18133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.9942        13.419        .12675E-03   -1.5076    
   8  norm          .10000E-03    .68969        .13635E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     92.985        71.968        .41676E-04   -1.3776    
  10  norm          8.3822        5.0943        .13846E-03   -1.5129    
  11  norm          8.3223        14.512        .13897E-03   -1.5131    
  12  Prefactor     .10000E-03    11.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .64300        .67065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .87142        1.4591        .14866E-02   -1.5521    
  17  Prefactor     .10000E-03    50.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    49.434        .44103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    2.1302        .31394        .32008E-03   -.61326    
  20  Prefactor     .73563        .13324        .21057E-03   -1.0215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.5447e-10
Minuit parameter uncertainties:
  1  7.49187
  2  6.05412e-05
  3  14.0195
  4  4.46606e-07
  5  1.48579
  6  3.05287e-06
  7  13.4227
  8  6.77437e-07
  9  72.0351
  10  5.09454
  11  14.5185
  12  6.44888e-06
  13  9.10304e-06
  14  2.13239e-07
  15  1.79565e-05
  16  1.45912
  17  7.72472e-06
  18  0.00190888
  19  0.314245
  20  0.133298
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  8.382e+00  5.095e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.021e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  1.015e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  7.356e-01  1.333e-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:  2.130e+00  3.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.05
Ra Dec: 305.591 -45.223
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 6.86e-08 +/- 4.17e-08
Energy Flux (Fixed Index): 3.97e-05 +/- 2.41e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7343.002438
delta logL = 0.0295793880323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7342.99518362
delta logL = 0.0368337757009

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7533       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1817       1.0000          .0000       5.0000    
     3 'Normalizat'    2.1171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73924       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=   7342.995     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      242 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7527        5.6662        .13732E-03    .23035E-02
   2  alpha         2.1818        .61566        .14054E-01    .20609E-03
   3  Normalizat    2.1169        .31639        .32079E-03   -.19920E-03
   4  Prefactor     .73930        .13175        .21010E-03   -.46019E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.75269
  alpha      = 2.18179
  Normalizat = 2.11689
  Prefactor  = 0.739302
 **********
 **   18 **HESSE 
 **********

 FCN=   7342.995     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7527        5.4815        .54929E-05   -1.5151    
   2  alpha         2.1818        .59555        .56217E-03   -.12763    
   3  Normalizat    2.1169        .31631        .64159E-04   -.61652    
   4  Prefactor     .73930        .13176        .42021E-04   -1.0201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3065e-09
Minuit parameter uncertainties:
  1  5.48183
  2  0.601428
  3  0.316624
  4  0.131813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850239': 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) = 7342.99518345
delta logL = 0.0368339389961

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  7.753e+00  5.482e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.182e+00  6.014e-01  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  1.015e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  7.393e-01  1.318e-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:  2.117e+00  3.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.12
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 2.18 +/- 0.60
Photon Flux (Free Index): 7.83e-08 +/- 5.85e-08
Energy Flux (Free Index): 3.54e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/850239/cmap_HighResolution_394848001_395107201_4FGL_J2022.3-4513_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.86e-08', energy_flux2='3.54e-05', photon_flux_error='4.17e-08', dlogl='3.68e-02', energy_flux='3.97e-05', photon_flux2='7.83e-08', job_status='DONE', time_completed='2021-09-25 01:02:02.875190', photon_index_error2='0.60', photon_index2='2.18', ts='6.05', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='2.13', time_epoch_completed='1632556922.88', return_code='0', job_id='850239', GAL2='0.74', EG2='2.12', return_code2='0', energy_flux_error='2.41e-05', photon_flux_error2='5.85e-08', ts2='6.12', photon_index='2.02' WHERE bin_id='600' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:02:02 PDT 2021


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

Job <4FGL_J2022.3-4513_daily_bin600> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 00:50:57 2021
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:51:18 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:51:18 2021
Terminated at Sat Sep 25 01:02:03 2021
Results reported at Sat Sep 25 01:02:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin600 305.591 -45.2228 394848001 395107201 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 :                                   505.00 sec.
    Max Memory :                                 1149 MB
    Average Memory :                             324.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            666 sec.

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

