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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1637
RA = 305.591, Dec = -45.2228
tmin = 663638401, tmax = 663897601
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='36742', job_status='RUN', time_executed='2022-01-15 01:08:18.982152', time_epoch_executed='1642237698.98' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1637'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/36742

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/36742/ft1_4FGL_J2022.3-4513_daily_bin1637.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/36742/ft2_4FGL_J2022.3-4513_daily_bin1637.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/36742/ft1_4FGL_J2022.3-4513_daily_bin1637.fits outfile=/scratch/kocevski/36742/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1637.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=663638401.0 tmax=663897601.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.47
user 2.27
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/36742/ft1_filtered_4FGL_J2022.3-4513_daily_bin1637.fits" evtable="EVENTS" scfile=/scratch/kocevski/36742/ft2_4FGL_J2022.3-4513_daily_bin1637.fits sctable="SC_DATA" outfile=/scratch/kocevski/36742/ltcube_663638401_663897601_4FGL_J2022.3-4513_daily_bin1637.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/36742/ft2_4FGL_J2022.3-4513_daily_bin1637.fits
.....................!
real 14.44
user 14.05
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/36742/ft1_filtered_4FGL_J2022.3-4513_daily_bin1637.fits evtable="EVENTS" scfile=/scratch/kocevski/36742/ft2_4FGL_J2022.3-4513_daily_bin1637.fits sctable="SC_DATA" expcube=/scratch/kocevski/36742/ltcube_663638401_663897601_4FGL_J2022.3-4513_daily_bin1637.fits outfile=/scratch/kocevski/36742/expmap_663638401_663897601_4FGL_J2022.3-4513_daily_bin1637.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/36742/ltcube_663638401_663897601_4FGL_J2022.3-4513_daily_bin1637.fits
.....................!
real 191.34
user 186.01
sys 4.62

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/36742/ft1_filtered_4FGL_J2022.3-4513_daily_bin1637.fits scfile=/scratch/kocevski/36742/ft2_4FGL_J2022.3-4513_daily_bin1637.fits outfile=/scratch/kocevski/36742/cmap_663638401_663897601_4FGL_J2022.3-4513_daily_bin1637.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.56
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/36742/ft1_filtered_4FGL_J2022.3-4513_daily_bin1637.fits evtable="EVENTS" scfile=/scratch/kocevski/36742/ft2_4FGL_J2022.3-4513_daily_bin1637.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/36742/Model_4FGL_J2022.3-4513_daily_bin1637.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/36742/ft1_filtered_4FGL_J2022.3-4513_daily_bin1637.fits.......................!
real 25.70
user 23.85
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.3818       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      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    359.68       1.0000         .10000E-03   10000.    
    10 'norm      '    .12867E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-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 '    27.529       1.0000         .10000E-03   10000.    
    16 'norm      '    6.7771       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .79895       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.5910       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=   1790.534     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     2057 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    64.628       -.41143E-05** at limit **
   2  Prefactor     .10000E-03    127.12        .41137E-06** at limit **
   3  Prefactor     .10000E-03    104.83        .49261E-04** at limit **
   4  norm          .10000E-03    156.89       -.10307E-03** at limit **
   5  norm          6.3826        8.4015        .37680E-06   -.42597E-04
   6  norm          .10000E-03    18.250        .92051E-06** at limit **
   7  norm          .10000E-03    36.702       -.89700E-05** at limit **
   8  norm          .10000E-03    2.1862        .21832E-07** at limit **
   9  Prefactor     359.55        411.81       -.68261E-04   -.21758E-05
  10  norm          .10005E-03    13.697        .25747E-05** at limit **
  11  norm          .10000E-03    25.414       -.12826E-04** at limit **
  12  Prefactor     .10000E-03    29.779        .21872E-04** at limit **
  13  Prefactor     .10000E-03    57.433       -.29965E-04** at limit **
  14  Prefactor     .10000E-03    4.7409       -.22890E-06** at limit **
  15  Prefactor     27.527        59.606       -.36898E-05   -.18322E-04
  16  norm          6.7768        4.9224       -.16009E-06   -.60758E-04
  17  Prefactor     .10000E-03    86.422        .51786E-04** at limit **
  18  Prefactor     .10000E-03    13.490       -.18301E-06** at limit **
  19  Normalizat    .79959        .65644        .31629E-05   -.25964E-04
  20  Prefactor     1.5906        .32646        .17212E-05   -.12523E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.38256
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 359.548
  norm       = 0.00010005
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.5267
  norm       = 6.77675
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.799586
  Prefactor  = 1.59059
 **********
 **   18 **HESSE 
 **********

 FCN=   1790.534     FROM HESSE     STATUS=OK           281 CALLS     2338 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    64.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    127.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    104.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    156.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.3826        8.4009        .13626E-03   -1.5203    
   6  norm          .10000E-03    18.252        .17661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    36.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.1875        .61106E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     359.55        412.02        .10741E-03   -1.1893    
  10  norm          .10005E-03    36.861        .30350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    25.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    29.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    57.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.8977        .17983E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.527        59.549        .76355E-04   -1.4658    
  16  norm          6.7768        4.9165        .75621E-04   -1.5187    
  17  Prefactor     .10000E-03    86.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.521        .15178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .79959        .73032        .51685E-03   -1.0008    
  20  Prefactor     1.5906        .36841        .19546E-03   -.75033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38662e-09
