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


Performing analysis on: 4FGL_J1627.7+0251_daily_bin1764
RA = 246.942, Dec = 2.8584
tmin = 696556801, tmax = 696816001
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='457986', job_status='RUN', time_executed='2023-01-31 01:31:19.551960', time_epoch_executed='1675157479.55' WHERE source_name='4FGL J1627.7+0251' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/457986

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/457986/ft1_4FGL_J1627.7+0251_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/457986/ft1_4FGL_J1627.7+0251_daily_bin1764.fits outfile=/scratch/kocevski/457986/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin1764.fits ra=246.942 dec=2.8584 rad=12.0 tmin=696556801.0 tmax=696816001.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.73
user 3.48
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.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/457986/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/457986/ft1_filtered_4FGL_J1627.7+0251_daily_bin1764.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 1005

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/457986/ft1_filtered_4FGL_J1627.7+0251_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/457986/ltcube_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.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/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.fits
.....................!
real 14.48
user 13.89
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/457986/ft1_filtered_4FGL_J1627.7+0251_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/457986/ltcube_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.fits outfile=/scratch/kocevski/457986/expmap_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.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/457986/ltcube_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.fits
.....................!
real 194.20
user 187.06
sys 4.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
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 164 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1627.7+0251 @ 246.942 2.8584

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/457986/ft1_filtered_4FGL_J1627.7+0251_daily_bin1764.fits scfile=/scratch/kocevski/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.fits outfile=/scratch/kocevski/457986/cmap_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.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=246.942 yref=2.8584 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.61
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/457986/ft1_filtered_4FGL_J1627.7+0251_daily_bin1764.fits scfile=/scratch/kocevski/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.fits outfile=/scratch/kocevski/457986/cmap_HighResolution_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.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=246.942 yref=2.8584 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/457986/ft1_filtered_4FGL_J1627.7+0251_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/457986/Model_4FGL_J1627.7+0251_daily_bin1764.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/457986/ft1_filtered_4FGL_J1627.7+0251_daily_bin1764.fits.....................!
real 93.15
user 90.69
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/457986/ft1_filtered_4FGL_J1627.7+0251_daily_bin1764.fits', '/scratch/kocevski/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.fits', expMap='/scratch/kocevski/457986/expmap_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.fits', expCube='/scratch/kocevski/457986/ltcube_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/457986/Model_4FGL_J1627.7+0251_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/457986/ft1_filtered_4FGL_J1627.7+0251_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/457986/ft2_4FGL_J1627.7+0251_daily_bin1764.fits
Exposure map: /scratch/kocevski/457986/expmap_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.fits
Exposure cube: /scratch/kocevski/457986/ltcube_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/457986/Model_4FGL_J1627.7+0251_daily_bin1764.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 10946.009351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 10944.4780398

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.311       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15719E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .63283E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    119.48       1.0000          .0000       .10000E+07
     5 'norm      '    7.6761       1.0000          .0000       .10000E+07
     6 'norm      '    65.033       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0585       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .60097E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .38736E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    14.095       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5057       1.0000          .0000       .10000E+07
    13 'Prefactor '    .97206E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.0019       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15153       1.0000          .0000       .10000E+07
    16 'Prefactor '    16.671       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.6737       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .85410       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=   10944.42     FROM MIGRAD    STATUS=CONVERGED    184 CALLS      903 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.842        33.004        .32441E-06   -.15571E-03
   2  Prefactor      .0000        1.5783        .73278E-07** at limit **
   3  norm           .0000        1.9554        .16062E-06** at limit **
   4  Prefactor     118.83        77.042       -.22534E-06    .98651E-01
   5  norm          7.6785        2.5471        .87011E-08   -.72951E-03
   6  norm          65.336        22.565        .61507E-06   -.10281E-02
   7  Prefactor     .72164E-08    212.45        .84642E-06** at limit **
   8  Prefactor     11.765        30.429        .12178E-07   -.10071E-02
   9  Prefactor     .44409E-09    12.793        .77076E-06** at limit **
  10  Prefactor     .27756E-09    8.5420        .78789E-06** at limit **
  11  Prefactor     15.079        21.874        .71560E-06   -.77124E-02
  12  Prefactor     .33168        659.83       -.17241E-05   -.12875E-01
  13  Prefactor      .0000        5.0045        .20519E-07** at limit **
  14  Prefactor     5.0408        6.7597        .13534E-06    .10236E-03
  15  Prefactor     .13878E-08    84.862        .29520E-05** at limit **
  16  Prefactor     72.700        176.59       -.42301E-06   -.52991E-02
  17  Normalizat    1.6756        .31318       -.10002E-04    .11256E-04
  18  Prefactor     .85121        .85735E-01    .15846E-05   -.65378E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.8418
  Prefactor  = 0
  norm       = 0
  Prefactor  = 118.829
  norm       = 7.67846
  norm       = 65.3362
  Prefactor  = 7.21645e-09
  Prefactor  = 11.7652
  Prefactor  = 4.44089e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 15.0787
  Prefactor  = 0.331678
  Prefactor  = 0
  Prefactor  = 5.04081
  Prefactor  = 1.38778e-09
  Prefactor  = 72.7001
  Normalizat = 1.67556
  Prefactor  = 0.851207
 **********
 **   18 **HESSE 
 **********

 FCN=   10944.42     FROM HESSE     STATUS=OK           290 CALLS     1193 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.842        33.005        .13210E-03   -1.5556    
   2  Prefactor      .0000        1.5892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.9684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     118.83        95.866        .91491E-04   -1.5490    
   5  norm          7.6785        2.5600        .36171E-03   -1.5653    
   6  norm          65.336        22.538        .12401E-03   -1.5546    
   7  Prefactor     .72164E-08    210.18        .11929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.765        30.539        .29532E-03   -1.5639    
   9  Prefactor     .44409E-09    12.820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27756E-09    8.5891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.079        22.531        .26653E-03   -1.5630    
  12  Prefactor     .33168        62.894        .12239E-01   -1.5719    
  13  Prefactor      .0000        5.0013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.0408        6.7972        .44941E-03   -1.5663    
  15  Prefactor     .13878E-08    4.8709        .12711E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     72.700        176.75        .24503E-03   -1.5537    
  17  Normalizat    1.6756        .26598        .97371E-01   -.72958    
  18  Prefactor     .85121        .72248E-01    .44417E-01   -.97867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.07107e-07
