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


Performing analysis on: 4FGL_J0105.1+3929_daily_bin1740
RA = 16.2913, Dec = 39.4963
tmin = 690336001, tmax = 690595201
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='822797', job_status='RUN', time_executed='2022-11-20 00:09:58.016461', time_epoch_executed='1668931798.02' WHERE source_name='4FGL J0105.1+3929' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822797

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822797/ft1_4FGL_J0105.1+3929_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822797/ft2_4FGL_J0105.1+3929_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822797/ft1_4FGL_J0105.1+3929_daily_bin1740.fits outfile=/scratch/kocevski/822797/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1740.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=690336001.0 tmax=690595201.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.07
user 2.75
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822797/ft2_4FGL_J0105.1+3929_daily_bin1740.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/822797/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/822797/ft1_filtered_4FGL_J0105.1+3929_daily_bin1740.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.16

Number of photons that the gtmktime cut: 438

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822797/ft1_filtered_4FGL_J0105.1+3929_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822797/ft2_4FGL_J0105.1+3929_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/822797/ltcube_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.fits outfile=/scratch/kocevski/822797/expmap_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.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/822797/ltcube_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.fits
.....................!
real 192.86
user 185.83
sys 5.31

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/822797/ft1_filtered_4FGL_J0105.1+3929_daily_bin1740.fits scfile=/scratch/kocevski/822797/ft2_4FGL_J0105.1+3929_daily_bin1740.fits outfile=/scratch/kocevski/822797/cmap_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822797/ft1_filtered_4FGL_J0105.1+3929_daily_bin1740.fits scfile=/scratch/kocevski/822797/ft2_4FGL_J0105.1+3929_daily_bin1740.fits outfile=/scratch/kocevski/822797/cmap_HighResolution_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.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.55
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/822797/ft1_filtered_4FGL_J0105.1+3929_daily_bin1740.fits', '/scratch/kocevski/822797/ft2_4FGL_J0105.1+3929_daily_bin1740.fits', expMap='/scratch/kocevski/822797/expmap_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.fits', expCube='/scratch/kocevski/822797/ltcube_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/822797/Model_4FGL_J0105.1+3929_daily_bin1740.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  0.000e+00  1.000e+06 ( 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/822797/ft1_filtered_4FGL_J0105.1+3929_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/822797/ft2_4FGL_J0105.1+3929_daily_bin1740.fits
Exposure map: /scratch/kocevski/822797/expmap_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.fits
Exposure cube: /scratch/kocevski/822797/ltcube_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/822797/Model_4FGL_J0105.1+3929_daily_bin1740.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) = 4940.03111212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4750       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.1555       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34727E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .29853E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    22.601       1.0000          .0000       .10000E+07
     6 'Prefactor '    .54596E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .18258E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .78847E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.8368       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.1758       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.420       1.0000          .0000       .10000E+07
    12 'norm      '    8.9295       1.0000          .0000       .10000E+07
    13 'norm      '    4.5559       1.0000          .0000       .10000E+07
    14 'Prefactor '    .31501E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .69754E-05   1.0000          .0000       .10000E+07
    16 'norm      '    2.1275       1.0000          .0000       .10000E+07
    17 'Prefactor '    .32903E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .47106E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    199.80       1.0000          .0000       .10000E+07
    20 'Normalizat'    .41393       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2285       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4939.996     FROM MIGRAD    STATUS=CONVERGED    190 CALLS     1684 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4869        13.233        .10502E-05   -.19786E-03
   2  Prefactor     5.1731        6.9824        .43890E-06   -.36825E-03
   3  Prefactor      .0000        8.5673       -.69243E-06** at limit **
   4  Prefactor     .55511E-10    24.425       -.14235E-05** at limit **
   5  Prefactor     23.298        31.949       -.10170E-05    .11037E-03
   6  Prefactor     .55511E-10    133.64        .83889E-05** at limit **
   7  norm           .0000        2.8149        .10410E-05** at limit **
   8  Prefactor      .0000        4.4376        .35701E-06** at limit **
   9  Prefactor     6.8509        18.923        .37598E-05   -.10013E-03
  10  Prefactor     5.0792        16.997       -.66005E-05    .34981E-03
  11  Prefactor     20.534        26.877       -.44174E-05   -.94210E-03
  12  norm          8.9317        3.0989        .58563E-07   -.33487E-03
  13  norm          4.5631        4.6682        .62774E-06   -.92579E-03
  14  Prefactor     .55511E-10    73.985       -.24723E-05** at limit **
  15  norm           .0000        1.4869        .72971E-06** at limit **
  16  norm          2.1265        1.4147       -.14162E-06    .16051E-02
  17  Prefactor      .0000        12.687        .10014E-05** at limit **
  18  Prefactor      .0000        2.0310        .29572E-09** at limit **
  19  Prefactor     202.01        146.44        .39999E-04    .11573E-03
  20  Normalizat    .41289        .31776       -.22560E-04    .47082E-04
  21  Prefactor     1.2285        .16326       -.25307E-05    .12111E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.48693
  Prefactor  = 5.17309
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 23.2985
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 6.85092
  Prefactor  = 5.07923
  Prefactor  = 20.5341
  norm       = 8.93169
  norm       = 4.56314
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.12653
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 202.005
  Normalizat = 0.412895
  Prefactor  = 1.22852
 **********
 **   18 **HESSE 
 **********

 FCN=   4939.996     FROM HESSE     STATUS=OK           363 CALLS     2047 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4869        13.262        .42918E-03   -1.5661    
   2  Prefactor     5.1731        6.9992        .44253E-03   -1.5662    
   3  Prefactor      .0000        8.3781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    23.497        .16458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.298        32.093        .21040E-03   -1.5611    
   6  Prefactor     .55511E-10    133.56        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.7762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.8509        19.039        .38348E-03   -1.5656    
  10  Prefactor     5.0792        17.270        .44164E-03   -1.5663    
  11  Prefactor     20.534        26.934        .22136E-03   -1.5617    
  12  norm          8.9317        3.1152        .33518E-03   -1.5648    
  13  norm          4.5631        4.6515        .47139E-03   -1.5665    
  14  Prefactor     .55511E-10    73.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.4713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.1265        1.4155        .70663E-03   -1.5679    
  17  Prefactor      .0000        12.685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.0354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     202.01        146.61        .70754E-04   -1.5424    
  20  Normalizat    .41289        .32793        .11698       -1.1664    
  21  Prefactor     1.2285        .16222        .33989E-01   -.85458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47537e-08
