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 65 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0035.2+1514_weekly_bin741
RA = 8.8123, Dec = 15.2405
tmin = 687139201, tmax = 687744001
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='378922', job_status='RUN', time_executed='2022-10-18 00:36:58.789258', time_epoch_executed='1666078618.79' WHERE source_name='4FGL J0035.2+1514' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378922

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378922/ft1_4FGL_J0035.2+1514_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378922/ft2_4FGL_J0035.2+1514_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378922/ft1_4FGL_J0035.2+1514_weekly_bin741.fits outfile=/scratch/kocevski/378922/ft1_filteredMKT_4FGL_J0035.2+1514_weekly_bin741.fits ra=8.8123 dec=15.2405 rad=12.0 tmin=687139201.0 tmax=687744001.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 6.59
user 6.32
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/378922/ft2_4FGL_J0035.2+1514_weekly_bin741.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/378922/ft1_filteredMKT_4FGL_J0035.2+1514_weekly_bin741.fits evtable="EVENTS" outfile="/scratch/kocevski/378922/ft1_filtered_4FGL_J0035.2+1514_weekly_bin741.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.54
user 0.39
sys 0.13

Number of photons that the gtmktime cut: 270

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378922/ft1_filtered_4FGL_J0035.2+1514_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/378922/ft2_4FGL_J0035.2+1514_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/378922/ltcube_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.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/378922/ft2_4FGL_J0035.2+1514_weekly_bin741.fits
.....................!
real 27.71
user 27.25
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378922/ft1_filtered_4FGL_J0035.2+1514_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/378922/ft2_4FGL_J0035.2+1514_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/378922/ltcube_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.fits outfile=/scratch/kocevski/378922/expmap_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.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/378922/ltcube_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.fits
.....................!
real 190.27
user 185.39
sys 4.57

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/378922/ft1_filtered_4FGL_J0035.2+1514_weekly_bin741.fits scfile=/scratch/kocevski/378922/ft2_4FGL_J0035.2+1514_weekly_bin741.fits outfile=/scratch/kocevski/378922/cmap_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.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 0.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378922/ft1_filtered_4FGL_J0035.2+1514_weekly_bin741.fits scfile=/scratch/kocevski/378922/ft2_4FGL_J0035.2+1514_weekly_bin741.fits outfile=/scratch/kocevski/378922/cmap_HighResolution_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.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 0.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/378922/ft1_filtered_4FGL_J0035.2+1514_weekly_bin741.fits', '/scratch/kocevski/378922/ft2_4FGL_J0035.2+1514_weekly_bin741.fits', expMap='/scratch/kocevski/378922/expmap_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.fits', expCube='/scratch/kocevski/378922/ltcube_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/378922/Model_4FGL_J0035.2+1514_weekly_bin741.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  0.000e+00  1.000e+06 ( 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 -5.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/378922/ft1_filtered_4FGL_J0035.2+1514_weekly_bin741.fits
Spacecraft file(s): /scratch/kocevski/378922/ft2_4FGL_J0035.2+1514_weekly_bin741.fits
Exposure map: /scratch/kocevski/378922/expmap_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.fits
Exposure cube: /scratch/kocevski/378922/ltcube_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/378922/Model_4FGL_J0035.2+1514_weekly_bin741.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) = 2933.93139259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44834E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19437E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .27217E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42625E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30270E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .36156E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .14403E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .70943E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12053E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .78382E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .74704E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19675E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .52159E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13382E-03   1.0000          .0000       .10000E+07
    15 'norm      '    1.2990       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17698E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0709       1.0000          .0000       .10000E+07
    18 'Normalizat'    .96949       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1506       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2933.877     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1076 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.4597       -.58513E-07** at limit **
   2  Prefactor     .18319E-08    8.0972        .27638E-07** at limit **
   3  Prefactor      .0000        7.3535        .12534E-06** at limit **
   4  norm           .0000        2.7033        .20499E-07** at limit **
   5  Prefactor      .0000        16.479       -.57800E-06** at limit **
   6  Prefactor      .0000        1.8467        .76016E-08** at limit **
   7  norm          .35572E-06    10.095       -.50638E-07** at limit **
   8  Prefactor     .25480E-06    5.7892        .94957E-07** at limit **
   9  Prefactor     .48628E-07    27.672        .31660E-06** at limit **
  10  norm          .41633E-08    8.8420        .33982E-07** at limit **
  11  Prefactor      .0000        3.6578       -.18555E-06** at limit **
  12  Prefactor     .31791E-06    16.975        .19167E-06** at limit **
  13  norm          .63283E-08    10.809       -.40150E-06** at limit **
  14  Prefactor     .72164E-09    82.027        .66558E-06** at limit **
  15  norm          1.2981        1.0216       -.24971E-07    .21180E-03
  16  Prefactor     .15821E-06    5.4840        .74322E-07** at limit **
  17  Prefactor     4.0677        8.2457       -.28930E-06    .12458E-03
  18  Normalizat    .96996        .32179        .55246E-05   -.47513E-05
  19  Prefactor     1.1504        .23875       -.17536E-05   -.12244E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.83187e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.55715e-07
  Prefactor  = 2.54796e-07
  Prefactor  = 4.86278e-08
  norm       = 4.16334e-09
  Prefactor  = 0
  Prefactor  = 3.17912e-07
  norm       = 6.32827e-09
  Prefactor  = 7.21645e-10
  norm       = 1.29809
  Prefactor  = 1.58207e-07
  Prefactor  = 4.06773
  Normalizat = 0.969962
  Prefactor  = 1.15039
 **********
 **   18 **HESSE 
 **********

 FCN=   2933.877     FROM HESSE     STATUS=OK           290 CALLS     1366 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.4505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .18319E-08    8.1212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        7.3512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        2.7022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        16.225        .16436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.8444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .35572E-06    15.785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .25480E-06    17.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .48628E-07    28.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .41633E-08    8.9026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.6612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .31791E-06    21.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .63283E-08    10.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .72164E-09    81.825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2981        1.0218        .96946E-03   -1.5685    
  16  Prefactor     .15821E-06    17.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0677        8.2505        .49947E-03   -1.5668    
  18  Normalizat    .96996        .28111        .45783E-01   -.94044    
  19  Prefactor     1.1504        .20828        .35919E-01   -.87872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34648e-08
