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


Performing analysis on: 4FGL_J0105.1+3929_daily_bin1696
RA = 16.2913, Dec = 39.4963
tmin = 678931201, tmax = 679190401
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='785023', job_status='RUN', time_executed='2022-07-11 00:05:22.271329', time_epoch_executed='1657523122.27' WHERE source_name='4FGL J0105.1+3929' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785023

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785023/ft1_4FGL_J0105.1+3929_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785023/ft2_4FGL_J0105.1+3929_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785023/ft1_4FGL_J0105.1+3929_daily_bin1696.fits outfile=/scratch/kocevski/785023/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1696.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=678931201.0 tmax=679190401.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.67
user 3.35
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785023/ft2_4FGL_J0105.1+3929_daily_bin1696.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/785023/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/785023/ft1_filtered_4FGL_J0105.1+3929_daily_bin1696.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.54
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 927

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785023/ft1_filtered_4FGL_J0105.1+3929_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/785023/ft2_4FGL_J0105.1+3929_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/785023/ltcube_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.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/785023/ft2_4FGL_J0105.1+3929_daily_bin1696.fits
.....................!
real 12.10
user 11.50
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785023/ft1_filtered_4FGL_J0105.1+3929_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/785023/ft2_4FGL_J0105.1+3929_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/785023/ltcube_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.fits outfile=/scratch/kocevski/785023/expmap_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.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/785023/ltcube_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.fits
.....................!
real 195.07
user 188.46
sys 5.46

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/785023/ft1_filtered_4FGL_J0105.1+3929_daily_bin1696.fits scfile=/scratch/kocevski/785023/ft2_4FGL_J0105.1+3929_daily_bin1696.fits outfile=/scratch/kocevski/785023/cmap_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.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 2.00
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785023/ft1_filtered_4FGL_J0105.1+3929_daily_bin1696.fits scfile=/scratch/kocevski/785023/ft2_4FGL_J0105.1+3929_daily_bin1696.fits outfile=/scratch/kocevski/785023/cmap_HighResolution_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.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.76
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/785023/ft1_filtered_4FGL_J0105.1+3929_daily_bin1696.fits', '/scratch/kocevski/785023/ft2_4FGL_J0105.1+3929_daily_bin1696.fits', expMap='/scratch/kocevski/785023/expmap_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.fits', expCube='/scratch/kocevski/785023/ltcube_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/785023/Model_4FGL_J0105.1+3929_daily_bin1696.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/785023/ft1_filtered_4FGL_J0105.1+3929_daily_bin1696.fits
Spacecraft file(s): /scratch/kocevski/785023/ft2_4FGL_J0105.1+3929_daily_bin1696.fits
Exposure map: /scratch/kocevski/785023/expmap_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.fits
Exposure cube: /scratch/kocevski/785023/ltcube_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/785023/Model_4FGL_J0105.1+3929_daily_bin1696.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) = 9894.06798693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8634       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .51312       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4053       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7920       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.761       1.0000         .10000E-03   10000.    
     7 'norm      '    2.9194       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.9204       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10214       1.0000         .10000E-03   10000.    
    14 'norm      '    5.6243       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.194       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12211E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .60821       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.6218       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.9456       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .64835       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1981       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=   9894.047     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2751 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8632        13.873       -.16836E-05   -.60787E-03
   2  Prefactor     .51319        3.7444       -.18615E-05   -.31248E-03
   3  Prefactor     2.4049        2.1764       -.50062E-06   -.48316E-03
   4  Prefactor     .10000E-03    4.9369       -.14398E-05** at limit **
   5  Prefactor     6.7944        19.892       -.12995E-05   -.19075E-04
   6  Prefactor     18.772        23.548        .56704E-05    .90241E-05
   7  norm          2.9194        1.9612       -.23543E-06   -.12268E-03
   8  Prefactor     .10000E-03    5.0606        .24668E-05** at limit **
   9  Prefactor     .10000E-03    4.2908        .31860E-06** at limit **
  10  Prefactor     .10000E-03    7.7439       -.10900E-05** at limit **
  11  Prefactor     9.9279        16.440       -.11100E-05   -.28768E-05
  12  Prefactor     .10000E-03    42.646        .23618E-04** at limit **
  13  norm          .10096        .52082       -.84669E-06    .17295E-02
  14  norm          5.6260        3.8795       -.14045E-05   -.48822E-03
  15  Prefactor     16.194        7.6228       -.56125E-06    .64027E-03
  16  Prefactor     .10000E-03    17.319        .92496E-05** at limit **
  17  Prefactor     .10000E-03    22.553       -.19029E-04** at limit **
  18  norm          .10000E-03    .30735       -.26649E-07** at limit **
  19  norm          .60829        .53222       -.97892E-07   -.85072E-03
  20  Prefactor     .10000E-03    4.9261       -.14380E-05** at limit **
  21  Prefactor     2.6220        2.4751        .17273E-05    .25947E-03
  22  Prefactor     8.8686        37.098       -.15575E-03    .20686E-04
  23  Normalizat    .64850        .18617        .33817E-05    .44053E-03
  24  Prefactor     1.1981        .98764E-01    .17598E-05    .50010E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.86316
  Prefactor  = 0.513186
  Prefactor  = 2.40493
  Prefactor  = 0.0001
  Prefactor  = 6.7944
  Prefactor  = 18.7718
  norm       = 2.91938
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.92786
  Prefactor  = 0.0001
  norm       = 0.100961
  norm       = 5.62602
  Prefactor  = 16.1939
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.608287
  Prefactor  = 0.0001
  Prefactor  = 2.62203
  Prefactor  = 8.86856
  Normalizat = 0.648503
  Prefactor  = 1.19807
 **********
 **   18 **HESSE 
 **********

 FCN=   9894.047     FROM HESSE     STATUS=OK           407 CALLS     3158 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8632        13.747        .63796E-03   -1.5080    
   2  Prefactor     .51319        10.777        .36147E-02   -1.5565    
   3  Prefactor     2.4049        2.1665        .13458E-03   -1.5398    
   4  Prefactor     .10000E-03    4.9473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.7944        19.868        .15396E-03   -1.5187    
   6  Prefactor     18.772        23.545        .92468E-04   -1.4841    
   7  norm          2.9194        1.9591        .11060E-03   -1.5366    
   8  Prefactor     .10000E-03    5.1989        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.3046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.8759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.9279        16.439        .12722E-03   -1.5078    
  12  Prefactor     .10000E-03    42.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10096        3.7039        .13190E-02   -1.5644    
  14  norm          5.6260        3.8894        .15493E-03   -1.5234    
  15  Prefactor     16.194        7.6353        .99528E-04   -1.4903    
  16  Prefactor     .10000E-03    17.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .31724        .10769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .60829        .50687        .65435E-03   -1.5552    
  20  Prefactor     .10000E-03    4.9452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.6220        2.4660        .14525E-03   -1.5384    
  22  Prefactor     8.8686        37.227        .13401E-03   -1.5112    
  23  Normalizat    .64850        .20249        .39280E-03   -1.0596    
  24  Prefactor     1.1981        .10962        .16622E-03   -.86391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91052e-09
