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


Performing analysis on: 4FGL_J0035.2+1514_daily_bin1776
RA = 8.8123, Dec = 15.2405
tmin = 699667201, tmax = 699926401
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='823781', job_status='RUN', time_executed='2023-03-08 00:06:15.617248', time_epoch_executed='1678262775.62' WHERE source_name='4FGL J0035.2+1514' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823781

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823781/ft1_4FGL_J0035.2+1514_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823781/ft2_4FGL_J0035.2+1514_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823781/ft1_4FGL_J0035.2+1514_daily_bin1776.fits outfile=/scratch/kocevski/823781/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1776.fits ra=8.8123 dec=15.2405 rad=12.0 tmin=699667201.0 tmax=699926401.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 4.00
user 3.67
sys 0.22

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

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

Number of photons that the gtmktime cut: 579

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823781/ft1_filtered_4FGL_J0035.2+1514_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/823781/ft2_4FGL_J0035.2+1514_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/823781/ltcube_699667201_699926401_4FGL_J0035.2+1514_daily_bin1776.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/823781/ft2_4FGL_J0035.2+1514_daily_bin1776.fits
.....................!
real 15.44
user 14.96
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823781/ft1_filtered_4FGL_J0035.2+1514_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/823781/ft2_4FGL_J0035.2+1514_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/823781/ltcube_699667201_699926401_4FGL_J0035.2+1514_daily_bin1776.fits outfile=/scratch/kocevski/823781/expmap_699667201_699926401_4FGL_J0035.2+1514_daily_bin1776.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/823781/ltcube_699667201_699926401_4FGL_J0035.2+1514_daily_bin1776.fits
.....................!
real 190.25
user 185.11
sys 4.56

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/823781/ft1_filtered_4FGL_J0035.2+1514_daily_bin1776.fits scfile=/scratch/kocevski/823781/ft2_4FGL_J0035.2+1514_daily_bin1776.fits outfile=/scratch/kocevski/823781/cmap_699667201_699926401_4FGL_J0035.2+1514_daily_bin1776.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823781/ft1_filtered_4FGL_J0035.2+1514_daily_bin1776.fits scfile=/scratch/kocevski/823781/ft2_4FGL_J0035.2+1514_daily_bin1776.fits outfile=/scratch/kocevski/823781/cmap_HighResolution_699667201_699926401_4FGL_J0035.2+1514_daily_bin1776.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64249E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    31.641       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.206       1.0000          .0000       .10000E+07
     4 'norm      '    .47030       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0931       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.1555       1.0000          .0000       .10000E+07
     7 'norm      '    10.313       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41400E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .72491E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .13610E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.274       1.0000          .0000       .10000E+07
    12 'Prefactor '    33.739       1.0000          .0000       .10000E+07
    13 'norm      '    19.238       1.0000          .0000       .10000E+07
    14 'Prefactor '    50.582       1.0000          .0000       .10000E+07
    15 'norm      '    2.6868       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.6668       1.0000          .0000       .10000E+07
    17 'Prefactor '    .51501E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4515       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .68190       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=   6287.639     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1392 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.4536       -.40680E-06** at limit **
   2  Prefactor     31.550        1.8118       -.10482E-07   -.18960E-01
   3  Prefactor     25.107        2.3607        .47742E-07   -.36448E-01
   4  norm          .45525        7.5027        .24410E-05   -.21007E-02
   5  Prefactor     8.2207        11.485        .15013E-05    .43180E-01
   6  Prefactor     1.2031        3.3004        .67762E-06   -.15966E-02
   7  norm          10.267        10.362        .47100E-06    .45308E-02
   8  Prefactor     .18002E-06    8.9023        .21015E-05** at limit **
   9  Prefactor     .16653E-09    7.9135       -.25953E-06** at limit **
  10  norm          .34234E-06    7.8868        .11071E-05** at limit **
  11  Prefactor     16.475        9.0903       -.10177E-05   -.23784E-02
  12  Prefactor     33.810        16.607       -.84045E-06    .27471E-01
  13  norm          19.206        1.6863       -.11903E-06    .32707E-01
  14  Prefactor     57.114        53.586       -.24239E-05   -.96923E-02
  15  norm          2.6888        .86707       -.58593E-08   -.23601E-02
  16  Prefactor     7.2611        7.4775        .68648E-06   -.69136E-01
  17  Prefactor      .0000        2.0240        .81140E-06** at limit **
  18  Normalizat    1.4494        .24625       -.12129E-05   -.13337E-03
  19  Prefactor     .68144        .16099        .12213E-04   -.18161E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 31.5496
  Prefactor  = 25.1071
  norm       = 0.45525
  Prefactor  = 8.22071
  Prefactor  = 1.20311
  norm       = 10.2672
  Prefactor  = 1.80023e-07
  Prefactor  = 1.66533e-10
  norm       = 3.42337e-07
  Prefactor  = 16.4748
  Prefactor  = 33.8098
  norm       = 19.206
  Prefactor  = 57.1136
  norm       = 2.68879
  Prefactor  = 7.2611
  Prefactor  = 0
  Normalizat = 1.44941
  Prefactor  = 0.681439
 **********
 **   18 **HESSE 
 **********

 FCN=   6287.639     FROM HESSE     STATUS=OK           312 CALLS     1704 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.4539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.550        15.930        .17780E-03   -1.5596    
   3  Prefactor     25.107        15.030        .19922E-03   -1.5608    
   4  norm          .45525        7.3786        .81755E-03   -1.5694    
   5  Prefactor     8.2207        12.581        .35219E-03   -1.5651    
   6  Prefactor     1.2031        3.3734        .10738E-02   -1.5686    
   7  norm          10.267        10.366        .31177E-03   -1.5644    
   8  Prefactor     .18002E-06    15.720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    7.9165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .34234E-06    16.113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.475        9.0989        .24800E-03   -1.5627    
  12  Prefactor     33.810        17.756        .17218E-03   -1.5592    
  13  norm          19.206        17.286        .22807E-03   -1.5620    
  14  Prefactor     57.114        53.488        .14062E-03   -1.5557    
  15  norm          2.6888        .86385        .62134E-03   -1.5675    
  16  Prefactor     7.2611        14.351        .36193E-03   -1.5654    
  17  Prefactor      .0000        2.0321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.4494        .21483        .60261E-01   -.79210    
  19  Prefactor     .68144        .14082        .42160E-01   -1.0426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84864e-06
