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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin929
RA = 28.4972, Dec = 8.3931
tmin = 480124801, tmax = 480384001
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='907766', job_status='RUN', time_executed='2021-08-14 20:11:08.575489', time_epoch_executed='1628997068.58' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907766

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907766/ft1_4FGL_J0153.9+0823_daily_bin929.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907766/ft2_4FGL_J0153.9+0823_daily_bin929.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907766/ft1_4FGL_J0153.9+0823_daily_bin929.fits outfile=/scratch/kocevski/907766/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin929.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=480124801.0 tmax=480384001.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 5.76
user 3.32
sys 2.40

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/907766/ft2_4FGL_J0153.9+0823_daily_bin929.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/907766/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin929.fits evtable="EVENTS" outfile="/scratch/kocevski/907766/ft1_filtered_4FGL_J0153.9+0823_daily_bin929.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 2.77
user 0.34
sys 2.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907766/ft1_filtered_4FGL_J0153.9+0823_daily_bin929.fits" evtable="EVENTS" scfile=/scratch/kocevski/907766/ft2_4FGL_J0153.9+0823_daily_bin929.fits sctable="SC_DATA" outfile=/scratch/kocevski/907766/ltcube_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.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/907766/ft2_4FGL_J0153.9+0823_daily_bin929.fits
.....................!
real 16.18
user 13.35
sys 2.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907766/ft1_filtered_4FGL_J0153.9+0823_daily_bin929.fits evtable="EVENTS" scfile=/scratch/kocevski/907766/ft2_4FGL_J0153.9+0823_daily_bin929.fits sctable="SC_DATA" expcube=/scratch/kocevski/907766/ltcube_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.fits outfile=/scratch/kocevski/907766/expmap_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.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/907766/ltcube_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.fits
.....................!
real 196.78
user 187.91
sys 8.34

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/907766/ft1_filtered_4FGL_J0153.9+0823_daily_bin929.fits scfile=/scratch/kocevski/907766/ft2_4FGL_J0153.9+0823_daily_bin929.fits outfile=/scratch/kocevski/907766/cmap_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.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 2.67
user 0.40
sys 2.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907766/ft1_filtered_4FGL_J0153.9+0823_daily_bin929.fits scfile=/scratch/kocevski/907766/ft2_4FGL_J0153.9+0823_daily_bin929.fits outfile=/scratch/kocevski/907766/cmap_HighResolution_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.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 2.67
user 0.41
sys 2.23

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/907766/ft1_filtered_4FGL_J0153.9+0823_daily_bin929.fits', '/scratch/kocevski/907766/ft2_4FGL_J0153.9+0823_daily_bin929.fits', expMap='/scratch/kocevski/907766/expmap_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.fits', expCube='/scratch/kocevski/907766/ltcube_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/907766/Model_4FGL_J0153.9+0823_daily_bin929.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/907766/ft1_filtered_4FGL_J0153.9+0823_daily_bin929.fits
Spacecraft file(s): /scratch/kocevski/907766/ft2_4FGL_J0153.9+0823_daily_bin929.fits
Exposure map: /scratch/kocevski/907766/expmap_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.fits
Exposure cube: /scratch/kocevski/907766/ltcube_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/907766/Model_4FGL_J0153.9+0823_daily_bin929.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) = 6303.50766785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10648E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .48294E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.965       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.1334       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7227       1.0000         .10000E-03   10000.    
     9 'norm      '    1.5018       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.9927       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.565       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .80483       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1710       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=   6303.492     FROM MIGRAD    STATUS=CONVERGED    329 CALLS     1585 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.852        .17093E-04** at limit **
   2  Prefactor     .10000E-03    24.382       -.51627E-05** at limit **
   3  Prefactor     .10000E-03    2.8296        .27976E-07** at limit **
   4  norm          11.952        19.178       -.63739E-05    .38381E-04
   5  Prefactor     .10000E-03    11.964       -.82011E-05** at limit **
   6  Prefactor     .10000E-03    1.0045        .40650E-07** at limit **
   7  norm          8.1326        5.4206        .22727E-06    .71434E-04
   8  Prefactor     3.7224        2.9685       -.55055E-07   -.19621E-03
   9  norm          1.5018        .92006       -.32812E-07   -.18137E-03
  10  Prefactor     .10000E-03    16.633       -.68194E-05** at limit **
  11  Prefactor     9.9830        9.5091       -.74029E-06   -.53561E-03
  12  Prefactor     .10000E-03    41.616       -.91516E-05** at limit **
  13  Prefactor     .10000E-03    12.672        .12592E-04** at limit **
  14  Prefactor     15.562        21.962       -.15678E-05    .27069E-04
  15  Prefactor     .10000E-03    39.044       -.32460E-05** at limit **
  16  Normalizat    .80496        .19669        .24995E-06   -.76988E-04
  17  Prefactor     1.1710        .13829        .61179E-06   -.11156E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 11.9524
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 8.13262
  Prefactor  = 3.72244
  norm       = 1.50177
  Prefactor  = 0.0001
  Prefactor  = 9.98299
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.5619
  Prefactor  = 0.0001
  Normalizat = 0.804957
  Prefactor  = 1.17096
 **********
 **   18 **HESSE 
 **********

 FCN=   6303.492     FROM HESSE     STATUS=OK           223 CALLS     1808 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.333        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    24.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.118        .25657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.952        19.150        .11581E-03   -1.5016    
   5  Prefactor     .10000E-03    12.271        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.0167        .77668E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.1326        5.4193        .14058E-03   -1.5138    
   8  Prefactor     3.7224        2.9599        .11565E-03   -1.5322    
   9  norm          1.5018        .91586        .57371E-04   -1.5463    
  10  Prefactor     .10000E-03    16.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.9830        9.5186        .12676E-03   -1.5076    
  12  Prefactor     .10000E-03    41.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.562        21.925        .10152E-03   -1.4919    
  15  Prefactor     .10000E-03    40.506        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .80496        .21821        .32774E-03   -.99885    
  17  Prefactor     1.1710        .15581        .19369E-03   -.87230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.936e-10
