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


Performing analysis on: 4FGL_J0107.4+0334_daily_bin1695
RA = 16.8508, Dec = 3.5691
tmin = 678672001, tmax = 678931201
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='720396', job_status='RUN', time_executed='2022-07-08 00:05:54.471287', time_epoch_executed='1657263954.47' WHERE source_name='4FGL J0107.4+0334' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/720396

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/720396/ft1_4FGL_J0107.4+0334_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/720396/ft1_4FGL_J0107.4+0334_daily_bin1695.fits outfile=/scratch/kocevski/720396/ft1_filteredMKT_4FGL_J0107.4+0334_daily_bin1695.fits ra=16.8508 dec=3.5691 rad=12.0 tmin=678672001.0 tmax=678931201.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 4.65
user 3.36
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.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/720396/ft1_filteredMKT_4FGL_J0107.4+0334_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/720396/ft1_filtered_4FGL_J0107.4+0334_daily_bin1695.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.39
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 716

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/720396/ft1_filtered_4FGL_J0107.4+0334_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/720396/ltcube_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.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/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.fits
.....................!
real 16.70
user 15.09
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/720396/ft1_filtered_4FGL_J0107.4+0334_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/720396/ltcube_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.fits outfile=/scratch/kocevski/720396/expmap_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.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/720396/ltcube_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.fits
.....................!
real 192.68
user 187.08
sys 3.79

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

Setting source of interest to:
4FGL J0107.4+0334 @ 16.8508 3.5691

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/720396/ft1_filtered_4FGL_J0107.4+0334_daily_bin1695.fits scfile=/scratch/kocevski/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.fits outfile=/scratch/kocevski/720396/cmap_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.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.8508 yref=3.5691 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.86
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/720396/ft1_filtered_4FGL_J0107.4+0334_daily_bin1695.fits scfile=/scratch/kocevski/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.fits outfile=/scratch/kocevski/720396/cmap_HighResolution_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.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.8508 yref=3.5691 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 1.20
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/720396/ft1_filtered_4FGL_J0107.4+0334_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/720396/Model_4FGL_J0107.4+0334_daily_bin1695.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/720396/ft1_filtered_4FGL_J0107.4+0334_daily_bin1695.fits.....................!
real 96.95
user 81.32
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/720396/ft1_filtered_4FGL_J0107.4+0334_daily_bin1695.fits', '/scratch/kocevski/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.fits', expMap='/scratch/kocevski/720396/expmap_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.fits', expCube='/scratch/kocevski/720396/ltcube_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/720396/Model_4FGL_J0107.4+0334_daily_bin1695.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0107.4+0334'

4FGL J0107.4+0334
   Spectrum: PowerLaw
253    Prefactor:  7.146e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
254        Index:  2.354e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  1.694e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/720396/ft1_filtered_4FGL_J0107.4+0334_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/720396/ft2_4FGL_J0107.4+0334_daily_bin1695.fits
Exposure map: /scratch/kocevski/720396/expmap_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.fits
Exposure cube: /scratch/kocevski/720396/ltcube_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/720396/Model_4FGL_J0107.4+0334_daily_bin1695.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) = 7557.32143561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2870       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3092       1.0000         .10000E-03   10000.    
     3 'norm      '    6.3871       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7816       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1152       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9944       1.0000         .10000E-03   10000.    
     8 'norm      '    .39214E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    96.378       1.0000         .10000E-03   10000.    
    10 'norm      '    8.6215       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.205       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.745       1.0000         .10000E-03   10000.    
    13 'norm      '    43.393       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.712       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.781       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4697       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1999       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .84537       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0143       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7557.317     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     2194 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2870        3.1724       -.70955E-07    .13586E-04
   2  Prefactor     1.3096        22.333        .19581E-04    .39517E-04
   3  norm          6.3861        10.923        .35034E-06   -.17640E-06
   4  Prefactor     .10000E-03    5.6712        .55482E-07** at limit **
   5  Prefactor     2.7815        2.7921       -.67552E-07    .12539E-04
   6  Prefactor     2.1151        2.0226        .11281E-06    .31966E-04
   7  Prefactor     1.9923        4.0833        .14563E-06   -.41146E-04
   8  norm          .10001E-03    5.6463        .49450E-06** at limit **
   9  Prefactor     96.368        47.592        .16432E-05    .27632E-04
  10  norm          8.6217        10.980        .13066E-06    .10124E-05
  11  Prefactor     20.212        38.651       -.11152E-05   -.99724E-06
  12  Prefactor     11.806        75.645       -.18267E-04   -.90597E-05
  13  norm          43.393        3.9638        .12413E-06   -.13642E-03
  14  Prefactor     35.695        44.134        .29276E-05   -.29304E-05
  15  Prefactor     17.779        12.949        .48734E-06   -.56169E-05
  16  Prefactor     .10000E-03    2.2986       -.19709E-06** at limit **
  17  Prefactor     .10000E-03    3.1287       -.46499E-07** at limit **
  18  Prefactor     4.4013        136.09        .29498E-04   -.30193E-04
  19  Prefactor     5.1999        4.5797        .67359E-07   -.26046E-04
  20  Normalizat    .84536        .20217       -.19760E-05   -.21709E-04
  21  Prefactor     1.0144        .15412       -.40413E-06   -.47302E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.28695
  Prefactor  = 1.30956
  norm       = 6.3861
  Prefactor  = 0.0001
  Prefactor  = 2.78151
  Prefactor  = 2.11514
  Prefactor  = 1.99225
  norm       = 0.000100005
  Prefactor  = 96.3676
  norm       = 8.6217
  Prefactor  = 20.2119
  Prefactor  = 11.8061
  norm       = 43.3928
  Prefactor  = 35.6948
  Prefactor  = 17.7792
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.40133
  Prefactor  = 5.19988
  Normalizat = 0.845357
  Prefactor  = 1.01436
 **********
 **   18 **HESSE 
 **********

 FCN=   7557.317     FROM HESSE     STATUS=OK           329 CALLS     2523 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2870        3.1612        .17662E-03   -1.5406    
   2  Prefactor     1.3096        22.384        .19273E-02   -1.5479    
   3  norm          6.3861        10.926        .15882E-03   -1.5202    
   4  Prefactor     .10000E-03    5.6798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.7815        2.8013        .14192E-03   -1.5374    
   6  Prefactor     2.1151        2.0122        .11688E-03   -1.5417    
   7  Prefactor     1.9923        3.9155        .21777E-03   -1.5426    
   8  norm          .10001E-03    17.530        .37483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     96.368        46.377        .40943E-04   -1.3741    
  10  norm          8.6217        10.985        .13652E-03   -1.5121    
  11  Prefactor     20.212        38.644        .89105E-04   -1.4809    
  12  Prefactor     11.806        75.674        .11689E-03   -1.5021    
  13  norm          43.393        3.9698        .48149E-04   -1.4390    
  14  Prefactor     35.695        44.127        .67062E-04   -1.4512    
  15  Prefactor     17.779        12.954        .94981E-04   -1.4864    
  16  Prefactor     .10000E-03    2.3037        .12868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.1394        .15017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.4013        136.30        .19045E-03   -1.5288    
  19  Prefactor     5.1999        4.5777        .16961E-03   -1.5252    
  20  Normalizat    .84536        .23186        .34060E-03   -.98408    
  21  Prefactor     1.0144        .17743        .24821E-03   -.92252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92685e-10
