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


Performing analysis on: 4FGL_J0223.2-1653_daily_bin205
RA = 35.8128, Dec = -16.8868
tmin = 292464001, tmax = 292723201
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='346551', job_status='RUN', time_executed='2021-08-15 19:40:37.390775', time_epoch_executed='1629081637.39' WHERE source_name='4FGL J0223.2-1653' and cadence='daily' and bin_id='205'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/346551

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/346551/ft1_4FGL_J0223.2-1653_daily_bin205.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/346551/ft2_4FGL_J0223.2-1653_daily_bin205.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/346551/ft1_4FGL_J0223.2-1653_daily_bin205.fits outfile=/scratch/kocevski/346551/ft1_filteredMKT_4FGL_J0223.2-1653_daily_bin205.fits ra=35.8128 dec=-16.8868 rad=12.0 tmin=292464001.0 tmax=292723201.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 14.22
user 3.39
sys 9.11

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/346551/ft2_4FGL_J0223.2-1653_daily_bin205.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/346551/ft1_filteredMKT_4FGL_J0223.2-1653_daily_bin205.fits evtable="EVENTS" outfile="/scratch/kocevski/346551/ft1_filtered_4FGL_J0223.2-1653_daily_bin205.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 8.46
user 0.34
sys 8.00

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/346551/ft1_filtered_4FGL_J0223.2-1653_daily_bin205.fits" evtable="EVENTS" scfile=/scratch/kocevski/346551/ft2_4FGL_J0223.2-1653_daily_bin205.fits sctable="SC_DATA" outfile=/scratch/kocevski/346551/ltcube_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.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/346551/ft2_4FGL_J0223.2-1653_daily_bin205.fits
.....................!
real 24.86
user 14.65
sys 10.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/346551/ft1_filtered_4FGL_J0223.2-1653_daily_bin205.fits evtable="EVENTS" scfile=/scratch/kocevski/346551/ft2_4FGL_J0223.2-1653_daily_bin205.fits sctable="SC_DATA" expcube=/scratch/kocevski/346551/ltcube_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.fits outfile=/scratch/kocevski/346551/expmap_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.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/346551/ltcube_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.fits
.....................!
real 204.32
user 187.19
sys 16.37

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/346551/ft1_filtered_4FGL_J0223.2-1653_daily_bin205.fits scfile=/scratch/kocevski/346551/ft2_4FGL_J0223.2-1653_daily_bin205.fits outfile=/scratch/kocevski/346551/cmap_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.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 9.28
user 0.39
sys 8.81

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/346551/ft1_filtered_4FGL_J0223.2-1653_daily_bin205.fits scfile=/scratch/kocevski/346551/ft2_4FGL_J0223.2-1653_daily_bin205.fits outfile=/scratch/kocevski/346551/cmap_HighResolution_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.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 9.22
user 0.39
sys 8.73

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/346551/ft1_filtered_4FGL_J0223.2-1653_daily_bin205.fits evtable="EVENTS" scfile=/scratch/kocevski/346551/ft2_4FGL_J0223.2-1653_daily_bin205.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/346551/Model_4FGL_J0223.2-1653_daily_bin205.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/346551/ft1_filtered_4FGL_J0223.2-1653_daily_bin205.fits......................!
real 57.91
user 44.48
sys 12.62

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/346551/ft1_filtered_4FGL_J0223.2-1653_daily_bin205.fits', '/scratch/kocevski/346551/ft2_4FGL_J0223.2-1653_daily_bin205.fits', expMap='/scratch/kocevski/346551/expmap_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.fits', expCube='/scratch/kocevski/346551/ltcube_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/346551/Model_4FGL_J0223.2-1653_daily_bin205.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/346551/ft1_filtered_4FGL_J0223.2-1653_daily_bin205.fits
Spacecraft file(s): /scratch/kocevski/346551/ft2_4FGL_J0223.2-1653_daily_bin205.fits
Exposure map: /scratch/kocevski/346551/expmap_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.fits
Exposure cube: /scratch/kocevski/346551/ltcube_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/346551/Model_4FGL_J0223.2-1653_daily_bin205.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) = 4287.99419712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.9488       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .61446E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0492       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2914       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10428E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1838       1.0000         .10000E-03   10000.    
    11 'Prefactor '    100.59       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.543       1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.018       1.0000         .10000E-03   10000.    
    14 'norm      '    24.547       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6469       1.0000         .10000E-03   10000.    
    16 'Prefactor '    85.164       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0760       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .79757       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3134       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=   4287.990     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     2043 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.648        .20326E-05** at limit **
   2  norm          3.9497        3.3267        .99942E-07   -.15351E-03
   3  Prefactor     .10000E-03    3.6623        .21793E-05** at limit **
   4  Prefactor     .10000E-03    4.6926       -.62852E-07** at limit **
   5  Prefactor     3.0999        41.109       -.14525E-05   -.10583E-03
   6  Prefactor     7.2905        7.9845        .74903E-06   -.46765E-04
   7  Prefactor     .10000E-03    5.9783       -.84646E-06** at limit **
   8  Prefactor     .10000E-03    18.165       -.37491E-07** at limit **
   9  norm          .10000E-03    37.058       -.39056E-05** at limit **
  10  Prefactor     3.1794        9.7865        .20775E-05    .17572E-03
  11  Prefactor     100.55        68.655        .42018E-05    .52390E-04
  12  Prefactor     14.541        14.391        .33736E-06    .15710E-04
  13  Prefactor     43.056        63.406       -.53678E-05   -.28030E-04
  14  norm          24.545        5.2157       -.29551E-06    .10885E-04
  15  Prefactor     2.6455        9.3260        .58051E-05   -.51541E-04
  16  Prefactor     85.178        93.942       -.14642E-05   -.35038E-05
  17  norm          2.0760        6.5227        .88536E-05   -.91763E-04
  18  Prefactor     .10000E-03    10.915        .51400E-06** at limit **
  19  Normalizat    .79770        .24616       -.19387E-05   -.14797E-03
  20  Prefactor     1.3134        .24184       -.22562E-06   -.13101E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.94973
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 3.09994
  Prefactor  = 7.29048
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 3.17939
  Prefactor  = 100.551
  Prefactor  = 14.5408
  Prefactor  = 43.056
  norm       = 24.5453
  Prefactor  = 2.64555
  Prefactor  = 85.178
  norm       = 2.07597
  Prefactor  = 0.0001
  Normalizat = 0.7977
  Prefactor  = 1.3134
 **********
 **   18 **HESSE 
 **********

 FCN=   4287.990     FROM HESSE     STATUS=OK           295 CALLS     2338 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9497        3.3224        .10222E-03   -1.5310    
   3  Prefactor     .10000E-03    12.868        .22524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.6953        .13854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0999        38.628        .23234E-03   -1.5356    
   6  Prefactor     7.2905        7.9794        .74270E-03   -1.5168    
   7  Prefactor     .10000E-03    6.0153        .15654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    37.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.1794        9.7454        .22711E-03   -1.5351    
  11  Prefactor     100.55        68.801        .20043E-03   -1.3699    
  12  Prefactor     14.541        14.402        .10503E-03   -1.4945    
  13  Prefactor     43.056        63.238        .61122E-04   -1.4395    
  14  norm          24.545        5.2145        .64441E-04   -1.4717    
  15  Prefactor     2.6455        9.3415        .12529E-02   -1.5383    
  16  Prefactor     85.178        93.995        .43531E-04   -1.3859    
  17  norm          2.0760        6.5517        .14189E-02   -1.5420    
  18  Prefactor     .10000E-03    10.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .79770        .29095        .30541E-03   -1.0015    
  20  Prefactor     1.3134        .29051        .25552E-03   -.82909    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.24375e-10
