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


Performing analysis on: 4FGL_J1631.2+1046_daily_bin1773
RA = 247.804, Dec = 10.7753
tmin = 698889601, tmax = 699148801
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='795457', job_status='RUN', time_executed='2023-02-27 10:01:03.195560', time_epoch_executed='1677520863.2' WHERE source_name='4FGL J1631.2+1046' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795457

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795457/ft1_4FGL_J1631.2+1046_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795457/ft1_4FGL_J1631.2+1046_daily_bin1773.fits outfile=/scratch/kocevski/795457/ft1_filteredMKT_4FGL_J1631.2+1046_daily_bin1773.fits ra=247.804 dec=10.7753 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.97
user 2.77
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.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/795457/ft1_filteredMKT_4FGL_J1631.2+1046_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/795457/ft1_filtered_4FGL_J1631.2+1046_daily_bin1773.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 1258

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795457/ft1_filtered_4FGL_J1631.2+1046_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/795457/ltcube_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.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/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.fits
.....................!
real 12.91
user 12.54
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795457/ft1_filtered_4FGL_J1631.2+1046_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/795457/ltcube_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.fits outfile=/scratch/kocevski/795457/expmap_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.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/795457/ltcube_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.fits
.....................!
real 190.59
user 184.68
sys 5.58

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 168 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 J1631.2+1046 @ 247.804 10.7753

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/795457/ft1_filtered_4FGL_J1631.2+1046_daily_bin1773.fits scfile=/scratch/kocevski/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.fits outfile=/scratch/kocevski/795457/cmap_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.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=247.804 yref=10.7753 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/795457/ft1_filtered_4FGL_J1631.2+1046_daily_bin1773.fits scfile=/scratch/kocevski/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.fits outfile=/scratch/kocevski/795457/cmap_HighResolution_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.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=247.804 yref=10.7753 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/795457/ft1_filtered_4FGL_J1631.2+1046_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795457/Model_4FGL_J1631.2+1046_daily_bin1773.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/795457/ft1_filtered_4FGL_J1631.2+1046_daily_bin1773.fits.....................!
real 100.73
user 99.31
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/795457/ft1_filtered_4FGL_J1631.2+1046_daily_bin1773.fits', '/scratch/kocevski/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.fits', expMap='/scratch/kocevski/795457/expmap_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.fits', expCube='/scratch/kocevski/795457/ltcube_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/795457/Model_4FGL_J1631.2+1046_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1631.2+1046'

4FGL J1631.2+1046
   Spectrum: PowerLaw
254    Prefactor:  8.500e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.463e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  8.952e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/795457/ft1_filtered_4FGL_J1631.2+1046_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/795457/ft2_4FGL_J1631.2+1046_daily_bin1773.fits
Exposure map: /scratch/kocevski/795457/expmap_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.fits
Exposure cube: /scratch/kocevski/795457/ltcube_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/795457/Model_4FGL_J1631.2+1046_daily_bin1773.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) = 13196.0834149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3551       1.0000          .0000       .10000E+07
     2 'norm      '    3.2776       1.0000          .0000       .10000E+07
     3 'Prefactor '    160.18       1.0000          .0000       .10000E+07
     4 'norm      '    10.034       1.0000          .0000       .10000E+07
     5 'norm      '    6.5283       1.0000          .0000       .10000E+07
     6 'norm      '    48.091       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1460       1.0000          .0000       .10000E+07
     8 'Prefactor '    .56736E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13126E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.100       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35955E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .24825E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.7717       1.0000          .0000       .10000E+07
    14 'Prefactor '    36.296       1.0000          .0000       .10000E+07
    15 'Prefactor '    18.604       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.9935       1.0000          .0000       .10000E+07
    17 'Prefactor '    11.729       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.3231       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .84557       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13196.05     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1168 TOTAL
                     EDM=   .64E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3547        1.4136       -.67468E-08    .93356E-04
   2  norm          3.2986        2.8807        .13570E-08   -.23099E-04
   3  Prefactor     156.71        65.632       -.11658E-06    .64896E-03
   4  norm          10.037        7.0926       -.15285E-07   -.77735E-04
   5  norm          6.5355        1.9291        .34686E-08   -.78471E-05
   6  norm          48.107        15.057       -.54578E-07   -.23416E-02
   7  Prefactor     2.9699        11.438        .72426E-06   -.22677E-03
   8  Prefactor     .11102E-09    36.068        .19142E-06** at limit **
   9  Prefactor      .0000        11.047        .10707E-07** at limit **
  10  Prefactor     11.043        7.4707       -.46508E-07   -.52447E-04
  11  Prefactor      .0000        2.3372        .28307E-08** at limit **
  12  Prefactor      .0000        3.4823        .93461E-08** at limit **
  13  Prefactor     1.7705        3.8637        .28692E-07   -.13850E-03
  14  Prefactor     36.228        2.3095        .62183E-09   -.19263E-01
  15  Prefactor     20.891        53.800       -.10852E-06    .23456E-03
  16  Prefactor     4.8263        5.6943        .43172E-07   -.25484E-03
  17  Prefactor     11.644        10.406        .37961E-07    .58121E-04
  18  Normalizat    1.3248        .23882       -.72115E-06   -.10392E-04
  19  Prefactor     .84524        .88179E-01    .30310E-06   -.25328E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35466
  norm       = 3.29863
  Prefactor  = 156.711
  norm       = 10.0368
  norm       = 6.53553
  norm       = 48.1073
  Prefactor  = 2.96988
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 11.0431
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.77054
  Prefactor  = 36.2277
  Prefactor  = 20.8906
  Prefactor  = 4.82625
  Prefactor  = 11.6442
  Normalizat = 1.32483
  Prefactor  = 0.845244
 **********
 **   18 **HESSE 
 **********

 FCN=   13196.05     FROM HESSE     STATUS=OK           314 CALLS     1482 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3547        1.4311        .93874E-03   -1.5685    
   2  norm          3.2986        2.8837        .55906E-03   -1.5672    
   3  Prefactor     156.71        65.626        .79019E-04   -1.5458    
   4  norm          10.037        7.1003        .31609E-03   -1.5645    
   5  norm          6.5355        1.9266        .39254E-03   -1.5657    
   6  norm          48.107        15.064        .14421E-03   -1.5569    
   7  Prefactor     2.9699        11.401        .57125E-03   -1.5673    
   8  Prefactor     .11102E-09    36.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        11.029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.043        7.4787        .30046E-03   -1.5642    
  11  Prefactor      .0000        2.3322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.4524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7705        3.8778        .78637E-03   -1.5681    
  14  Prefactor     36.228        26.733        .16601E-03   -1.5588    
  15  Prefactor     20.891        53.920        .23193E-03   -1.5617    
  16  Prefactor     4.8263        5.7401        .44979E-03   -1.5664    
  17  Prefactor     11.644        10.417        .29226E-03   -1.5640    
  18  Normalizat    1.3248        .19965        .82250E-01   -.82828    
  19  Prefactor     .84524        .72992E-01    .44307E-01   -.98082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76018e-06
