/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 170 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 = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin435
RA = 28.4972, Dec = 8.3931
tmin = 352080001, tmax = 352339201
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='904825', job_status='RUN', time_executed='2021-08-14 20:02:52.014004', time_epoch_executed='1628996572.01' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='435'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904825

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904825/ft1_4FGL_J0153.9+0823_daily_bin435.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904825/ft2_4FGL_J0153.9+0823_daily_bin435.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904825/ft1_4FGL_J0153.9+0823_daily_bin435.fits outfile=/scratch/kocevski/904825/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin435.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=352080001.0 tmax=352339201.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.96
user 3.22
sys 2.70

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904825/ft2_4FGL_J0153.9+0823_daily_bin435.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/904825/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin435.fits evtable="EVENTS" outfile="/scratch/kocevski/904825/ft1_filtered_4FGL_J0153.9+0823_daily_bin435.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.08
user 0.33
sys 2.72

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904825/ft1_filtered_4FGL_J0153.9+0823_daily_bin435.fits" evtable="EVENTS" scfile=/scratch/kocevski/904825/ft2_4FGL_J0153.9+0823_daily_bin435.fits sctable="SC_DATA" outfile=/scratch/kocevski/904825/ltcube_352080001_352339201_4FGL_J0153.9+0823_daily_bin435.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/904825/ft2_4FGL_J0153.9+0823_daily_bin435.fits
.....................!
real 16.35
user 13.29
sys 2.94

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904825/ft1_filtered_4FGL_J0153.9+0823_daily_bin435.fits evtable="EVENTS" scfile=/scratch/kocevski/904825/ft2_4FGL_J0153.9+0823_daily_bin435.fits sctable="SC_DATA" expcube=/scratch/kocevski/904825/ltcube_352080001_352339201_4FGL_J0153.9+0823_daily_bin435.fits outfile=/scratch/kocevski/904825/expmap_352080001_352339201_4FGL_J0153.9+0823_daily_bin435.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/904825/ltcube_352080001_352339201_4FGL_J0153.9+0823_daily_bin435.fits
.....................!
real 196.80
user 187.24
sys 8.81

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/904825/ft1_filtered_4FGL_J0153.9+0823_daily_bin435.fits scfile=/scratch/kocevski/904825/ft2_4FGL_J0153.9+0823_daily_bin435.fits outfile=/scratch/kocevski/904825/cmap_352080001_352339201_4FGL_J0153.9+0823_daily_bin435.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 3.08
user 0.37
sys 2.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904825/ft1_filtered_4FGL_J0153.9+0823_daily_bin435.fits scfile=/scratch/kocevski/904825/ft2_4FGL_J0153.9+0823_daily_bin435.fits outfile=/scratch/kocevski/904825/cmap_HighResolution_352080001_352339201_4FGL_J0153.9+0823_daily_bin435.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 3.09
user 0.38
sys 2.66

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0494       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .94974       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.8429       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4146       1.0000         .10000E-03   10000.    
     9 'norm      '    2.1884       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.6272       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .76208       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2226       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=   5949.461     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1333 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.307        .90712E-02** at limit **
   2  Prefactor     .10001E-03    29.666        .90712E-02** at limit **
   3  Prefactor     2.0494        2.5248        .72194E-02   -.23293E-04
   4  norm          .10000E-03    5.2713        .90712E-02** at limit **
   5  Prefactor     .94986        12.011        .12987E-01    .13044E-02
   6  Prefactor     .10000E-03    .76906        .90712E-02** at limit **
   7  norm          2.8431        3.8787        .60289E-02    .15306E-03
   8  Prefactor     5.4133        2.8449        .43173E-02    .10993E-03
   9  norm          2.1883        1.0609        .69557E-03    .12974E-02
  10  Prefactor     .10004E-03    20.168        .90712E-02** at limit **
  11  Prefactor     6.6261        6.0807        .38970E-02    .11664E-02
  12  Prefactor     .10007E-03    22.060        .90712E-02** at limit **
  13  Prefactor     .10001E-03    8.7298        .90712E-02** at limit **
  14  Prefactor     .10000E-03    9.0285        .90712E-02** at limit **
  15  Prefactor     .10001E-03    9.0969        .90712E-02** at limit **
  16  Normalizat    .76206        .19465        .74236E-01    .21348E-04
  17  Prefactor     1.2226        .13898        .34116E-01   -.72074E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.000100008
  Prefactor  = 2.0494
  norm       = 0.0001
  Prefactor  = 0.949859
  Prefactor  = 0.0001
  norm       = 2.84311
  Prefactor  = 5.41329
  norm       = 2.18833
  Prefactor  = 0.000100036
  Prefactor  = 6.62612
  Prefactor  = 0.000100075
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Normalizat = 0.762065
  Prefactor  = 1.22264
 **********
 **   18 **HESSE 
 **********

 FCN=   5949.461     FROM HESSE     STATUS=OK           221 CALLS     1554 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    29.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.0494        2.5190        .13262E-03   -1.5422    
   4  norm          .10000E-03    5.2731        .17296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .94986        12.251        .50249E-03   -1.5513    
   6  Prefactor     .10000E-03    .77549        .66033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.8431        3.8568        .17004E-03   -1.5371    
   8  Prefactor     5.4133        2.8406        .90167E-04   -1.5243    
   9  norm          2.1883        1.0610        .13911E-03   -1.5412    
  10  Prefactor     .10004E-03    20.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.6261        6.0773        .15588E-03   -1.5193    
  12  Prefactor     .10007E-03    22.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    8.9139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.0529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    9.2485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .76206        .21574        .32858E-03   -1.0149    
  17  Prefactor     1.2226        .15489        .18928E-03   -.85637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.90807e-09
