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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin451
RA = 305.591, Dec = -45.2228
tmin = 356227201, tmax = 356486401
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='848917', job_status='RUN', time_executed='2021-09-25 00:47:26.593812', time_epoch_executed='1632556046.59' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='451'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848917

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848917/ft1_4FGL_J2022.3-4513_daily_bin451.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...
fmerge4.1 : Error, missing column list names, file /scratch/kocevski/848917/ft2_filtered_0009.fits
fmerge4.1 : Fatal error!
FCCMPL: not found in table: RA_SUN
FCCMPL: not found in table: DEC_SUN

Merged file saved to:
/scratch/kocevski/848917/ft2_4FGL_J2022.3-4513_daily_bin451.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848917/ft1_4FGL_J2022.3-4513_daily_bin451.fits outfile=/scratch/kocevski/848917/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin451.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=356227201.0 tmax=356486401.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.15
user 2.90
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/848917/ft1_filtered_4FGL_J2022.3-4513_daily_bin451.fits" evtable="EVENTS" scfile=/scratch/kocevski/848917/ft2_4FGL_J2022.3-4513_daily_bin451.fits sctable="SC_DATA" outfile=/scratch/kocevski/848917/ltcube_356227201_356486401_4FGL_J2022.3-4513_daily_bin451.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/848917/ft2_4FGL_J2022.3-4513_daily_bin451.fits
.....................!
real 3.66
user 3.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848917/ft1_filtered_4FGL_J2022.3-4513_daily_bin451.fits evtable="EVENTS" scfile=/scratch/kocevski/848917/ft2_4FGL_J2022.3-4513_daily_bin451.fits sctable="SC_DATA" expcube=/scratch/kocevski/848917/ltcube_356227201_356486401_4FGL_J2022.3-4513_daily_bin451.fits outfile=/scratch/kocevski/848917/expmap_356227201_356486401_4FGL_J2022.3-4513_daily_bin451.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/848917/ltcube_356227201_356486401_4FGL_J2022.3-4513_daily_bin451.fits
.....................!
real 191.64
user 185.81
sys 4.59

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/848917/ft1_filtered_4FGL_J2022.3-4513_daily_bin451.fits scfile=/scratch/kocevski/848917/ft2_4FGL_J2022.3-4513_daily_bin451.fits outfile=/scratch/kocevski/848917/cmap_356227201_356486401_4FGL_J2022.3-4513_daily_bin451.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
gtbin: WARNING: Spacecraft data ceases before end of last GTI.
gtbin: WARNING: EXPOSURE keyword calculation may not be accurate.
real 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848917/ft1_filtered_4FGL_J2022.3-4513_daily_bin451.fits scfile=/scratch/kocevski/848917/ft2_4FGL_J2022.3-4513_daily_bin451.fits outfile=/scratch/kocevski/848917/cmap_HighResolution_356227201_356486401_4FGL_J2022.3-4513_daily_bin451.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
gtbin: WARNING: Spacecraft data ceases before end of last GTI.
gtbin: WARNING: EXPOSURE keyword calculation may not be accurate.
real 0.54
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.1595       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .30958       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.6379       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .30224       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.1967       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.712       1.0000         .10000E-03   10000.    
    16 'norm      '    26.650       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4177       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2432.468     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     2295 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9654        .14298E-05** at limit **
   2  Prefactor     .10000E-03    33.855        .12546E-04** at limit **
   3  Prefactor     9.1586        1.0159       -.13355E-06    .25687E-04
   4  norm          .10000E-03    21.427       -.78685E-05** at limit **
   5  norm          .30969        5.6029        .66351E-05   -.19073E-03
   6  norm          .10000E-03    9.2006        .59036E-06** at limit **
   7  norm          .10009E-03    58.785       -.62459E-04** at limit **
   8  norm          .10000E-03    2.2411        .46570E-06** at limit **
   9  Prefactor     .10060E-03    55.600        .52224E-04** at limit **
  10  norm          3.6352        4.1998        .10584E-04   -.24873E-02
  11  norm          .10000E-03    17.471        .31210E-05** at limit **
  12  Prefactor     .26437        94.224       -.13081E-03    .17407E-02
  13  Prefactor     .12047E-03    217.84       -.14714E-03** at limit **
  14  Prefactor     4.1967        4.2574        .16753E-05   -.78860E-04
  15  Prefactor     13.708        1.3084       -.15115E-05    .74442E-04
  16  norm          26.649        5.5671       -.72088E-05   -.62426E-02
  17  Prefactor     .10391E-03    64.820        .77466E-04** at limit **
  18  Prefactor     .10000E-03    12.096       -.24337E-05** at limit **
  19  Normalizat    .10000E-01    .49801        .55993E-04** at limit **
  20  Prefactor     1.4176        .11476       -.18163E-05   -.35951E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 9.15865
  norm       = 0.0001
  norm       = 0.309691
  norm       = 0.0001
  norm       = 0.000100088
  norm       = 0.0001
  Prefactor  = 0.000100598
  norm       = 3.63521
  norm       = 0.0001
  Prefactor  = 0.264366
  Prefactor  = 0.000120467
  Prefactor  = 4.19673
  Prefactor  = 13.708
  norm       = 26.6492
  Prefactor  = 0.000103907
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.41764
 **********
 **   18 **HESSE 
 **********

 FCN=   2432.468     FROM HESSE     STATUS=OK           337 CALLS     2632 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9533        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    33.863        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.1586        14.554        .33107E-02   -1.5103    
   4  norm          .10000E-03    21.431        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .30969        3.2347        .26388E-01   -1.5597    
   6  norm          .10000E-03    9.1755        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10009E-03    58.503        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.2172        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10060E-03    124.90        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.6352        7.2954        .52952E-02   -1.5327    
  11  norm          .10000E-03    17.472        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .26437        81.037        .13325       -1.5605    
  13  Prefactor     .12047E-03    234.74        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1967        4.2644        .49181E-02   -1.5298    
  15  Prefactor     13.708        38.870        .27042E-02   -1.4967    
  16  norm          26.649        6.7229        .19400E-02   -1.4675    
  17  Prefactor     .10391E-03    110.81        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.048        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .28573        .32094       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.4176        .15330        .30821E-01   -.79873    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48905e-07