Minuit parameter uncertainties:
  1  1.23585e-05
  2  15.9297
  3  15.0305
  4  3.66557
  5  12.5809
  6  3.37343
  7  10.3656
  8  0.00336432
  9  7.79345e-05
  10  0.00469718
  11  9.09886
  12  17.756
  13  17.2861
  14  53.4887
  15  0.86385
  16  14.3507
  17  5.77496e-06
  18  0.214963
  19  0.140893
Done.

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

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  1.027e+01  1.037e+01  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:  6.814e-01  1.409e-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:  1.449e+00  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 8.812 15.241
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 1.69e-08 +/- 1.71e-08
Energy Flux (Fixed Index): 2.42e-05 +/- 2.44e-05

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

Saving results to:
/scratch/kocevski/823781/likelihoodResults_699667201_699926401_4FGL_J0035.2+1514_daily_bin1776.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6287.57230511
delta logL = 0.0669999512838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6287.56541164
delta logL = 0.0738934219307

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0428       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0001       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68209       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.

 FCN=   6287.565     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      256 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0413        10.841        .13322E-04    .10676E-02
   2  alpha         2.0003        .78031        .15921E-01    .11920E-04
   3  Normalizat    1.4442        .23668        .26687E-03    .17215E-03
   4  Prefactor     .68211        .16086        .25198E-03    .10318E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.04127
  alpha      = 2.00028
  Normalizat = 1.4442
  Prefactor  = 0.682112
 **********
 **   18 **HESSE 
 **********

 FCN=   6287.565     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0413        10.316        .53289E-06   -1.5648    
   2  alpha         2.0003        .74378        .63686E-03   -.20124    
   3  Normalizat    1.4442        .23668        .53375E-04   -.79359    
   4  Prefactor     .68211        .16092        .10079E-04   -1.0423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54597e-11
Minuit parameter uncertainties:
  1  10.316
  2  0.755714
  3  0.236861
  4  0.161026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823781': 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) = 6287.56541159
delta logL = 0.0738934723931

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  9.041e+00  1.032e+01  0.000e+00  1.000e+06 ( 1.000e-13)
145        alpha:  2.000e+00  7.557e-01  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:  6.821e-01  1.610e-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:  1.444e+00  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.69
Ra Dec: 8.812 15.241
Photon Index (Free Index): 2.00 +/- 0.76
Photon Flux (Free Index): 2.36e-08 +/- 2.83e-08
Energy Flux (Free Index): 1.76e-05 +/- 2.21e-05

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/823781/cmap_HighResolution_699667201_699926401_4FGL_J0035.2+1514_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-05', comment='SUCCESS', photon_flux='1.69e-08', energy_flux2='1.76e-05', photon_flux_error='1.71e-08', dlogl='7.39e-02', energy_flux='2.42e-05', photon_flux2='2.36e-08', job_status='DONE', time_completed='2023-03-08 00:15:06.094803', photon_index_error2='0.76', photon_index2='2.00', ts='1.55', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='6.03e-08', energy_flux_error2='2.21e-05', EG='1.45', time_epoch_completed='1678263306.09', return_code='0', job_id='823781', GAL2='0.68', EG2='1.44', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='2.83e-08', ts2='1.69', photon_index='1.72' WHERE bin_id='1776' AND source_name='4FGL J0035.2+1514' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:15:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 823781: <4FGL_J0035.2+1514_daily_bin1776> in cluster <slac> Done

Job <4FGL_J0035.2+1514_daily_bin1776> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Mar  8 00:04:42 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:04:43 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:04:43 2023
Terminated at Wed Mar  8 00:15:06 2023
Results reported at Wed Mar  8 00:15:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0035.2+1514_daily_bin1776 8.8123 15.2405 699667201 699926401 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 :                                   531.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            624 sec.

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

