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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin771
RA = 28.4972, Dec = 8.3931
tmin = 439171201, tmax = 439430401
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='907508', job_status='RUN', time_executed='2021-08-14 20:08:24.284351', time_epoch_executed='1628996904.28' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907508

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907508/ft1_4FGL_J0153.9+0823_daily_bin771.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907508/ft2_4FGL_J0153.9+0823_daily_bin771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907508/ft1_4FGL_J0153.9+0823_daily_bin771.fits outfile=/scratch/kocevski/907508/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin771.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=439171201.0 tmax=439430401.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.26
user 5.30
sys 0.94

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/907508/ft2_4FGL_J0153.9+0823_daily_bin771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/907508/ft2_4FGL_J0153.9+0823_daily_bin771.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/907508/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin771.fits evtable="EVENTS" outfile="/scratch/kocevski/907508/ft1_filtered_4FGL_J0153.9+0823_daily_bin771.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.11
user 0.30
sys 0.79

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907508/ft1_filtered_4FGL_J0153.9+0823_daily_bin771.fits" evtable="EVENTS" scfile=/scratch/kocevski/907508/ft2_4FGL_J0153.9+0823_daily_bin771.fits sctable="SC_DATA" outfile=/scratch/kocevski/907508/ltcube_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.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/907508/ft2_4FGL_J0153.9+0823_daily_bin771.fits
.....................!
real 13.78
user 12.60
sys 1.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907508/ft1_filtered_4FGL_J0153.9+0823_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/907508/ft2_4FGL_J0153.9+0823_daily_bin771.fits sctable="SC_DATA" expcube=/scratch/kocevski/907508/ltcube_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.fits outfile=/scratch/kocevski/907508/expmap_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.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/907508/ltcube_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.fits
.....................!
real 192.56
user 186.02
sys 6.15

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

Setting source of interest to:
4FGL J0153.9+0823 @ 28.4972 8.3931

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/907508/ft1_filtered_4FGL_J0153.9+0823_daily_bin771.fits scfile=/scratch/kocevski/907508/ft2_4FGL_J0153.9+0823_daily_bin771.fits outfile=/scratch/kocevski/907508/cmap_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.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=28.4972 yref=8.3931 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.18
user 0.40
sys 0.76

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907508/ft1_filtered_4FGL_J0153.9+0823_daily_bin771.fits scfile=/scratch/kocevski/907508/ft2_4FGL_J0153.9+0823_daily_bin771.fits outfile=/scratch/kocevski/907508/cmap_HighResolution_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.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=28.4972 yref=8.3931 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.29
user 0.41
sys 0.87

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/907508/ft1_filtered_4FGL_J0153.9+0823_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/907508/ft2_4FGL_J0153.9+0823_daily_bin771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/907508/Model_4FGL_J0153.9+0823_daily_bin771.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/907508/ft1_filtered_4FGL_J0153.9+0823_daily_bin771.fits.....................!
real 60.36
user 57.96
sys 2.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/907508/ft1_filtered_4FGL_J0153.9+0823_daily_bin771.fits', '/scratch/kocevski/907508/ft2_4FGL_J0153.9+0823_daily_bin771.fits', expMap='/scratch/kocevski/907508/expmap_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.fits', expCube='/scratch/kocevski/907508/ltcube_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/907508/Model_4FGL_J0153.9+0823_daily_bin771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0153.9+0823'

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.272e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/907508/ft1_filtered_4FGL_J0153.9+0823_daily_bin771.fits
Spacecraft file(s): /scratch/kocevski/907508/ft2_4FGL_J0153.9+0823_daily_bin771.fits
Exposure map: /scratch/kocevski/907508/expmap_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.fits
Exposure cube: /scratch/kocevski/907508/ltcube_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/907508/Model_4FGL_J0153.9+0823_daily_bin771.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) = 4812.14723772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    47.190       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10583E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.790       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .20490E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.675       1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.343       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4099       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .91613       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4811.983     FROM MIGRAD    STATUS=CONVERGED    332 CALLS     1427 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.336        .11422E-04** at limit **
   2  Prefactor     47.208        45.501        .20946E-04   -.16117E-05
   3  Prefactor     .10000E-03    1.8807       -.68346E-07** at limit **
   4  norm          .10000E-03    14.845       -.58728E-05** at limit **
   5  Prefactor     .10000E-03    15.626        .13710E-04** at limit **
   6  Prefactor     .10000E-03    1.8860        .11249E-06** at limit **
   7  norm          19.788        8.3319       -.76860E-07   -.18668E-03
   8  Prefactor     .10000E-03    1.9466       -.46442E-06** at limit **
   9  norm          .10000E-03    .75488        .34596E-07** at limit **
  10  Prefactor     .10000E-03    11.687       -.16830E-04** at limit **
  11  Prefactor     .10000E-03    4.0320        .12943E-05** at limit **
  12  Prefactor     .10000E-03    44.850       -.47998E-05** at limit **
  13  Prefactor     26.677        13.232       -.60101E-07   -.30808E-04
  14  Prefactor     38.340        25.750       -.15527E-05    .68256E-04
  15  Prefactor     .10000E-03    5.7716       -.50876E-06** at limit **
  16  Normalizat    1.4098        .23315       -.88859E-06   -.98567E-04
  17  Prefactor     .91617        .15636        .14741E-06   -.19062E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 47.2084
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.7876
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.6765
  Prefactor  = 38.3403
  Prefactor  = 0.0001
  Normalizat = 1.40975
  Prefactor  = 0.916169
 **********
 **   18 **HESSE 
 **********

 FCN=   4811.983     FROM HESSE     STATUS=OK           215 CALLS     1642 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     47.208        45.582        .58369E-04   -1.4333    
   3  Prefactor     .10000E-03    1.8847        .92902E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    14.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.058        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.3534        .18427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.788        8.2994        .90035E-04   -1.4818    
   8  Prefactor     .10000E-03    4.0156        .18634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.7851        .11634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.0386        .13594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    44.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.677        13.219        .77565E-04   -1.4675    
  14  Prefactor     38.340        25.724        .64728E-04   -1.4469    
  15  Prefactor     .10000E-03    5.7862        .16274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4098        .26282        .27936E-03   -.80347    
  17  Prefactor     .91617        .17798        .22577E-03   -.95578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63033e-10
