/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 15 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 = 7685
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin52
RA = 28.4972, Dec = 8.3931
tmin = 252806401, tmax = 253065601
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='903227', job_status='RUN', time_executed='2021-08-14 19:54:08.406968', time_epoch_executed='1628996048.41' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='52'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/903227

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/903227/ft1_4FGL_J0153.9+0823_daily_bin52.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/903227/ft2_4FGL_J0153.9+0823_daily_bin52.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/903227/ft1_4FGL_J0153.9+0823_daily_bin52.fits outfile=/scratch/kocevski/903227/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin52.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=252806401.0 tmax=253065601.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 2.34
user 1.24
sys 1.04

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/903227/ft2_4FGL_J0153.9+0823_daily_bin52.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/903227/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin52.fits evtable="EVENTS" outfile="/scratch/kocevski/903227/ft1_filtered_4FGL_J0153.9+0823_daily_bin52.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.37
user 0.31
sys 1.03

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/903227/ft1_filtered_4FGL_J0153.9+0823_daily_bin52.fits" evtable="EVENTS" scfile=/scratch/kocevski/903227/ft2_4FGL_J0153.9+0823_daily_bin52.fits sctable="SC_DATA" outfile=/scratch/kocevski/903227/ltcube_252806401_253065601_4FGL_J0153.9+0823_daily_bin52.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/903227/ft2_4FGL_J0153.9+0823_daily_bin52.fits
.....................!
real 14.75
user 13.32
sys 1.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/903227/ft1_filtered_4FGL_J0153.9+0823_daily_bin52.fits evtable="EVENTS" scfile=/scratch/kocevski/903227/ft2_4FGL_J0153.9+0823_daily_bin52.fits sctable="SC_DATA" expcube=/scratch/kocevski/903227/ltcube_252806401_253065601_4FGL_J0153.9+0823_daily_bin52.fits outfile=/scratch/kocevski/903227/expmap_252806401_253065601_4FGL_J0153.9+0823_daily_bin52.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/903227/ltcube_252806401_253065601_4FGL_J0153.9+0823_daily_bin52.fits
.....................!
real 191.74
user 185.27
sys 6.08

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/903227/ft1_filtered_4FGL_J0153.9+0823_daily_bin52.fits scfile=/scratch/kocevski/903227/ft2_4FGL_J0153.9+0823_daily_bin52.fits outfile=/scratch/kocevski/903227/cmap_252806401_253065601_4FGL_J0153.9+0823_daily_bin52.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.38
user 0.38
sys 0.98

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/903227/ft1_filtered_4FGL_J0153.9+0823_daily_bin52.fits scfile=/scratch/kocevski/903227/ft2_4FGL_J0153.9+0823_daily_bin52.fits outfile=/scratch/kocevski/903227/cmap_HighResolution_252806401_253065601_4FGL_J0153.9+0823_daily_bin52.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.39
user 0.38
sys 0.99

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.620       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10563E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10331E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10548E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2502       1.0000         .10000E-03   10000.    
     7 'norm      '    .74805       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .97484       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11050E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16105E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    49.637       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .77755       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10911E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.8537       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0187       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0760       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=   10236.51     FROM MIGRAD    STATUS=CONVERGED    351 CALLS     1599 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.625        11.300       -.10673E-05   -.46987E-03
   2  Prefactor     .10000E-03    7.6043        .37272E-08** at limit **
   3  Prefactor     .10000E-03    1.4957        .95653E-07** at limit **
   4  norm          .10000E-03    4.6090       -.11803E-07** at limit **
   5  Prefactor     .10000E-03    1.9313       -.24294E-07** at limit **
   6  Prefactor     1.2423        2.1962        .59229E-06   -.89671E-04
   7  norm          .75000        2.6446        .20139E-05   -.84306E-04
   8  Prefactor     .10000E-03    .47417        .23384E-07** at limit **
   9  norm          .97474        .54082        .19117E-07   -.99923E-04
  10  Prefactor     .10000E-03    9.6738        .18969E-06** at limit **
  11  Prefactor     .10000E-03    3.2877       -.26781E-07** at limit **
  12  Prefactor     49.754        51.276        .48055E-06    .25608E-04
  13  Prefactor     .73843        3.1926        .21651E-06   -.18699E-03
  14  Prefactor     .10000E-03    5.6424        .11414E-06** at limit **
  15  Prefactor     8.8775        9.7130        .15495E-06   -.10686E-04
  16  Normalizat    1.0188        .15107        .40908E-06   -.19107E-03
  17  Prefactor     1.0760        .10782       -.84075E-06   -.11803E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.6246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.24225
  norm       = 0.750004
  Prefactor  = 0.0001
  norm       = 0.974737
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.7536
  Prefactor  = 0.738425
  Prefactor  = 0.0001
  Prefactor  = 8.8775
  Normalizat = 1.01879
  Prefactor  = 1.07601
 **********
 **   18 **HESSE 
 **********

 FCN=   10236.51     FROM HESSE     STATUS=OK           219 CALLS     1818 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.625        11.839        .92817E-04   -1.4845    
   2  Prefactor     .10000E-03    7.6053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.5217        .12085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.6246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.9434        .13729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2423        2.1820        .18777E-03   -1.5485    
   7  norm          .75000        2.6718        .29910E-03   -1.5535    
   8  Prefactor     .10000E-03    .47866        .67982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .97474        .53302        .53623E-04   -1.5511    
  10  Prefactor     .10000E-03    9.7174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.3071        .17880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     49.754        51.363        .56920E-04   -1.4296    
  13  Prefactor     .73843        18.622        .33805E-02   -1.5536    
  14  Prefactor     .10000E-03    5.6543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.8775        9.6974        .13471E-03   -1.5112    
  16  Normalizat    1.0188        .17219        .28909E-03   -.92404    
  17  Prefactor     1.0760        .12284        .19786E-03   -.90237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9788e-10
