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


Performing analysis on: 4FGL_J0223.2-1653_daily_bin854
RA = 35.8128, Dec = -16.8868
tmin = 460684801, tmax = 460944001
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='349564', job_status='RUN', time_executed='2021-08-15 19:49:20.640984', time_epoch_executed='1629082160.64' WHERE source_name='4FGL J0223.2-1653' and cadence='daily' and bin_id='854'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/349564

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/349564/ft1_4FGL_J0223.2-1653_daily_bin854.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/349564/ft2_4FGL_J0223.2-1653_daily_bin854.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/349564/ft1_4FGL_J0223.2-1653_daily_bin854.fits outfile=/scratch/kocevski/349564/ft1_filteredMKT_4FGL_J0223.2-1653_daily_bin854.fits ra=35.8128 dec=-16.8868 rad=12.0 tmin=460684801.0 tmax=460944001.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.71
user 2.54
sys 1.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/349564/ft2_4FGL_J0223.2-1653_daily_bin854.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/349564/ft2_4FGL_J0223.2-1653_daily_bin854.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/349564/ft1_filteredMKT_4FGL_J0223.2-1653_daily_bin854.fits evtable="EVENTS" outfile="/scratch/kocevski/349564/ft1_filtered_4FGL_J0223.2-1653_daily_bin854.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 1.29
user 0.26
sys 1.01

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/349564/ft1_filtered_4FGL_J0223.2-1653_daily_bin854.fits" evtable="EVENTS" scfile=/scratch/kocevski/349564/ft2_4FGL_J0223.2-1653_daily_bin854.fits sctable="SC_DATA" outfile=/scratch/kocevski/349564/ltcube_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.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/349564/ft2_4FGL_J0223.2-1653_daily_bin854.fits
.....................!
real 12.25
user 10.86
sys 1.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/349564/ft1_filtered_4FGL_J0223.2-1653_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/349564/ft2_4FGL_J0223.2-1653_daily_bin854.fits sctable="SC_DATA" expcube=/scratch/kocevski/349564/ltcube_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.fits outfile=/scratch/kocevski/349564/expmap_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.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/349564/ltcube_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.fits
.....................!
real 158.78
user 152.84
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 176 point sources and 0 extended sources

Setting source of interest to:
4FGL J0223.2-1653 @ 35.8128 -16.8868

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/349564/ft1_filtered_4FGL_J0223.2-1653_daily_bin854.fits scfile=/scratch/kocevski/349564/ft2_4FGL_J0223.2-1653_daily_bin854.fits outfile=/scratch/kocevski/349564/cmap_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.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=35.8128 yref=-16.8868 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 1.49
user 0.31
sys 1.08

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/349564/ft1_filtered_4FGL_J0223.2-1653_daily_bin854.fits scfile=/scratch/kocevski/349564/ft2_4FGL_J0223.2-1653_daily_bin854.fits outfile=/scratch/kocevski/349564/cmap_HighResolution_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.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=35.8128 yref=-16.8868 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 1.30
user 0.32
sys 0.96

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/349564/ft1_filtered_4FGL_J0223.2-1653_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/349564/ft2_4FGL_J0223.2-1653_daily_bin854.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/349564/Model_4FGL_J0223.2-1653_daily_bin854.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/349564/ft1_filtered_4FGL_J0223.2-1653_daily_bin854.fits.....................!
real 53.20
user 49.14
sys 2.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/349564/ft1_filtered_4FGL_J0223.2-1653_daily_bin854.fits', '/scratch/kocevski/349564/ft2_4FGL_J0223.2-1653_daily_bin854.fits', expMap='/scratch/kocevski/349564/expmap_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.fits', expCube='/scratch/kocevski/349564/ltcube_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/349564/Model_4FGL_J0223.2-1653_daily_bin854.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0223.2-1653'

4FGL J0223.2-1653
   Spectrum: LogParabola
