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


Performing analysis on: 4FGL_J2338.0-0230_daily_bin1210
RA = 354.509, Dec = -2.5106
tmin = 552960001, tmax = 553219201
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='66498', job_status='RUN', time_executed='2021-09-30 02:23:13.577169', time_epoch_executed='1632993793.58' WHERE source_name='4FGL J2338.0-0230' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/66498

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/66498/ft1_4FGL_J2338.0-0230_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/66498/ft1_4FGL_J2338.0-0230_daily_bin1210.fits outfile=/scratch/kocevski/66498/ft1_filteredMKT_4FGL_J2338.0-0230_daily_bin1210.fits ra=354.509 dec=-2.5106 rad=12.0 tmin=552960001.0 tmax=553219201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.80
user 2.59
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.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/66498/ft1_filteredMKT_4FGL_J2338.0-0230_daily_bin1210.fits evtable="EVENTS" outfile="/scratch/kocevski/66498/ft1_filtered_4FGL_J2338.0-0230_daily_bin1210.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.49
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/66498/ft1_filtered_4FGL_J2338.0-0230_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/66498/ltcube_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.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/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.fits
.....................!
real 12.47
user 12.12
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/66498/ft1_filtered_4FGL_J2338.0-0230_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/66498/ltcube_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.fits outfile=/scratch/kocevski/66498/expmap_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.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/66498/ltcube_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.fits
.....................!
real 191.83
user 186.43
sys 5.06

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2338.0-0230 @ 354.509 -2.5106

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/66498/ft1_filtered_4FGL_J2338.0-0230_daily_bin1210.fits scfile=/scratch/kocevski/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.fits outfile=/scratch/kocevski/66498/cmap_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.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=354.509 yref=-2.5106 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.53
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/66498/ft1_filtered_4FGL_J2338.0-0230_daily_bin1210.fits scfile=/scratch/kocevski/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.fits outfile=/scratch/kocevski/66498/cmap_HighResolution_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.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=354.509 yref=-2.5106 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/66498/ft1_filtered_4FGL_J2338.0-0230_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/66498/Model_4FGL_J2338.0-0230_daily_bin1210.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/66498/ft1_filtered_4FGL_J2338.0-0230_daily_bin1210.fits.....................!
real 58.84
user 57.52
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/66498/ft1_filtered_4FGL_J2338.0-0230_daily_bin1210.fits', '/scratch/kocevski/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.fits', expMap='/scratch/kocevski/66498/expmap_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.fits', expCube='/scratch/kocevski/66498/ltcube_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/66498/Model_4FGL_J2338.0-0230_daily_bin1210.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2338.0-0230'

4FGL J2338.0-0230
   Spectrum: PowerLaw
