/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 22 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_J0551.0-1622_daily_bin1210
RA = 87.7503, Dec = -16.3808
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='860418', job_status='RUN', time_executed='2021-08-23 23:02:23.591415', time_epoch_executed='1629784943.59' WHERE source_name='4FGL J0551.0-1622' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/860418

Creating custom pfile directory:
/scratch/kocevski/860418/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/860418/ft1_4FGL_J0551.0-1622_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/860418/ft2_4FGL_J0551.0-1622_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/860418/ft1_4FGL_J0551.0-1622_daily_bin1210.fits outfile=/scratch/kocevski/860418/ft1_filteredMKT_4FGL_J0551.0-1622_daily_bin1210.fits ra=87.7503 dec=-16.3808 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 7.36
user 2.63
sys 4.45

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/860418/ft2_4FGL_J0551.0-1622_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/860418/ft1_filteredMKT_4FGL_J0551.0-1622_daily_bin1210.fits evtable="EVENTS" outfile="/scratch/kocevski/860418/ft1_filtered_4FGL_J0551.0-1622_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 5.55
user 0.32
sys 5.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/860418/ft1_filtered_4FGL_J0551.0-1622_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/860418/ft2_4FGL_J0551.0-1622_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/860418/ltcube_552960001_553219201_4FGL_J0551.0-1622_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/860418/ft2_4FGL_J0551.0-1622_daily_bin1210.fits
.....................!
real 18.04
user 12.79
sys 5.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/860418/ft1_filtered_4FGL_J0551.0-1622_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/860418/ft2_4FGL_J0551.0-1622_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/860418/ltcube_552960001_553219201_4FGL_J0551.0-1622_daily_bin1210.fits outfile=/scratch/kocevski/860418/expmap_552960001_553219201_4FGL_J0551.0-1622_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/860418/ltcube_552960001_553219201_4FGL_J0551.0-1622_daily_bin1210.fits
.....................!
real 196.14
user 185.47
sys 9.48

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/860418/ft1_filtered_4FGL_J0551.0-1622_daily_bin1210.fits scfile=/scratch/kocevski/860418/ft2_4FGL_J0551.0-1622_daily_bin1210.fits outfile=/scratch/kocevski/860418/cmap_552960001_553219201_4FGL_J0551.0-1622_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=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 4.91
user 0.38
sys 4.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/860418/ft1_filtered_4FGL_J0551.0-1622_daily_bin1210.fits scfile=/scratch/kocevski/860418/ft2_4FGL_J0551.0-1622_daily_bin1210.fits outfile=/scratch/kocevski/860418/cmap_HighResolution_552960001_553219201_4FGL_J0551.0-1622_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=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 4.75
user 0.40
sys 4.31

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/860418/ft1_filtered_4FGL_J0551.0-1622_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/860418/ft2_4FGL_J0551.0-1622_daily_bin1210.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/860418/Model_4FGL_J0551.0-1622_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/860418/ft1_filtered_4FGL_J0551.0-1622_daily_bin1210.fits.....................!
real 186.68
user 179.25
sys 6.66

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/860418/ft1_filtered_4FGL_J0551.0-1622_daily_bin1210.fits', '/scratch/kocevski/860418/ft2_4FGL_J0551.0-1622_daily_bin1210.fits', expMap='/scratch/kocevski/860418/expmap_552960001_553219201_4FGL_J0551.0-1622_daily_bin1210.fits', expCube='/scratch/kocevski/860418/ltcube_552960001_553219201_4FGL_J0551.0-1622_daily_bin1210.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/860418/Model_4FGL_J0551.0-1622_daily_bin1210.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/860418/ft1_filtered_4FGL_J0551.0-1622_daily_bin1210.fits
Spacecraft file(s): /scratch/kocevski/860418/ft2_4FGL_J0551.0-1622_daily_bin1210.fits
Exposure map: /scratch/kocevski/860418/expmap_552960001_553219201_4FGL_J0551.0-1622_daily_bin1210.fits
Exposure cube: /scratch/kocevski/860418/ltcube_552960001_553219201_4FGL_J0551.0-1622_daily_bin1210.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/860418/Model_4FGL_J0551.0-1622_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) = 11666.2155605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    34.063       1.0000         .10000E-03   10000.    
     3 'norm      '    37.634       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.8216       1.0000         .10000E-03   10000.    
     6 'norm      '    3.9737       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.036       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11066E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.6838       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.625       1.0000         .10000E-03   10000.    
    13 'Prefactor '    47.082       1.0000         .10000E-03   10000.    
    14 'norm      '    .30154E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .58849       1.0000         .10000E-03   10000.    
    17 'norm      '    1.9228       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1399       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98958       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=   11666.21     FROM MIGRAD    STATUS=CONVERGED    391 CALLS     1914 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7260        .17061E-07** at limit **
   2  Prefactor     34.060        23.493        .23670E-06    .55002E-04
   3  norm          37.633        48.120        .27554E-06    .39670E-05
   4  norm          .10000E-03    1.4455       -.78130E-07** at limit **
   5  norm          9.8215        15.227       -.14937E-07    .16863E-05
   6  norm          3.9736        3.9993       -.11809E-06    .83302E-04
   7  Prefactor     .10000E-03    2.4154        .46790E-06** at limit **
   8  norm          .10000E-03    3.7176       -.54043E-07** at limit **
   9  Prefactor     11.036        9.1361        .37820E-06    .19298E-04
  10  Prefactor     .10001E-03    202.07        .24752E-05** at limit **
  11  Prefactor     8.6783        18.866       -.11581E-05   -.81866E-04
  12  Prefactor     45.653        46.434       -.25672E-05   -.28255E-03
  13  Prefactor     47.080        32.890        .68383E-07   -.20306E-04
  14  norm          .10000E-03    3.4454        .14563E-05** at limit **
  15  Prefactor     .10000E-03    18.355        .44804E-06** at limit **
  16  norm          .58221        4.8534       -.16335E-05   -.40058E-04
  17  norm          1.9239        11.258        .81383E-05   -.29058E-03
  18  Normalizat    1.1398        .17476       -.22335E-05   -.66419E-03
  19  Prefactor     .98959        .58555E-01    .33639E-06   -.49979E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 34.0597
  norm       = 37.6334
  norm       = 0.0001
  norm       = 9.82146
  norm       = 3.97365
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.0357
  Prefactor  = 0.000100005
  Prefactor  = 8.67831
  Prefactor  = 45.6527
  Prefactor  = 47.0797
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.582206
  norm       = 1.92392
  Normalizat = 1.13983
  Prefactor  = 0.989595
 **********
 **   18 **HESSE 
 **********

 FCN=   11666.21     FROM HESSE     STATUS=OK           268 CALLS     2182 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.060        23.530        .68660E-04   -1.4540    
   3  norm          37.633        48.122        .65332E-04   -1.4480    
   4  norm          .10000E-03    1.4668        .12671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.8215        15.222        .12786E-03   -1.5081    
   6  norm          3.9736        4.0030        .20234E-03   -1.5309    
   7  Prefactor     .10000E-03    2.4475        .16449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.7280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.036        9.1390        .12060E-03   -1.5043    
  10  Prefactor     .10001E-03    204.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.6783        18.755        .13603E-03   -1.5119    
  12  Prefactor     45.653        46.645        .59358E-04   -1.4356    
  13  Prefactor     47.080        32.968        .58436E-04   -1.4335    
  14  norm          .10000E-03    12.930        .37507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .58221        19.128        .42008E-02   -1.5555    
  17  norm          1.9239        11.759        .14982E-02   -1.5431    
  18  Normalizat    1.1398        .18603        .41238E-03   -.88483    
  19  Prefactor     .98959        .62304E-01    .15077E-03   -.93077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.38305e-08
