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


Performing analysis on: 4FGL_J0035.2+1514_daily_bin1725
RA = 8.8123, Dec = 15.2405
tmin = 686448001, tmax = 686707201
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='875242', job_status='RUN', time_executed='2022-10-06 00:09:15.341935', time_epoch_executed='1665040155.34' WHERE source_name='4FGL J0035.2+1514' and cadence='daily' and bin_id='1725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875242

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875242/ft1_4FGL_J0035.2+1514_daily_bin1725.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875242/ft2_4FGL_J0035.2+1514_daily_bin1725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875242/ft1_4FGL_J0035.2+1514_daily_bin1725.fits outfile=/scratch/kocevski/875242/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1725.fits ra=8.8123 dec=15.2405 rad=12.0 tmin=686448001.0 tmax=686707201.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.61
user 4.35
sys 0.23

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

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

Number of photons that the gtmktime cut: 420

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875242/ft1_filtered_4FGL_J0035.2+1514_daily_bin1725.fits" evtable="EVENTS" scfile=/scratch/kocevski/875242/ft2_4FGL_J0035.2+1514_daily_bin1725.fits sctable="SC_DATA" outfile=/scratch/kocevski/875242/ltcube_686448001_686707201_4FGL_J0035.2+1514_daily_bin1725.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/875242/ft2_4FGL_J0035.2+1514_daily_bin1725.fits
.....................!
real 14.28
user 13.82
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875242/ft1_filtered_4FGL_J0035.2+1514_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/875242/ft2_4FGL_J0035.2+1514_daily_bin1725.fits sctable="SC_DATA" expcube=/scratch/kocevski/875242/ltcube_686448001_686707201_4FGL_J0035.2+1514_daily_bin1725.fits outfile=/scratch/kocevski/875242/expmap_686448001_686707201_4FGL_J0035.2+1514_daily_bin1725.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/875242/ltcube_686448001_686707201_4FGL_J0035.2+1514_daily_bin1725.fits
.....................!
real 193.83
user 188.06
sys 4.79

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/875242/ft1_filtered_4FGL_J0035.2+1514_daily_bin1725.fits scfile=/scratch/kocevski/875242/ft2_4FGL_J0035.2+1514_daily_bin1725.fits outfile=/scratch/kocevski/875242/cmap_686448001_686707201_4FGL_J0035.2+1514_daily_bin1725.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875242/ft1_filtered_4FGL_J0035.2+1514_daily_bin1725.fits scfile=/scratch/kocevski/875242/ft2_4FGL_J0035.2+1514_daily_bin1725.fits outfile=/scratch/kocevski/875242/cmap_HighResolution_686448001_686707201_4FGL_J0035.2+1514_daily_bin1725.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56747       1.0000          .0000       .10000E+07
     2 'Prefactor '    11.304       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26889E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .19734E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24094E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14946E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .58570E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    59.287       1.0000          .0000       .10000E+07
     9 'Prefactor '    .53374E-03   1.0000          .0000       .10000E+07
    10 'norm      '    7.4903       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1624       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.2645       1.0000          .0000       .10000E+07
    13 'norm      '    60.374       1.0000          .0000       .10000E+07
    14 'Prefactor '    32.848       1.0000          .0000       .10000E+07
    15 'norm      '    1.2239       1.0000          .0000       .10000E+07
    16 'Prefactor '    .78168E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.2928       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.8634       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .47213       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=   4479.631     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1433 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58205        4.1620       -.54123E-06    .34626E-02
   2  Prefactor     11.252        4.1732        .13367E-07   -.85804E-01
   3  Prefactor     .17208E-07    13.408        .31949E-06** at limit **
   4  norm          .37581E-07    16.017        .65959E-06** at limit **
   5  Prefactor      .0000        18.177       -.24325E-06** at limit **
   6  Prefactor      .0000        2.4464       -.13285E-06** at limit **
   7  norm          .40523E-08    8.8133        .29181E-06** at limit **
   8  Prefactor     59.722        37.389       -.18270E-06   -.54658E-02
   9  Prefactor     .18319E-08    5.8321        .33787E-07** at limit **
  10  norm          7.5024        7.2356       -.12748E-07   -.62259E-02
  11  Prefactor     5.1474        5.8801       -.25514E-06   -.23005E-02
  12  Prefactor     5.2566        6.5007       -.16030E-06   -.26004E-01
  13  norm          60.460        2.8246       -.16410E-07    .13830E-01
  14  Prefactor     32.877        1.2571        .26127E-08   -.17406E-01
  15  norm          1.2240        .69950       -.28161E-07   -.11699E-02
  16  Prefactor     .86042E-08    5.0770        .10679E-06** at limit **
  17  Prefactor     2.2944        5.5427        .37856E-08   -.57543E-03
  18  Normalizat    1.8630        .28183        .35896E-05   -.26320E-04
  19  Prefactor     .47210        .18652       -.42895E-05   -.29931E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.582052
  Prefactor  = 11.2518
  Prefactor  = 1.72085e-08
  norm       = 3.7581e-08
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.05231e-09
  Prefactor  = 59.7221
  Prefactor  = 1.83187e-09
  norm       = 7.50236
  Prefactor  = 5.14743
  Prefactor  = 5.2566
  norm       = 60.4604
  Prefactor  = 32.8773
  norm       = 1.224
  Prefactor  = 8.60423e-09
  Prefactor  = 2.29436
  Normalizat = 1.86301
  Prefactor  = 0.472103
 **********
 **   18 **HESSE 
 **********

 FCN=   4479.631     FROM HESSE     STATUS=OK           310 CALLS     1743 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58205        4.4084        .72193E-03   -1.5693    
   2  Prefactor     11.252        11.333        .29772E-03   -1.5641    
   3  Prefactor     .17208E-07    13.521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .37581E-07    16.109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        17.784        .16781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.4376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .40523E-08    8.8433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     59.722        37.440        .12988E-03   -1.5553    
   9  Prefactor     .18319E-08    5.8516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.5024        7.2404        .36621E-03   -1.5653    
  11  Prefactor     5.1474        5.8879        .44222E-03   -1.5663    
  12  Prefactor     5.2566        6.6994        .43783E-03   -1.5662    
  13  norm          60.460        30.968        .12871E-03   -1.5552    
  14  Prefactor     32.877        49.363        .17450E-03   -1.5593    
  15  norm          1.2240        .69610        .93189E-03   -1.5686    
  16  Prefactor     .86042E-08    5.1747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.2944        5.5732        .67760E-03   -1.5678    
  18  Normalizat    1.8630        .24594        .52751E-01   -.68030    
  19  Prefactor     .47210        .16385        .65327E-01   -1.1327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35967e-07
