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


Performing analysis on: 4FGL_J1648.2+4232_daily_bin1769
RA = 252.072, Dec = 42.5498
tmin = 697852801, tmax = 698112001
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='439764', job_status='RUN', time_executed='2023-02-15 01:06:32.610591', time_epoch_executed='1676451992.61' WHERE source_name='4FGL J1648.2+4232' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/439764

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/439764/ft1_4FGL_J1648.2+4232_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/439764/ft1_4FGL_J1648.2+4232_daily_bin1769.fits outfile=/scratch/kocevski/439764/ft1_filteredMKT_4FGL_J1648.2+4232_daily_bin1769.fits ra=252.072 dec=42.5498 rad=12.0 tmin=697852801.0 tmax=698112001.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.52
user 3.33
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.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/439764/ft1_filteredMKT_4FGL_J1648.2+4232_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/439764/ft1_filtered_4FGL_J1648.2+4232_daily_bin1769.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.42
user 0.27
sys 0.14

Number of photons that the gtmktime cut: 670

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/439764/ft1_filtered_4FGL_J1648.2+4232_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/439764/ltcube_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.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/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.fits
.....................!
real 9.62
user 9.34
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/439764/ft1_filtered_4FGL_J1648.2+4232_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/439764/ltcube_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.fits outfile=/scratch/kocevski/439764/expmap_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.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/439764/ltcube_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.fits
.....................!
real 150.13
user 145.45
sys 4.42

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

Setting source of interest to:
4FGL J1648.2+4232 @ 252.072 42.5498

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/439764/ft1_filtered_4FGL_J1648.2+4232_daily_bin1769.fits scfile=/scratch/kocevski/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.fits outfile=/scratch/kocevski/439764/cmap_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.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=252.072 yref=42.5498 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.47
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/439764/ft1_filtered_4FGL_J1648.2+4232_daily_bin1769.fits scfile=/scratch/kocevski/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.fits outfile=/scratch/kocevski/439764/cmap_HighResolution_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.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=252.072 yref=42.5498 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.48
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/439764/ft1_filtered_4FGL_J1648.2+4232_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/439764/Model_4FGL_J1648.2+4232_daily_bin1769.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/439764/ft1_filtered_4FGL_J1648.2+4232_daily_bin1769.fits.....................!
real 44.63
user 43.65
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/439764/ft1_filtered_4FGL_J1648.2+4232_daily_bin1769.fits', '/scratch/kocevski/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.fits', expMap='/scratch/kocevski/439764/expmap_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.fits', expCube='/scratch/kocevski/439764/ltcube_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/439764/Model_4FGL_J1648.2+4232_daily_bin1769.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.2+4232'

4FGL J1648.2+4232
   Spectrum: PowerLaw
