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


Performing analysis on: 4FGL_J0551.0-1622_daily_bin1562
RA = 87.7503, Dec = -16.3808
tmin = 644198401, tmax = 644457601
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='861956', job_status='RUN', time_executed='2021-08-23 23:07:57.545047', time_epoch_executed='1629785277.55' WHERE source_name='4FGL J0551.0-1622' and cadence='daily' and bin_id='1562'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/861956

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/861956/ft1_4FGL_J0551.0-1622_daily_bin1562.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/861956/ft1_4FGL_J0551.0-1622_daily_bin1562.fits outfile=/scratch/kocevski/861956/ft1_filteredMKT_4FGL_J0551.0-1622_daily_bin1562.fits ra=87.7503 dec=-16.3808 rad=12.0 tmin=644198401.0 tmax=644457601.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 6.27
user 3.23
sys 3.00

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.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/861956/ft1_filteredMKT_4FGL_J0551.0-1622_daily_bin1562.fits evtable="EVENTS" outfile="/scratch/kocevski/861956/ft1_filtered_4FGL_J0551.0-1622_daily_bin1562.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 3.32
user 0.33
sys 2.97

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/861956/ft1_filtered_4FGL_J0551.0-1622_daily_bin1562.fits" evtable="EVENTS" scfile=/scratch/kocevski/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.fits sctable="SC_DATA" outfile=/scratch/kocevski/861956/ltcube_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.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/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.fits
.....................!
real 15.28
user 11.64
sys 3.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/861956/ft1_filtered_4FGL_J0551.0-1622_daily_bin1562.fits evtable="EVENTS" scfile=/scratch/kocevski/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.fits sctable="SC_DATA" expcube=/scratch/kocevski/861956/ltcube_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.fits outfile=/scratch/kocevski/861956/expmap_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.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/861956/ltcube_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.fits
.....................!
real 193.67
user 185.12
sys 8.09

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

Setting source of interest to:
4FGL J0551.0-1622 @ 87.7503 -16.3808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/861956/ft1_filtered_4FGL_J0551.0-1622_daily_bin1562.fits scfile=/scratch/kocevski/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.fits outfile=/scratch/kocevski/861956/cmap_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.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=87.7503 yref=-16.3808 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 3.35
user 0.37
sys 2.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/861956/ft1_filtered_4FGL_J0551.0-1622_daily_bin1562.fits scfile=/scratch/kocevski/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.fits outfile=/scratch/kocevski/861956/cmap_HighResolution_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.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=87.7503 yref=-16.3808 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 3.30
user 0.35
sys 2.93

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/861956/ft1_filtered_4FGL_J0551.0-1622_daily_bin1562.fits evtable="EVENTS" scfile=/scratch/kocevski/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/861956/Model_4FGL_J0551.0-1622_daily_bin1562.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/861956/ft1_filtered_4FGL_J0551.0-1622_daily_bin1562.fits.....................!
real 174.08
user 168.85
sys 4.87

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/861956/ft1_filtered_4FGL_J0551.0-1622_daily_bin1562.fits', '/scratch/kocevski/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.fits', expMap='/scratch/kocevski/861956/expmap_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.fits', expCube='/scratch/kocevski/861956/ltcube_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/861956/Model_4FGL_J0551.0-1622_daily_bin1562.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0551.0-1622'

4FGL J0551.0-1622
   Spectrum: LogParabola
206         norm:  1.720e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
207        alpha:  2.192e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
208         beta:  9.996e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
209           Eb:  1.587e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/861956/ft1_filtered_4FGL_J0551.0-1622_daily_bin1562.fits
Spacecraft file(s): /scratch/kocevski/861956/ft2_4FGL_J0551.0-1622_daily_bin1562.fits
Exposure map: /scratch/kocevski/861956/expmap_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.fits
Exposure cube: /scratch/kocevski/861956/ltcube_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/861956/Model_4FGL_J0551.0-1622_daily_bin1562.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) = 10590.8839369

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    11.645       1.0000         .10000E-03   10000.    
     4 'norm      '    .13143E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6390       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.6099       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.052       1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.240       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.859       1.0000         .10000E-03   10000.    
    14 'norm      '    .10517E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.108       1.0000         .10000E-03   10000.    
    16 'norm      '    .23294E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .40008       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.8373       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .79358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10590.88     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     1896 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.880        .16474E-07** at limit **
   2  Prefactor     .10000E-03    17.046       -.12699E-05** at limit **
   3  norm          11.594        84.542       -.34488E-05   -.97999E-04
   4  norm          .10000E-03    1.3798        .21383E-06** at limit **
   5  norm          .10000E-03    19.594        .58084E-06** at limit **
   6  norm          .10000E-03    3.2096        .15048E-07** at limit **
   7  Prefactor     7.6398        7.0129       -.73755E-07   -.62855E-04
   8  norm          .10000E-03    4.7339        .26313E-07** at limit **
   9  Prefactor     6.6103        10.313        .48308E-05   -.25189E-03
  10  Prefactor     .10000E-03    44.516        .42768E-07** at limit **
  11  Prefactor     14.054        14.390       -.52260E-06   -.50708E-04
  12  Prefactor     63.241        64.457        .98766E-07    .56534E-05
  13  Prefactor     20.852        35.515       -.91093E-06   -.61575E-04
  14  norm          .10000E-03    8.9422        .18582E-06** at limit **
  15  Prefactor     16.117        16.030       -.10153E-06   -.43380E-04
  16  norm          .10000E-03    3.2434        .59337E-06** at limit **
  17  norm          .39482        4.4883        .11032E-06   -.84587E-04
  18  Normalizat    1.8372        .19322       -.58229E-06   -.12138E-03
  19  Prefactor     .79362        .59324E-01   -.41028E-06   -.29637E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.5936
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 7.63977
  norm       = 0.0001
  Prefactor  = 6.61034
  Prefactor  = 0.0001
  Prefactor  = 14.0537
  Prefactor  = 63.2406
  Prefactor  = 20.8515
  norm       = 0.0001
  Prefactor  = 16.1167
  norm       = 0.000100004
  norm       = 0.394823
  Normalizat = 1.83717
  Prefactor  = 0.793616
 **********
 **   18 **HESSE 
 **********

 FCN=   10590.88     FROM HESSE     STATUS=OK           266 CALLS     2162 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.594        85.400        .11739E-03   -1.5027    
   4  norm          .10000E-03    5.9327        .22863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    19.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.2139        .18005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.6398        7.0259        .14509E-03   -1.5155    
   8  norm          .10000E-03    4.7504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.6103        10.333        .78043E-03   -1.5194    
  10  Prefactor     .10000E-03    44.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.054        14.378        .10685E-03   -1.4958    
  12  Prefactor     63.241        64.723        .50461E-04   -1.4116    
  13  Prefactor     20.852        35.650        .87699E-04   -1.4794    
  14  norm          .10000E-03    9.2212        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.117        15.929        .99793E-04   -1.4905    
  16  norm          .10000E-03    10.835        .35122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .39482        31.716        .41907E-02   -1.5582    
  18  Normalizat    1.8372        .20700        .36282E-03   -.68697    
  19  Prefactor     .79362        .62109E-01    .16079E-03   -.99964    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14664e-08
