aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 188 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 = 7483
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1699
RA = 305.591, Dec = -45.2228
tmin = 679708801, tmax = 679968001
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='1179', job_status='RUN', time_executed='2022-07-20 00:38:41.875722', time_epoch_executed='1658302721.88' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1179

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1179/ft1_4FGL_J2022.3-4513_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1179/ft2_4FGL_J2022.3-4513_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1179/ft1_4FGL_J2022.3-4513_daily_bin1699.fits outfile=/scratch/kocevski/1179/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1699.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=679708801.0 tmax=679968001.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.82
user 3.58
sys 0.21

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

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

Number of photons that the gtmktime cut: 852

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1179/ft1_filtered_4FGL_J2022.3-4513_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/1179/ft2_4FGL_J2022.3-4513_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/1179/ltcube_679708801_679968001_4FGL_J2022.3-4513_daily_bin1699.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/1179/ft2_4FGL_J2022.3-4513_daily_bin1699.fits
.....................!
real 12.20
user 11.83
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1179/ft1_filtered_4FGL_J2022.3-4513_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1179/ft2_4FGL_J2022.3-4513_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/1179/ltcube_679708801_679968001_4FGL_J2022.3-4513_daily_bin1699.fits outfile=/scratch/kocevski/1179/expmap_679708801_679968001_4FGL_J2022.3-4513_daily_bin1699.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/1179/ltcube_679708801_679968001_4FGL_J2022.3-4513_daily_bin1699.fits
.....................!
real 190.06
user 185.02
sys 4.68

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/1179/ft1_filtered_4FGL_J2022.3-4513_daily_bin1699.fits scfile=/scratch/kocevski/1179/ft2_4FGL_J2022.3-4513_daily_bin1699.fits outfile=/scratch/kocevski/1179/cmap_679708801_679968001_4FGL_J2022.3-4513_daily_bin1699.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1179/ft1_filtered_4FGL_J2022.3-4513_daily_bin1699.fits scfile=/scratch/kocevski/1179/ft2_4FGL_J2022.3-4513_daily_bin1699.fits outfile=/scratch/kocevski/1179/cmap_HighResolution_679708801_679968001_4FGL_J2022.3-4513_daily_bin1699.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/1179/ft1_filtered_4FGL_J2022.3-4513_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1179/ft2_4FGL_J2022.3-4513_daily_bin1699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/1179/Model_4FGL_J2022.3-4513_daily_bin1699.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/1179/ft1_filtered_4FGL_J2022.3-4513_daily_bin1699.fits.....................!
real 68.57
user 67.17
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0373       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.3363       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .88753       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4704       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.3042       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .11271E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.7545       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .71400       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=   8830.694     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     1742 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0387        9.8237        .61112E-05   -.58494E-04
   2  Prefactor     .10000E-03    12.634       -.62235E-07** at limit **
   3  Prefactor     .10000E-03    7.7741        .23244E-06** at limit **
   4  norm          .10000E-03    5.5102        .48440E-07** at limit **
   5  norm          8.3364        1.5143       -.15020E-07   -.11739E-03
   6  norm          .10000E-03    2.3223        .21218E-07** at limit **
   7  norm          .10000E-03    5.6317        .29763E-07** at limit **
   8  norm          .88754        .88084        .29701E-07   -.53622E-05
   9  Prefactor     4.3897        167.84       -.24441E-05   -.34521E-04
  10  norm          .10000E-03    1.0787        .80637E-07** at limit **
  11  norm          2.3053        10.592        .79650E-06   -.20714E-05
  12  Prefactor     .10000E-03    14.327       -.79602E-07** at limit **
  13  Prefactor     .10000E-03    62.962        .43900E-06** at limit **
  14  Prefactor     .10000E-03    .50071        .42209E-07** at limit **
  15  Prefactor     .10000E-03    6.3182        .16708E-06** at limit **
  16  norm          .10000E-03    .68908        .31772E-06** at limit **
  17  Prefactor     .10000E-03    17.379        .58609E-07** at limit **
  18  Prefactor     .10000E-03    6.4851        .41244E-06** at limit **
  19  Normalizat    1.7545        .20575       -.12186E-05   -.26999E-03
  20  Prefactor     .71402        .91030E-01   -.43539E-06   -.42751E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.03869
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.3364
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.887538
  Prefactor  = 4.38966
  norm       = 0.0001
  norm       = 2.3053
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.75446
  Prefactor  = 0.714016
 **********
 **   18 **HESSE 
 **********

 FCN=   8830.694     FROM HESSE     STATUS=OK           283 CALLS     2025 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0387        9.8445        .49375E-03   -1.5504    
   2  Prefactor     .10000E-03    12.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.9121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.5126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.3364        1.5138        .47411E-04   -1.5130    
   6  norm          .10000E-03    2.3316        .13985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.6424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .88754        .87003        .85634E-04   -1.5520    
   9  Prefactor     4.3897        171.10        .19044E-03   -1.5289    
  10  norm          .10000E-03    1.0863        .95330E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.3053        10.541        .27033E-03   -1.5404    
  12  Prefactor     .10000E-03    14.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    63.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .50192        .64944E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.3329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.8407        .14871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.6088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.7545        .24149        .29454E-03   -.70858    
  20  Prefactor     .71402        .10767        .19173E-03   -1.0298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99864e-10
