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


Performing analysis on: 4FGL_J1639.2+4129_daily_bin1749
RA = 249.824, Dec = 41.4964
tmin = 692668801, tmax = 692928001
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='956917', job_status='RUN', time_executed='2022-12-17 01:01:23.966932', time_epoch_executed='1671267683.97' WHERE source_name='4FGL J1639.2+4129' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/956917

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/956917/ft1_4FGL_J1639.2+4129_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/956917/ft1_4FGL_J1639.2+4129_daily_bin1749.fits outfile=/scratch/kocevski/956917/ft1_filteredMKT_4FGL_J1639.2+4129_daily_bin1749.fits ra=249.824 dec=41.4964 rad=12.0 tmin=692668801.0 tmax=692928001.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.65
user 3.43
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.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/956917/ft1_filteredMKT_4FGL_J1639.2+4129_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/956917/ft1_filtered_4FGL_J1639.2+4129_daily_bin1749.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.33
sys 0.15

Number of photons that the gtmktime cut: 658

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/956917/ft1_filtered_4FGL_J1639.2+4129_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/956917/ltcube_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.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/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.fits
.....................!
real 12.02
user 11.64
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/956917/ft1_filtered_4FGL_J1639.2+4129_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/956917/ltcube_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.fits outfile=/scratch/kocevski/956917/expmap_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.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/956917/ltcube_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.fits
.....................!
real 190.25
user 185.17
sys 4.75

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

Setting source of interest to:
4FGL J1639.2+4129 @ 249.824 41.4964

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/956917/ft1_filtered_4FGL_J1639.2+4129_daily_bin1749.fits scfile=/scratch/kocevski/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.fits outfile=/scratch/kocevski/956917/cmap_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.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=249.824 yref=41.4964 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/956917/ft1_filtered_4FGL_J1639.2+4129_daily_bin1749.fits scfile=/scratch/kocevski/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.fits outfile=/scratch/kocevski/956917/cmap_HighResolution_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.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=249.824 yref=41.4964 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/956917/ft1_filtered_4FGL_J1639.2+4129_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/956917/Model_4FGL_J1639.2+4129_daily_bin1749.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/956917/ft1_filtered_4FGL_J1639.2+4129_daily_bin1749.fits.....................!
real 53.11
user 51.76
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/956917/ft1_filtered_4FGL_J1639.2+4129_daily_bin1749.fits', '/scratch/kocevski/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.fits', expMap='/scratch/kocevski/956917/expmap_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.fits', expCube='/scratch/kocevski/956917/ltcube_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/956917/Model_4FGL_J1639.2+4129_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1639.2+4129'

4FGL J1639.2+4129
   Spectrum: LogParabola