355    Prefactor:  1.067e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
356        Index:  2.425e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  8.460e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/439764/ft1_filtered_4FGL_J1648.2+4232_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/439764/ft2_4FGL_J1648.2+4232_daily_bin1769.fits
Exposure map: /scratch/kocevski/439764/expmap_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.fits
Exposure cube: /scratch/kocevski/439764/ltcube_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/439764/Model_4FGL_J1648.2+4232_daily_bin1769.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) = 7129.79107677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14436       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7147       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58194E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    37.854       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65365E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .50115E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .78973E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .36024       1.0000          .0000       .10000E+07
     9 'norm      '    .14467       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.6043       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0822       1.0000          .0000       .10000E+07
    12 'norm      '    .11129E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .14986E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.1858       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6865       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13763E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.6470       1.0000          .0000       .10000E+07
    18 'norm      '    7.0574       1.0000          .0000       .10000E+07
    19 'norm      '    .10901E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .14543E-01   1.0000          .0000       .10000E+07
    21 'norm      '    .37748E-08   1.0000          .0000       .10000E+07
    22 'norm      '    12.934       1.0000          .0000       .10000E+07
    23 'norm      '    7.0447       1.0000          .0000       .10000E+07
    24 'Prefactor '    .14605E-03   1.0000          .0000       .10000E+07
    25 'norm      '    9.0271       1.0000          .0000       .10000E+07
    26 'Prefactor '    2.7632       1.0000          .0000       .10000E+07
    27 'norm      '    7.1764       1.0000          .0000       .10000E+07
    28 'Prefactor '    .23581E-01   1.0000          .0000       .10000E+07
    29 'Prefactor '    16.316       1.0000          .0000       .10000E+07
    30 'Normalizat'    .87664       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0355       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7129.787     FROM MIGRAD    STATUS=CONVERGED    230 CALLS     3194 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    36.246        .43755E-06** at limit **
   2  Prefactor     1.7161        1.9686       -.16974E-06    .60814E-03
   3  Prefactor     .27756E-09    4.3225        .46757E-06** at limit **
   4  Prefactor     37.979        25.903       -.21707E-05    .18421E-01
   5  Prefactor     .21338E-06    95.666        .56116E-05** at limit **
   6  Prefactor      .0000        .70153        .91909E-08** at limit **
   7  norm          .15316E-06    10.770       -.19320E-06** at limit **
   8  norm          .36067        .14185       -.10732E-08    .24953E-02
   9  norm          .54956E-08    45.823        .16030E-06** at limit **
  10  Prefactor     3.4878        10.047       -.54075E-06   -.13148E-01
  11  Prefactor     4.0717        4.3221        .11883E-06   -.44623E-03
  12  norm          .28094E-06    5.5111       -.75759E-06** at limit **
  13  Prefactor      .0000        1.8362        .68898E-07** at limit **
  14  Prefactor     1.1860        .84405       -.19589E-07    .11203E-02
  15  Prefactor     1.6891        3.5770       -.10973E-06   -.12715E-03
  16  Prefactor      .0000        1.2811       -.72748E-07** at limit **
  17  Prefactor     2.6466        6.5653       -.79366E-07    .33991E-03
  18  norm          7.0567        2.2069        .27105E-07   -.67554E-04
  19  norm           .0000        .75584       -.34814E-07** at limit **
  20  Prefactor     .24347E-06    11.768       -.40627E-06** at limit **
  21  norm           .0000        .20021        .10061E-07** at limit **
  22  norm          12.922        8.2854       -.29656E-06   -.22469E-02
  23  norm          7.0418        2.0423       -.14527E-07   -.59753E-04
  24  Prefactor     .26840E-06    19.034       -.20389E-05** at limit **
  25  norm          8.8978        8.2190        .19203E-06   -.12200E-02
  26  Prefactor     5.1878        435.41        .49552E-05    .59471E-03
  27  norm          7.1806        5.9301        .90863E-06   -.14835E-03
  28  Prefactor      .0000        22.290        .19521E-06** at limit **
  29  Prefactor     16.271        3.1938        .13870E-06    .96181E-01
  30  Normalizat    .87706        .24083        .33610E-05   -.13705E-03
  31  Prefactor     1.0353        .19495       -.17869E-05   -.15107E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 1.71608
  Prefactor  = 2.77556e-10
  Prefactor  = 37.9791
  Prefactor  = 2.13385e-07
  Prefactor  = 0
  norm       = 1.53155e-07
  norm       = 0.360666
  norm       = 5.4956e-09
  Prefactor  = 3.48778
  Prefactor  = 4.07167
  norm       = 2.80942e-07
  Prefactor  = 0
  Prefactor  = 1.18603
  Prefactor  = 1.6891
  Prefactor  = 0
  Prefactor  = 2.64656
  norm       = 7.05672
  norm       = 0
  Prefactor  = 2.43472e-07
  norm       = 0
  norm       = 12.9219
  norm       = 7.0418
  Prefactor  = 2.68396e-07
  norm       = 8.89783
  Prefactor  = 5.18781
  norm       = 7.18057
  Prefactor  = 0
  Prefactor  = 16.2711
  Normalizat = 0.877063
  Prefactor  = 1.03525
 **********
 **   18 **HESSE 
 **********

 FCN=   7129.787     FROM HESSE     STATUS=OK           712 CALLS     3906 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    36.150        .12864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7161        1.9796        .80225E-03   -1.5682    
   3  Prefactor     .27756E-09    4.3323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.979        26.496        .16255E-03   -1.5585    
   5  Prefactor     .21338E-06    2.7123        .96905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .70350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15316E-06    13.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .36067        .15683        .41018E-03   -1.5696    
   9  norm          .54956E-08    8.4306        .12857E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.4878        30.230        .53198E-03   -1.5671    
  11  Prefactor     4.0717        4.3669        .49875E-03   -1.5668    
  12  norm          .28094E-06    12.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .62758        .29030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.1860        1.0259        .10474E-02   -1.5730    
  15  Prefactor     1.6891        3.6331        .81050E-03   -1.5682    
  16  Prefactor      .0000        1.2752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.6466        6.6064        .62636E-03   -1.5675    
  18  norm          7.0567        2.2096        .37738E-03   -1.5655    
  19  norm           .0000        .73348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .24347E-06    14.637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        .19918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          12.922        8.2939        .27826E-03   -1.5636    
  23  norm          7.0418        2.0481        .37772E-03   -1.5655    
  24  Prefactor     .26840E-06    2.5780        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          8.8978        8.6008        .33335E-03   -1.5648    
  26  Prefactor     5.1878        476.57        .61204E-03   -1.5662    
  27  norm          7.1806        6.0372        .37420E-03   -1.5654    
  28  Prefactor      .0000        22.235        .16812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     16.271        12.650        .24768E-03   -1.5627    
  30  Normalizat    .87706        .20056        .65149E-01   -.97271    
  31  Prefactor     1.0353        .16071        .40848E-01   -.91563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88959e-07