Minuit parameter uncertainties:
  1  6.39649
  2  1.98042e-05
  3  8.74218e-07
  4  4.31999e-06
  5  1.51384
  6  1.26017e-06
  7  1.39369e-06
  8  0.870047
  9  54.9799
  10  1.69967e-06
  11  9.86175
  12  8.61681e-06
  13  9.50541e-05
  14  4.29286e-07
  15  6.50466e-06
  16  7.26962e-05
  17  1.18524e-06
  18  1.61472e-05
  19  0.241651
  20  0.1077
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  1.700e-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:  7.140e-01  1.077e-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.754e+00  2.417e-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: 4.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.51e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/1179/likelihoodResults_679708801_679968001_4FGL_J2022.3-4513_daily_bin1699.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) = 8830.6983122
delta logL = -0.00433730331315

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8830.69397489
delta logL = 2.89765011985e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0199       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7545       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71402       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=   8830.694     FROM MIGRAD    STATUS=FAILED        78 CALLS      223 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    2.1331        .95337E-03** at limit **
   2  alpha         1.9946        3.5829        .16861        .30446E-05
   3  Normalizat    1.7545        .24104        .29454E-03    .19755E-03
   4  Prefactor     .71402        .10659        .19173E-03    .33877E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8830.694     FROM SIMPLEX   STATUS=UNCHANGED    121 CALLS      344 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    2.1331        .18106E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9946        3.5829        .87094E-03   -.20357    
   3  Normalizat    1.7545        .24104        .75839E-04   -.70858    
   4  Prefactor     .71402        .10659        .64022E-04   -1.0298    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8830.694     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      374 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0880        .19067E-03** at limit **
   2  alpha         1.9663        4.0158        .67446E-02   -.74166E-08
   3  Normalizat    1.7545        .24123        .58907E-04   -.89780E-04
   4  Prefactor     .71402        .10667        .38346E-04   -.15761E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.96634
  Normalizat = 1.75447
  Prefactor  = 0.714016
 **********
 **   18 **HESSE 
 **********

 FCN=   8830.694     FROM HESSE     STATUS=OK            23 CALLS      397 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0879        .38135E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9663        3.9971        .13489E-02   -.21512    
   3  Normalizat    1.7545        .24128        .11781E-04   -.70858    
   4  Prefactor     .71402        .10670        .76692E-05   -1.0298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12081e-11
Minuit parameter uncertainties:
  1  9.60508e-07
  2  148.662
  3  0.241442
  4  0.106726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1179': 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) = 8830.69397483
delta logL = 6.61020749249e-08

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  9.605e-07  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  1.966e+00  1.487e+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:  7.140e-01  1.067e-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.754e+00  2.414e-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/1179/cmap_HighResolution_679708801_679968001_4FGL_J2022.3-4513_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-05', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2022-07-20 00:50:07.729072', job_id='1179', GAL2='0.71', fit_tolerance='1e-08', EG2='1.75', EG='1.75', time_epoch_completed='1658303407.73', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='6.61e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1699' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:50:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 1179: <4FGL_J2022.3-4513_daily_bin1699> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 00:35:24 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:35:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:35:25 2022
Terminated at Wed Jul 20 00:50:08 2022
Results reported at Wed Jul 20 00:50:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1699 305.591 -45.2228 679708801 679968001 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 :                                   688.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            884 sec.

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

