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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin1585
RA = 305.591, Dec = -45.2228
tmin = 650160001, tmax = 650419201
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='858926', job_status='RUN', time_executed='2021-09-25 01:19:13.806325', time_epoch_executed='1632557953.81' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='1585'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/858926

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/858926/ft1_4FGL_J2022.3-4513_daily_bin1585.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/858926/ft2_4FGL_J2022.3-4513_daily_bin1585.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/858926/ft1_4FGL_J2022.3-4513_daily_bin1585.fits outfile=/scratch/kocevski/858926/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin1585.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=650160001.0 tmax=650419201.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.35
user 4.10
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/858926/ft1_filtered_4FGL_J2022.3-4513_daily_bin1585.fits" evtable="EVENTS" scfile=/scratch/kocevski/858926/ft2_4FGL_J2022.3-4513_daily_bin1585.fits sctable="SC_DATA" outfile=/scratch/kocevski/858926/ltcube_650160001_650419201_4FGL_J2022.3-4513_daily_bin1585.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/858926/ft2_4FGL_J2022.3-4513_daily_bin1585.fits
.....................!
real 13.43
user 13.03
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/858926/ft1_filtered_4FGL_J2022.3-4513_daily_bin1585.fits evtable="EVENTS" scfile=/scratch/kocevski/858926/ft2_4FGL_J2022.3-4513_daily_bin1585.fits sctable="SC_DATA" expcube=/scratch/kocevski/858926/ltcube_650160001_650419201_4FGL_J2022.3-4513_daily_bin1585.fits outfile=/scratch/kocevski/858926/expmap_650160001_650419201_4FGL_J2022.3-4513_daily_bin1585.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/858926/ltcube_650160001_650419201_4FGL_J2022.3-4513_daily_bin1585.fits
.....................!
real 191.30
user 185.65
sys 4.97

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/858926/ft1_filtered_4FGL_J2022.3-4513_daily_bin1585.fits scfile=/scratch/kocevski/858926/ft2_4FGL_J2022.3-4513_daily_bin1585.fits outfile=/scratch/kocevski/858926/cmap_650160001_650419201_4FGL_J2022.3-4513_daily_bin1585.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/858926/ft1_filtered_4FGL_J2022.3-4513_daily_bin1585.fits scfile=/scratch/kocevski/858926/ft2_4FGL_J2022.3-4513_daily_bin1585.fits outfile=/scratch/kocevski/858926/cmap_HighResolution_650160001_650419201_4FGL_J2022.3-4513_daily_bin1585.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.77
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/858926/ft1_filtered_4FGL_J2022.3-4513_daily_bin1585.fits evtable="EVENTS" scfile=/scratch/kocevski/858926/ft2_4FGL_J2022.3-4513_daily_bin1585.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/858926/Model_4FGL_J2022.3-4513_daily_bin1585.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/858926/ft1_filtered_4FGL_J2022.3-4513_daily_bin1585.fits.....................!
real 78.92
user 76.76
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7906       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.6480       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.1051       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    14.958       1.0000         .10000E-03   10000.    
     8 'norm      '    1.7694       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.171       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17235       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    20.915       1.0000         .10000E-03   10000.    
    17 'Prefactor '    41.680       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .58797       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2455       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=   10369.55     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     2013 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7906        6.9014        .63200E-06   -.15834E-03
   2  Prefactor     .10000E-03    5.4177       -.39226E-05** at limit **
   3  Prefactor     7.6484        9.5540        .58075E-06   -.44396E-04
   4  norm          .10000E-03    10.878       -.71184E-05** at limit **
   5  norm          6.1051        1.3598        .85111E-07   -.12454E-03
   6  norm          .10000E-03    5.6445        .41529E-05** at limit **
   7  norm          14.957        15.973        .41566E-06   -.71531E-04
   8  norm          1.7694        1.3959        .14055E-06    .57716E-04
   9  Prefactor     .10000E-03    17.140        .15362E-04** at limit **
  10  norm          .10000E-03    1.5396       -.40656E-09** at limit **
  11  norm          .10000E-03    3.9975        .20223E-06** at limit **
  12  Prefactor     .10000E-03    21.452       -.12059E-04** at limit **
  13  Prefactor     23.219        67.676        .93598E-04    .22410E-04
  14  Prefactor     .16810        1.4431        .59983E-07   -.14475E-02
  15  Prefactor     .10000E-03    8.3613        .21728E-05** at limit **
  16  norm          20.915        3.2332       -.26127E-06    .66946E-04
  17  Prefactor     41.683        41.815        .44636E-05   -.11345E-05
  18  Prefactor     .10000E-03    3.1551       -.18660E-07** at limit **
  19  Normalizat    .58795        .24696       -.94450E-05   -.18267E-03
  20  Prefactor     1.2455        .10897        .62554E-06   -.47595E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.79064
  Prefactor  = 0.0001
  Prefactor  = 7.64837
  norm       = 0.0001
  norm       = 6.1051
  norm       = 0.0001
  norm       = 14.9569
  norm       = 1.76938
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 23.2191
  Prefactor  = 0.168099
  Prefactor  = 0.0001
  norm       = 20.9153
  Prefactor  = 41.6832
  Prefactor  = 0.0001
  Normalizat = 0.58795
  Prefactor  = 1.24553
 **********
 **   18 **HESSE 
 **********

 FCN=   10369.55     FROM HESSE     STATUS=OK           291 CALLS     2304 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7906        6.8795        .15397E-03   -1.5187    
   2  Prefactor     .10000E-03    5.4181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.6484        9.5596        .14501E-03   -1.5155    
   4  norm          .10000E-03    10.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.1051        1.3600        .53507E-04   -1.5214    
   6  norm          .10000E-03    5.7442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          14.957        15.926        .10356E-03   -1.4934    
   8  norm          1.7694        1.4015        .10349E-03   -1.5442    
   9  Prefactor     .10000E-03    17.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.5948        .24665E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.9978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     23.219        67.530        .83213E-04   -1.4744    
  14  Prefactor     .16810        4.1201        .23605E-02   -1.5626    
  15  Prefactor     .10000E-03    8.3850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          20.915        3.2243        .33883E-03   -1.4793    
  17  Prefactor     41.683        41.810        .62092E-04   -1.4416    
  18  Prefactor     .10000E-03    3.1724        .17663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .58795        .25482        .51598E-03   -1.0850    
  20  Prefactor     1.2455        .11529        .16745E-03   -.84941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51239e-09
