/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 9 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 = 7440
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2022.3-4513_daily_bin174
RA = 305.591, Dec = -45.2228
tmin = 284428801, tmax = 284688001
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='845265', job_status='RUN', time_executed='2021-09-25 00:33:07.765471', time_epoch_executed='1632555187.77' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='174'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845265

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845265/ft1_4FGL_J2022.3-4513_daily_bin174.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845265/ft2_4FGL_J2022.3-4513_daily_bin174.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845265/ft1_4FGL_J2022.3-4513_daily_bin174.fits outfile=/scratch/kocevski/845265/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin174.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=284428801.0 tmax=284688001.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.65
user 3.33
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845265/ft1_filtered_4FGL_J2022.3-4513_daily_bin174.fits" evtable="EVENTS" scfile=/scratch/kocevski/845265/ft2_4FGL_J2022.3-4513_daily_bin174.fits sctable="SC_DATA" outfile=/scratch/kocevski/845265/ltcube_284428801_284688001_4FGL_J2022.3-4513_daily_bin174.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/845265/ft2_4FGL_J2022.3-4513_daily_bin174.fits
.....................!
real 16.43
user 15.60
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845265/ft1_filtered_4FGL_J2022.3-4513_daily_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/845265/ft2_4FGL_J2022.3-4513_daily_bin174.fits sctable="SC_DATA" expcube=/scratch/kocevski/845265/ltcube_284428801_284688001_4FGL_J2022.3-4513_daily_bin174.fits outfile=/scratch/kocevski/845265/expmap_284428801_284688001_4FGL_J2022.3-4513_daily_bin174.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/845265/ltcube_284428801_284688001_4FGL_J2022.3-4513_daily_bin174.fits
.....................!
real 195.88
user 187.13
sys 6.04

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/845265/ft1_filtered_4FGL_J2022.3-4513_daily_bin174.fits scfile=/scratch/kocevski/845265/ft2_4FGL_J2022.3-4513_daily_bin174.fits outfile=/scratch/kocevski/845265/cmap_284428801_284688001_4FGL_J2022.3-4513_daily_bin174.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.62
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845265/ft1_filtered_4FGL_J2022.3-4513_daily_bin174.fits scfile=/scratch/kocevski/845265/ft2_4FGL_J2022.3-4513_daily_bin174.fits outfile=/scratch/kocevski/845265/cmap_HighResolution_284428801_284688001_4FGL_J2022.3-4513_daily_bin174.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.58
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/845265/ft1_filtered_4FGL_J2022.3-4513_daily_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/845265/ft2_4FGL_J2022.3-4513_daily_bin174.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/845265/Model_4FGL_J2022.3-4513_daily_bin174.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/845265/ft1_filtered_4FGL_J2022.3-4513_daily_bin174.fits.....................!
real 64.81
user 62.09
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4403       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.047       1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    25.464       1.0000         .10000E-03   10000.    
     8 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.8176       1.0000         .10000E-03   10000.    
    11 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.9672       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .95247       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.894       1.0000         .10000E-03   10000.    
    16 'norm      '    15.682       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.183       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .98204       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1638       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=   7358.277     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2051 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4421        9.6038        .31798E-06   -.11343E-05
   2  Prefactor     .10000E-03    13.421        .20694E-07** at limit **
   3  Prefactor     36.050        16.270        .48380E-07   -.17190E-04
   4  norm          .10000E-03    11.368        .29580E-07** at limit **
   5  norm          .10000E-03    .47007        .23487E-07** at limit **
   6  norm          .10000E-03    2.2504       -.14725E-07** at limit **
   7  norm          25.463        22.582       -.51111E-06   -.85714E-05
   8  norm          .10000E-03    .96376        .74677E-07** at limit **
   9  Prefactor     .10000E-03    13.278        .14628E-06** at limit **
  10  norm          2.8179        4.1350        .24331E-05   -.23154E-04
  11  norm          .10000E-03    6.7780        .34595E-07** at limit **
  12  Prefactor     9.9657        21.859        .17785E-06   -.15474E-05
  13  Prefactor     .10000E-03    41.670       -.10952E-07** at limit **
  14  Prefactor     .95191        2.8872        .72390E-07   -.13606E-03
  15  Prefactor     16.887        22.912        .82541E-06    .75699E-05
  16  norm          15.681        3.5554       -.91379E-08   -.19064E-04
  17  Prefactor     30.154        62.196        .61873E-05    .42882E-05
  18  Prefactor     .10000E-03    5.1797       -.59142E-08** at limit **
  19  Normalizat    .98243        .28543       -.33477E-06   -.97356E-05
  20  Prefactor     1.1636        .12194       -.38237E-06   -.51817E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.44214
  Prefactor  = 0.0001
  Prefactor  = 36.0495
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 25.4628
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.81785
  norm       = 0.0001
  Prefactor  = 9.9657
  Prefactor  = 0.0001
  Prefactor  = 0.951912
  Prefactor  = 16.8874
  norm       = 15.6808
  Prefactor  = 30.1541
  Prefactor  = 0.0001
  Normalizat = 0.982427
  Prefactor  = 1.16358
 **********
 **   18 **HESSE 
 **********

 FCN=   7358.277     FROM HESSE     STATUS=OK           295 CALLS     2346 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4421        9.5914        .17228E-03   -1.5241    
   2  Prefactor     .10000E-03    13.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.050        16.272        .66750E-04   -1.4506    
   4  norm          .10000E-03    11.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .89851        .11407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.2515        .12566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          25.463        22.586        .79384E-04   -1.4698    
   8  norm          .10000E-03    1.5896        .16352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8179        4.1380        .10105E-02   -1.5372    
  11  norm          .10000E-03    6.7785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.9657        21.848        .12692E-03   -1.5076    
  13  Prefactor     .10000E-03    41.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .95191        2.8445        .24267E-03   -1.5513    
  15  Prefactor     16.887        22.891        .97442E-04   -1.4886    
  16  norm          15.681        3.5668        .72842E-04   -1.4916    
  17  Prefactor     30.154        62.156        .72928E-04   -1.4609    
  18  Prefactor     .10000E-03    5.2018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .98243        .32292        .43401E-03   -.93622    
  20  Prefactor     1.1636        .13899        .17659E-03   -.87459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62932e-10
