aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 19 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 = 7682
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0035.2+1514_daily_bin1707
RA = 8.8123, Dec = 15.2405
tmin = 681782401, tmax = 682041601
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='542129', job_status='RUN', time_executed='2022-08-13 00:05:07.778745', time_epoch_executed='1660374307.78' WHERE source_name='4FGL J0035.2+1514' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542129

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542129/ft1_4FGL_J0035.2+1514_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542129/ft1_4FGL_J0035.2+1514_daily_bin1707.fits outfile=/scratch/kocevski/542129/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1707.fits ra=8.8123 dec=15.2405 rad=12.0 tmin=681782401.0 tmax=682041601.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.46
user 5.17
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.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/542129/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/542129/ft1_filtered_4FGL_J0035.2+1514_daily_bin1707.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 0.51
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 530

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542129/ft1_filtered_4FGL_J0035.2+1514_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/542129/ltcube_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.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/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.fits
.....................!
real 11.54
user 11.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542129/ft1_filtered_4FGL_J0035.2+1514_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/542129/ltcube_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.fits outfile=/scratch/kocevski/542129/expmap_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.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/542129/ltcube_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.fits
.....................!
real 191.08
user 185.25
sys 4.86

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

Setting source of interest to:
4FGL J0035.2+1514 @ 8.8123 15.2405

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/542129/ft1_filtered_4FGL_J0035.2+1514_daily_bin1707.fits scfile=/scratch/kocevski/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.fits outfile=/scratch/kocevski/542129/cmap_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.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=8.8123 yref=15.2405 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.13
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542129/ft1_filtered_4FGL_J0035.2+1514_daily_bin1707.fits scfile=/scratch/kocevski/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.fits outfile=/scratch/kocevski/542129/cmap_HighResolution_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.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=8.8123 yref=15.2405 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.46
user 0.39
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/542129/ft1_filtered_4FGL_J0035.2+1514_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/542129/Model_4FGL_J0035.2+1514_daily_bin1707.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/542129/ft1_filtered_4FGL_J0035.2+1514_daily_bin1707.fits.....................!
real 87.07
user 62.78
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/542129/ft1_filtered_4FGL_J0035.2+1514_daily_bin1707.fits', '/scratch/kocevski/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.fits', expMap='/scratch/kocevski/542129/expmap_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.fits', expCube='/scratch/kocevski/542129/ltcube_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/542129/Model_4FGL_J0035.2+1514_daily_bin1707.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0035.2+1514'

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  3.038e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
145        alpha:  1.718e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
146         beta:  8.107e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
147           Eb:  1.944e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/542129/ft1_filtered_4FGL_J0035.2+1514_daily_bin1707.fits
Spacecraft file(s): /scratch/kocevski/542129/ft2_4FGL_J0035.2+1514_daily_bin1707.fits
Exposure map: /scratch/kocevski/542129/expmap_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.fits
Exposure cube: /scratch/kocevski/542129/ltcube_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/542129/Model_4FGL_J0035.2+1514_daily_bin1707.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) = 5892.04310034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8546       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .47676E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    1.9338       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.0926       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5724       1.0000         .10000E-03   10000.    
     8 'norm      '    .14517E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.668       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.4024       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .47388       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4395       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18666E-02   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .72912       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1116       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5891.964     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     1920 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8580        3.0265       -.21289E-06    .32409E-03
   2  Prefactor     .10000E-03    11.399       -.39188E-06** at limit **
   3  Prefactor     .10000E-03    19.689       -.64664E-05** at limit **
   4  norm          1.9329        4.3298       -.10010E-05    .28266E-03
   5  Prefactor     4.0788        57.729        .46381E-05    .48154E-04
   6  Prefactor     .10000E-03    6.3693       -.83946E-07** at limit **
   7  Prefactor     3.5743        3.3651       -.13944E-06    .20260E-03
   8  norm          .10000E-03    12.477        .45242E-05** at limit **
   9  Prefactor     14.663        18.745        .38585E-06    .62331E-04
  10  Prefactor     .10000E-03    6.6382       -.13388E-06** at limit **
  11  norm          4.3966        6.1604       -.52248E-07    .76055E-04
  12  Prefactor     .10000E-03    5.4017       -.26799E-06** at limit **
  13  Prefactor     .52938        27.161        .66330E-05    .56774E-05
  14  norm          .10000E-03    4.4373        .20932E-07** at limit **
  15  Prefactor     .10000E-03    22.401        .10759E-05** at limit **
  16  Prefactor     .10000E-03    30.098       -.14715E-05** at limit **
  17  norm          1.4394        .65864       -.95038E-08    .40849E-03
  18  Prefactor     .10000E-03    7.5260        .26537E-07** at limit **
  19  Prefactor     .10000E-03    6.4777       -.92663E-06** at limit **
  20  Normalizat    .72931        .19397        .51199E-06    .22207E-03
  21  Prefactor     1.1115        .13920        .44974E-06    .22516E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85802
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.93287
  Prefactor  = 4.07877
  Prefactor  = 0.0001
  Prefactor  = 3.57435
  norm       = 0.000100001
  Prefactor  = 14.6631
  Prefactor  = 0.0001
  norm       = 4.39655
  Prefactor  = 0.0001
  Prefactor  = 0.529382
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.4394
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.729306
  Prefactor  = 1.11153
 **********
 **   18 **HESSE 
 **********

 FCN=   5891.964     FROM HESSE     STATUS=OK           321 CALLS     2241 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8580        2.9650        .12831E-03   -1.5370    
   2  Prefactor     .10000E-03    11.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    43.293        .36773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9329        4.3384        .23146E-03   -1.5430    
   5  Prefactor     4.0788        59.620        .19928E-03   -1.5304    
   6  Prefactor     .10000E-03    6.3758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5743        3.3300        .12862E-03   -1.5330    
   8  norm          .10000E-03    29.965        .33446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.663        18.746        .10458E-03   -1.4942    
  10  Prefactor     .10000E-03    6.6583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.3966        6.2047        .19194E-03   -1.5289    
  12  Prefactor     .10000E-03    5.4954        .17441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .52938        60.390        .43976E-02   -1.5562    
  14  norm          .10000E-03    4.4379        .15792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    30.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4394        .65576        .40858E-04   -1.5468    
  18  Prefactor     .10000E-03    7.5818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    28.700        .37118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .72931        .22393        .30503E-03   -1.0275    
  21  Prefactor     1.1115        .16146        .18525E-03   -.89099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47533e-10