Minuit parameter uncertainties:
  1  33.0055
  2  3.68291e-06
  3  3.98228e-06
  4  95.8673
  5  2.56003
  6  22.5381
  7  0.00246322
  8  30.5395
  9  0.00014821
  10  9.82841e-05
  11  22.531
  12  9.13474
  13  9.84385e-06
  14  6.7972
  15  0.000163754
  16  176.761
  17  0.266212
  18  0.0722563
Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.216e-09  2.463e-03  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.512e-01  7.226e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.676e+00  2.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/457986/likelihoodResults_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.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) = 10944.4193622
delta logL = -0.0023116053726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10944.4170518
delta logL = -1.26178019855e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13822E-07   1.0000          .0000       .10000E+07
     2 'Index     '    2.0350       1.0000          .0000       10.000    
     3 'Normalizat'    1.6754       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85119       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10944.42     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      261 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23315E-08    1.8854        .42118E-03** at limit **
   2  Index         1.8476        5.3118        .50000       -.45475E-10
   3  Normalizat    1.6756        .53309E-03    .97371E-01    .43206E-04
   4  Prefactor     .85121        .14975E-03    .44380E-01    .31007E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.33147e-09
  Index      = 1.84759
  Normalizat = 1.67555
  Prefactor  = 0.851208
 **********
 **   18 **HESSE 
 **********

 FCN=   10944.42     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      292 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23315E-08    9.4533        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8476        8.0809        .50000       -.68217    
   3  Normalizat    1.6756        .11901E-02    .43128E-03   -.72958    
   4  Prefactor     .85121        .33495E-03    .16165E-03   -.97867    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.71529e-13
Minuit parameter uncertainties:
  1  0.000296303
  2  5798.52
  3  0.00119014
  4  0.000334947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/457986': 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) = 10944.4170506
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  2.331e-09  2.963e-04  0.000e+00  1.000e+06 ( 1.000e-14)
272        Index:  1.848e+00  5.799e+03  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.512e-01  3.349e-04  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
551   Normalization:  1.676e+00  1.190e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 246.942 2.858

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/457986/cmap_HighResolution_696556801_696816001_4FGL_J1627.7+0251_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.02e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2023-01-31 01:42:25.586496', job_id='457986', GAL2='0.85', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1675158145.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-9.09e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1764' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:42:25 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 457986: <4FGL_J1627.7+0251_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1627.7+0251_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 01:30:21 2023
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:30:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:30:45 2023
Terminated at Tue Jan 31 01:42:26 2023
Results reported at Tue Jan 31 01:42:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1627.7+0251_daily_bin1764 246.942 2.8584 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1627.7+0251 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   661.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            725 sec.

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