324         norm:  9.401e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
325        alpha:  2.192e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  2.518e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  8.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/956917/ft1_filtered_4FGL_J1639.2+4129_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/956917/ft2_4FGL_J1639.2+4129_daily_bin1749.fits
Exposure map: /scratch/kocevski/956917/expmap_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.fits
Exposure cube: /scratch/kocevski/956917/ltcube_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/956917/Model_4FGL_J1639.2+4129_daily_bin1749.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) = 6955.95189337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87159E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .17202E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7350       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45093E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.4387       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.2112       1.0000          .0000       .10000E+07
     7 'Prefactor '    .39096E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .20983E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .70292       1.0000          .0000       .10000E+07
    10 'norm      '    .17966E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    25.015       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13598E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .40740       1.0000          .0000       .10000E+07
    14 'Prefactor '    .43571E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.1375       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.7316       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.1271       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.183       1.0000          .0000       .10000E+07
    19 'norm      '    4.1904       1.0000          .0000       .10000E+07
    20 'norm      '    .13992E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .24879E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .29249E-06   1.0000          .0000       .10000E+07
    23 'norm      '    2.2866       1.0000          .0000       .10000E+07
    24 'norm      '    13.179       1.0000          .0000       .10000E+07
    25 'norm      '    10.511       1.0000          .0000       .10000E+07
    26 'Prefactor '    .35022E-03   1.0000          .0000       .10000E+07
    27 'Normalizat'    .90556       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91428       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6955.821     FROM MIGRAD    STATUS=CONVERGED    206 CALLS     2057 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    5.9290       -.21089E-06** at limit **
   2  Prefactor     .23476E-06    92.520       -.17945E-05** at limit **
   3  Prefactor     1.7354        3.4955       -.78438E-07    .18174E-03
   4  Prefactor      .0000        4.7887        .10975E-06** at limit **
   5  Prefactor     4.4740        16.740        .26708E-06    .23582E-01
   6  Prefactor     5.2433        6.5023       -.20335E-06   -.40041E-03
   7  Prefactor      .0000        1.2848       -.12959E-06** at limit **
   8  norm          .60507E-08    7.7676       -.39018E-06** at limit **
   9  norm          .70186        .16514       -.83053E-08   -.45257E-03
  10  norm          .22760E-08    5.5593       -.20308E-06** at limit **
  11  Prefactor     25.415        7.8565        .22491E-07   -.12583    
  12  Prefactor      .0000        1.2421       -.54600E-07** at limit **
  13  norm          .10808E-06    111.05       -.18520E-05** at limit **
  14  Prefactor      .0000        .49737        .22946E-07** at limit **
  15  Prefactor     1.1395        .92200       -.18608E-07   -.55139E-04
  16  Prefactor     5.7335        3.4433       -.45795E-08   -.12300E-03
  17  Prefactor     4.1325        2.7704        .52353E-08   -.66598E-04
  18  Prefactor     11.149        9.4008       -.20120E-06   -.57477E-02
  19  norm          4.1906        1.8923        .98563E-08   -.24223E-03
  20  norm           .0000        1.8736       -.22019E-07** at limit **
  21  Prefactor     .33976E-05    18.511       -.44616E-06** at limit **
  22  norm           .0000        .32876       -.26373E-08** at limit **
  23  norm          2.3228        7.0936        .19034E-06   -.13108E-03
  24  norm          13.180        2.7768        .11280E-07    .11449E-03
  25  norm          10.502        5.9357       -.59545E-07   -.33741E-04
  26  Prefactor     .14601E-05    27.528       -.43797E-06** at limit **
  27  Normalizat    .90506        .22845       -.10400E-05    .49474E-05
  28  Prefactor     .91432        .18818        .23505E-05    .22652E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 2.34757e-07
  Prefactor  = 1.73545
  Prefactor  = 0
  Prefactor  = 4.47396
  Prefactor  = 5.24333
  Prefactor  = 0
  norm       = 6.05072e-09
  norm       = 0.701857
  norm       = 2.27596e-09
  Prefactor  = 25.4145
  Prefactor  = 0
  norm       = 1.0808e-07
  Prefactor  = 0
  Prefactor  = 1.1395
  Prefactor  = 5.73351
  Prefactor  = 4.13249
  Prefactor  = 11.1489
  norm       = 4.19061
  norm       = 0
  Prefactor  = 3.39762e-06
  norm       = 0
  norm       = 2.32284
  norm       = 13.1797
  norm       = 10.5022
  Prefactor  = 1.46011e-06
  Normalizat = 0.905056
  Prefactor  = 0.914322
 **********
 **   18 **HESSE 
 **********

 FCN=   6955.821     FROM HESSE     STATUS=OK           583 CALLS     2640 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    5.9230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .23476E-06    93.447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7354        3.5237        .79647E-03   -1.5682    
   4  Prefactor      .0000        4.7531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4740        18.568        .47773E-03   -1.5666    
   6  Prefactor     5.2433        6.4963        .44011E-03   -1.5662    
   7  Prefactor      .0000        1.2837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .60507E-08    7.8144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .70186        .17038        .34853E-03   -1.5691    
  10  norm          .22760E-08    5.5627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.415        16.737        .19998E-03   -1.5607    
  12  Prefactor      .0000        1.2405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10808E-06    113.44        .88634E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .49470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1395        .94847        .10912E-02   -1.5687    
  16  Prefactor     5.7335        3.4757        .41931E-03   -1.5660    
  17  Prefactor     4.1325        2.7796        .49595E-03   -1.5667    
  18  Prefactor     11.149        9.4068        .29934E-03   -1.5641    
  19  norm          4.1906        1.8980        .49208E-03   -1.5667    
  20  norm           .0000        .39819        .28218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .33976E-05    50.983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .32611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.3228        7.1035        .67861E-03   -1.5677    
  24  norm          13.180        2.7778        .27567E-03   -1.5635    
  25  norm          10.502        5.9547        .30879E-03   -1.5643    
  26  Prefactor     .14601E-05    40.513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .90506        .19312        .44973E-01   -.96283    
  28  Prefactor     .91432        .15823        .45187E-01   -.95642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.12108e-07