276         norm:  9.003e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
277        alpha:  2.895e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
278         beta:  4.228e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
279           Eb:  7.318e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/349564/ft1_filtered_4FGL_J0223.2-1653_daily_bin854.fits
Spacecraft file(s): /scratch/kocevski/349564/ft2_4FGL_J0223.2-1653_daily_bin854.fits
Exposure map: /scratch/kocevski/349564/expmap_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.fits
Exposure cube: /scratch/kocevski/349564/ltcube_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/349564/Model_4FGL_J0223.2-1653_daily_bin854.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) = 6711.72333574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .64761       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3971       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9013       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .37569E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .39205E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11207E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .40425       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    44.692       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0236       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80398       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6711.722     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     2051 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.438        .35261E-06** at limit **
   2  norm          .64702        1.5340       -.92410E-07   -.68015E-03
   3  Prefactor     2.3972        3.1646        .53708E-06   -.69402E-04
   4  Prefactor     .10000E-03    1.8337        .45117E-07** at limit **
   5  Prefactor     .10000E-03    3.7530       -.51750E-07** at limit **
   6  Prefactor     .10000E-03    .79324        .26472E-07** at limit **
   7  Prefactor     1.9055        5.3793        .83338E-05   -.60085E-03
   8  Prefactor     .10000E-03    6.0347       -.32314E-06** at limit **
   9  norm          .10003E-03    158.19        .90062E-05** at limit **
  10  Prefactor     .10012E-03    2.5763        .21189E-05** at limit **
  11  Prefactor     .10000E-03    29.928       -.53111E-06** at limit **
  12  Prefactor     .10000E-03    9.0174        .15286E-06** at limit **
  13  Prefactor     .10000E-03    11.264        .29169E-06** at limit **
  14  norm          .40411        1.3088        .73696E-06    .56371E-04
  15  Prefactor     .10000E-03    5.6156        .20298E-06** at limit **
  16  Prefactor     44.665        57.997        .59870E-05    .76142E-04
  17  norm          .10000E-03    1.2230        .32156E-07** at limit **
  18  Prefactor     .10000E-03    3.1358       -.44464E-06** at limit **
  19  Normalizat    1.0235        .13442       -.19967E-05   -.17898E-02
  20  Prefactor     .80399        .13876       -.16343E-05   -.14710E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.647023
  Prefactor  = 2.39718
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.9055
  Prefactor  = 0.0001
  norm       = 0.000100035
  Prefactor  = 0.000100123
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.404106
  Prefactor  = 0.0001
  Prefactor  = 44.6648
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02354
  Prefactor  = 0.803993
 **********
 **   18 **HESSE 
 **********

 FCN=   6711.722     FROM HESSE     STATUS=OK           281 CALLS     2332 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .64702        1.5204        .14398E-03   -1.5547    
   3  Prefactor     2.3972        3.1561        .15886E-03   -1.5398    
   4  Prefactor     .10000E-03    1.8357        .10835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.7640        .15497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .79487        .71250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9055        5.3921        .15081E-02   -1.5432    
   8  Prefactor     .10000E-03    6.0419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10003E-03    159.82        .42584E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10012E-03    32.790        .24303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    30.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.2697        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .40411        1.3194        .15930E-03   -1.5581    
  15  Prefactor     .10000E-03    5.8025        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     44.665        58.482        .59972E-04   -1.4370    
  17  norm          .10000E-03    1.2308        .88453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.1419        .14177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0235        .15524        .19732E-03   -.92246    
  20  Prefactor     .80399        .16248        .23629E-03   -.99581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37199e-09
Minuit parameter uncertainties:
  1  3.34027e-05
  2  1.52046
  3  3.15627
  4  3.81798e-06
  5  1.53803e-06
  6  1.56863e-06
  7  5.39352
  8  8.9579e-06
  9  0.00474215
  10  0.00401382
  11  0.000151273
  12  7.66514e-05
  13  3.47906e-05
  14  1.31947
  15  9.80273e-06
  16  58.557
  17  2.2676e-06
  18  4.55131e-05
  19  0.155309
  20  0.162577
Done.

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

Extracting fit parameters...

4FGL J0223.2-1653
   Spectrum: LogParabola
276         norm:  1.000e-04  4.742e-03  1.000e-04  1.000e+04 ( 1.000e-13)
277        alpha:  2.895e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
278         beta:  4.228e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
279           Eb:  7.318e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  8.040e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.024e+00  1.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 35.813 -16.887
Photon Flux Upper Limit: 5.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/349564/likelihoodResults_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.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) = 6711.72170203
delta logL = -2.971858612e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6711.72167309
delta logL = -7.78670255386e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11301E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4833       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80399       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+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=   6711.722     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      284 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9681.2        .36285E-02** at limit **
   2  alpha         2.3781        3.8030        .18458       -.53584E-08
   3  Normalizat    1.0235        .28961E-01    .19732E-03    .13868E-03
   4  Prefactor     .80399        .31264E-01    .23629E-03    .12038E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 2.37808
  Normalizat = 1.02354
  Prefactor  = 0.803995
 **********
 **   18 **HESSE 
 **********

 FCN=   6711.722     FROM HESSE     STATUS=OK            23 CALLS      307 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    265.78        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3781        2.7247        .73834E-02   -.48788E-01
   3  Normalizat    1.0235        .14964        .39464E-04   -.92246    
   4  Prefactor     .80399        .16148        .94515E-05   -.99581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55333e-11
Minuit parameter uncertainties:
  1  0.00139606
  2  1098.7
  3  0.149706
  4  0.161574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/349564': 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) = 6711.72167219
delta logL = 1.25663063955e-07

Extracting fit parameters...

4FGL J0223.2-1653
   Spectrum: LogParabola
276         norm:  1.000e-04  1.396e-03  1.000e-04  1.000e+04 ( 1.000e-13)
277        alpha:  2.378e+00  1.099e+03  0.000e+00  5.000e+00 ( 1.000e+00)
278         beta:  4.228e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
279           Eb:  7.318e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  8.040e-01  1.616e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.024e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 35.813 -16.887

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/349564/cmap_HighResolution_460684801_460944001_4FGL_J0223.2-1653_daily_bin854.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-05', job_status='DONE', photon_flux_upper_limit='5.35e-08', time_completed='2021-08-15 19:58:14.720361', job_id='349564', GAL2='0.80', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1629082694.72', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.26e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.89' WHERE bin_id='854' AND source_name='4FGL J0223.2-1653' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 19:58:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 349564: <4FGL_J0223.2-1653_daily_bin854> in cluster <slac> Done

Job <4FGL_J0223.2-1653_daily_bin854> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 15 19:45:30 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 19:48:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 19:48:54 2021
Terminated at Sun Aug 15 19:58:15 2021
Results reported at Sun Aug 15 19:58:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0223.2-1653_daily_bin854 35.8128 -16.8868 460684801 460944001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0223.2-1653 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   543.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             318.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   561 sec.
    Turnaround time :                            765 sec.

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

