/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 182 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 7482
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1644.9+2620_daily_bin350
RA = 251.232, Dec = 26.3465
tmin = 330048001, tmax = 330307201
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='880591', job_status='RUN', time_executed='2021-09-15 09:05:56.019512', time_epoch_executed='1631721956.02' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/880591

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/880591/ft1_4FGL_J1644.9+2620_daily_bin350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/880591/ft2_4FGL_J1644.9+2620_daily_bin350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/880591/ft1_4FGL_J1644.9+2620_daily_bin350.fits outfile=/scratch/kocevski/880591/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin350.fits ra=251.232 dec=26.3465 rad=12.0 tmin=330048001.0 tmax=330307201.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.49
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/880591/ft2_4FGL_J1644.9+2620_daily_bin350.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/880591/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin350.fits evtable="EVENTS" outfile="/scratch/kocevski/880591/ft1_filtered_4FGL_J1644.9+2620_daily_bin350.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/880591/ft1_filtered_4FGL_J1644.9+2620_daily_bin350.fits" evtable="EVENTS" scfile=/scratch/kocevski/880591/ft2_4FGL_J1644.9+2620_daily_bin350.fits sctable="SC_DATA" outfile=/scratch/kocevski/880591/ltcube_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.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/880591/ft2_4FGL_J1644.9+2620_daily_bin350.fits
.....................!
real 13.53
user 13.06
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/880591/ft1_filtered_4FGL_J1644.9+2620_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/880591/ft2_4FGL_J1644.9+2620_daily_bin350.fits sctable="SC_DATA" expcube=/scratch/kocevski/880591/ltcube_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.fits outfile=/scratch/kocevski/880591/expmap_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.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/880591/ltcube_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.fits
.....................!
real 190.93
user 185.86
sys 4.66

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/880591/ft1_filtered_4FGL_J1644.9+2620_daily_bin350.fits scfile=/scratch/kocevski/880591/ft2_4FGL_J1644.9+2620_daily_bin350.fits outfile=/scratch/kocevski/880591/cmap_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/880591/ft1_filtered_4FGL_J1644.9+2620_daily_bin350.fits scfile=/scratch/kocevski/880591/ft2_4FGL_J1644.9+2620_daily_bin350.fits outfile=/scratch/kocevski/880591/cmap_HighResolution_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.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.56
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/880591/ft1_filtered_4FGL_J1644.9+2620_daily_bin350.fits', '/scratch/kocevski/880591/ft2_4FGL_J1644.9+2620_daily_bin350.fits', expMap='/scratch/kocevski/880591/expmap_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.fits', expCube='/scratch/kocevski/880591/ltcube_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/880591/Model_4FGL_J1644.9+2620_daily_bin350.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  1.000e-04  1.000e+04 ( 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/880591/ft1_filtered_4FGL_J1644.9+2620_daily_bin350.fits
Spacecraft file(s): /scratch/kocevski/880591/ft2_4FGL_J1644.9+2620_daily_bin350.fits
Exposure map: /scratch/kocevski/880591/expmap_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.fits
Exposure cube: /scratch/kocevski/880591/ltcube_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/880591/Model_4FGL_J1644.9+2620_daily_bin350.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) = 7460.45513113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2566       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .99872       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8770       1.0000         .10000E-03   10000.    
     4 'norm      '    2.2721       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.226       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.287       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3543       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10400E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.0041       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .90057       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.

 FCN=   7460.439     FROM MIGRAD    STATUS=CONVERGED    228 CALLS     1082 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2581        10.895        .11858E-05   -.16512E-03
   2  Prefactor     .99839        1.9460       -.92325E-07   -.53969E-03
   3  Prefactor     4.8780        8.7735       -.15357E-05   -.15361E-03
   4  norm          2.2726        .41641        .20247E-06   -.25745E-02
   5  Prefactor     15.197        25.632       -.11101E-04    .35607E-04
   6  Prefactor     22.277        17.815        .35687E-05   -.12585E-04
   7  Prefactor     6.3542        6.9209       -.10221E-05   -.25631E-03
   8  Prefactor     .10000E-03    29.405        .15485E-06** at limit **
   9  Prefactor     .10000E-03    102.08        .37518E-05** at limit **
  10  Prefactor     .10000E-03    15.692        .20676E-06** at limit **
  11  norm          .10000E-03    1.1597       -.73937E-07** at limit **
  12  Normalizat    1.0041        .20535        .63928E-06   -.13246E-04
  13  Prefactor     .90050        .10614       -.16144E-06    .57245E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.25811
  Prefactor  = 0.998394
  Prefactor  = 4.878
  norm       = 2.27265
  Prefactor  = 15.1967
  Prefactor  = 22.2769
  Prefactor  = 6.35419
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.00409
  Prefactor  = 0.900503
 **********
 **   18 **HESSE 
 **********

 FCN=   7460.439     FROM HESSE     STATUS=OK           147 CALLS     1229 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2581        10.832        .22442E-03   -1.5347    
   2  Prefactor     .99839        1.4829        .16338E-02   -1.5508    
   3  Prefactor     4.8780        8.8129        .18214E-03   -1.5266    
   4  norm          2.2726        .41929        .20575E-04   -1.5406    
   5  Prefactor     15.197        25.657        .10265E-03   -1.4928    
   6  Prefactor     22.277        17.858        .84846E-04   -1.4764    
   7  Prefactor     6.3542        6.9595        .15923E-03   -1.5204    
   8  Prefactor     .10000E-03    29.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    102.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.1672        .90831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0041        .24528        .32312E-03   -.92894    
  13  Prefactor     .90050        .12727        .18126E-03   -.96124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20799e-10
