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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin834
RA = 305.591, Dec = -45.2228
tmin = 455500801, tmax = 455760001
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='851727', job_status='RUN', time_executed='2021-09-25 00:57:42.140602', time_epoch_executed='1632556662.14' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='834'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851727

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851727/ft1_4FGL_J2022.3-4513_daily_bin834.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851727/ft2_4FGL_J2022.3-4513_daily_bin834.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851727/ft1_4FGL_J2022.3-4513_daily_bin834.fits outfile=/scratch/kocevski/851727/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin834.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=455500801.0 tmax=455760001.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.40
user 3.19
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851727/ft1_filtered_4FGL_J2022.3-4513_daily_bin834.fits" evtable="EVENTS" scfile=/scratch/kocevski/851727/ft2_4FGL_J2022.3-4513_daily_bin834.fits sctable="SC_DATA" outfile=/scratch/kocevski/851727/ltcube_455500801_455760001_4FGL_J2022.3-4513_daily_bin834.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/851727/ft2_4FGL_J2022.3-4513_daily_bin834.fits
.....................!
real 13.16
user 12.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851727/ft1_filtered_4FGL_J2022.3-4513_daily_bin834.fits evtable="EVENTS" scfile=/scratch/kocevski/851727/ft2_4FGL_J2022.3-4513_daily_bin834.fits sctable="SC_DATA" expcube=/scratch/kocevski/851727/ltcube_455500801_455760001_4FGL_J2022.3-4513_daily_bin834.fits outfile=/scratch/kocevski/851727/expmap_455500801_455760001_4FGL_J2022.3-4513_daily_bin834.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/851727/ltcube_455500801_455760001_4FGL_J2022.3-4513_daily_bin834.fits
.....................!
real 192.66
user 186.49
sys 5.55

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/851727/ft1_filtered_4FGL_J2022.3-4513_daily_bin834.fits scfile=/scratch/kocevski/851727/ft2_4FGL_J2022.3-4513_daily_bin834.fits outfile=/scratch/kocevski/851727/cmap_455500801_455760001_4FGL_J2022.3-4513_daily_bin834.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/851727/ft1_filtered_4FGL_J2022.3-4513_daily_bin834.fits scfile=/scratch/kocevski/851727/ft2_4FGL_J2022.3-4513_daily_bin834.fits outfile=/scratch/kocevski/851727/cmap_HighResolution_455500801_455760001_4FGL_J2022.3-4513_daily_bin834.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/851727/ft1_filtered_4FGL_J2022.3-4513_daily_bin834.fits evtable="EVENTS" scfile=/scratch/kocevski/851727/ft2_4FGL_J2022.3-4513_daily_bin834.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/851727/Model_4FGL_J2022.3-4513_daily_bin834.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/851727/ft1_filtered_4FGL_J2022.3-4513_daily_bin834.fits.....................!
real 66.08
user 64.54
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23390E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    23.433       1.0000         .10000E-03   10000.    
     5 'norm      '    .94395       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    36.912       1.0000         .10000E-03   10000.    
     8 'norm      '    .97972E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .12047E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    10.571       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.0595       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.1697       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.4134       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2395       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0464       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=   8049.990     FROM MIGRAD    STATUS=CONVERGED    735 CALLS     2405 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10008E-03    49.019        .40458E-02** at limit **
   2  Prefactor     .10000E-03    13.204        .18142E-02** at limit **
   3  Prefactor     .10000E-03    4.5880        .18142E-02** at limit **
   4  norm          23.431        21.168        .82748E-04   -.68695E-06
   5  norm          .94378        .97189        .93523E-03    .27587E-02
   6  norm          .10000E-03    7.3359        .18142E-02** at limit **
   7  norm          36.905        24.108        .65966E-04   -.26678E-03
   8  norm          .94142E-01    6.3244        .15950E-02    .19987E-03
   9  Prefactor     .10000E-03    24.193        .18142E-02** at limit **
  10  norm          .10424E-03    3.8300        .41713E-01** at limit **
  11  norm          10.569        18.492        .12323E-03   -.18008E-03
  12  Prefactor     .10000E-03    22.674        .18142E-02** at limit **
  13  Prefactor     .10000E-03    62.512        .18142E-02** at limit **
  14  Prefactor     7.0593        3.9619        .12827E-03    .35292E-03
  15  Prefactor     .10000E-03    13.050        .18142E-02** at limit **
  16  norm          3.1695        1.9775        .95393E-04    .14659E-03
  17  Prefactor     .10000E-03    31.602        .18142E-02** at limit **
  18  Prefactor     5.4130        7.2107        .86356E-03    .81083E-04
  19  Normalizat    1.2395        .28273        .36784E-03   -.36810E-03
  20  Prefactor     1.0464        .12590        .17786E-03   -.70077E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.4313
  norm       = 0.94378
  norm       = 0.0001
  norm       = 36.9055
  norm       = 0.0941417
  Prefactor  = 0.0001
  norm       = 0.000104245
  norm       = 10.5695
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 7.05932
  Prefactor  = 0.000100001
  norm       = 3.16954
  Prefactor  = 0.000100001
  Prefactor  = 5.41301
  Normalizat = 1.23953
  Prefactor  = 1.04637
 **********
 **   18 **HESSE 
 **********

 FCN=   8049.990     FROM HESSE     STATUS=OK           287 CALLS     2692 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10008E-03    50.016        .80915E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.204        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.5886        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          23.431        21.167        .16550E-04   -1.4739    
   5  norm          .94378        .97137        .37409E-04   -1.5514    
   6  norm          .10000E-03    7.3383        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          36.905        24.105        .13193E-04   -1.4492    
   8  norm          .94142E-01    6.3702        .63798E-04   -1.5647    
   9  Prefactor     .10000E-03    24.195        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10424E-03    3.1909        .47406E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.569        18.491        .49293E-05   -1.5058    
  12  Prefactor     .10000E-03    22.675        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    62.514        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.0593        3.9617        .51309E-05   -1.5177    
  15  Prefactor     .10000E-03    13.051        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1695        1.9773        .38157E-05   -1.5352    
  17  Prefactor     .10000E-03    31.603        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.4130        7.2095        .34542E-04   -1.5243    
  19  Normalizat    1.2395        .28291        .73568E-04   -.85390    
  20  Prefactor     1.0464        .12587        .35573E-04   -.91200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.484e-09