Minuit parameter uncertainties:
  1  0.000278167
  2  0.000961741
  3  2.51913
  4  2.51357e-06
  5  6.82399
  6  3.07643e-07
  7  3.85718
  8  2.84064
  9  1.06099
  10  0.00170439
  11  6.07782
  12  0.00256613
  13  0.000582164
  14  8.39446e-05
  15  0.000744788
  16  0.215985
  17  0.154947
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  2.514e-06  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.223e+00  1.549e-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:  7.621e-01  2.160e-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: 3.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904825/likelihoodResults_352080001_352339201_4FGL_J0153.9+0823_daily_bin435.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) = 5949.46221809
delta logL = -0.000890872795026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5949.46132725
delta logL = -3.19405444316e-08

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5949.461     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      235 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.286        .17297E-02** at limit **
   2  alpha         1.9095        3.3393        .17297       -.74930E-08
   3  Normalizat    .76206        .21371        .32858E-03    .49823E-05
   4  Prefactor     1.2226        .15344        .18928E-03    .18559E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.90951
  Normalizat = 0.762065
  Prefactor  = 1.22264
 **********
 **   18 **HESSE 
 **********

 FCN=   5949.461     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.2877        .34595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9095        2.5777        .69187E-02   -.23845    
   3  Normalizat    .76206        .21387        .13143E-04   -1.0149    
   4  Prefactor     1.2226        .15356        .75713E-05   -.85637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50549e-12
Minuit parameter uncertainties:
  1  3.46622e-06
  2  403.479
  3  0.214104
  4  0.153613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904825': 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) = 5949.46132719
delta logL = 2.55022314377e-08

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  3.466e-06  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.910e+00  4.035e+02  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.223e+00  1.536e-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:  7.621e-01  2.141e-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/904825/cmap_HighResolution_352080001_352339201_4FGL_J0153.9+0823_daily_bin435.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-05', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2021-08-14 20:12:24.893692', job_id='904825', GAL2='1.22', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1628997144.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='2.55e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='435' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:12:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0137>
Subject: Job 904825: <4FGL_J0153.9+0823_daily_bin435> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin435> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:56 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:59:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 19:59:09 2021
Terminated at Sat Aug 14 20:12:26 2021
Results reported at Sat Aug 14 20:12:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin435 28.4972 8.3931 352080001 352339201 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 :                                   611.54 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             225.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            990 sec.

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