Minuit parameter uncertainties:
  1  3.20369
  2  11.3333
  3  0.000963992
  4  0.00155632
  5  1.45615e-05
  6  4.80513e-06
  7  0.000378209
  8  37.4403
  9  0.000206273
  10  7.24041
  11  5.88789
  12  6.69942
  13  30.9681
  14  49.3638
  15  0.696098
  16  0.00042137
  17  5.57325
  18  0.246106
  19  0.164016
Done.

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

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  4.052e-09  3.782e-04  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:  4.721e-01  1.640e-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.863e+00  2.461e-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: 5.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875242/likelihoodResults_686448001_686707201_4FGL_J0035.2+1514_daily_bin1725.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) = 4479.63134115
delta logL = -3.50010213879e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4479.63133787
delta logL = -2.27280906984e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50493E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .93093       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .47209       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=   4479.631     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      233 TOTAL
                     EDM=   .81E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.2204        .10809E-07** at limit **
   2  alpha         1.8411        3.4128        .18112E-05     .0000    
   3  Normalizat    1.8630        .27500        .39868E-05   -.25933E-05
   4  Prefactor     .47210        .18588       -.63392E-05    .12256E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.84105
  Normalizat = 1.86301
  Prefactor  = 0.472103
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4479.631     FROM HESSE     STATUS=FAILED         9 CALLS      242 TOTAL
                     EDM=   .81E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.2102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .74762        1.4968        .18112E-05   -.26673    
   3  Normalizat    1.8630        1.0255        .39868E-05   -.68030    
   4  Prefactor     .47210        .81182       -.63392E-05   -1.1327    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.10828e-13
Minuit parameter uncertainties:
  1  2.04461e-06
  2  1.6148
  3  1.03777
  4  0.833082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875242': 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): 101
logL (Free Index) = 4479.63133765
delta logL = 2.29192664847e-10

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  0.000e+00  2.045e-06  0.000e+00  1.000e+06 ( 1.000e-13)
145        alpha:  1.841e+00  1.615e+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:  4.721e-01  8.331e-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.863e+00  1.038e+00  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/875242/cmap_HighResolution_686448001_686707201_4FGL_J0035.2+1514_daily_bin1725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.96e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2022-10-06 00:17:24.837899', job_id='875242', GAL2='0.47', fit_tolerance='1e-08', EG2='1.86', EG='1.86', time_epoch_completed='1665040644.84', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.47', dlogl='2.29e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.72' WHERE bin_id='1725' AND source_name='4FGL J0035.2+1514' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  6 00:17:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 875243: <4FGL_J0035.2+1514_daily_bin1725> in cluster <slac> Done

Job <4FGL_J0035.2+1514_daily_bin1725> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Oct  6 00:05:42 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 00:06:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 00:06:25 2022
Terminated at Thu Oct  6 00:16:15 2022
Results reported at Thu Oct  6 00:16:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0035.2+1514_daily_bin1725 8.8123 15.2405 686448001 686707201 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 :                                   405.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             246.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            633 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 875242: <4FGL_J0035.2+1514_daily_bin1725> in cluster <slac> Done

Job <4FGL_J0035.2+1514_daily_bin1725> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Oct  6 00:05:42 2022
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 00:06:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 00:06:25 2022
Terminated at Thu Oct  6 00:17:25 2022
Results reported at Thu Oct  6 00:17:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0035.2+1514_daily_bin1725 8.8123 15.2405 686448001 686707201 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 :                                   491.32 sec.
    Max Memory :                                 1166 MB
    Average Memory :                             310.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            703 sec.

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