Minuit parameter uncertainties:
  1  2.45146e-05
  2  0.000116421
  3  63.0581
  4  4.92595e-05
  5  0.000173644
  6  2.27457e-07
  7  7.02665
  8  2.58012e-06
  9  10.3355
  10  4.34565e-05
  11  14.382
  12  64.7951
  13  35.6865
  14  9.98577e-06
  15  15.9334
  16  0.000426507
  17  7.08033
  18  0.207095
  19  0.0621149
Done.

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

Extracting fit parameters...

4FGL J0551.0-1622
   Spectrum: LogParabola
206         norm:  1.000e-04  1.736e-04  1.000e-04  1.000e+04 ( 1.000e-13)
207        alpha:  2.192e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
208         beta:  9.996e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
209           Eb:  1.587e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
481    Prefactor:  7.936e-01  6.211e-02  0.000e+00  1.000e+01 ( 1.000e+00)
482        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
483        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
480   Normalization:  1.837e+00  2.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 87.750 -16.381
Photon Flux Upper Limit: 1.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/861956/likelihoodResults_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.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) = 10590.8793575
delta logL = -0.000240916773691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10590.8791166
delta logL = 7.84348230809e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2018       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8372       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79362       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4840E+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=   10590.88     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      268 TOTAL
                     EDM=   .21E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    3.0223        .74298E-01** at limit **
   2  alpha         3.7013        4.2385        .16611       -.24502E-07
   3  Normalizat    1.8372        .50352E-02    .36282E-03   -.40421E-04
   4  Prefactor     .79362        .15633E-02    .16079E-03   -.12119E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100014
  alpha      = 3.7013
  Normalizat = 1.83717
  Prefactor  = 0.793616
 **********
 **   18 **HESSE 
 **********

 FCN=   10590.88     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      301 TOTAL
                     EDM=   .83E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    3.1527        .81179E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.7013        3.1255        .66444E-02    .50125    
   3  Normalizat    1.8372        .53304E-02    .14513E-04   -.68697    
   4  Prefactor     .79362        .16549E-02    .32158E-04   -.99964    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.33642e-14
Minuit parameter uncertainties:
  1  0.000413114
  2  490.09
  3  0.00533035
  4  0.00165493
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/861956': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10590.8791155
delta logL = 1.16619230539e-06

Extracting fit parameters...

4FGL J0551.0-1622
   Spectrum: LogParabola
206         norm:  1.000e-04  4.131e-04  1.000e-04  1.000e+04 ( 1.000e-13)
207        alpha:  3.701e+00  4.901e+02  0.000e+00  5.000e+00 ( 1.000e+00)
208         beta:  9.996e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
209           Eb:  1.587e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
481    Prefactor:  7.936e-01  1.655e-03  0.000e+00  1.000e+01 ( 1.000e+00)
482        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
483        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
480   Normalization:  1.837e+00  5.330e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 87.750 -16.381

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/861956/cmap_HighResolution_644198401_644457601_4FGL_J0551.0-1622_daily_bin1562.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-05', job_status='DONE', photon_flux_upper_limit='1.97e-08', time_completed='2021-08-23 23:21:26.027162', job_id='861956', GAL2='0.79', fit_tolerance='1e-08', EG2='1.84', EG='1.84', time_epoch_completed='1629786086.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.17e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1562' AND source_name='4FGL J0551.0-1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 23 23:21:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 861956: <4FGL_J0551.0-1622_daily_bin1562> in cluster <slac> Done

Job <4FGL_J0551.0-1622_daily_bin1562> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Aug 23 23:05:34 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 23 23:05:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 23 23:05:35 2021
Terminated at Mon Aug 23 23:21:27 2021
Results reported at Mon Aug 23 23:21:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0551.0-1622_daily_bin1562 87.7503 -16.3808 644198401 644457601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0551.0-1622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   847.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            953 sec.

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

