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 121 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0105.1+3929_daily_bin1672
RA = 16.2913, Dec = 39.4963
tmin = 672710401, tmax = 672969601
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='153850', job_status='RUN', time_executed='2022-04-30 00:10:34.866478', time_epoch_executed='1651302634.87' WHERE source_name='4FGL J0105.1+3929' and cadence='daily' and bin_id='1672'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153850

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153850/ft1_4FGL_J0105.1+3929_daily_bin1672.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153850/ft1_4FGL_J0105.1+3929_daily_bin1672.fits outfile=/scratch/kocevski/153850/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1672.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=672710401.0 tmax=672969601.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.19
user 2.93
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.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/153850/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1672.fits evtable="EVENTS" outfile="/scratch/kocevski/153850/ft1_filtered_4FGL_J0105.1+3929_daily_bin1672.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.51
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 434

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153850/ft1_filtered_4FGL_J0105.1+3929_daily_bin1672.fits" evtable="EVENTS" scfile=/scratch/kocevski/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.fits sctable="SC_DATA" outfile=/scratch/kocevski/153850/ltcube_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.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/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.fits
.....................!
real 15.77
user 15.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153850/ft1_filtered_4FGL_J0105.1+3929_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.fits sctable="SC_DATA" expcube=/scratch/kocevski/153850/ltcube_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.fits outfile=/scratch/kocevski/153850/expmap_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.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/153850/ltcube_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.fits
.....................!
real 191.31
user 186.52
sys 4.37

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

Setting source of interest to:
4FGL J0105.1+3929 @ 16.2913 39.4963

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/153850/ft1_filtered_4FGL_J0105.1+3929_daily_bin1672.fits scfile=/scratch/kocevski/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.fits outfile=/scratch/kocevski/153850/cmap_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.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=16.2913 yref=39.4963 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.59
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153850/ft1_filtered_4FGL_J0105.1+3929_daily_bin1672.fits scfile=/scratch/kocevski/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.fits outfile=/scratch/kocevski/153850/cmap_HighResolution_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.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=16.2913 yref=39.4963 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/153850/ft1_filtered_4FGL_J0105.1+3929_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/153850/Model_4FGL_J0105.1+3929_daily_bin1672.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/153850/ft1_filtered_4FGL_J0105.1+3929_daily_bin1672.fits.....................!
real 58.83
user 56.41
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153850/ft1_filtered_4FGL_J0105.1+3929_daily_bin1672.fits', '/scratch/kocevski/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.fits', expMap='/scratch/kocevski/153850/expmap_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.fits', expCube='/scratch/kocevski/153850/ltcube_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153850/Model_4FGL_J0105.1+3929_daily_bin1672.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0105.1+3929'

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  5.058e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.304e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
196        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/153850/ft1_filtered_4FGL_J0105.1+3929_daily_bin1672.fits
Spacecraft file(s): /scratch/kocevski/153850/ft2_4FGL_J0105.1+3929_daily_bin1672.fits
Exposure map: /scratch/kocevski/153850/expmap_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.fits
Exposure cube: /scratch/kocevski/153850/ltcube_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153850/Model_4FGL_J0105.1+3929_daily_bin1672.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) = 4750.32199867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.5919       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11431E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.8263       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.8273       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.463       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.735       1.0000         .10000E-03   10000.    
    13 'norm      '    .12039E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6804       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.1116       1.0000         .10000E-03   10000.    
    19 'norm      '    .19416       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0934       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4750.303     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2729 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    28.736       -.17194E-05** at limit **
   2  Prefactor     7.5918        6.4756        .21189E-06    .81116E-04
   3  Prefactor     .10000E-03    1.8060       -.12755E-06** at limit **
   4  Prefactor     .10000E-03    19.581       -.15017E-06** at limit **
   5  Prefactor     .10000E-03    7.0291       -.74445E-07** at limit **
   6  Prefactor     .10000E-03    23.186        .10363E-05** at limit **
   7  norm          6.8260        3.6305        .38753E-07   -.14911E-04
   8  Prefactor     .10000E-03    2.2728       -.48771E-07** at limit **
   9  Prefactor     4.8189        17.497       -.18671E-05   -.64253E-04
  10  Prefactor     18.455        17.508        .26141E-05    .40004E-04
  11  Prefactor     .10000E-03    14.093       -.13917E-06** at limit **
  12  Prefactor     28.822        98.503       -.22863E-04   -.61499E-04
  13  norm          .10000E-03    1.5235       -.87271E-06** at limit **
  14  norm          .10000E-03    1.7397       -.32821E-07** at limit **
  15  Prefactor     1.6720        23.230        .12711E-04   -.13751E-03
  16  Prefactor     .10000E-03    17.920       -.10700E-05** at limit **
  17  Prefactor     .10000E-03    23.888        .12664E-05** at limit **
  18  norm          2.1116        1.9756        .72973E-08    .10593E-04
  19  norm          .19422        .75368        .25012E-06    .89792E-04
  20  Prefactor     .10000E-03    13.824        .37618E-06** at limit **
  21  Prefactor     .10000E-03    4.2608        .11690E-07** at limit **
  22  Prefactor     .10000E-03    72.758        .24292E-06** at limit **
  23  Normalizat    1.0936        .26806       -.21593E-05    .43627E-04
  24  Prefactor     .94285        .12627        .63126E-06   -.11703E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 7.59183
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.82604
  Prefactor  = 0.0001
  Prefactor  = 4.81887
  Prefactor  = 18.4555
  Prefactor  = 0.0001
  Prefactor  = 28.8219
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 1.67196
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.11158
  norm       = 0.194225
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09364
  Prefactor  = 0.942855
 **********
 **   18 **HESSE 
 **********

 FCN=   4750.303     FROM HESSE     STATUS=OK           393 CALLS     3122 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    29.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.5918        6.4778        .14555E-03   -1.5157    
   3  Prefactor     .10000E-03    6.1345        .17652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.0313        .17847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.8260        3.6293        .92041E-04   -1.5185    
   8  Prefactor     .10000E-03    2.2770        .10147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.8189        17.337        .18310E-03   -1.5269    
  10  Prefactor     18.455        17.581        .93212E-04   -1.4849    
  11  Prefactor     .10000E-03    14.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.822        98.859        .74738E-04   -1.4634    
  13  norm          .10000E-03    5.5644        .15606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.7542        .88751E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6720        24.244        .16249E-02   -1.5449    
  16  Prefactor     .10000E-03    17.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    23.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.1116        1.9809        .91351E-04   -1.5417    
  19  norm          .19422        .73439        .11351E-03   -1.5620    
  20  Prefactor     .10000E-03    13.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.2952        .13893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    72.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0936        .31034        .32669E-03   -.89956    
  24  Prefactor     .94285        .14779        .17581E-03   -.94659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.62912e-10
