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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin1747
RA = 251.232, Dec = 26.3465
tmin = 692150401, tmax = 692409601
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='807589', job_status='RUN', time_executed='2022-12-11 01:19:12.813683', time_epoch_executed='1670750352.81' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807589

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807589/ft1_4FGL_J1644.9+2620_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807589/ft1_4FGL_J1644.9+2620_daily_bin1747.fits outfile=/scratch/kocevski/807589/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin1747.fits ra=251.232 dec=26.3465 rad=12.0 tmin=692150401.0 tmax=692409601.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 4.00
user 3.79
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.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/807589/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/807589/ft1_filtered_4FGL_J1644.9+2620_daily_bin1747.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 642

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807589/ft1_filtered_4FGL_J1644.9+2620_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/807589/ltcube_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.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/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.fits
.....................!
real 11.89
user 11.48
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807589/ft1_filtered_4FGL_J1644.9+2620_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/807589/ltcube_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.fits outfile=/scratch/kocevski/807589/expmap_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.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/807589/ltcube_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.fits
.....................!
real 191.14
user 185.35
sys 5.47

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

Setting source of interest to:
4FGL J1644.9+2620 @ 251.232 26.3465

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/807589/ft1_filtered_4FGL_J1644.9+2620_daily_bin1747.fits scfile=/scratch/kocevski/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.fits outfile=/scratch/kocevski/807589/cmap_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.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=251.232 yref=26.3465 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807589/ft1_filtered_4FGL_J1644.9+2620_daily_bin1747.fits scfile=/scratch/kocevski/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.fits outfile=/scratch/kocevski/807589/cmap_HighResolution_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.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=251.232 yref=26.3465 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/807589/ft1_filtered_4FGL_J1644.9+2620_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/807589/Model_4FGL_J1644.9+2620_daily_bin1747.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/807589/ft1_filtered_4FGL_J1644.9+2620_daily_bin1747.fits.....................!
real 54.64
user 53.29
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/807589/ft1_filtered_4FGL_J1644.9+2620_daily_bin1747.fits', '/scratch/kocevski/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.fits', expMap='/scratch/kocevski/807589/expmap_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.fits', expCube='/scratch/kocevski/807589/ltcube_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/807589/Model_4FGL_J1644.9+2620_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1644.9+2620'

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  4.478e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  4.233e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/807589/ft1_filtered_4FGL_J1644.9+2620_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/807589/ft2_4FGL_J1644.9+2620_daily_bin1747.fits
Exposure map: /scratch/kocevski/807589/expmap_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.fits
Exposure cube: /scratch/kocevski/807589/ltcube_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/807589/Model_4FGL_J1644.9+2620_daily_bin1747.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) = 6934.75460921

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12779E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6210       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7137       1.0000          .0000       .10000E+07
     4 'norm      '    .48691       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12996E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.311       1.0000          .0000       .10000E+07
     7 'Prefactor '    .26116E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.890       1.0000          .0000       .10000E+07
     9 'Prefactor '    .89175E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.1109       1.0000          .0000       .10000E+07
    11 'norm      '    7.3715       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0938       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .78442       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6934.754     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      823 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    6.1060        .20736E-06** at limit **
   2  Prefactor     2.6212        3.0775       -.68069E-07   -.69108E-03
   3  Prefactor     1.6999        1.6377        .53283E-07   -.27883E-01
   4  norm          .48714        .19575       -.28098E-07    .65143E-02
   5  Prefactor     .11102E-08    8.9913       -.38953E-06** at limit **
   6  Prefactor     13.295        1.8995        .14959E-07   -.68518E-01
   7  Prefactor     .55511E-10    3.0882       -.15722E-06** at limit **
   8  Prefactor     22.946        31.473        .61710E-08   -.52266E-02
   9  Prefactor     .16653E-09    28.951       -.64141E-06** at limit **
  10  Prefactor     2.0872        9.7214        .13883E-06    .61323E-02
  11  norm          7.3770        4.4266        .12347E-07   -.18402E-02
  12  Normalizat    1.0939        .22428       -.43977E-05    .10834E-05
  13  Prefactor     .78446        .12334        .35399E-05   -.26860E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 2.62121
  Prefactor  = 1.69985
  norm       = 0.487138
  Prefactor  = 1.11022e-09
  Prefactor  = 13.295
  Prefactor  = 5.55112e-11
  Prefactor  = 22.9459
  Prefactor  = 1.66533e-10
  Prefactor  = 2.08724
  norm       = 7.37696
  Normalizat = 1.09385
  Prefactor  = 0.784456
 **********
 **   18 **HESSE 
 **********

 FCN=   6934.754     FROM HESSE     STATUS=OK           173 CALLS      996 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    6.0931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6212        3.0720        .62971E-03   -1.5676    
   3  Prefactor     1.6999        23.191        .80252E-03   -1.5682    
   4  norm          .48714        .19711        .50874E-03   -1.5694    
   5  Prefactor     .11102E-08    8.9997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.295        12.915        .27428E-03   -1.5635    
   7  Prefactor     .55511E-10    3.0804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.946        31.720        .20907E-03   -1.5612    
   9  Prefactor     .16653E-09    28.725        .14230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0872        9.7830        .70978E-03   -1.5679    
  11  norm          7.3770        4.4254        .36917E-03   -1.5654    
  12  Normalizat    1.0939        .18932        .62628E-01   -.89949    
  13  Prefactor     .78446        .10237        .43514E-01   -1.0030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28618e-07