Minuit parameter uncertainties:
  1  13.7511
  2  4.70398
  3  2.16655
  4  1.26327e-05
  5  19.8877
  6  23.5569
  7  1.9591
  8  6.67353e-05
  9  9.13294e-06
  10  8.06196e-05
  11  16.4461
  12  0.000150222
  13  1.22251
  14  3.88962
  15  7.63576
  16  1.51398e-05
  17  7.79609e-06
  18  8.50768e-07
  19  0.506874
  20  3.68735e-06
  21  2.46611
  22  36.3785
  23  0.202723
  24  0.109637
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  9.928e+00  1.645e+01  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:  1.198e+00  1.096e-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:  6.485e-01  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 16.291 39.496
Photon Flux Upper Limit: 8.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785023/likelihoodResults_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9893.36030052
delta logL = 0.687009216514

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9893.34234606
delta logL = 0.704963683402

Fit tolerance = 1e-08

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

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

 FCN=   9893.342     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      343 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31742E-01    .28851        .28628E-02    .89848E-02
   2  Index         5.8564        2.1286        .10658        .27517E-03
   3  Normalizat    .54986        .38546E-01    .95980E-01    .50814E-04
   4  Prefactor     1.2361        .21609E-01    .33831E-01   -.32127E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0317415
  Index      = 5.85635
  Normalizat = 0.549862
  Prefactor  = 1.23612
 **********
 **   18 **HESSE 
 **********

 FCN=   9893.342     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      378 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31742E-01    .82131        .13011E-03   -1.5672    
   2  Index         5.8564        3.9909        .54112E-02    .17212    
   3  Normalizat    .54986        .14487        .42532E-03   -1.1016    
   4  Prefactor     1.2361        .78700E-01    .16399E-03   -.85227    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.61274e-07
Minuit parameter uncertainties:
  1  0.322417
  2  4.65231
  3  0.144965
  4  0.0787071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785023': 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) = 9893.34234086
delta logL = 0.704968876307

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  3.174e-02  3.224e-01  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  5.856e+00  4.652e+00  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:  1.236e+00  7.871e-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:  5.499e-01  1.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.21
Ra Dec: 16.291 39.496
Photon Index (Free Index): 5.86 +/- 4.65
Photon Flux (Free Index): 7.55e-08 +/- 5.39e-08
Energy Flux (Free Index): 9.48e-06 +/- 7.20e-06

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/785023/cmap_HighResolution_678931201_679190401_4FGL_J0105.1+3929_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.85e-03', comment='SUCCESS', energy_flux2='9.48e-06', dlogl='7.05e-01', photon_flux2='7.55e-08', job_status='DONE', time_completed='2022-07-11 00:21:18.811942', photon_index_error2='4.65', photon_index2='5.86', ts='0.46', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='8.93e-08', energy_flux_error2='7.20e-06', EG='0.65', time_epoch_completed='1657524078.81', return_code='0', job_id='785023', GAL2='1.24', EG2='0.55', return_code2='102', photon_flux_error2='5.39e-08', ts2='2.21', photon_index='2.30' WHERE bin_id='1696' AND source_name='4FGL J0105.1+3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:21:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 785023: <4FGL_J0105.1+3929_daily_bin1696> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:04:44 2022
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:04:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:04:45 2022
Terminated at Mon Jul 11 00:21:19 2022
Results reported at Mon Jul 11 00:21:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1696 16.2913 39.4963 678931201 679190401 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 :                                   932.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            995 sec.

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