Minuit parameter uncertainties:
  1  2.96513
  2  9.97741e-06
  3  0.000635204
  4  4.33907
  5  31.2253
  6  9.22119e-06
  7  3.33013
  8  0.000286967
  9  18.7536
  10  8.52236e-06
  11  6.20565
  12  1.51318e-05
  13  11.3189
  14  3.25358e-07
  15  7.04145e-05
  16  0.000132423
  17  0.655763
  18  7.16256e-06
  19  7.39466e-05
  20  0.224216
  21  0.161535
Done.

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

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  1.000e-04  2.870e-04  1.000e-04  1.000e+04 ( 1.000e-13)
145        alpha:  1.718e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
146         beta:  8.107e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
147           Eb:  1.944e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
495    Prefactor:  1.112e+00  1.615e-01  0.000e+00  1.000e+01 ( 1.000e+00)
496        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
497        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
494   Normalization:  7.293e-01  2.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 8.812 15.241
Photon Flux Upper Limit: 3.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542129/likelihoodResults_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.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) = 5891.96405812
delta logL = -0.000157257782121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5891.96390218
delta logL = -1.31014076032e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31738E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8462       1.0000          .0000       5.0000    
     3 'Normalizat'    .72893       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1118       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4980E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5891.953     FROM MIGRAD    STATUS=FAILED       205 CALLS      372 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58341        287.01        .37594E-03    .56550E-03
   2  alpha         2.4609        2.6710        .50000       -.15467E-04
   3  Normalizat    .72793        .33577E-01    .30503E-03   -.21282E-01
   4  Prefactor     1.1104        .24286E-01    .18525E-03    .32073E-01
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5891.953     FROM SIMPLEX   STATUS=UNCHANGED     86 CALLS      458 TOTAL
                     EDM=   .90E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58341        287.01        .20658E-03    .56550E-03
   2  alpha         2.4609        2.6710        .48554E-02   -.15467E-04
   3  Normalizat    .72793        .33577E-01    .93464E-04   -.21282E-01
   4  Prefactor     1.1104        .24286E-01    .46455E-04    .32073E-01
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5891.953     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      502 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58400        11.348        .15038E-04   -.66318E-03
   2  alpha         2.4608        3.6671        .33547E-01    .76704E-04
   3  Normalizat    .72863        .21772        .61006E-04   -.56316E-04
   4  Prefactor     1.1098        .16152        .37050E-04   -.87573E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.584
  alpha      = 2.46077
  Normalizat = 0.72863
  Prefactor  = 1.10984
 **********
 **   18 **HESSE 
 **********

 FCN=   5891.953     FROM HESSE     STATUS=OK            23 CALLS      525 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58400        8.4250        .30075E-05   -1.5861    
   2  alpha         2.4608        3.5850        .13419E-02   -.15692E-01
   3  Normalizat    .72863        .21760        .12201E-04   -1.0277    
   4  Prefactor     1.1098        .16139        .74101E-05   -.89153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0184e-09
Minuit parameter uncertainties:
  1  4.43667
  2  2.66964
  3  0.217857
  4  0.161464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542129': 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) = 5891.95253279
delta logL = 0.0113680789364

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  5.840e-01  4.437e+00  1.000e-04  1.000e+04 ( 1.000e-13)
145        alpha:  2.461e+00  2.670e+00  0.000e+00  5.000e+00 ( 1.000e+00)
146         beta:  8.107e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
147           Eb:  1.944e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
495    Prefactor:  1.110e+00  1.615e-01  0.000e+00  1.000e+01 ( 1.000e+00)
496        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
497        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
494   Normalization:  7.286e-01  2.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 8.812 15.241

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/542129/cmap_HighResolution_681782401_682041601_4FGL_J0035.2+1514_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-05', job_status='DONE', photon_flux_upper_limit='3.80e-08', time_completed='2022-08-13 00:15:19.232829', job_id='542129', GAL2='1.11', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1660374919.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.14e-02', ts2='0.02', photon_index_error='0.00', photon_index='1.72' WHERE bin_id='1707' AND source_name='4FGL J0035.2+1514' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:15:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 542129: <4FGL_J0035.2+1514_daily_bin1707> in cluster <slac> Done

Job <4FGL_J0035.2+1514_daily_bin1707> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 13 00:04:34 2022
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:04:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:04:35 2022
Terminated at Sat Aug 13 00:15:20 2022
Results reported at Sat Aug 13 00:15:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0035.2+1514_daily_bin1707 8.8123 15.2405 681782401 682041601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0035.2+1514 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   576.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   644 sec.
    Turnaround time :                            646 sec.

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