462    Prefactor:  2.455e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
463        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
464        Scale:  7.455e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/66498/ft1_filtered_4FGL_J2338.0-0230_daily_bin1210.fits
Spacecraft file(s): /scratch/kocevski/66498/ft2_4FGL_J2338.0-0230_daily_bin1210.fits
Exposure map: /scratch/kocevski/66498/expmap_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.fits
Exposure cube: /scratch/kocevski/66498/ltcube_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/66498/Model_4FGL_J2338.0-0230_daily_bin1210.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) = 5828.65118519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.110       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.7968       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1428       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7328       1.0000         .10000E-03   10000.    
     5 'norm      '    .42050       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.221       1.0000         .10000E-03   10000.    
     7 'norm      '    5.2018       1.0000         .10000E-03   10000.    
     8 'norm      '    35.376       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.318       1.0000         .10000E-03   10000.    
    10 'Prefactor '    37.653       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.7726       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7616       1.0000         .10000E-03   10000.    
    15 'Prefactor '    69.345       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0571       1.0000         .10000E-03   10000.    
    18 'Prefactor '    55.816       1.0000         .10000E-03   10000.    
    19 'norm      '    27.544       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.6216       1.0000         .10000E-03   10000.    
    22 'Prefactor '    31.532       1.0000         .10000E-03   10000.    
    23 'Prefactor '    30.795       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.4766       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .96223       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .67175       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5828.611     FROM MIGRAD    STATUS=CONVERGED    646 CALLS     3316 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.107        9.0187       -.57807E-06    .59314E-04
   2  Prefactor     7.7955        38.729       -.91045E-07    .24899E-04
   3  Prefactor     5.1399        6.4781       -.14613E-07    .14487E-03
   4  Prefactor     4.7334        5.0716       -.61910E-06    .20437E-03
   5  norm          .42027        1.2436       -.35752E-06    .14676E-03
   6  Prefactor     13.219        12.737       -.29346E-07    .10161E-03
   7  norm          5.2015        3.5231        .15634E-06    .37364E-03
   8  norm          35.364        17.632       -.34327E-06   -.14033E-04
   9  Prefactor     16.315        25.663        .16439E-06    .39720E-05
  10  Prefactor     37.645        51.344        .13906E-06   -.54830E-05
  11  Prefactor     .10000E-03    6.5734       -.11412E-05** at limit **
  12  norm          1.7730        1.0245        .37952E-06   -.64648E-03
  13  norm          .10000E-03    6.3570       -.20252E-05** at limit **
  14  Prefactor     3.7601        8.9466       -.34337E-06    .86628E-04
  15  Prefactor     69.380        45.486       -.33626E-05    .15964E-04
  16  Prefactor     .10000E-03    87.382       -.10300E-04** at limit **
  17  Prefactor     .99501        82.191       -.66813E-04    .24624E-04
  18  Prefactor     55.814        28.585       -.33062E-07    .17385E-04
  19  norm          27.620        34.488        .10784E-04   -.11271E-03
  20  Prefactor     .10000E-03    55.028        .11700E-05** at limit **
  21  Prefactor     2.6234        4.1914        .26319E-05    .37926E-04
  22  Prefactor     31.537        41.694        .10018E-05   -.55809E-04
  23  Prefactor     30.798        19.333       -.20258E-06    .27537E-04
  24  Prefactor     .10000E-03    21.383       -.24827E-05** at limit **
  25  Prefactor     4.4761        4.0151        .27282E-07   -.49389E-04
  26  Normalizat    .96239        .19365        .46760E-05    .22583E-03
  27  Prefactor     .67169        .13911       -.12334E-05    .12426E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1068
  Prefactor  = 7.7955
  Prefactor  = 5.13991
  Prefactor  = 4.73339
  norm       = 0.420275
  Prefactor  = 13.2193
  norm       = 5.20146
  norm       = 35.3644
  Prefactor  = 16.3155
  Prefactor  = 37.6451
  Prefactor  = 0.000100002
  norm       = 1.77303
  norm       = 0.000100004
  Prefactor  = 3.76014
  Prefactor  = 69.3797
  Prefactor  = 0.0001
  Prefactor  = 0.995006
  Prefactor  = 55.8137
  norm       = 27.6196
  Prefactor  = 0.000100004
  Prefactor  = 2.62338
  Prefactor  = 31.5368
  Prefactor  = 30.7985
  Prefactor  = 0.000100004
  Prefactor  = 4.47613
  Normalizat = 0.96239
  Prefactor  = 0.671687
 **********
 **   18 **HESSE 
 **********

 FCN=   5828.611     FROM HESSE     STATUS=OK           502 CALLS     3818 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.107        9.0149        .12602E-03   -1.5072    
   2  Prefactor     7.7955        38.578        .14361E-03   -1.5149    
   3  Prefactor     5.1399        6.4566        .17728E-03   -1.5255    
   4  Prefactor     4.7334        5.0574        .15740E-03   -1.5273    
   5  norm          .42027        1.2538        .13821E-03   -1.5578    
   6  Prefactor     13.219        12.722        .11016E-03   -1.4981    
   7  norm          5.2015        3.5172        .10218E-03   -1.5252    
   8  norm          35.364        17.634        .67378E-04   -1.4518    
   9  Prefactor     16.315        25.667        .99148E-04   -1.4900    
  10  Prefactor     37.645        51.464        .65316E-04   -1.4480    
  11  Prefactor     .10000E-03    6.6083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7730        1.0243        .55125E-04   -1.5442    
  13  norm          .10000E-03    6.5036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7601        8.9196        .20816E-03   -1.5320    
  15  Prefactor     69.380        45.584        .24101E-03   -1.4040    
  16  Prefactor     .10000E-03    87.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .99501        117.90        .44981E-02   -1.5508    
  18  Prefactor     55.814        28.533        .53692E-04   -1.4212    
  19  norm          27.620        40.311        .76333E-04   -1.4656    
  20  Prefactor     .10000E-03    55.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.6234        4.1936        .16807E-03   -1.5384    
  22  Prefactor     31.537        41.764        .71355E-04   -1.4584    
  23  Prefactor     30.798        19.341        .72201E-04   -1.4597    
  24  Prefactor     .10000E-03    21.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.4761        4.0194        .13937E-03   -1.5285    
  26  Normalizat    .96239        .21945        .25807E-03   -.94301    
  27  Prefactor     .67169        .15712        .23020E-03   -1.0465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06578e-09