Minuit parameter uncertainties:
  1  7.98536e-05
  2  6.47842
  3  9.54214e-05
  4  6.12502e-06
  5  2.90815e-06
  6  2.94392e-05
  7  3.62944
  8  2.4302e-06
  9  17.3551
  10  17.5854
  11  7.41797e-06
  12  99.4286
  13  0.000122944
  14  8.59379e-07
  15  12.7393
  16  3.27735e-05
  17  7.68078e-05
  18  1.98097
  19  0.734421
  20  1.01204e-05
  21  1.34078e-06
  22  1.71358e-05
  23  0.310859
  24  0.147851
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.000e-04  7.418e-06  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.304e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
196        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  9.429e-01  1.479e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.094e+00  3.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 16.291 39.496
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/153850/likelihoodResults_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.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) = 4750.30336037
delta logL = -0.00033762302246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4750.30302354
delta logL = -8.01554961072e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10978E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2941       1.0000          .0000       10.000    
     3 'Normalizat'    1.0934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94298       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+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=   4750.303     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10070E-03    248.61        .18142E-02** at limit **
   2  Index         2.2407        5.2260        .50000        .45420E-05
   3  Normalizat    1.0936        .28536E-01    .32669E-03    .17748E-05
   4  Prefactor     .94286        .14465E-01    .17581E-03    .29745E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100702
  Index      = 2.24073
  Normalizat = 1.09364
  Prefactor  = 0.942856
 **********
 **   18 **HESSE 
 **********

 FCN=   4750.303     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10070E-03    1008.4        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2407        6.3104        .50000       -.58459    
   3  Normalizat    1.0936        .62472E-01    .13067E-04   -.89956    
   4  Prefactor     .94286        .31665E-01    .70325E-05   -.94659    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.27517e-09
Minuit parameter uncertainties:
  1  0.0541363
  2  1726.81
  3  0.0624761
  4  0.0316657
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153850': 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): 102
logL (Free Index) = 4750.30302269
delta logL = 5.48434400116e-08

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.007e-04  5.414e-02  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.241e+00  1.727e+03  0.000e+00  1.000e+01 (-1.000e+00)
196        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  9.429e-01  3.167e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.094e+00  6.248e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 16.291 39.496

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/153850/cmap_HighResolution_672710401_672969601_4FGL_J0105.1+3929_daily_bin1672.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.26e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2022-04-30 00:20:41.443684', job_id='153850', GAL2='0.94', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1651303241.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.48e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1672' AND source_name='4FGL J0105.1+3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 30 00:20:41 PDT 2022

-----------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 153859: <4FGL_J0105.1+3929_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1672> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:42 2022
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:08:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:08:24 2022
Terminated at Sat Apr 30 00:18:47 2022
Results reported at Sat Apr 30 00:18:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1672 16.2913 39.4963 672710401 672969601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0105.1+3929 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   608.05 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             336.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   622 sec.
    Turnaround time :                            785 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 153850: <4FGL_J0105.1+3929_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1672> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:42 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:08:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:08:18 2022
Terminated at Sat Apr 30 00:20:41 2022
Results reported at Sat Apr 30 00:20:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1672 16.2913 39.4963 672710401 672969601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0105.1+3929 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   602.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            899 sec.

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