Minuit parameter uncertainties:
  1  3.93768e-05
  2  3.45987e-05
  3  1.64235e-05
  4  8.69486e-06
  5  8.40243
  6  6.73371e-06
  7  5.40152e-06
  8  2.01451e-06
  9  415.461
  10  0.00272046
  11  9.2134e-06
  12  1.64913e-05
  13  1.03123e-05
  14  6.74392e-06
  15  59.6778
  16  4.91679
  17  2.13102e-05
  18  2.35499e-05
  19  0.739569
  20  0.369041
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.001e-04  2.720e-03  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.591e+00  3.690e-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:  7.996e-01  7.396e-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: 2.67e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.54e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/36742/likelihoodResults_663638401_663897601_4FGL_J2022.3-4513_daily_bin1637.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1790.53385523
delta logL = -0.0001285019855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1790.5337307
delta logL = -3.96688892579e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14482E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6671       1.0000          .0000       5.0000    
     3 'Normalizat'    .79962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5906       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=   1790.534     FROM MIGRAD    STATUS=FAILED        98 CALLS      287 TOTAL
                     EDM=   .64E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12719E-03    1637.4        .22735E-02** at limit **
   2  alpha         2.2585        2.7230        .16507        .55536E-05
   3  Normalizat    .79958        .10993        .51685E-03    .57757E-04
   4  Prefactor     1.5906        .56660E-01    .19546E-03    .18616E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   1790.534     FROM SIMPLEX   STATUS=PROGRESS     137 CALLS      424 TOTAL
                     EDM=   .48E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10290E-03    1637.4        .74222E-03** at limit **
   2  alpha         2.2584        2.7230        .68956E-04    .55536E-05
   3  Normalizat    .79957        .10993        .41100E-05    .57757E-04
   4  Prefactor     1.5906        .56660E-01    .16152E-05    .18616E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1790.534     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      469 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6518.9        .45469E-02** at limit **
   2  alpha         2.1320        3.5398        .66029E-01    .18552E-07
   3  Normalizat    .79958        .15872        .20674E-04   -.10751E-04
   4  Prefactor     1.5906        .82006E-01    .39093E-04   -.10789E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.132
  Normalizat = 0.799581
  Prefactor  = 1.59059
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    39.401        .90938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1320        2.5743        .26412E-02   -.14774    
   3  Normalizat    .79958        .70250        .41348E-05   -1.0008    
   4  Prefactor     1.5906        .36557        .78186E-05   -.75033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06584e-11
Minuit parameter uncertainties:
  1  0.000123305
  2  279.813
  3  0.710708
  4  0.366179
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/36742': 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) = 1790.53372665
delta logL = 7.56490408094e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  1.591e+00  3.662e-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:  7.996e-01  7.107e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/36742/cmap_HighResolution_663638401_663897601_4FGL_J2022.3-4513_daily_bin1637.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.54e-04', job_status='DONE', photon_flux_upper_limit='2.67e-07', time_completed='2022-01-15 01:14:56.598708', job_id='36742', GAL2='1.59', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1642238096.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='7.56e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1637' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 15 01:14:56 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 36742: <4FGL_J2022.3-4513_daily_bin1637> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin1637> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jan 15 01:05:31 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 15 01:06:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 15 01:06:46 2022
Terminated at Sat Jan 15 01:14:57 2022
Results reported at Sat Jan 15 01:14:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1637 305.591 -45.2228 663638401 663897601 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 :                                   397.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             277.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   490 sec.
    Turnaround time :                            566 sec.

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

