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 34 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 = 7474
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0035.2+1514_daily_bin1700
RA = 8.8123, Dec = 15.2405
tmin = 679968001, tmax = 680227201
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='73429', job_status='RUN', time_executed='2022-07-23 00:05:59.983185', time_epoch_executed='1658559959.98' WHERE source_name='4FGL J0035.2+1514' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73429

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73429/ft1_4FGL_J0035.2+1514_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73429/ft2_4FGL_J0035.2+1514_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73429/ft1_4FGL_J0035.2+1514_daily_bin1700.fits outfile=/scratch/kocevski/73429/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1700.fits ra=8.8123 dec=15.2405 rad=12.0 tmin=679968001.0 tmax=680227201.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.08
user 4.30
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73429/ft2_4FGL_J0035.2+1514_daily_bin1700.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/73429/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1700.fits evtable="EVENTS" outfile="/scratch/kocevski/73429/ft1_filtered_4FGL_J0035.2+1514_daily_bin1700.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.06
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 637

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73429/ft1_filtered_4FGL_J0035.2+1514_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/73429/ft2_4FGL_J0035.2+1514_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/73429/ltcube_679968001_680227201_4FGL_J0035.2+1514_daily_bin1700.fits outfile=/scratch/kocevski/73429/expmap_679968001_680227201_4FGL_J0035.2+1514_daily_bin1700.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/73429/ltcube_679968001_680227201_4FGL_J0035.2+1514_daily_bin1700.fits
.....................!
real 192.17
user 185.48
sys 4.45

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/73429/ft1_filtered_4FGL_J0035.2+1514_daily_bin1700.fits scfile=/scratch/kocevski/73429/ft2_4FGL_J0035.2+1514_daily_bin1700.fits outfile=/scratch/kocevski/73429/cmap_679968001_680227201_4FGL_J0035.2+1514_daily_bin1700.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 1.93
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73429/ft1_filtered_4FGL_J0035.2+1514_daily_bin1700.fits scfile=/scratch/kocevski/73429/ft2_4FGL_J0035.2+1514_daily_bin1700.fits outfile=/scratch/kocevski/73429/cmap_HighResolution_679968001_680227201_4FGL_J0035.2+1514_daily_bin1700.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.28
user 0.38
sys 0.19

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/73429/ft1_filtered_4FGL_J0035.2+1514_daily_bin1700.fits', '/scratch/kocevski/73429/ft2_4FGL_J0035.2+1514_daily_bin1700.fits', expMap='/scratch/kocevski/73429/expmap_679968001_680227201_4FGL_J0035.2+1514_daily_bin1700.fits', expCube='/scratch/kocevski/73429/ltcube_679968001_680227201_4FGL_J0035.2+1514_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/73429/Model_4FGL_J0035.2+1514_daily_bin1700.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/73429/ft1_filtered_4FGL_J0035.2+1514_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/73429/ft2_4FGL_J0035.2+1514_daily_bin1700.fits
Exposure map: /scratch/kocevski/73429/expmap_679968001_680227201_4FGL_J0035.2+1514_daily_bin1700.fits
Exposure cube: /scratch/kocevski/73429/ltcube_679968001_680227201_4FGL_J0035.2+1514_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/73429/Model_4FGL_J0035.2+1514_daily_bin1700.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) = 7139.03621359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2688       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10936E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.558       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.5412       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3941       1.0000         .10000E-03   10000.    
     8 'norm      '    5.8676       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8591       1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.5302       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.722       1.0000         .10000E-03   10000.    
    14 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3094       1.0000         .10000E-03   10000.    
    16 'Prefactor '    47.374       1.0000         .10000E-03   10000.    
    17 'norm      '    .76034       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.2544       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .83917       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99443       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=   7139.023     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     2295 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2677        3.5707        .20600E-06   -.25102E-03
   2  Prefactor     .10000E-03    9.0324       -.19718E-06** at limit **
   3  Prefactor     .10038E-03    5.4086        .14465E-05** at limit **
   4  norm          .10000E-03    2.6619        .40630E-06** at limit **
   5  Prefactor     29.493        50.264       -.37304E-06   -.66748E-04
   6  Prefactor     6.5404        10.384        .18398E-06   -.59139E-05
   7  Prefactor     4.3956        3.6226       -.67028E-07   -.26518E-03
   8  norm          5.8686        6.0528       -.17920E-05   -.20920E-03
   9  Prefactor     .10000E-03    29.575        .38138E-06** at limit **
  10  Prefactor     1.8391        35.654        .35790E-06   -.11763E-04
  11  norm          .10000E-03    8.4729        .20596E-06** at limit **
  12  Prefactor     8.5351        7.0839        .15327E-05    .17346E-03
  13  Prefactor     14.723        11.405       -.16560E-06   -.48886E-04
  14  norm          .10000E-03    34.811        .18224E-05** at limit **
  15  Prefactor     5.2396        46.722       -.11294E-05   -.38650E-04
  16  Prefactor     47.371        55.747       -.19102E-06   -.29348E-05
  17  norm          .76028        .68249        .72772E-07    .16315E-03
  18  Prefactor     .10000E-03    6.9283       -.31709E-06** at limit **
  19  Prefactor     9.2535        6.8388        .16628E-07   -.64574E-04
  20  Normalizat    .83912        .17401       -.52004E-06   -.20092E-03
  21  Prefactor     .99459        .12137       -.25727E-06   -.26369E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.26766
  Prefactor  = 0.0001
  Prefactor  = 0.000100375
  norm       = 0.0001
  Prefactor  = 29.4932
  Prefactor  = 6.54043
  Prefactor  = 4.39562
  norm       = 5.86865
  Prefactor  = 0.0001
  Prefactor  = 1.83913
  norm       = 0.0001
  Prefactor  = 8.5351
  Prefactor  = 14.7231
  norm       = 0.0001
  Prefactor  = 5.23957
  Prefactor  = 47.3705
  norm       = 0.760282
  Prefactor  = 0.0001
  Prefactor  = 9.25351
  Normalizat = 0.839118
  Prefactor  = 0.994585
 **********
 **   18 **HESSE 
 **********

 FCN=   7139.023     FROM HESSE     STATUS=OK           325 CALLS     2620 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2677        3.5385        .13674E-03   -1.5295    
   2  Prefactor     .10000E-03    9.1031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10038E-03    47.507        .34608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.7224        .13455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.493        50.360        .73693E-04   -1.4621    
   6  Prefactor     6.5404        10.377        .15691E-03   -1.5196    
   7  Prefactor     4.3956        3.6056        .13827E-03   -1.5289    
   8  norm          5.8686        6.0514        .82894E-03   -1.5223    
   9  Prefactor     .10000E-03    29.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.8391        34.530        .30564E-03   -1.5437    
  11  norm          .10000E-03    8.6057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.5351        7.0203        .68626E-03   -1.5124    
  13  Prefactor     14.723        11.410        .10439E-03   -1.4940    
  14  norm          .10000E-03    35.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2396        47.198        .17442E-03   -1.5250    
  16  Prefactor     47.371        55.908        .58256E-04   -1.4330    
  17  norm          .76028        .66193        .58374E-03   -1.5534    
  18  Prefactor     .10000E-03    7.0329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.2535        6.8361        .13174E-03   -1.5099    
  20  Normalizat    .83912        .20092        .29451E-03   -.98634    
  21  Prefactor     .99459        .14132        .19625E-03   -.92910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.63224e-09