Minuit parameter uncertainties:
  1  6.88026
  2  4.71629e-06
  3  9.56156
  4  1.17135e-05
  5  1.35996
  6  7.79709e-06
  7  15.93
  8  1.40155
  9  1.06141e-05
  10  3.62206e-07
  11  8.50748e-06
  12  0.000254838
  13  67.7538
  14  1.66406
  15  2.97885e-05
  16  3.22429
  17  41.8396
  18  9.5983e-06
  19  0.255326
  20  0.115309
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  3.622e-07  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.246e+00  1.153e-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:  5.880e-01  2.553e-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.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/858926/likelihoodResults_650160001_650419201_4FGL_J2022.3-4513_daily_bin1585.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) = 10369.5544662
delta logL = -0.00298443985048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10369.5514818
delta logL = -2.06928234547e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0271       1.0000          .0000       5.0000    
     3 'Normalizat'    .58793       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2455       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=   10369.55     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      240 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    265.58        .24691E-02** at limit **
   2  alpha         2.1933        3.8804        .16849       -.22671E-07
   3  Normalizat    .58795        .93662E-01    .51599E-03   -.20614E-03
   4  Prefactor     1.2455        .43197E-01    .16745E-03   -.64061E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.19328
  Normalizat = 0.587954
  Prefactor  = 1.24553
 **********
 **   18 **HESSE 
 **********

 FCN=   10369.55     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6277        .49383E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1933        2.8431        .67396E-02   -.12300    
   3  Normalizat    .58795        .24460        .20640E-04   -1.0850    
   4  Prefactor     1.2455        .11299        .33490E-04   -.84941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26529e-10
Minuit parameter uncertainties:
  1  4.63869e-06
  2  156.601
  3  0.245048
  4  0.113008
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/858926': 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) = 10369.5514811
delta logL = 6.30039721727e-07

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  4.639e-06  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.193e+00  1.566e+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.246e+00  1.130e-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:  5.880e-01  2.450e-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/858926/cmap_HighResolution_650160001_650419201_4FGL_J2022.3-4513_daily_bin1585.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.57e-05', job_status='DONE', photon_flux_upper_limit='4.43e-08', time_completed='2021-09-25 01:32:35.539099', job_id='858926', GAL2='1.25', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1632558755.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='6.30e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1585' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:32:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 858926: <4FGL_J2022.3-4513_daily_bin1585> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin1585> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 01:16:07 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 01:17:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 01:17:44 2021
Terminated at Sat Sep 25 01:32:36 2021
Results reported at Sat Sep 25 01:32:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin1585 305.591 -45.2228 650160001 650419201 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 :                                   794.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            989 sec.

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