Minuit parameter uncertainties:
  1  0.000356334
  2  4.02879e-06
  3  0.000269671
  4  19.1598
  5  0.000156796
  6  9.42107e-07
  7  5.41966
  8  2.96
  9  0.915867
  10  1.92489e-05
  11  9.52007
  12  9.42237e-06
  13  4.71089e-05
  14  21.9366
  15  0.000122273
  16  0.218447
  17  0.155874
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.195e+01  1.916e+01  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:  1.171e+00  1.559e-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:  8.050e-01  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/907766/likelihoodResults_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.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) = 6303.22100019
delta logL = 0.270672208778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6302.99733331
delta logL = 0.494339088404

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3439       1.0000         .10000E-03   10000.    
     2 'alpha     '    .61944       1.0000          .0000       5.0000    
     3 'Normalizat'    .80862       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1747       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=   6302.997     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      223 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3375        4.2677        .55332E-02    .26920E-04
   2  alpha         .61863        .56626        .50000       -.49573E-04
   3  Normalizat    .80858        .19279        .73858E-01    .77494E-04
   4  Prefactor     1.1748        .13561        .35258E-01   -.31512E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.33749
  alpha      = 0.618633
  Normalizat = 0.808582
  Prefactor  = 1.17476
 **********
 **   18 **HESSE 
 **********

 FCN=   6302.997     FROM HESSE     STATUS=OK            31 CALLS      254 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3375        6.7388        .17778E-03   -1.5343    
   2  alpha         .61863        .74918        .26718E-01   -.85192    
   3  Normalizat    .80858        .21648        .32688E-03   -.99751    
   4  Prefactor     1.1748        .15262        .19337E-03   -.87111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95291e-11
Minuit parameter uncertainties:
  1  6.74028
  2  0.777796
  3  0.216706
  4  0.152676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907766': 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) = 6302.99733287
delta logL = 0.494339529724

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  3.337e+00  6.740e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  6.186e-01  7.778e-01  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:  1.175e+00  1.527e-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:  8.086e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.50
Ra Dec: 28.497 8.393
Photon Index (Free Index): 0.62 +/- 0.78
Photon Flux (Free Index): 3.66e-09 +/- 4.81e-09
Energy Flux (Free Index): 6.91e-05 +/- 1.07e-04

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/907766/cmap_HighResolution_480124801_480384001_4FGL_J0153.9+0823_daily_bin929.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.63e-05', comment='SUCCESS', energy_flux2='6.91e-05', dlogl='4.94e-01', photon_flux2='3.66e-09', job_status='DONE', time_completed='2021-08-14 20:21:09.996891', photon_index_error2='0.78', photon_index2='0.62', ts='0.51', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='7.62e-08', energy_flux_error2='1.07e-04', EG='0.80', time_epoch_completed='1628997670.0', return_code='0', job_id='907766', GAL2='1.17', EG2='0.81', return_code2='0', photon_flux_error2='4.81e-09', ts2='1.50', photon_index='1.82' WHERE bin_id='929' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:21:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 907766: <4FGL_J0153.9+0823_daily_bin929> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin929> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 20:05:48 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:07:36 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:07:36 2021
Terminated at Sat Aug 14 20:21:11 2021
Results reported at Sat Aug 14 20:21:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin929 28.4972 8.3931 480124801 480384001 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 :                                   635.11 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             283.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            923 sec.

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

