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


Performing analysis on: 4FGL_J2149.7+1917_daily_bin1777
RA = 327.444, Dec = 19.2859
tmin = 699926401, tmax = 700185601
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='924430', job_status='RUN', time_executed='2023-03-11 01:21:07.180751', time_epoch_executed='1678526467.18' WHERE source_name='4FGL J2149.7+1917' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/924430

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/924430/ft1_4FGL_J2149.7+1917_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/924430/ft1_4FGL_J2149.7+1917_daily_bin1777.fits outfile=/scratch/kocevski/924430/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin1777.fits ra=327.444 dec=19.2859 rad=12.0 tmin=699926401.0 tmax=700185601.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.68
user 3.47
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.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/924430/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/924430/ft1_filtered_4FGL_J2149.7+1917_daily_bin1777.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.33
sys 0.15

Number of photons that the gtmktime cut: 842

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/924430/ft1_filtered_4FGL_J2149.7+1917_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/924430/ltcube_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.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/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.fits
.....................!
real 12.07
user 11.71
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/924430/ft1_filtered_4FGL_J2149.7+1917_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/924430/ltcube_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.fits outfile=/scratch/kocevski/924430/expmap_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.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/924430/ltcube_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.fits
.....................!
real 190.23
user 186.08
sys 3.85

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 Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 161 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 J2149.7+1917 @ 327.444 19.2859

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/924430/ft1_filtered_4FGL_J2149.7+1917_daily_bin1777.fits scfile=/scratch/kocevski/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.fits outfile=/scratch/kocevski/924430/cmap_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.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=327.444 yref=19.2859 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/924430/ft1_filtered_4FGL_J2149.7+1917_daily_bin1777.fits scfile=/scratch/kocevski/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.fits outfile=/scratch/kocevski/924430/cmap_HighResolution_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.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=327.444 yref=19.2859 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/924430/ft1_filtered_4FGL_J2149.7+1917_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/924430/Model_4FGL_J2149.7+1917_daily_bin1777.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/924430/ft1_filtered_4FGL_J2149.7+1917_daily_bin1777.fits.....................!
real 128.88
user 127.50
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/924430/ft1_filtered_4FGL_J2149.7+1917_daily_bin1777.fits', '/scratch/kocevski/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.fits', expMap='/scratch/kocevski/924430/expmap_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.fits', expCube='/scratch/kocevski/924430/ltcube_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/924430/Model_4FGL_J2149.7+1917_daily_bin1777.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2149.7+1917'

4FGL J2149.7+1917
   Spectrum: PowerLaw
277    Prefactor:  7.294e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.521e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  8.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/924430/ft1_filtered_4FGL_J2149.7+1917_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/924430/ft2_4FGL_J2149.7+1917_daily_bin1777.fits
Exposure map: /scratch/kocevski/924430/expmap_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.fits
Exposure cube: /scratch/kocevski/924430/ltcube_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/924430/Model_4FGL_J2149.7+1917_daily_bin1777.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) = 9267.76305927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.071       1.0000          .0000       .10000E+07
     2 'Prefactor '    .73340E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25034       1.0000          .0000       .10000E+07
     4 'Prefactor '    23.228       1.0000          .0000       .10000E+07
     5 'norm      '    6.9861       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    65.422       1.0000          .0000       .10000E+07
     8 'norm      '    .75773E-07   1.0000          .0000       .10000E+07
     9 'norm      '    .83655E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .84932E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12522E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .11226       1.0000          .0000       .10000E+07
    13 'Prefactor '    20.297       1.0000          .0000       .10000E+07
    14 'norm      '    .36637E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    .34104E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .78859E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    .75633       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98703       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9267.754     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1670 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.096        5.2125       -.16122E-07    .19075    
   2  Prefactor     .10936E-07    65.032        .18863E-05** at limit **
   3  Prefactor     .26165        104.63        .23568E-06    .76432E-02
   4  Prefactor     23.229        2.2299        .92292E-08    .22652E-01
   5  norm          6.9863        4.2288        .26186E-06   -.31439E-02
   6  Prefactor     .55511E-10    4.2613        .38629E-06** at limit **
   7  Prefactor     65.384        1.0255        .99782E-10   -.87690E-02
   8  norm          .55511E-10    2.3490        .67012E-06** at limit **
   9  norm          .11102E-09    4.7042        .92078E-06** at limit **
  10  Prefactor     .69944E-08    25.994       -.36205E-06** at limit **
  11  Prefactor     .80935E-07    457.88        .60729E-05** at limit **
  12  norm          .11515        2.2871        .87362E-06** at limit **
  13  Prefactor     20.301        16.343       -.46741E-06    .52597E-02
  14  norm          .55511E-10    1.4252        .15464E-06** at limit **
  15  Prefactor      .0000        4.6461       -.13353E-07** at limit **
  16  Prefactor      .0000        6.7538        .52404E-06** at limit **
  17  Normalizat    .75619        .24507       -.25277E-04    .86006E-05
  18  Prefactor     .98706        .10657        .41278E-05   -.18532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.0962
  Prefactor  = 1.09357e-08
  Prefactor  = 0.261654
  Prefactor  = 23.2285
  norm       = 6.98629
  Prefactor  = 5.55112e-11
  Prefactor  = 65.3835
  norm       = 5.55112e-11
  norm       = 1.11022e-10
  Prefactor  = 6.99441e-09
  Prefactor  = 8.09353e-08
  norm       = 0.115152
  Prefactor  = 20.3008
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.756193
  Prefactor  = 0.987057
 **********
 **   18 **HESSE 
 **********

 FCN=   9267.754     FROM HESSE     STATUS=OK           288 CALLS     1958 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.096        28.236        .15605E-03   -1.5580    
   2  Prefactor     .10936E-07    65.639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .26165        6.3183        .10941E-01   -1.5698    
   4  Prefactor     23.229        24.934        .20754E-03   -1.5612    
   5  norm          6.9863        4.2736        .37932E-03   -1.5655    
   6  Prefactor     .55511E-10    4.2504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     65.384        62.992        .12364E-03   -1.5546    
   8  norm          .55511E-10    2.3111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11102E-09    4.5600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .69944E-08    26.239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .80935E-07    456.13        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11515        .48405        .35693E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.301        16.446        .22203E-03   -1.5618    
  14  norm          .55511E-10    1.4293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        4.6526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        6.7677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .75619        .21244        .92546E-01   -1.0171    
  18  Prefactor     .98706        .90795E-01    .46105E-01   -.93162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08699e-07