Minuit parameter uncertainties:
  1  3.53866
  2  1.70869e-05
  3  0.00845019
  4  5.47228e-06
  5  50.4324
  6  10.3794
  7  3.60574
  8  6.05208
  9  3.57459e-06
  10  15.9483
  11  7.68594e-06
  12  7.02102
  13  11.4121
  14  0.000150367
  15  31.4843
  16  55.9701
  17  0.661933
  18  1.44293e-06
  19  6.83672
  20  0.201095
  21  0.141377
Done.

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

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  5.869e+00  6.052e+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

GAL_V02
   Spectrum: PowerLaw
495    Prefactor:  9.946e-01  1.414e-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:  8.391e-01  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.23
Ra Dec: 8.812 15.241
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 9.67e-09 +/- 9.97e-09
Energy Flux (Fixed Index): 1.38e-05 +/- 1.43e-05

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) = 7138.85463326
delta logL = 0.16787075524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7138.82987127
delta logL = 0.192632750054

Fit tolerance = 1e-08

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

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

 FCN=   7138.830     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      206 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5025        4.6847        .47352E-02   -.29188E-03
   2  alpha         1.1503        .64860        .50000       -.31798E-04
   3  Normalizat    .84194        .16627        .66466E-01    .18150E-04
   4  Prefactor     .99547        .12023        .46210E-01   -.43118E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50247
  alpha      = 1.15027
  Normalizat = 0.841942
  Prefactor  = 0.995471
 **********
 **   18 **HESSE 
 **********

 FCN=   7138.830     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5025        5.4967        .18133E-03   -1.5284    
   2  alpha         1.1503        .78147        .25648E-01   -.57031    
   3  Normalizat    .84194        .19338        .29404E-03   -.98531    
   4  Prefactor     .99547        .14018        .19616E-03   -.92881    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16804e-09
Minuit parameter uncertainties:
  1  5.49735
  2  0.800645
  3  0.193534
  4  0.140235
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73429': 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) = 7138.82986721
delta logL = 0.192636810804

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  4.502e+00  5.497e+00  1.000e-04  1.000e+04 ( 1.000e-13)
145        alpha:  1.150e+00  8.006e-01  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:  9.955e-01  1.402e-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:  8.419e-01  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.62
Ra Dec: 8.812 15.241
Photon Index (Free Index): 1.15 +/- 0.80
Photon Flux (Free Index): 4.50e-09 +/- 5.89e-09
Energy Flux (Free Index): 2.94e-05 +/- 4.79e-05

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/73429/cmap_HighResolution_679968001_680227201_4FGL_J0035.2+1514_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.67e-09', energy_flux2='2.94e-05', photon_flux_error='9.97e-09', dlogl='1.93e-01', energy_flux='1.38e-05', photon_flux2='4.50e-09', job_status='DONE', time_completed='2022-07-23 00:16:55.225524', photon_index_error2='0.80', photon_index2='1.15', ts='4.23', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='4.79e-05', EG='0.84', time_epoch_completed='1658560615.23', return_code='0', job_id='73429', GAL2='1.00', EG2='0.84', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='5.89e-09', ts2='4.62', photon_index='1.72' WHERE bin_id='1700' AND source_name='4FGL J0035.2+1514' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:16:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 73429: <4FGL_J0035.2+1514_daily_bin1700> in cluster <slac> Done

Job <4FGL_J0035.2+1514_daily_bin1700> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Jul 23 00:05:10 2022
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:05:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:05:11 2022
Terminated at Sat Jul 23 00:16:55 2022
Results reported at Sat Jul 23 00:16:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0035.2+1514_daily_bin1700 8.8123 15.2405 679968001 680227201 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 :                                   591.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            705 sec.

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