Minuit parameter uncertainties:
  1  9.59411
  2  1.51873e-06
  3  16.2736
  4  2.57874e-06
  5  1.31819e-06
  6  8.54082e-08
  7  22.5936
  8  6.90949e-07
  9  2.7839e-06
  10  4.13838
  11  2.20127e-06
  12  21.8653
  13  9.20587e-06
  14  2.84486
  15  22.9031
  16  3.56688
  17  62.29
  18  1.03248e-06
  19  0.323562
  20  0.139036
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  2.818e+00  4.138e+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.164e+00  1.390e-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:  9.824e-01  3.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/845265/likelihoodResults_284428801_284688001_4FGL_J2022.3-4513_daily_bin174.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) = 7358.14736819
delta logL = 0.129767986383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7358.13681071
delta logL = 0.140325465853

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3753       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5982       1.0000          .0000       5.0000    
     3 'Normalizat'    .95822       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1688       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=   7358.137     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3744        71.041        .66456E-02    .69388E-03
   2  alpha         2.5993        3.6331        .41192        .46643E-04
   3  Normalizat    .95831        .81610E-01    .99036E-01    .89077E-05
   4  Prefactor     1.1688        .32373E-01    .35413E-01   -.28093E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.37438
  alpha      = 2.59933
  Normalizat = 0.958315
  Prefactor  = 1.16878
 **********
 **   18 **HESSE 
 **********

 FCN=   7358.137     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3744        3.9401        .14983E-03   -1.5400    
   2  alpha         2.5993        1.1275        .18895E-01    .39741E-01
   3  Normalizat    .95831        .31316        .43878E-03   -.94440    
   4  Prefactor     1.1688        .13670        .17621E-03   -.87297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20599e-11
Minuit parameter uncertainties:
  1  3.94054
  2  1.16978
  3  0.313764
  4  0.136744
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845265': 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) = 7358.13680992
delta logL = 0.140326256208

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  2.374e+00  3.941e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.599e+00  1.170e+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.169e+00  1.367e-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:  9.583e-01  3.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.68
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/845265/cmap_HighResolution_284428801_284688001_4FGL_J2022.3-4513_daily_bin174.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-05', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-25 00:44:12.119413', job_id='845265', GAL2='1.17', fit_tolerance='1e-08', EG2='0.96', EG='0.98', time_epoch_completed='1632555852.12', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.40e-01', ts2='0.97', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='174' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 00:44:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 845265: <4FGL_J2022.3-4513_daily_bin174> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin174> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 25 00:31:40 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:32:43 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:32:43 2021
Terminated at Sat Sep 25 00:44:12 2021
Results reported at Sat Sep 25 00:44:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin174 305.591 -45.2228 284428801 284688001 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 :                                   656.54 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            752 sec.

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