Minuit parameter uncertainties:
  1  6.62103e-05
  2  3.07199
  3  12.5574
  4  0.197114
  5  0.000198582
  6  12.9148
  7  2.46731e-05
  8  31.7205
  9  0.000138881
  10  9.03762
  11  4.42543
  12  0.189434
  13  0.102392
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.329e+01  1.291e+01  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  4.233e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  7.845e-01  1.024e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  1.094e+00  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.61
Ra Dec: 251.232 26.346
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 4.15e-08 +/- 4.03e-08
Energy Flux (Fixed Index): 9.38e-06 +/- 9.11e-06

TS (Fixed Index): 1.61
Ra Dec: 251.232 26.346
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/807589/likelihoodResults_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.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) = 6934.75249894
delta logL = 0.00150759697681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6934.75226428
delta logL = 0.00174226115905

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6934.752     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      263 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.045        13.840        .11084E-04   -.15122E-01
   2  Index         2.8423        .96725        .12762E-01   -.34396E-03
   3  Normalizat    1.0921        .22069        .27721E-03    .36985E-03
   4  Prefactor     .78511        .12094        .17753E-03    .73803E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0447
  Index      = 2.84229
  Normalizat = 1.0921
  Prefactor  = 0.78511
 **********
 **   18 **HESSE 
 **********

 FCN=   6934.752     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.045        13.488        .22168E-05   -1.5636    
   2  Index         2.8423        .94253        .51048E-03   -.44620    
   3  Normalizat    1.0921        .22086        .55442E-04   -.90006    
   4  Prefactor     .78511        .12101        .35505E-04   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20383e-09
Minuit parameter uncertainties:
  1  13.4877
  2  0.949525
  3  0.221043
  4  0.121047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807589': 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): 0
logL (Free Index) = 6934.75226387
delta logL = 0.00174267062266

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.304e+01  1.349e+01  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.842e+00  9.495e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  4.233e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  7.851e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  1.092e+00  2.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 251.232 26.346
Photon Index (Free Index): 2.84 +/- 0.95
Photon Flux (Free Index): 4.28e-08 +/- 4.62e-08
Energy Flux (Free Index): 9.33e-06 +/- 9.06e-06

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/807589/cmap_HighResolution_692150401_692409601_4FGL_J1644.9+2620_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.15e-08', energy_flux2='9.33e-06', photon_flux_error='4.03e-08', dlogl='1.74e-03', energy_flux='9.38e-06', photon_flux2='4.28e-08', job_status='DONE', time_completed='2022-12-11 01:27:43.650046', photon_index_error2='0.95', photon_index2='2.84', ts='1.61', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='9.06e-06', EG='1.09', time_epoch_completed='1670750863.65', return_code='0', job_id='807589', GAL2='0.79', EG2='1.09', return_code2='0', energy_flux_error='9.11e-06', photon_flux_error2='4.62e-08', ts2='1.61', photon_index='2.79' WHERE bin_id='1747' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:27:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 807589: <4FGL_J1644.9+2620_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin1747> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sun Dec 11 01:15:17 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:15:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:15:18 2022
Terminated at Sun Dec 11 01:27:44 2022
Results reported at Sun Dec 11 01:27:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin1747 251.232 26.3465 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1644.9+2620 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   513.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            747 sec.

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

