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


Performing analysis on: 4FGL_J0107.4+0334_daily_bin1750
RA = 16.8508, Dec = 3.5691
tmin = 692928001, tmax = 693187201
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='996982', job_status='RUN', time_executed='2022-12-20 00:05:15.226009', time_epoch_executed='1671523515.23' WHERE source_name='4FGL J0107.4+0334' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996982

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996982/ft1_4FGL_J0107.4+0334_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996982/ft2_4FGL_J0107.4+0334_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996982/ft1_4FGL_J0107.4+0334_daily_bin1750.fits outfile=/scratch/kocevski/996982/ft1_filteredMKT_4FGL_J0107.4+0334_daily_bin1750.fits ra=16.8508 dec=3.5691 rad=12.0 tmin=692928001.0 tmax=693187201.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.69
user 3.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/996982/ft2_4FGL_J0107.4+0334_daily_bin1750.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/996982/ft1_filteredMKT_4FGL_J0107.4+0334_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/996982/ft1_filtered_4FGL_J0107.4+0334_daily_bin1750.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.32
sys 0.16

Number of photons that the gtmktime cut: 714

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996982/ft1_filtered_4FGL_J0107.4+0334_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/996982/ft2_4FGL_J0107.4+0334_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/996982/ltcube_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.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/996982/ft2_4FGL_J0107.4+0334_daily_bin1750.fits
.....................!
real 11.35
user 10.96
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996982/ft1_filtered_4FGL_J0107.4+0334_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/996982/ft2_4FGL_J0107.4+0334_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/996982/ltcube_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.fits outfile=/scratch/kocevski/996982/expmap_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.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/996982/ltcube_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.fits
.....................!
real 192.03
user 186.73
sys 4.48

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/996982/ft1_filtered_4FGL_J0107.4+0334_daily_bin1750.fits scfile=/scratch/kocevski/996982/ft2_4FGL_J0107.4+0334_daily_bin1750.fits outfile=/scratch/kocevski/996982/cmap_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996982/ft1_filtered_4FGL_J0107.4+0334_daily_bin1750.fits scfile=/scratch/kocevski/996982/ft2_4FGL_J0107.4+0334_daily_bin1750.fits outfile=/scratch/kocevski/996982/cmap_HighResolution_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.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 0.56
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/996982/ft1_filtered_4FGL_J0107.4+0334_daily_bin1750.fits', '/scratch/kocevski/996982/ft2_4FGL_J0107.4+0334_daily_bin1750.fits', expMap='/scratch/kocevski/996982/expmap_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.fits', expCube='/scratch/kocevski/996982/ltcube_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/996982/Model_4FGL_J0107.4+0334_daily_bin1750.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  0.000e+00  1.000e+06 ( 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/996982/ft1_filtered_4FGL_J0107.4+0334_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/996982/ft2_4FGL_J0107.4+0334_daily_bin1750.fits
Exposure map: /scratch/kocevski/996982/expmap_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.fits
Exposure cube: /scratch/kocevski/996982/ltcube_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/996982/Model_4FGL_J0107.4+0334_daily_bin1750.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) = 7781.94943095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.637       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15986E-01   1.0000          .0000       .10000E+07
     3 'norm      '    4.5024       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.955       1.0000          .0000       .10000E+07
     5 'Prefactor '    .87064E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .58917       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1305       1.0000          .0000       .10000E+07
     8 'norm      '    .17220E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    34.837       1.0000          .0000       .10000E+07
    10 'norm      '    15.250       1.0000          .0000       .10000E+07
    11 'Prefactor '    89.820       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1367       1.0000          .0000       .10000E+07
    13 'norm      '    42.126       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.5543       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28475E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.120       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10337E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .12342E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .97097       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0604       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7781.949     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1619 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.633        5.8646        .30264E-06   -.31146E-03
   2  Prefactor      .0000        27.793        .17131E-05** at limit **
   3  norm          4.4787        7.2337        .79333E-06   -.95817E-04
   4  Prefactor     10.925        20.103        .65981E-05    .33556E-02
   5  Prefactor      .0000        2.0865        .68391E-07** at limit **
   6  Prefactor     .59304        2.4047       -.78915E-06    .76755E-03
   7  Prefactor     3.1250        3.4356       -.98214E-07    .12912E-03
   8  norm           .0000        3.9815        .42069E-06** at limit **
   9  Prefactor     35.054        29.576       -.44007E-06   -.34748E-02
  10  norm          15.239        6.9983        .30959E-06    .33850E-01
  11  Prefactor     90.426        63.523        .27311E-05    .32857E-01
  12  Prefactor     3.9430        30.196       -.61841E-05    .21414E-01
  13  norm          42.151        4.0552        .14274E-06   -.21676E-02
  14  Prefactor     5.5553        11.433       -.99288E-06   -.12727E-01
  15  Prefactor     .11102E-09    28.691       -.23772E-05** at limit **
  16  Prefactor     10.135        8.6274       -.23861E-06   -.57420E-03
  17  Prefactor      .0000        14.722        .35396E-06** at limit **
  18  Prefactor      .0000        3.7250       -.70713E-07** at limit **
  19  Normalizat    .97121        .24156        .19225E-04    .12169E-04
  20  Prefactor     1.0601        .18696       -.22683E-04    .83606E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6333
  Prefactor  = 0
  norm       = 4.47867
  Prefactor  = 10.9251
  Prefactor  = 0
  Prefactor  = 0.593041
  Prefactor  = 3.12496
  norm       = 0
  Prefactor  = 35.0542
  norm       = 15.2389
  Prefactor  = 90.4259
  Prefactor  = 3.94297
  norm       = 42.1508
  Prefactor  = 5.55528
  Prefactor  = 1.11022e-10
  Prefactor  = 10.135
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.971213
  Prefactor  = 1.06009
 **********
 **   18 **HESSE 
 **********

 FCN=   7781.949     FROM HESSE     STATUS=OK           353 CALLS     1972 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.633        5.9007        .29342E-03   -1.5640    
   2  Prefactor      .0000        7.5050        .74727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.4787        7.2448        .47425E-03   -1.5666    
   4  Prefactor     10.925        20.270        .30245E-03   -1.5642    
   5  Prefactor      .0000        2.0862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .59304        2.4142        .70203E-03   -1.5693    
   7  Prefactor     3.1250        3.4512        .57274E-03   -1.5673    
   8  norm           .0000        3.9695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.054        29.649        .16945E-03   -1.5590    
  10  norm          15.239        13.045        .25621E-03   -1.5630    
  11  Prefactor     90.426        65.757        .10552E-03   -1.5518    
  12  Prefactor     3.9430        489.53        .49536E-03   -1.5668    
  13  norm          42.151        4.3072        .15409E-03   -1.5578    
  14  Prefactor     5.5553        13.223        .42606E-03   -1.5661    
  15  Prefactor     .11102E-09    4.2321        .11372E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.135        8.6361        .31473E-03   -1.5644    
  17  Prefactor      .0000        14.730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        3.7106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .97121        .20921        .78316E-01   -.94001    
  20  Prefactor     1.0601        .15886        .58746E-01   -.90752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0102e-06
