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


Performing analysis on: 4FGL_J0102.4+4214_daily_bin1728
RA = 15.6069, Dec = 42.2371
tmin = 687225601, tmax = 687484801
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='294294', job_status='RUN', time_executed='2022-10-15 00:06:27.067154', time_epoch_executed='1665817587.07' WHERE source_name='4FGL J0102.4+4214' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/294294

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/294294/ft1_4FGL_J0102.4+4214_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/294294/ft2_4FGL_J0102.4+4214_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/294294/ft1_4FGL_J0102.4+4214_daily_bin1728.fits outfile=/scratch/kocevski/294294/ft1_filteredMKT_4FGL_J0102.4+4214_daily_bin1728.fits ra=15.6069 dec=42.2371 rad=12.0 tmin=687225601.0 tmax=687484801.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.27
user 2.56
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/294294/ft2_4FGL_J0102.4+4214_daily_bin1728.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/294294/ft1_filteredMKT_4FGL_J0102.4+4214_daily_bin1728.fits evtable="EVENTS" outfile="/scratch/kocevski/294294/ft1_filtered_4FGL_J0102.4+4214_daily_bin1728.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.98
user 0.35
sys 0.18

Number of photons that the gtmktime cut: 10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/294294/ft1_filtered_4FGL_J0102.4+4214_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/294294/ft2_4FGL_J0102.4+4214_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/294294/ltcube_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.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/294294/ft2_4FGL_J0102.4+4214_daily_bin1728.fits
.....................!
real 12.73
user 11.86
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/294294/ft1_filtered_4FGL_J0102.4+4214_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/294294/ft2_4FGL_J0102.4+4214_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/294294/ltcube_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.fits outfile=/scratch/kocevski/294294/expmap_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.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/294294/ltcube_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.fits
.....................!
real 193.91
user 186.83
sys 4.55

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/294294/ft1_filtered_4FGL_J0102.4+4214_daily_bin1728.fits scfile=/scratch/kocevski/294294/ft2_4FGL_J0102.4+4214_daily_bin1728.fits outfile=/scratch/kocevski/294294/cmap_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.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 2.80
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/294294/ft1_filtered_4FGL_J0102.4+4214_daily_bin1728.fits scfile=/scratch/kocevski/294294/ft2_4FGL_J0102.4+4214_daily_bin1728.fits outfile=/scratch/kocevski/294294/cmap_HighResolution_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.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 4.15
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/294294/ft1_filtered_4FGL_J0102.4+4214_daily_bin1728.fits', '/scratch/kocevski/294294/ft2_4FGL_J0102.4+4214_daily_bin1728.fits', expMap='/scratch/kocevski/294294/expmap_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.fits', expCube='/scratch/kocevski/294294/ltcube_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/294294/Model_4FGL_J0102.4+4214_daily_bin1728.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/294294/ft1_filtered_4FGL_J0102.4+4214_daily_bin1728.fits
Spacecraft file(s): /scratch/kocevski/294294/ft2_4FGL_J0102.4+4214_daily_bin1728.fits
Exposure map: /scratch/kocevski/294294/expmap_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.fits
Exposure cube: /scratch/kocevski/294294/ltcube_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/294294/Model_4FGL_J0102.4+4214_daily_bin1728.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 125.817703348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 124.977798281

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2696       1.0000          .0000       .10000E+07
     2 'norm      '    5.5401       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58502E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.4173       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.0878       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4900       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.2844       1.0000          .0000       .10000E+07
     8 'norm      '    1.7859       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7148       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5960       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.7539       1.0000          .0000       .10000E+07
    12 'norm      '    2.5024       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.0767       1.0000          .0000       .10000E+07
    14 'norm      '    1.9424       1.0000          .0000       .10000E+07
    15 'norm      '    52.370       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10664       1.0000          .0000       .10000E+07
    17 'norm      '    .76742E-05   1.0000          .0000       .10000E+07
    18 'norm      '    5.9304       1.0000          .0000       .10000E+07
    19 'Prefactor '    .22668       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67876E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    151.02       1.0000          .0000       .10000E+07
    22 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    .27560       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=   97.35168     FROM MIGRAD    STATUS=CONVERGED    337 CALLS      530 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33973E-07    1288.5       -.42886E-05** at limit **
   2  norm          .30254E-07    1022.0       -.11434E-04** at limit **
   3  Prefactor     .68279E-08    628.21       -.88420E-06** at limit **
   4  Prefactor     .10000E+07    .72624E+06   -.95230E-04** at limit **
   5  Prefactor     .10000E+07    .69790E+06   -.21951E-03** at limit **
   6  Prefactor     4.4900        .12810E+06     .0000         .0000    
   7  Prefactor     .10000E+07    .96036E+06    .78581E-03** at limit **
   8  norm          1.7859        .12810E+06     .0000         .0000    
   9  Prefactor     1.7148        .12810E+06     .0000         .0000    
  10  Prefactor     1.5960        .12810E+06     .0000         .0000    
  11  Prefactor     .10000E+07    75495.        .33923E-04** at limit **
  12  norm          .12712E-07    292.79        .46211E-05** at limit **
  13  Prefactor     .10000E+07    .92953E+06    .73554E-03** at limit **
  14  norm          1.9424        .12810E+06     .0000         .0000    
  15  norm          .33307E-08    21.033        .40179E-06** at limit **
  16  Prefactor     .15943E-06    308.88       -.10286E-05** at limit **
  17  norm           .0000        17.787       -.17374E-06** at limit **
  18  norm          .55511E-10    3.5471        .15067E-06** at limit **
  19  Prefactor     .66613E-09    102.50        .82288E-05** at limit **
  20  Prefactor      .0000        10.439       -.50174E-07** at limit **
  21  Prefactor     169.24        182.98       -.30046E-05   -.14790E-02
  22  Normalizat    .10000E-01    .14140        .16332E-06** at limit **
  23  Prefactor     .13836E-10    .47910E-01   -.19933E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.39728e-08
  norm       = 3.02536e-08
  Prefactor  = 6.82787e-09
  Prefactor  = 1e+06
  Prefactor  = 1e+06
  Prefactor  = 4.49002
  Prefactor  = 1e+06
  norm       = 1.78589
  Prefactor  = 1.71477
  Prefactor  = 1.59596
  Prefactor  = 1e+06
  norm       = 1.27121e-08
  Prefactor  = 1e+06
  norm       = 1.94242
  norm       = 3.33067e-09
  Prefactor  = 1.59428e-07
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 6.66134e-10
  Prefactor  = 0
  Prefactor  = 169.24
  Normalizat = 0.01
  Prefactor  = 1.38356e-11
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   97.35168     FROM HESSE     STATUS=FAILED        35 CALLS      565 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33973E-07    1259.7        .55979E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .30254E-07    1013.1        .42661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .68279E-08    621.30        .15217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E+07    .72575E+06    .90880E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E+07    .68881E+06    .71424E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     54371.        54366.         .0000       -1.5666    
   7  Prefactor     .10000E+07    .77968E-01    .78581E-03   -10.996    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7859        1.0458         .0000       -1.5681    
   9  Prefactor     1.7148        1.0505         .0000       -1.5682    
  10  Prefactor     1.5960        1.0602         .0000       -1.5683    
  11  Prefactor     .10000E+07    .53183E-01    .33923E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .12712E-07    .10425        .46211E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E+07    .49732E-01    .73554E-03    14.137    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9424        1.0377         .0000       -1.5680    
  15  norm          .33307E-08    .47744E-02    .40179E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15943E-06    .47295       -.10286E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .44347E-01   -.17374E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55511E-10    .42460E-01    .15067E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .66613E-09    .32030        .82288E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        .44347E-01   -.50174E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     169.24        1.0586       -.30046E-05   -1.5448    
  22  Normalizat    .10000E-01    .25720        .16332E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .13836E-10    .32803       -.19933E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.96129e-09