Minuit parameter uncertainties:
  1  3.16147
  2  10.8327
  3  10.929
  4  4.83372e-06
  5  2.80146
  6  2.01227
  7  3.91601
  8  0.000619256
  9  46.3949
  10  10.9872
  11  38.6918
  12  59.8909
  13  3.96977
  14  44.167
  15  12.9559
  16  1.1406e-05
  17  2.11572e-06
  18  49.1086
  19  4.57802
  20  0.232134
  21  0.177535
Done.

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

Extracting fit parameters...

4FGL J0107.4+0334
   Spectrum: PowerLaw
253    Prefactor:  1.181e+01  5.989e+01  1.000e-04  1.000e+04 ( 1.000e-14)
254        Index:  2.354e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  1.694e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  1.014e+00  1.775e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  8.454e-01  2.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 16.851 3.569
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/720396/likelihoodResults_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.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) = 7557.30732934
delta logL = 0.00970362492171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7557.30191869
delta logL = 0.015114280297

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.949       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9708       1.0000          .0000       10.000    
     3 'Normalizat'    .84689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+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=   7557.302     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      319 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.781        82.415        .89676E-04   -.10193E-03
   2  Index         1.9722        1.8081        .71640E-02   -.21707E-03
   3  Normalizat    .84688        .22080        .34033E-03   -.15630E-03
   4  Prefactor     1.0134        .17590        .24831E-03   -.16666E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.7806
  Index      = 1.97224
  Normalizat = 0.84688
  Prefactor  = 1.01335
 **********
 **   18 **HESSE 
 **********

 FCN=   7557.302     FROM HESSE     STATUS=OK            23 CALLS      342 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.781        80.791        .17935E-04   -1.4818    
   2  Index         1.9722        1.7916        .28656E-03   -.65046    
   3  Normalizat    .84688        .22099        .13613E-04   -.98353    
   4  Prefactor     1.0134        .17605        .99322E-05   -.92286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.77979e-09
Minuit parameter uncertainties:
  1  80.14
  2  1.85847
  3  0.221224
  4  0.176153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/720396': 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) = 7557.30191641
delta logL = 0.0151165603538

Extracting fit parameters...

4FGL J0107.4+0334
   Spectrum: PowerLaw
253    Prefactor:  1.978e+01  8.014e+01  1.000e-04  1.000e+04 ( 1.000e-14)
254        Index:  1.972e+00  1.858e+00  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  1.694e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  1.013e+00  1.762e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  8.469e-01  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 16.851 3.569

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/720396/cmap_HighResolution_678672001_678931201_4FGL_J0107.4+0334_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.33e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2022-07-08 00:18:18.786973', job_id='720396', GAL2='1.01', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1657264698.79', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.51e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1695' AND source_name='4FGL J0107.4+0334' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:18:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 720396: <4FGL_J0107.4+0334_daily_bin1695> in cluster <slac> Done

Job <4FGL_J0107.4+0334_daily_bin1695> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul  8 00:04:45 2022
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:04:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:04:46 2022
Terminated at Fri Jul  8 00:18:19 2022
Results reported at Fri Jul  8 00:18:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0107.4+0334_daily_bin1695 16.8508 3.5691 678672001 678931201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0107.4+0334 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   691.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            814 sec.

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