Minuit parameter uncertainties:
  1  13.2618
  2  6.99924
  3  2.50552e-05
  4  6.54687e-05
  5  32.0934
  6  0.000174094
  7  1.47682e-05
  8  1.01318e-05
  9  19.0396
  10  17.2702
  11  26.9341
  12  3.11516
  13  4.6515
  14  0.000129995
  15  7.88725e-06
  16  1.41546
  17  3.16227e-05
  18  1.30012e-06
  19  146.616
  20  0.329473
  21  0.162284
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  2.053e+01  2.693e+01  0.000e+00  1.000e+06 ( 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.229e+00  1.623e-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:  4.129e-01  3.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.92
Ra Dec: 16.291 39.496
Photon Flux Upper Limit: 1.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.25e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822797/likelihoodResults_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.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) = 4939.99618536
delta logL = 0.000102477471046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4939.99615415
delta logL = 0.000133688857204

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.739       1.0000          .0000       .10000E+07
     2 'Index     '    2.2891       1.0000          .0000       10.000    
     3 'Normalizat'    .41363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2284       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=   4939.996     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      247 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.751        30.614        .87861E-05   -.10296E-01
   2  Index         2.2896        .89759        .83268E-02   -.47935E-03
   3  Normalizat    .41351        .30057        .51813E-03    .72350E-03
   4  Prefactor     1.2283        .15828        .16421E-03    .23204E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.7511
  Index      = 2.28964
  Normalizat = 0.413505
  Prefactor  = 1.22833
 **********
 **   18 **HESSE 
 **********

 FCN=   4939.996     FROM HESSE     STATUS=OK            23 CALLS      270 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.751        29.828        .17572E-05   -1.5617    
   2  Index         2.2896        .87413        .33307E-03   -.57290    
   3  Normalizat    .41351        .30036        .20725E-04   -1.1661    
   4  Prefactor     1.2283        .15819        .32842E-04   -.85464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43404e-08
Minuit parameter uncertainties:
  1  29.8281
  2  0.880567
  3  0.30154
  4  0.158252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822797': 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) = 4939.99615306
delta logL = 0.00013477808443

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  2.075e+01  2.983e+01  0.000e+00  1.000e+06 ( 1.000e-13)
195        Index:  2.290e+00  8.806e-01  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.228e+00  1.583e-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:  4.135e-01  3.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.92
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/822797/cmap_HighResolution_690336001_690595201_4FGL_J0105.1+3929_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', job_status='DONE', photon_flux_upper_limit='1.62e-07', time_completed='2022-11-20 00:18:42.849180', job_id='822797', GAL2='1.23', fit_tolerance='1e-08', EG2='0.41', EG='0.41', time_epoch_completed='1668932322.85', return_code2='0', ts='0.92', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.35e-04', ts2='0.92', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1740' AND source_name='4FGL J0105.1+3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:18:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 822655: <4FGL_J0105.1+3929_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:03 2022
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:06:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:06:47 2022
Terminated at Sun Nov 20 00:17:09 2022
Results reported at Sun Nov 20 00:17:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1740 16.2913 39.4963 690336001 690595201 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 :                                   513.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             274.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   622 sec.
    Turnaround time :                            726 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 822797: <4FGL_J0105.1+3929_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:13 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:08:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:08:48 2022
Terminated at Sun Nov 20 00:18:43 2022
Results reported at Sun Nov 20 00:18:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1740 16.2913 39.4963 690336001 690595201 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 :                                   518.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            810 sec.

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