Minuit parameter uncertainties:
  1  10.8384
  2  1.483
  3  8.81522
  4  0.419289
  5  25.6753
  6  17.8624
  7  6.96041
  8  2.49408e-05
  9  0.000246177
  10  2.94236e-06
  11  1.50201e-07
  12  0.245559
  13  0.127313
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  2.228e+01  1.786e+01  1.000e-04  1.000e+04 ( 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:  9.005e-01  1.273e-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.004e+00  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.14
Ra Dec: 251.232 26.346
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 6.96e-08 +/- 5.57e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.26e-05

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

Saving results to:
/scratch/kocevski/880591/likelihoodResults_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.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) = 7460.39384903
delta logL = 0.0450871060675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7460.38167027
delta logL = 0.057265871822

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.289       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0762       1.0000          .0000       10.000    
     3 'Normalizat'    .99082       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90593       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=   7460.382     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      246 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.293        20.580        .91195E-04   -.84011E-03
   2  Index         3.0763        .98292        .10276E-01   -.24764E-03
   3  Normalizat    .99083        .24105        .32502E-03    .50692E-03
   4  Prefactor     .90594        .12732        .18079E-03    .98381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.2925
  Index      = 3.07631
  Normalizat = 0.990829
  Prefactor  = 0.905938
 **********
 **   18 **HESSE 
 **********

 FCN=   7460.382     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.293        19.299        .18239E-04   -1.4829    
   2  Index         3.0763        .92154        .41102E-03   -.39492    
   3  Normalizat    .99083        .24118        .65004E-04   -.93338    
   4  Prefactor     .90594        .12729        .36157E-04   -.95934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41612e-09
Minuit parameter uncertainties:
  1  19.3055
  2  0.927776
  3  0.241444
  4  0.127332
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/880591': 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) = 7460.38167015
delta logL = 0.0572659858517

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.929e+01  1.931e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  3.076e+00  9.278e-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:  9.059e-01  1.273e-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:  9.908e-01  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.27
Ra Dec: 251.232 26.346
Photon Index (Free Index): 3.08 +/- 0.93
Photon Flux (Free Index): 7.88e-08 +/- 6.41e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.20e-05

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/880591/cmap_HighResolution_330048001_330307201_4FGL_J1644.9+2620_daily_bin350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-02', comment='SUCCESS', photon_flux='6.96e-08', energy_flux2='1.52e-05', photon_flux_error='5.57e-08', dlogl='5.73e-02', energy_flux='1.57e-05', photon_flux2='7.88e-08', job_status='DONE', time_completed='2021-09-15 09:15:10.499417', photon_index_error2='0.93', photon_index2='3.08', ts='2.14', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.81e-07', energy_flux_error2='1.20e-05', EG='1.00', time_epoch_completed='1631722510.5', return_code='0', job_id='880591', GAL2='0.91', EG2='0.99', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='6.41e-08', ts2='2.27', photon_index='2.79' WHERE bin_id='350' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:15:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 880591: <4FGL_J1644.9+2620_daily_bin350> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin350> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 15 09:00:48 2021
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 09:02:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 15 09:02:45 2021
Terminated at Wed Sep 15 09:15:11 2021
Results reported at Wed Sep 15 09:15:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin350 251.232 26.3465 330048001 330307201 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 :                                   554.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            863 sec.

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