Minuit parameter uncertainties:
  1  1.34991e-05
  2  45.6153
  3  1.47734e-07
  4  4.00467e-07
  5  0.000171033
  6  1.32547e-05
  7  8.29985
  8  0.000170385
  9  1.46603e-05
  10  2.02139e-05
  11  3.03387e-06
  12  3.27312e-05
  13  13.2209
  14  25.7311
  15  8.49077e-06
  16  0.263076
  17  0.178097
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  4.005e-07  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.162e-01  1.781e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.410e+00  2.631e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.497 8.393
Photon Flux Upper Limit: 6.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/907508/likelihoodResults_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.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) = 4811.98362143
delta logL = -0.000319819637298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4811.98330406
delta logL = -2.45055525738e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16034E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7777       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91619       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4811.983     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      199 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    21.235        .90712E-02** at limit **
   2  alpha         1.8135        3.4022        .43566       -.12171E-04
   3  Normalizat    1.4098        .22917        .63162E-01    .67376E-05
   4  Prefactor     .91617        .15417        .45211E-01    .20927E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.81353
  Normalizat = 1.40975
  Prefactor  = 0.916169
 **********
 **   18 **HESSE 
 **********

 FCN=   4811.983     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8135        3.3575        .50000       -.27816    
   3  Normalizat    1.4098        .26096        .27936E-03   -.80347    
   4  Prefactor     .91617        .17563        .22577E-03   -.95578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6368e-10
Minuit parameter uncertainties:
  1  0.000262956
  2  2.43003
  3  0.261207
  4  0.175735
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907508': 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) = 4811.98330165
delta logL = -4.07289917348e-08

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  2.630e-04  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.814e+00  2.430e+00  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.162e-01  1.757e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.410e+00  2.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.497 8.393

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/907508/cmap_HighResolution_439171201_439430401_4FGL_J0153.9+0823_daily_bin771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-05', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2021-08-14 20:17:06.385277', job_id='907508', GAL2='0.92', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1628997426.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-4.07e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='771' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:17:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 907508: <4FGL_J0153.9+0823_daily_bin771> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin771> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 20:05:28 2021
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:05:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 20:05:43 2021
Terminated at Sat Aug 14 20:17:07 2021
Results reported at Sat Aug 14 20:17:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin771 28.4972 8.3931 439171201 439430401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0153.9+0823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   532.05 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   683 sec.
    Turnaround time :                            699 sec.

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