Minuit parameter uncertainties:
  1  4.90065e-05
  2  3.32251
  3  0.000348863
  4  8.20137e-06
  5  21.9027
  6  7.98054
  7  0.000120046
  8  5.43542e-05
  9  0.000502698
  10  9.75024
  11  68.8554
  12  14.405
  13  63.3367
  14  5.2146
  15  9.34664
  16  94.1593
  17  6.55395
  18  7.54837e-05
  19  0.29152
  20  0.290867
Done.

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

Extracting fit parameters...

4FGL J0223.2-1653
   Spectrum: LogParabola
276         norm:  1.000e-04  5.027e-04  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:  1.313e+00  2.909e-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:  7.977e-01  2.915e-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: 9.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/346551/likelihoodResults_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.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) = 4287.98998029
delta logL = -0.000127672662529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4287.98985266
delta logL = -3.88472471968e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10199E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8933       1.0000          .0000       5.0000    
     3 'Normalizat'    .79772       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3134       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.

 FCN=   4287.990     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      197 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    36.741        .90712E-02** at limit **
   2  alpha         2.8980        3.6302        .41814       -.62553E-06
   3  Normalizat    .79770        .22618        .69023E-01    .15031E-04
   4  Prefactor     1.3134        .23756        .57785E-01    .21891E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.89799
  Normalizat = 0.797704
  Prefactor  = 1.3134
 **********
 **   18 **HESSE 
 **********

 FCN=   4287.990     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .40E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    36.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8980        3.6299        .16726        .15987    
   3  Normalizat    .79770        .26960        .30541E-03   -1.0015    
   4  Prefactor     1.3134        .28355        .25552E-03   -.82909    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98529e-13
Minuit parameter uncertainties:
  1  6.08193e-06
  2  2.46814
  3  0.27005
  4  0.283886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/346551': 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) = 4287.98985262
delta logL = 9.87711246125e-10

Extracting fit parameters...

4FGL J0223.2-1653
   Spectrum: LogParabola
276         norm:  1.000e-04  6.082e-06  1.000e-04  1.000e+04 ( 1.000e-13)
277        alpha:  2.898e+00  2.468e+00  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:  1.313e+00  2.839e-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:  7.977e-01  2.700e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/346551/cmap_HighResolution_292464001_292723201_4FGL_J0223.2-1653_daily_bin205.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-05', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2021-08-15 19:51:37.915279', job_id='346551', GAL2='1.31', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1629082297.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='9.88e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.89' WHERE bin_id='205' AND source_name='4FGL J0223.2-1653' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 19:51:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 346551: <4FGL_J0223.2-1653_daily_bin205> in cluster <slac> Done

Job <4FGL_J0223.2-1653_daily_bin205> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Aug 15 19:35:44 2021
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 19:38:06 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:38:06 2021
Terminated at Sun Aug 15 19:51:40 2021
Results reported at Sun Aug 15 19:51:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0223.2-1653_daily_bin205 35.8128 -16.8868 292464001 292723201 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 :                                   782.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             259.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            956 sec.

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