Minuit parameter uncertainties:
  1  0.0130822
  2  0.0110693
  3  0.00412151
  4  3.30003
  5  6.97334
  6  1.00634
  7  0.00691429
  8  1.04584
  9  1.05049
  10  1.06019
  11  0.00148644
  12  7.27437e-05
  13  0.0305009
  14  1.03771
  15  7.94471e-06
  16  0.000549171
  17  9.92953e-07
  18  3.33833e-06
  19  2.86629e-05
  20  4.68103e-07
  21  1.05859
  22  3.28315e-06
  23  4.28437e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 97.3516788428

Extracting fit parameters...

4FGL J0102.4+4214
   Spectrum: PowerLaw
178    Prefactor:  1.000e+06  1.486e-03  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.384e-11  4.284e-06  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:  1.000e-02  3.283e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 37.49
Ra Dec: 15.607 42.237
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 4.68e-03 +/- 6.94e-12
Energy Flux (Fixed Index): 1.14e+00 +/- 1.70e-09

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) = 63.2172506028
delta logL = 34.13442824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 63.2160034039
delta logL = 34.135675439

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
     2 'Index     '    10.000       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .12470       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63.21600     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      183 TOTAL
                     EDM=   .87E-17  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E+07    81161.        .19531E-02** at limit **
   2  Index         10.000        .85824E-01   -.29863E-09** at limit **
   3  Normalizat    .10000E-01    .20301       -.84820E-08** at limit **
   4  Prefactor     .12471        .99101E-01   -.64936E-08   -.39285E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1e+06
  Index      = 10
  Normalizat = 0.01
  Prefactor  = 0.12471
 **********
 **   18 **HESSE 
 **********

 FCN=   63.21600     FROM HESSE     STATUS=OK            27 CALLS      210 TOTAL
                     EDM=   .17E-16    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E+07    81161.        .84236E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         10.000        .85817E-01    .72319E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .10000E-01    .20305        .11142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12471        .99039E-01    .69655E-04   -1.3470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7327e-17