Minuit parameter uncertainties:
  1  5.90072
  2  5.84897e-06
  3  7.24481
  4  20.2703
  5  3.01614e-08
  6  2.39311
  7  3.45116
  8  6.33802e-06
  9  29.6496
  10  13.0446
  11  65.7573
  12  87.8751
  13  4.30722
  14  13.2233
  15  3.92354e-05
  16  8.63616
  17  5.93725e-06
  18  1.0736e-06
  19  0.209385
  20  0.158931
Done.

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

Extracting fit parameters...

4FGL J0107.4+0334
   Spectrum: PowerLaw
253    Prefactor:  3.943e+00  8.788e+01  0.000e+00  1.000e+06 ( 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.060e+00  1.589e-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:  9.712e-01  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 16.851 3.569
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/996982/likelihoodResults_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.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) = 7781.94890917
delta logL = 1.31248089019e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7781.9489082
delta logL = 2.28513181355e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9429       1.0000          .0000       .10000E+07
     2 'Index     '    2.3511       1.0000          .0000       10.000    
     3 'Normalizat'    .97126       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0601       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=   7781.949     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      246 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9187        508.55        .20311E-04    .10075E-04
   2  Index         2.3427        3.2477        .10844E-01    .19580E-04
   3  Normalizat    .97125        .23505        .34662E-03   -.10532E-02
   4  Prefactor     1.0601        .18365        .25977E-03   -.12139E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.91875
  Index      = 2.34266
  Normalizat = 0.971247
  Prefactor  = 1.06008
 **********
 **   18 **HESSE 
 **********

 FCN=   7781.949     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9187        471.03        .81244E-06   -1.5668    
   2  Index         2.3427        3.1551        .43376E-03   -.56033    
   3  Normalizat    .97125        .23529        .69324E-04   -.94000    
   4  Prefactor     1.0601        .18379        .51953E-04   -.90753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13643e-09
Minuit parameter uncertainties:
  1  85.9335
  2  3.55965
  3  0.235538
  4  0.183899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996982': 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) = 7781.94890509
delta logL = 5.39155098522e-06

Extracting fit parameters...

4FGL J0107.4+0334
   Spectrum: PowerLaw
253    Prefactor:  3.919e+00  8.593e+01  0.000e+00  1.000e+06 ( 1.000e-14)
254        Index:  2.343e+00  3.560e+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.060e+00  1.839e-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:  9.712e-01  2.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/996982/cmap_HighResolution_692928001_693187201_4FGL_J0107.4+0334_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2022-12-20 00:16:21.312335', job_id='996982', GAL2='1.06', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1671524181.31', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='5.39e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1750' AND source_name='4FGL J0107.4+0334' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:16:21 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 996982: <4FGL_J0107.4+0334_daily_bin1750> in cluster <slac> Done

Job <4FGL_J0107.4+0334_daily_bin1750> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Dec 20 00:04:49 2022
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:04:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:04:51 2022
Terminated at Tue Dec 20 00:16:21 2022
Results reported at Tue Dec 20 00:16:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0107.4+0334_daily_bin1750 16.8508 3.5691 692928001 693187201 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 :                                   634.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            692 sec.

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