Minuit parameter uncertainties:
  1  11.841
  2  4.67076e-07
  3  2.26145e-06
  4  1.56419e-06
  5  3.82464e-06
  6  2.18209
  7  2.67224
  8  1.28761e-06
  9  0.533019
  10  2.25065e-06
  11  5.37196e-06
  12  51.4084
  13  7.41862
  14  2.35703e-06
  15  9.69913
  16  0.172287
  17  0.122873
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  1.564e-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.076e+00  1.229e-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.019e+00  1.723e-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: 2.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.59e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/903227/likelihoodResults_252806401_253065601_4FGL_J0153.9+0823_daily_bin52.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10236.5065831
delta logL = -0.00102911567228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10236.505554
delta logL = 2.93148332275e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8117       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0760       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=   10236.51     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      247 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    264.93        .18142E-02** at limit **
   2  alpha         1.6089        2.8839        .50000       -.11823E-08
   3  Normalizat    1.0188        .31200E-01    .28909E-03    .16910E-04
   4  Prefactor     1.0760        .22010E-01    .19786E-03    .19536E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.60888
  Normalizat = 1.01879
  Prefactor  = 1.07601
 **********
 **   18 **HESSE 
 **********

 FCN=   10236.51     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    898.43        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6089        2.7874        .50000       -.36446    
   3  Normalizat    1.0188        .81957E-01    .11564E-04   -.92404    
   4  Prefactor     1.0760        .57819E-01    .79144E-05   -.90237    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.52818e-10
Minuit parameter uncertainties:
  1  0.000108029
  2  2279.83
  3  0.0819669
  4  0.0578224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/903227': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10236.5055536
delta logL = 4.40120857093e-07

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  1.080e-04  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.609e+00  2.280e+03  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.076e+00  5.782e-02  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.019e+00  8.197e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/903227/cmap_HighResolution_252806401_253065601_4FGL_J0153.9+0823_daily_bin52.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.59e-05', job_status='DONE', photon_flux_upper_limit='2.59e-08', time_completed='2021-08-14 20:06:19.762750', job_id='903227', GAL2='1.08', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1628996779.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='52' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:06:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 903227: <4FGL_J0153.9+0823_daily_bin52> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin52> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 19:50:56 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:53:26 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:53:26 2021
Terminated at Sat Aug 14 20:06:20 2021
Results reported at Sat Aug 14 20:06:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin52 28.4972 8.3931 252806401 253065601 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 :                                   743.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             348.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            924 sec.

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