Minuit parameter uncertainties:
  1  28.2365
  2  0.00169385
  3  2.57155
  4  24.9345
  5  4.27355
  6  3.21488e-05
  7  62.9922
  8  2.60825e-05
  9  4.37399e-05
  10  0.000856441
  11  0.0121515
  12  0.472181
  13  16.4457
  14  1.79837e-05
  15  6.84216e-06
  16  1.28102e-05
  17  0.212676
  18  0.0908094
Done.

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

Extracting fit parameters...

4FGL J2149.7+1917
   Spectrum: PowerLaw
277    Prefactor:  6.994e-09  8.564e-04  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.521e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  8.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.871e-01  9.081e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  7.562e-01  2.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 327.444 19.286
Photon Flux Upper Limit: 9.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/924430/likelihoodResults_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.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) = 9267.77228265
delta logL = -0.0185691349379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9267.7537222
delta logL = -8.68807364895e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15471E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.6095       1.0000          .0000       10.000    
     3 'Normalizat'    .75523       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98738       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9267.754     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      233 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26534E-07    1.4139        .42118E-03** at limit **
   2  Index         2.5483        5.1700        .50000        .22737E-08
   3  Normalizat    .75620        .12042E-02    .92546E-01    .74969E-03
   4  Prefactor     .98706        .53377E-03    .46109E-01    .11479E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.65343e-08
  Index      = 2.54831
  Normalizat = 0.756199
  Prefactor  = 0.987056
 **********
 **   18 **HESSE 
 **********

 FCN=   9267.754     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      264 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26534E-07    7.3042        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5483        5.3647        .50000       -.51248    
   3  Normalizat    .75620        .27276E-02    .40999E-03   -1.0171    
   4  Prefactor     .98706        .12123E-02    .16002E-03   -.93162    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.15978e-10
Minuit parameter uncertainties:
  1  0.000880342
  2  4872.94
  3  0.00272759
  4  0.00121228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/924430': 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) = 9267.75371351
delta logL = -9.73159330897e-10

Extracting fit parameters...

4FGL J2149.7+1917
   Spectrum: PowerLaw
277    Prefactor:  2.653e-08  8.803e-04  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.548e+00  4.873e+03  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  8.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.871e-01  1.212e-03  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  7.562e-01  2.728e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 327.444 19.286

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/924430/cmap_HighResolution_699926401_700185601_4FGL_J2149.7+1917_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.39e-03', job_status='DONE', photon_flux_upper_limit='9.49e-08', time_completed='2023-03-11 01:32:33.804882', job_id='924430', GAL2='0.99', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1678527153.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='-9.73e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1777' AND source_name='4FGL J2149.7+1917' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:32:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 924430: <4FGL_J2149.7+1917_daily_bin1777> in cluster <slac> Done

Job <4FGL_J2149.7+1917_daily_bin1777> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Mar 11 01:20:26 2023
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 01:20:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 01:20:28 2023
Terminated at Sat Mar 11 01:32:34 2023
Results reported at Sat Mar 11 01:32:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2149.7+1917_daily_bin1777 327.444 19.2859 699926401 700185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2149.7+1917 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   689.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             365.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            728 sec.

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

