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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin244
RA = 305.591, Dec = -45.2228
tmin = 302572801, tmax = 302832001
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='846336', job_status='RUN', time_executed='2021-09-25 00:39:42.151665', time_epoch_executed='1632555582.15' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='244'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846336

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846336/ft1_4FGL_J2022.3-4513_daily_bin244.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846336/ft2_4FGL_J2022.3-4513_daily_bin244.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846336/ft1_4FGL_J2022.3-4513_daily_bin244.fits outfile=/scratch/kocevski/846336/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin244.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=302572801.0 tmax=302832001.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.63
user 3.28
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846336/ft1_filtered_4FGL_J2022.3-4513_daily_bin244.fits" evtable="EVENTS" scfile=/scratch/kocevski/846336/ft2_4FGL_J2022.3-4513_daily_bin244.fits sctable="SC_DATA" outfile=/scratch/kocevski/846336/ltcube_302572801_302832001_4FGL_J2022.3-4513_daily_bin244.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/846336/ft2_4FGL_J2022.3-4513_daily_bin244.fits
.....................!
real 15.53
user 14.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846336/ft1_filtered_4FGL_J2022.3-4513_daily_bin244.fits evtable="EVENTS" scfile=/scratch/kocevski/846336/ft2_4FGL_J2022.3-4513_daily_bin244.fits sctable="SC_DATA" expcube=/scratch/kocevski/846336/ltcube_302572801_302832001_4FGL_J2022.3-4513_daily_bin244.fits outfile=/scratch/kocevski/846336/expmap_302572801_302832001_4FGL_J2022.3-4513_daily_bin244.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/846336/ltcube_302572801_302832001_4FGL_J2022.3-4513_daily_bin244.fits
.....................!
real 193.67
user 186.85
sys 4.51

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/846336/ft1_filtered_4FGL_J2022.3-4513_daily_bin244.fits scfile=/scratch/kocevski/846336/ft2_4FGL_J2022.3-4513_daily_bin244.fits outfile=/scratch/kocevski/846336/cmap_302572801_302832001_4FGL_J2022.3-4513_daily_bin244.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846336/ft1_filtered_4FGL_J2022.3-4513_daily_bin244.fits scfile=/scratch/kocevski/846336/ft2_4FGL_J2022.3-4513_daily_bin244.fits outfile=/scratch/kocevski/846336/cmap_HighResolution_302572801_302832001_4FGL_J2022.3-4513_daily_bin244.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/846336/ft1_filtered_4FGL_J2022.3-4513_daily_bin244.fits evtable="EVENTS" scfile=/scratch/kocevski/846336/ft2_4FGL_J2022.3-4513_daily_bin244.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/846336/Model_4FGL_J2022.3-4513_daily_bin244.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/846336/ft1_filtered_4FGL_J2022.3-4513_daily_bin244.fits.....................!
real 62.25
user 60.33
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10164E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    17.439       1.0000         .10000E-03   10000.    
     5 'norm      '    1.7208       1.0000         .10000E-03   10000.    
     6 'norm      '    .29214E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .10366E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.065       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .93030E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7217       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.7293       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6683       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .82965E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.181       1.0000         .10000E-03   10000.    
    19 'Normalizat'    2.1180       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .69063       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=   7048.575     FROM MIGRAD    STATUS=CONVERGED    764 CALLS     2426 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9532        .14065E-02** at limit **
   2  Prefactor     .10000E-03    7.1900        .18142E-02** at limit **
   3  Prefactor     .10000E-03    9.7064        .18142E-02** at limit **
   4  norm          17.427        29.727        .95908E-04   -.46348E-04
   5  norm          1.7205        1.2564        .76867E-04    .10149E-02
   6  norm          .11087E-03    7.8254        .66891E-01** at limit **
   7  norm          .10000E-03    34.110        .18142E-02** at limit **
   8  norm          .10000E-03    1.7138        .15672E-02** at limit **
   9  Prefactor     .10000E-03    25.284        .18142E-02** at limit **
  10  norm          .10000E-03    1.0451        .83731E-03** at limit **
  11  norm          13.103        27.994        .11082E-03   -.15737E-03
  12  Prefactor     .10000E-03    38.771        .13959    ** at limit **
  13  Prefactor     .10000E-03    39.697        .18142E-02** at limit **
  14  Prefactor     2.7217        2.4393        .12064E-03    .11205E-02
  15  Prefactor     8.7590        18.962        .13567E-03   -.14983E-03
  16  norm          1.6681        1.5753        .99861E-04    .13993E-02
  17  Prefactor     .10000E-03    211.04        .20880E-02** at limit **
  18  Prefactor     22.179        13.195        .85048E-04    .16682E-03
  19  Normalizat    2.1182        .31443        .30613E-03   -.26575E-03
  20  Prefactor     .69074        .13045        .20497E-03    .28176E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.4272
  norm       = 1.72048
  norm       = 0.000110867
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.1035
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.72175
  Prefactor  = 8.75899
  norm       = 1.66808
  Prefactor  = 0.000100004
  Prefactor  = 22.1789
  Normalizat = 2.11819
  Prefactor  = 0.690742
 **********
 **   18 **HESSE 
 **********

 FCN=   7048.575     FROM HESSE     STATUS=OK           291 CALLS     2717 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.9534        .28129E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.1901        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.7093        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.427        29.728        .38363E-05   -1.4873    
   5  norm          1.7205        1.2565        .30747E-05   -1.5446    
   6  norm          .11087E-03    7.2779        .70979E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    34.133        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.7191        .31345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.285        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.0451        .16746E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.103        27.993        .44327E-05   -1.4984    
  12  Prefactor     .10000E-03    38.766        .13959       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    39.698        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.7217        2.4392        .48256E-05   -1.5378    
  15  Prefactor     8.7590        18.961        .54267E-05   -1.5116    
  16  norm          1.6681        1.5753        .39944E-05   -1.5450    
  17  Prefactor     .10000E-03    211.12        .41761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.179        13.195        .34019E-05   -1.4766    
  19  Normalizat    2.1182        .31473        .61226E-04   -.61620    
  20  Prefactor     .69074        .13057        .81988E-05   -1.0389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70154e-09