Minuit parameter uncertainties:
  1  1.2143e-06
  2  0.000245466
  3  2.84405e-05
  4  5.21864e-07
  5  3.01535e-05
  6  5.55822e-07
  7  0.00473919
  8  0.00424113
  9  0.00234973
  10  0.000385789
  11  3.86363e-06
  12  0.00528885
  13  0.000525077
  14  0.000491919
  15  1.02184
  16  0.00331925
  17  8.25056
  18  0.281541
  19  0.208424
Done.

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

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  3.557e-07  4.739e-03  0.000e+00  1.000e+06 ( 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 -5.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.150e+00  2.084e-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:  9.700e-01  2.815e-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: 8.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378922/likelihoodResults_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.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) = 2933.90768136
delta logL = -0.0306648362753

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2933.83821397
delta logL = 0.0388025523921

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74944       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0992       1.0000          .0000       5.0000    
     3 'Normalizat'    .95358       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1517       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=   2933.838     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      243 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74560        116.18        .56782E-03    .67055E-02
   2  alpha         3.1040        3.8429        .32775        .23827E-04
   3  Normalizat    .95372        .53967E-01    .65309E-01   -.10081E-04
   4  Prefactor     1.1519        .39949E-01    .35887E-01   -.76592E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.745601
  alpha      = 3.10399
  Normalizat = 0.953724
  Prefactor  = 1.15186
 **********
 **   18 **HESSE 
 **********

 FCN=   2933.838     FROM HESSE     STATUS=OK            31 CALLS      274 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74560        83.436        .16050E-04   -1.5691    
   2  alpha         3.1040        2.9501        .17879E-01    .24401    
   3  Normalizat    .95372        .33007        .28887E-03   -.94597    
   4  Prefactor     1.1519        .24619        .19608E-03   -.87826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10952e-07
Minuit parameter uncertainties:
  1  15.7749
  2  7.92525
  3  0.330779
  4  0.24644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378922': 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) = 2933.83820795
delta logL = 0.0388085744976

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  7.456e-01  1.577e+01  0.000e+00  1.000e+06 ( 1.000e-13)
145        alpha:  3.104e+00  7.925e+00  0.000e+00  5.000e+00 ( 1.000e+00)
146         beta:  8.107e-02  0.000e+00 -5.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.152e+00  2.464e-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:  9.537e-01  3.308e-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/378922/cmap_HighResolution_687139201_687744001_4FGL_J0035.2+1514_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-04', job_status='DONE', photon_flux_upper_limit='8.39e-08', time_completed='2022-10-18 00:44:15.839940', job_id='378922', GAL2='1.15', fit_tolerance='1e-08', EG2='0.95', EG='0.97', time_epoch_completed='1666079055.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='3.88e-02', ts2='0.08', photon_index_error='0.00', photon_index='1.72' WHERE bin_id='741' AND source_name='4FGL J0035.2+1514' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:44:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 378922: <4FGL_J0035.2+1514_weekly_bin741> in cluster <slac> Done

Job <4FGL_J0035.2+1514_weekly_bin741> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:45 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:46 2022
Terminated at Tue Oct 18 00:44:16 2022
Results reported at Tue Oct 18 00:44:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0035.2+1514_weekly_bin741 8.8123 15.2405 687139201 687744001 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 :                                   439.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   510 sec.
    Turnaround time :                            511 sec.

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