Minuit parameter uncertainties:
  1  0.000353655
  2  5.33983e-11
  3  2.12488e-10
  4  0.0991714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/294294': 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) = 63.2159976858
delta logL = 34.1356811571

Extracting fit parameters...

4FGL J0102.4+4214
   Spectrum: PowerLaw
178    Prefactor:  1.000e+06  3.537e-04  0.000e+00  1.000e+06 ( 1.000e-12)
179        Index:  1.000e+01  5.340e-11  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.247e-01  9.917e-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:  1.000e-02  2.125e-10  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 96.44
Ra Dec: 15.607 42.237
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.35e+02 +/- 4.74e-08
Energy Flux (Free Index): 1.51e+04 +/- 5.33e-06

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/294294/cmap_HighResolution_687225601_687484801_4FGL_J0102.4+4214_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.68e-03', energy_flux2='1.51e+04', photon_flux_error='6.94e-12', dlogl='3.41e+01', energy_flux='1.14e+00', photon_flux2='1.35e+02', job_status='DONE', time_completed='2022-10-15 00:12:30.555799', photon_index_error2='0.00', photon_index2='10.00', ts='37.49', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', energy_flux_error2='5.33e-06', EG='0.01', time_epoch_completed='1665817950.56', return_code='101', job_id='294294', GAL2='0.12', EG2='0.01', return_code2='0', energy_flux_error='1.70e-09', photon_flux_error2='4.74e-08', ts2='96.44', photon_index='2.68' WHERE bin_id='1728' AND source_name='4FGL J0102.4+4214' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:12:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 294294: <4FGL_J0102.4+4214_daily_bin1728> in cluster <slac> Done

Job <4FGL_J0102.4+4214_daily_bin1728> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Oct 15 00:05:13 2022
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:05:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:05:14 2022
Terminated at Sat Oct 15 00:12:36 2022
Results reported at Sat Oct 15 00:12:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0102.4+4214_daily_bin1728 15.6069 42.2371 687225601 687484801 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 :                                   316.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             278.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   441 sec.
    Turnaround time :                            443 sec.

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