Minuit parameter uncertainties:
  1  4.74618e-06
  2  23.5364
  3  48.172
  4  5.75909e-06
  5  15.2283
  6  4.0033
  7  4.87704e-05
  8  6.59203e-06
  9  9.14013
  10  0.0020412
  11  18.768
  12  46.6824
  13  32.9806
  14  8.26307e-05
  15  0.000122903
  16  6.67595
  17  9.51518
  18  0.186139
  19  0.0623085
Done.

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

Extracting fit parameters...

4FGL J0551.0-1622
   Spectrum: LogParabola
206         norm:  9.821e+00  1.523e+01  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:  9.896e-01  6.231e-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.140e+00  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/860418/likelihoodResults_552960001_553219201_4FGL_J0551.0-1622_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) = 11666.0478066
delta logL = 0.163684594785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11666.045539
delta logL = 0.165952171528

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7583       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2329       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1392       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98907       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=   11666.05     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      301 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7573        14.704        .15434E-03    .68119E-03
   2  alpha         3.2327        1.8309        .53015E-01    .56387E-04
   3  Normalizat    1.1390        .17393        .41245E-03   -.57057E-04
   4  Prefactor     .98909        .60223E-01    .15079E-03   -.18803E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.75731
  alpha      = 3.23269
  Normalizat = 1.13904
  Prefactor  = 0.989091
 **********
 **   18 **HESSE 
 **********

 FCN=   11666.05     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7573        12.412        .61738E-05   -1.5188    
   2  alpha         3.2327        1.6063        .21206E-02    .29744    
   3  Normalizat    1.1390        .17396        .16498E-04   -.88508    
   4  Prefactor     .98909        .60240E-01    .60315E-05   -.93094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91052e-10
Minuit parameter uncertainties:
  1  12.4163
  2  1.76148
  3  0.174052
  4  0.0602444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/860418': 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) = 11666.0455387
delta logL = 0.165952496049

Extracting fit parameters...

4FGL J0551.0-1622
   Spectrum: LogParabola
206         norm:  6.757e+00  1.242e+01  1.000e-04  1.000e+04 ( 1.000e-13)
207        alpha:  3.233e+00  1.761e+00  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:  9.891e-01  6.024e-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.139e+00  1.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.61
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/860418/cmap_HighResolution_552960001_553219201_4FGL_J0551.0-1622_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-05', job_status='DONE', photon_flux_upper_limit='2.27e-08', time_completed='2021-08-23 23:17:09.895891', job_id='860418', GAL2='0.99', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1629785829.9', return_code2='0', ts='0.61', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.66e-01', ts2='0.94', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1210' AND source_name='4FGL J0551.0-1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 23 23:17:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 860418: <4FGL_J0551.0-1622_daily_bin1210> in cluster <slac> Done

Job <4FGL_J0551.0-1622_daily_bin1210> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug 23 23:00:36 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 23 23:00:37 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:00:37 2021
Terminated at Mon Aug 23 23:17:11 2021
Results reported at Mon Aug 23 23:17:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0551.0-1622_daily_bin1210 87.7503 -16.3808 552960001 553219201 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 :                                   943.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