Minuit parameter uncertainties:
  1  9.01612
  2  34.7189
  3  6.45748
  4  5.05782
  5  1.25391
  6  12.7245
  7  3.51737
  8  17.6362
  9  25.6841
  10  51.5252
  11  0.000241058
  12  1.02428
  13  0.000325668
  14  8.92274
  15  45.6069
  16  0.000179074
  17  21.7052
  18  28.5397
  19  40.3511
  20  0.000926903
  21  4.1941
  22  41.803
  23  19.3454
  24  0.000603973
  25  4.01966
  26  0.219654
  27  0.157221
Done.

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

Extracting fit parameters...

4FGL J2338.0-0230
   Spectrum: PowerLaw
462    Prefactor:  2.623e+00  4.194e+00  1.000e-04  1.000e+04 ( 1.000e-12)
463        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
464        Scale:  7.455e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  6.717e-01  1.572e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  9.624e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.67
Ra Dec: 354.509 -2.511
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/66498/likelihoodResults_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.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) = 5828.61053593
delta logL = 3.61032243745e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5828.61053048
delta logL = 4.15573276769e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6234       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4824       1.0000          .0000       10.000    
     3 'Normalizat'    .96273       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67153       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5828.611     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      181 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6416        6.0854        .62949E-02    .43915E-03
   2  Index         2.4788        1.6195        .23598E-01   -.41983E-04
   3  Normalizat    .96268        .17949        .45698E-01   -.21984E-03
   4  Prefactor     .67154        .13531        .42021E-01   -.10636E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.64158
  Index      = 2.47884
  Normalizat = 0.962679
  Prefactor  = 0.671541
 **********
 **   18 **HESSE 
 **********

 FCN=   5828.611     FROM HESSE     STATUS=OK            29 CALLS      210 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6416        4.1521        .16881E-03   -1.5383    
   2  Index         2.4788        1.1285        .94391E-03   -.52849    
   3  Normalizat    .96268        .20291        .25803E-03   -.94291    
   4  Prefactor     .67154        .15245        .23022E-03   -1.0465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13281e-10
Minuit parameter uncertainties:
  1  4.15251
  2  1.14171
  3  0.203073
  4  0.152549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/66498': 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) = 5828.61051987
delta logL = 5.21658575963e-05

Extracting fit parameters...

4FGL J2338.0-0230
   Spectrum: PowerLaw
462    Prefactor:  2.642e+00  4.153e+00  1.000e-04  1.000e+04 ( 1.000e-12)
463        Index:  2.479e+00  1.142e+00  0.000e+00  1.000e+01 (-1.000e+00)
464        Scale:  7.455e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  6.715e-01  1.525e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  9.627e-01  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.67
Ra Dec: 354.509 -2.511

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/66498/cmap_HighResolution_552960001_553219201_4FGL_J2338.0-0230_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.00e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-30 02:37:28.896522', job_id='66498', GAL2='0.67', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632994648.9', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='5.22e-05', ts2='0.67', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1210' AND source_name='4FGL J2338.0-0230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 02:37:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 66498: <4FGL_J2338.0-0230_daily_bin1210> in cluster <slac> Done

Job <4FGL_J2338.0-0230_daily_bin1210> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 02:20:55 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 02:20:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 02:20:57 2021
Terminated at Thu Sep 30 02:37:29 2021
Results reported at Thu Sep 30 02:37:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2338.0-0230_daily_bin1210 354.509 -2.5106 552960001 553219201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2338.0-0230 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   698.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             233.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            994 sec.

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