Minuit parameter uncertainties:
  1  0.00392152
  2  9.66368e-05
  3  2.42968e-05
  4  21.174
  5  0.971389
  6  0.000111653
  7  24.1112
  8  1.54816
  9  0.000205545
  10  0.0073611
  11  18.5012
  12  0.000139201
  13  0.000695808
  14  3.96188
  15  0.000192335
  16  1.97734
  17  0.0003409
  18  7.21066
  19  0.283257
  20  0.125905
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.042e-04  7.361e-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.046e+00  1.259e-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.240e+00  2.833e-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: 7.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/851727/likelihoodResults_455500801_455760001_4FGL_J2022.3-4513_daily_bin834.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) = 8049.99033742
delta logL = -4.65987141069e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8049.32601625
delta logL = 0.664274571431

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .52582       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6719       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0617       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=   8049.326     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      286 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .52554        6.8466        .11376E-01    .23214E-02
   2  alpha         3.6727        4.0666        .45017        .90287E-04
   3  Normalizat    1.1662        .48962E-01    .85226E-01    .43761E-04
   4  Prefactor     1.0617        .22017E-01    .39269E-01   -.55540E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.525542
  alpha      = 3.67272
  Normalizat = 1.16625
  Prefactor  = 1.06166
 **********
 **   18 **HESSE 
 **********

 FCN=   8049.326     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      319 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .52554        23.796        .61745E-03   -1.5563    
   2  alpha         3.6727        3.5192        .16392E-01    .48826    
   3  Normalizat    1.1662        .22370        .37738E-03   -.87652    
   4  Prefactor     1.0617        .10072        .17662E-03   -.90702    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.78099e-10
Minuit parameter uncertainties:
  1  7.07509
  2  7.23351
  3  0.223883
  4  0.100733
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851727': 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): 102
logL (Free Index) = 8049.32601521
delta logL = 0.664275616247

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  5.255e-01  7.075e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  3.673e+00  7.234e+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.062e+00  1.007e-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.166e+00  2.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.38
Ra Dec: 305.591 -45.223
Photon Index (Free Index): 3.67 +/- 7.23
Photon Flux (Free Index): 6.66e-08 +/- 6.43e-08
Energy Flux (Free Index): 1.13e-05 +/- 2.10e-05

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/851727/cmap_HighResolution_455500801_455760001_4FGL_J2022.3-4513_daily_bin834.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='6.64e-01', photon_flux2='6.66e-08', job_status='DONE', time_completed='2021-09-25 01:09:44.931623', photon_index_error2='7.23', photon_index2='3.67', ts='-0.00', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='7.77e-08', energy_flux_error2='2.10e-05', EG='1.24', time_epoch_completed='1632557384.93', return_code='0', job_id='851727', GAL2='1.06', EG2='1.17', return_code2='102', photon_flux_error2='6.43e-08', ts2='1.38', photon_index='2.02' WHERE bin_id='834' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 01:09:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 851727: <4FGL_J2022.3-4513_daily_bin834> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin834> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 00:56:11 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:57:25 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:57:25 2021
Terminated at Sat Sep 25 01:09:45 2021
Results reported at Sat Sep 25 01:09:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin834 305.591 -45.2228 455500801 455760001 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 :                                   720.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            814 sec.

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

