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 46 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_J0102.4+4214_daily_bin1776
RA = 15.6069, Dec = 42.2371
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='823827', job_status='RUN', time_executed='2023-03-08 00:05:48.319076', time_epoch_executed='1678262748.32' WHERE source_name='4FGL J0102.4+4214' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823827

Creating custom pfile directory:
/scratch/kocevski/823827/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/823827/ft1_4FGL_J0102.4+4214_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/823827/ft2_4FGL_J0102.4+4214_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823827/ft1_4FGL_J0102.4+4214_daily_bin1776.fits outfile=/scratch/kocevski/823827/ft1_filteredMKT_4FGL_J0102.4+4214_daily_bin1776.fits ra=15.6069 dec=42.2371 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 3.94
user 3.68
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/823827/ft2_4FGL_J0102.4+4214_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/823827/ft2_4FGL_J0102.4+4214_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/823827/ft1_filteredMKT_4FGL_J0102.4+4214_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/823827/ft1_filtered_4FGL_J0102.4+4214_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.52
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 921

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823827/ft1_filtered_4FGL_J0102.4+4214_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/823827/ft2_4FGL_J0102.4+4214_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/823827/ltcube_699667201_699926401_4FGL_J0102.4+4214_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/823827/ft2_4FGL_J0102.4+4214_daily_bin1776.fits
.....................!
real 15.53
user 14.83
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823827/ft1_filtered_4FGL_J0102.4+4214_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/823827/ft2_4FGL_J0102.4+4214_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/823827/ltcube_699667201_699926401_4FGL_J0102.4+4214_daily_bin1776.fits outfile=/scratch/kocevski/823827/expmap_699667201_699926401_4FGL_J0102.4+4214_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/823827/ltcube_699667201_699926401_4FGL_J0102.4+4214_daily_bin1776.fits
.....................!
real 192.66
user 186.93
sys 5.21

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

Setting source of interest to:
4FGL J0102.4+4214 @ 15.6069 42.2371

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/823827/ft1_filtered_4FGL_J0102.4+4214_daily_bin1776.fits scfile=/scratch/kocevski/823827/ft2_4FGL_J0102.4+4214_daily_bin1776.fits outfile=/scratch/kocevski/823827/cmap_699667201_699926401_4FGL_J0102.4+4214_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=15.6069 yref=42.2371 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823827/ft1_filtered_4FGL_J0102.4+4214_daily_bin1776.fits scfile=/scratch/kocevski/823827/ft2_4FGL_J0102.4+4214_daily_bin1776.fits outfile=/scratch/kocevski/823827/cmap_HighResolution_699667201_699926401_4FGL_J0102.4+4214_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=15.6069 yref=42.2371 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/823827/ft1_filtered_4FGL_J0102.4+4214_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/823827/ft2_4FGL_J0102.4+4214_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/823827/Model_4FGL_J0102.4+4214_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/823827/ft1_filtered_4FGL_J0102.4+4214_daily_bin1776.fits.....................!
real 100.44
user 98.36
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/823827/ft1_filtered_4FGL_J0102.4+4214_daily_bin1776.fits', '/scratch/kocevski/823827/ft2_4FGL_J0102.4+4214_daily_bin1776.fits', expMap='/scratch/kocevski/823827/expmap_699667201_699926401_4FGL_J0102.4+4214_daily_bin1776.fits', expCube='/scratch/kocevski/823827/ltcube_699667201_699926401_4FGL_J0102.4+4214_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/823827/Model_4FGL_J0102.4+4214_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0102.4+4214'

4FGL J0102.4+4214
   Spectrum: PowerLaw