Minuit parameter uncertainties:
  1  3.54853e-05
  2  0.00936781
  3  3.52371
  4  5.89042e-06
  5  18.2289
  6  6.49626
  7  2.97912e-06
  8  0.000435524
  9  0.170377
  10  0.000224075
  11  16.7374
  12  3.48988e-06
  13  0.0070037
  14  1.50404e-07
  15  0.948467
  16  3.4757
  17  2.77965
  18  9.40682
  19  1.89797
  20  1.75328e-06
  21  0.0263228
  22  9.61643e-08
  23  7.10354
  24  2.77778
  25  5.95466
  26  0.0153824
  27  0.193264
  28  0.158311
Done.

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

Extracting fit parameters...

4FGL J1639.2+4129
   Spectrum: LogParabola
324         norm:  1.081e-07  7.004e-03  0.000e+00  1.000e+06 ( 1.000e-13)
325        alpha:  2.192e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  2.518e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  8.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  9.143e-01  1.583e-01  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  9.051e-01  1.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 249.824 41.496
Photon Flux Upper Limit: 5.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/956917/likelihoodResults_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6955.82197266
delta logL = -0.000850287057801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6955.82112252
delta logL = -1.46646016219e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43432E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    3.1587       1.0000          .0000       5.0000    
     3 'Normalizat'    .90494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91441       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6955.821     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      277 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25757E-07    73.914        .42118E-03** at limit **
   2  alpha         2.2094        2.9702        .43120       -.25838E-09
   3  Normalizat    .90505        .34112E-02    .44965E-01   -.65383E-04
   4  Prefactor     .91432        .29912E-02    .45188E-01    .64839E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.57572e-08
  alpha      = 2.20939
  Normalizat = 0.905054
  Prefactor  = 0.914323
 **********
 **   18 **HESSE 
 **********

 FCN=   6955.821     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      306 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25757E-07    284.98        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2094        2.9742        .50000       -.11651    
   3  Normalizat    .90505        .66907E-02    .27391E-03   -.96283    
   4  Prefactor     .91432        .58674E-02    .23776E-03   -.95642    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.75744e-10
Minuit parameter uncertainties:
  1  0.00541849
  2  61484.4
  3  0.00669073
  4  0.00586738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/956917': 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) = 6955.82112237
delta logL = 3.16504156217e-10

Extracting fit parameters...

4FGL J1639.2+4129
   Spectrum: LogParabola
324         norm:  2.576e-08  5.418e-03  0.000e+00  1.000e+06 ( 1.000e-13)
325        alpha:  2.209e+00  6.148e+04  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  2.518e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  8.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  9.143e-01  5.867e-03  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  9.051e-01  6.691e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 249.824 41.496

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/956917/cmap_HighResolution_692668801_692928001_4FGL_J1639.2+4129_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-05', job_status='DONE', photon_flux_upper_limit='5.17e-08', time_completed='2022-12-17 01:14:49.093605', job_id='956917', GAL2='0.91', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1671268489.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.17e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1749' AND source_name='4FGL J1639.2+4129' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:14:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 956917: <4FGL_J1639.2+4129_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1639.2+4129_daily_bin1749> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Dec 17 01:00:27 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:00:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:00:29 2022
Terminated at Sat Dec 17 01:14:49 2022
Results reported at Sat Dec 17 01:14:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1639.2+4129_daily_bin1749 249.824 41.4964 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1639.2+4129 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   807.04 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             315.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