Minuit parameter uncertainties:
  1  0.000244776
  2  1.97965
  3  6.8111e-05
  4  26.4956
  5  0.00152151
  6  1.73782e-06
  7  0.00290473
  8  0.156829
  9  0.000431307
  10  20.5364
  11  4.36691
  12  0.00378562
  13  2.85545e-07
  14  1.02585
  15  3.63306
  16  3.36562e-06
  17  6.6064
  18  2.20956
  19  4.33077e-07
  20  0.00377546
  21  5.02353e-07
  22  8.29395
  23  2.04814
  24  0.00166361
  25  8.60085
  26  99.4535
  27  6.0372
  28  4.48225e-05
  29  12.6498
  30  0.200726
  31  0.160788
Done.

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

Extracting fit parameters...

4FGL J1648.2+4232
   Spectrum: PowerLaw
355    Prefactor:  0.000e+00  3.366e-06  0.000e+00  1.000e+06 ( 1.000e-12)
356        Index:  2.425e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  8.460e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  1.035e+00  1.608e-01  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
686   Normalization:  8.771e-01  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 252.072 42.550
Photon Flux Upper Limit: 5.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/439764/likelihoodResults_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.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) = 7129.78927021
delta logL = -0.0018025746549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7129.7874681
delta logL = -4.64209733764e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7129.787     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      232 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35215        .18682E-02** at limit **
   2  Index         3.3330        1.3028        .10493E-04     .0000    
   3  Normalizat    .87706        1.2134       -.33502E-05   -.80858E-04
   4  Prefactor     1.0353        1.2103        .17983E-05   -.87109E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.33301
  Normalizat = 0.877063
  Prefactor  = 1.03525
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7129.787     FROM HESSE     STATUS=FAILED         9 CALLS      241 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35215        .18682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2439        2.1540        .10493E-04   -.33991    
   3  Normalizat    .87706        1.2134       -.33502E-05   -.97271    
   4  Prefactor     1.0353        1.2103        .17983E-05   -.91563    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.96313e-11
Minuit parameter uncertainties:
  1  4.61028e-06
  2  1.31994
  3  1.25456
  4  1.24466
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/439764': 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): 101
logL (Free Index) = 7129.78746764
delta logL = 7.27595761418e-12

Extracting fit parameters...

4FGL J1648.2+4232
   Spectrum: PowerLaw
355    Prefactor:  0.000e+00  4.610e-06  0.000e+00  1.000e+06 ( 1.000e-12)
356        Index:  3.333e+00  1.320e+00  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  8.460e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  1.035e+00  1.245e+00  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
686   Normalization:  8.771e-01  1.255e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 252.072 42.550

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/439764/cmap_HighResolution_697852801_698112001_4FGL_J1648.2+4232_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.38e-08', time_completed='2023-02-15 01:19:18.368590', job_id='439764', GAL2='1.04', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1676452758.37', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1769' AND source_name='4FGL J1648.2+4232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:19:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 439764: <4FGL_J1648.2+4232_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1648.2+4232_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 01:05:39 2023
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:05:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:05:41 2023
Terminated at Wed Feb 15 01:19:19 2023
Results reported at Wed Feb 15 01:19:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1648.2+4232_daily_bin1769 252.072 42.5498 697852801 698112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1648.2+4232 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   766.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            820 sec.

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