178    Prefactor:  3.800e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
179        Index:  2.680e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
180        Scale:  5.094e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/823827/ft1_filtered_4FGL_J0102.4+4214_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/823827/ft2_4FGL_J0102.4+4214_daily_bin1776.fits
Exposure map: /scratch/kocevski/823827/expmap_699667201_699926401_4FGL_J0102.4+4214_daily_bin1776.fits
Exposure cube: /scratch/kocevski/823827/ltcube_699667201_699926401_4FGL_J0102.4+4214_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/823827/Model_4FGL_J0102.4+4214_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) = 9654.64135288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.761       1.0000          .0000       .10000E+07
     2 'norm      '    .28683E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9024       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13234E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.5805       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.865       1.0000          .0000       .10000E+07
     7 'Prefactor '    .22743E-05   1.0000          .0000       .10000E+07
     8 'norm      '    4.7776       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36557E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.0401       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.469       1.0000          .0000       .10000E+07
    12 'norm      '    74.063       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.1349       1.0000          .0000       .10000E+07
    14 'norm      '    1.9780       1.0000          .0000       .10000E+07
    15 'norm      '    .10664       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16571E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .68612E-07   1.0000          .0000       .10000E+07
    18 'norm      '    3.0345       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.5408       1.0000          .0000       .10000E+07
    20 'Prefactor '    .62806E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .10526E-01   1.0000          .0000       .10000E+07
    22 'Normalizat'    .72073       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1048       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9654.556     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1588 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.560        3.3336       -.12907E-06   -.66112E-02
   2  norm          .11102E-08    36.368       -.14179E-05** at limit **
   3  Prefactor     2.8375        7.4724        .98545E-06    .59441E-02
   4  Prefactor      .0000        1.4470       -.42332E-07** at limit **
   5  Prefactor     3.4363        11.884       -.85930E-06    .35902E-01
   6  Prefactor     10.881        1.5229       -.18029E-07    .29767E-01
   7  Prefactor      .0000        10.062       -.76214E-06** at limit **
   8  norm          4.7764        2.4309       -.11222E-06   -.34656E-03
   9  Prefactor      .0000        3.2655        .60127E-06** at limit **
  10  Prefactor     4.0392        6.9399       -.15548E-06    .24510E-02
  11  Prefactor     20.490        2.6857        .17629E-07   -.58419E-01
  12  norm          75.845        43.028       -.41366E-06   -.10219E-01
  13  Prefactor     8.0631        5.6415        .73739E-07    .12022    
  14  norm          1.9770        1.2724       -.12825E-06   -.88774E-03
  15  norm          .99589E-01    11.104        .10265E-05** at limit **
  16  Prefactor     .26645E-08    23.927        .18486E-06** at limit **
  17  norm           .0000        .39532        .91622E-08** at limit **
  18  norm          3.0339        .98622       -.29153E-07    .87991E-03
  19  Prefactor     4.4828        10.090        .62611E-06    .30256E-01
  20  Prefactor     .38858E-09    3.2812       -.25647E-06** at limit **
  21  Prefactor     .19484E-07    39.602        .38654E-05** at limit **
  22  Normalizat    .72175        .20258        .55195E-05    .66284E-05
  23  Prefactor     1.1046        .97412E-01   -.26949E-05   -.26147E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.5596
  norm       = 1.11022e-09
  Prefactor  = 2.83749
  Prefactor  = 0
  Prefactor  = 3.43632
  Prefactor  = 10.8806
  Prefactor  = 0
  norm       = 4.77636
  Prefactor  = 0
  Prefactor  = 4.03919
  Prefactor  = 20.4902
  norm       = 75.8446
  Prefactor  = 8.06311
  norm       = 1.97695
  norm       = 0.0995888
  Prefactor  = 2.66454e-09
  norm       = 0
  norm       = 3.03393
  Prefactor  = 4.48281
  Prefactor  = 3.88578e-10
  Prefactor  = 1.94844e-08
  Normalizat = 0.721753
  Prefactor  = 1.10456
 **********
 **   18 **HESSE 
 **********

 FCN=   9654.556     FROM HESSE     STATUS=OK           432 CALLS     2020 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.560        14.685        .26043E-03   -1.5632    
   2  norm          .11102E-08    12.656        .11979E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8375        8.0997        .59618E-03   -1.5674    
   4  Prefactor      .0000        1.4408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4363        15.021        .53381E-03   -1.5671    
   6  Prefactor     10.881        19.901        .30370E-03   -1.5642    
   7  Prefactor      .0000        10.053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.7764        2.4397        .46006E-03   -1.5664    
   9  Prefactor      .0000        3.2948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.0392        6.9636        .50143E-03   -1.5668    
  11  Prefactor     20.490        8.8008        .22110E-03   -1.5617    
  12  norm          75.845        43.134        .11621E-03   -1.5534    
  13  Prefactor     8.0631        10.563        .35128E-03   -1.5651    
  14  norm          1.9770        1.2793        .73675E-03   -1.5680    
  15  norm          .99589E-01    1.1658        .60335E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .26645E-08    23.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .39543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.0339        .98535        .58225E-03   -1.5673    
  19  Prefactor     4.4828        10.636        .47219E-03   -1.5666    
  20  Prefactor     .38858E-09    3.2832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .19484E-07    39.665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .72175        .19318        .91405E-01   -1.0304    
  23  Prefactor     1.1046        .88095E-01    .37407E-01   -.89321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8169e-07