Minuit parameter uncertainties:
  1  6.09255e-06
  2  3.46488e-06
  3  7.43344e-05
  4  29.7536
  5  1.25649
  6  0.0177887
  7  0.000125898
  8  3.04374e-05
  9  4.16423e-05
  10  9.19001e-07
  11  28.0205
  12  0.000459558
  13  0.00019272
  14  2.43932
  15  18.9744
  16  1.57534
  17  0.00177372
  18  13.197
  19  0.315042
  20  0.130624
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  9.190e-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:  6.907e-01  1.306e-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:  2.118e+00  3.150e-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.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846336/likelihoodResults_302572801_302832001_4FGL_J2022.3-4513_daily_bin244.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) = 7048.57886109
delta logL = -0.00425664483828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7048.57460448
delta logL = -3.96075847675e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0187       1.0000          .0000       5.0000    
     3 'Normalizat'    2.1182       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69077       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=   7048.575     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      228 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0581        .83757E-03** at limit **
   2  alpha         1.8633        3.9056        .16864E-01    .11595E-06
   3  Normalizat    2.1182        .30117        .30613E-03    .30214E-04
   4  Prefactor     .69074        .12551        .20497E-03    .54633E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.86329
  Normalizat = 2.1182
  Prefactor  = 0.690738
 **********
 **   18 **HESSE 
 **********

 FCN=   7048.575     FROM HESSE     STATUS=OK            23 CALLS      251 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0548        .16751E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8633        3.7116        .67455E-03   -.25752    
   3  Normalizat    2.1182        .30144        .61226E-04   -.61620    
   4  Prefactor     .69074        .12562        .81988E-05   -1.0389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.56622e-11
Minuit parameter uncertainties:
  1  3.64723e-06
  2  164.543
  3  0.301712
  4  0.125669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846336': 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) = 7048.574604
delta logL = 4.40825715486e-07

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  3.647e-06  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  1.863e+00  1.645e+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:  6.907e-01  1.257e-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:  2.118e+00  3.017e-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/846336/cmap_HighResolution_302572801_302832001_4FGL_J2022.3-4513_daily_bin244.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.74e-05', job_status='DONE', photon_flux_upper_limit='4.73e-08', time_completed='2021-09-25 00:50:59.610463', job_id='846336', GAL2='0.69', fit_tolerance='1e-08', EG2='2.12', EG='2.12', time_epoch_completed='1632556259.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='4.41e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='244' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 00:50:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 846336: <4FGL_J2022.3-4513_daily_bin244> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin244> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 00:36:03 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:36:24 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:36:24 2021
Terminated at Sat Sep 25 00:51:00 2021
Results reported at Sat Sep 25 00:51:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin244 305.591 -45.2228 302572801 302832001 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 :                                   670.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             293.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            897 sec.

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