Minuit parameter uncertainties:
  1  1.43111
  2  2.88367
  3  65.6262
  4  7.10027
  5  1.92663
  6  15.0644
  7  11.4013
  8  0.000129865
  9  3.85062e-06
  10  7.47867
  11  5.49173e-07
  12  1.47726e-06
  13  3.87784
  14  26.7333
  15  53.9212
  16  5.74015
  17  10.4167
  18  0.199764
  19  0.0730005
Done.

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

Extracting fit parameters...

4FGL J1631.2+1046
   Spectrum: PowerLaw
254    Prefactor:  0.000e+00  3.851e-06  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  2.463e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  8.952e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  8.452e-01  7.300e-02  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.325e+00  1.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 247.804 10.775
Photon Flux Upper Limit: 6.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/795457/likelihoodResults_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.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) = 13196.0551708
delta logL = -0.00337662340826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13196.0517997
delta logL = -5.49000469618e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13196.05     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      250 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.4393        .42118E-03** at limit **
   2  Index         1.4295        5.1625        .50000       -.27285E-10
   3  Normalizat    1.3248        .23028E-02    .82250E-01    .12731E-03
   4  Prefactor     .84524        .88486E-03    .44303E-01    .14637E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.42951
  Normalizat = 1.32483
  Prefactor  = 0.845244
 **********
 **   18 **HESSE 
 **********

 FCN=   13196.05     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      277 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    6.3588        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4295        5.3283        .51000       -.79533    
   3  Normalizat    1.3248        .48338E-02    .36412E-03   -.82828    
   4  Prefactor     .84524        .18601E-02    .16988E-03   -.98082    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.55382e-11
Minuit parameter uncertainties:
  1  3.55484e-05
  2  158551
  3  0.00483383
  4  0.00186011
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795457': 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) = 13196.0517942
delta logL = -1.09139364213e-11

Extracting fit parameters...

4FGL J1631.2+1046
   Spectrum: PowerLaw
254    Prefactor:  5.551e-11  3.555e-05  0.000e+00  1.000e+06 ( 1.000e-13)
255        Index:  1.430e+00  1.586e+05  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  8.952e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  8.452e-01  1.860e-03  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.325e+00  4.834e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 247.804 10.775

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/795457/cmap_HighResolution_698889601_699148801_4FGL_J1631.2+1046_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2023-02-27 10:13:35.632342', job_id='795457', GAL2='0.85', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1677521615.63', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-1.09e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1773' AND source_name='4FGL J1631.2+1046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:13:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 795457: <4FGL_J1631.2+1046_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1631.2+1046_daily_bin1773> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Feb 27 10:00:26 2023
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:00:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:00:27 2023
Terminated at Mon Feb 27 10:13:57 2023
Results reported at Mon Feb 27 10:13:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1631.2+1046_daily_bin1773 247.804 10.7753 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1631.2+1046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   754.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            811 sec.

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