Minuit parameter uncertainties:
  1  14.6845
  2  0.000236493
  3  8.09977
  4  5.2293e-06
  5  14.369
  6  19.9015
  7  9.7406e-06
  8  2.43971
  9  4.62978e-06
  10  6.9636
  11  8.80082
  12  43.134
  13  10.563
  14  1.27935
  15  0.681477
  16  0.000505038
  17  2.16958e-09
  18  0.98535
  19  10.6363
  20  7.22605e-05
  21  0.00175866
  22  0.193359
  23  0.088107
Done.

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

Extracting fit parameters...

4FGL J0102.4+4214
   Spectrum: PowerLaw
178    Prefactor:  2.049e+01  8.801e+00  0.000e+00  1.000e+06 ( 1.000e-12)
179        Index:  2.680e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
180        Scale:  5.094e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
557    Prefactor:  1.105e+00  8.811e-02  0.000e+00  1.000e+01 ( 1.000e+00)
558        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
559        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  7.218e-01  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.21
Ra Dec: 15.607 42.237
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 9.58e-08 +/- 4.11e-08
Energy Flux (Fixed Index): 2.34e-05 +/- 1.01e-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) = 9652.67629681
delta logL = 1.87930694339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9652.49208514
delta logL = 2.06351860484

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.273       1.0000          .0000       .10000E+07
     2 'Index     '    1.9718       1.0000          .0000       10.000    
     3 'Normalizat'    .76067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0912       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9652.492     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      221 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.291        12.347        .19152E-03    .58649E-04
   2  Index         1.9720        .28969        .16181       -.56659E-04
   3  Normalizat    .76057        .17908        .89214E-01    .42904E-04
   4  Prefactor     1.0912        .86473E-01    .37931E-01   -.16061E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.2906
  Index      = 1.97202
  Normalizat = 0.760568
  Prefactor  = 1.09121
 **********
 **   18 **HESSE 
 **********

 FCN=   9652.492     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .71E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.291        11.733        .76607E-05   -1.5603    
   2  Index         1.9720        .30237        .65080E-02   -.65051    
   3  Normalizat    .76057        .19717        .39518E-03   -1.0155    
   4  Prefactor     1.0912        .95338E-01    .16189E-03   -.89748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08922e-13
Minuit parameter uncertainties:
  1  11.7331
  2  0.302658
  3  0.19735
  4  0.095353
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823827': 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) = 9652.49208395
delta logL = 2.06351979837

Extracting fit parameters...

4FGL J0102.4+4214
   Spectrum: PowerLaw
178    Prefactor:  2.729e+01  1.173e+01  0.000e+00  1.000e+06 ( 1.000e-12)
179        Index:  1.972e+00  3.027e-01  0.000e+00  1.000e+01 (-1.000e+00)
180        Scale:  5.094e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
557    Prefactor:  1.091e+00  9.535e-02  0.000e+00  1.000e+01 ( 1.000e+00)
558        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
559        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  7.606e-01  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.25
Ra Dec: 15.607 42.237
Photon Index (Free Index): 1.97 +/- 0.30
Photon Flux (Free Index): 6.95e-08 +/- 3.44e-08
Energy Flux (Free Index): 5.16e-05 +/- 3.45e-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/823827/cmap_HighResolution_699667201_699926401_4FGL_J0102.4+4214_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.58e-08', energy_flux2='5.16e-05', photon_flux_error='4.11e-08', dlogl='2.06e+00', energy_flux='2.34e-05', photon_flux2='6.95e-08', job_status='DONE', time_completed='2023-03-08 00:17:06.510379', photon_index_error2='0.30', photon_index2='1.97', ts='11.21', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='3.45e-05', EG='0.72', time_epoch_completed='1678263426.51', return_code='0', job_id='823827', GAL2='1.09', EG2='0.76', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.44e-08', ts2='15.25', photon_index='2.68' WHERE bin_id='1776' AND source_name='4FGL J0102.4+4214' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:17:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 823827: <4FGL_J0102.4+4214_daily_bin1776> in cluster <slac> Done

Job <4FGL_J0102.4+4214_daily_bin1776> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Mar  8 00:04:45 2023
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:04:46 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:46 2023
Terminated at Wed Mar  8 00:17:07 2023
Results reported at Wed Mar  8 00:17:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0102.4+4214_daily_bin1776 15.6069 42.2371 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0102.4+4214 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   675.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             379.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            742 sec.

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