Minuit parameter uncertainties:
  1  5.26714e-06
  2  0.000553223
  3  14.5596
  4  0.00013055
  5  2.00156
  6  2.23707e-05
  7  0.00454485
  8  3.04872e-06
  9  0.01732
  10  7.29721
  11  3.39081e-05
  12  9.26804
  13  0.139175
  14  4.2647
  15  38.9414
  16  6.7231
  17  0.0416899
  18  3.47731e-05
  19  6.14867e-07
  20  0.153351
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  3.635e+00  7.297e+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.418e+00  1.534e-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.000e-02  6.149e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.31
Ra Dec: 305.591 -45.223
Photon Flux Upper Limit: 1.88e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.09e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/848917/likelihoodResults_356227201_356486401_4FGL_J2022.3-4513_daily_bin451.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) = 2432.04518297
delta logL = 0.423282133525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2432.04470779
delta logL = 0.423757309185

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4819       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1733       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4072       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=   2432.045     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      269 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4848        54.309        .88130E-02    .14004E-03
   2  alpha         3.1724        3.8687        .27751        .23341E-04
   3  Normalizat    .10000E-01    .44626E-01    .32094    ** at limit **
   4  Prefactor     1.4073        .59298E-01    .30962E-01    .17601E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.48478
  alpha      = 3.17237
  Normalizat = 0.01
  Prefactor  = 1.40728
 **********
 **   18 **HESSE 
 **********

 FCN=   2432.045     FROM HESSE     STATUS=OK            31 CALLS      300 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4848        4.9060        .67048E-04   -1.5464    
   2  alpha         3.1724        1.6351        .11091E-01    .27230    
   3  Normalizat    .10000E-01    .38943        .11573E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4073        .10904        .14884E-03   -.80171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.90364e-09
Minuit parameter uncertainties:
  1  4.90735
  2  1.79742
  3  1.20787e-05
  4  0.109062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848917': 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) = 2432.0447073
delta logL = 0.423757802243

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.485e+00  4.907e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  3.172e+00  1.797e+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.407e+00  1.091e-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.000e-02  1.208e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 3.17 +/- 1.80
Photon Flux (Free Index): 7.45e-08 +/- 8.56e-08
Energy Flux (Free Index): 1.50e-05 +/- 1.98e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/848917/cmap_HighResolution_356227201_356486401_4FGL_J2022.3-4513_daily_bin451.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-04', comment='SUCCESS', energy_flux2='1.50e-05', dlogl='4.24e-01', photon_flux2='7.45e-08', job_status='DONE', time_completed='2021-09-25 00:54:33.291505', photon_index_error2='1.80', photon_index2='3.17', ts='0.31', fit_tolerance='1e-08', GAL='1.42', photon_index_error='0.00', photon_flux_upper_limit='1.88e-07', energy_flux_error2='1.98e-05', EG='0.01', time_epoch_completed='1632556473.29', return_code='0', job_id='848917', GAL2='1.41', EG2='0.01', return_code2='0', photon_flux_error2='8.56e-08', ts2='1.16', photon_index='2.02' WHERE bin_id='451' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 00:54:33 PDT 2021


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

Job <4FGL_J2022.3-4513_daily_bin451> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 00:46:11 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:46:20 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:20 2021
Terminated at Sat Sep 25 00:54:34 2021
Results reported at Sat Sep 25 00:54:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin451 305.591 -45.2228 356227201 356486401 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 :                                   425.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   493 sec.
    Turnaround time :                            503 sec.

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

