/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 121 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 = 7393
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1644.9+2620_daily_bin556
RA = 251.232, Dec = 26.3465
tmin = 383443201, tmax = 383702401
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='882081', job_status='RUN', time_executed='2021-09-15 09:09:11.298584', time_epoch_executed='1631722151.3' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='556'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882081

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882081/ft1_4FGL_J1644.9+2620_daily_bin556.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882081/ft2_4FGL_J1644.9+2620_daily_bin556.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882081/ft1_4FGL_J1644.9+2620_daily_bin556.fits outfile=/scratch/kocevski/882081/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin556.fits ra=251.232 dec=26.3465 rad=12.0 tmin=383443201.0 tmax=383702401.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.43
user 3.21
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/882081/ft2_4FGL_J1644.9+2620_daily_bin556.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/882081/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin556.fits evtable="EVENTS" outfile="/scratch/kocevski/882081/ft1_filtered_4FGL_J1644.9+2620_daily_bin556.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/882081/ft1_filtered_4FGL_J1644.9+2620_daily_bin556.fits" evtable="EVENTS" scfile=/scratch/kocevski/882081/ft2_4FGL_J1644.9+2620_daily_bin556.fits sctable="SC_DATA" outfile=/scratch/kocevski/882081/ltcube_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.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/882081/ft2_4FGL_J1644.9+2620_daily_bin556.fits
.....................!
real 13.24
user 12.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882081/ft1_filtered_4FGL_J1644.9+2620_daily_bin556.fits evtable="EVENTS" scfile=/scratch/kocevski/882081/ft2_4FGL_J1644.9+2620_daily_bin556.fits sctable="SC_DATA" expcube=/scratch/kocevski/882081/ltcube_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.fits outfile=/scratch/kocevski/882081/expmap_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.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/882081/ltcube_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.fits
.....................!
real 191.81
user 186.35
sys 5.00

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/882081/ft1_filtered_4FGL_J1644.9+2620_daily_bin556.fits scfile=/scratch/kocevski/882081/ft2_4FGL_J1644.9+2620_daily_bin556.fits outfile=/scratch/kocevski/882081/cmap_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/882081/ft1_filtered_4FGL_J1644.9+2620_daily_bin556.fits scfile=/scratch/kocevski/882081/ft2_4FGL_J1644.9+2620_daily_bin556.fits outfile=/scratch/kocevski/882081/cmap_HighResolution_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.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.41
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/882081/ft1_filtered_4FGL_J1644.9+2620_daily_bin556.fits', '/scratch/kocevski/882081/ft2_4FGL_J1644.9+2620_daily_bin556.fits', expMap='/scratch/kocevski/882081/expmap_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.fits', expCube='/scratch/kocevski/882081/ltcube_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/882081/Model_4FGL_J1644.9+2620_daily_bin556.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/882081/ft1_filtered_4FGL_J1644.9+2620_daily_bin556.fits
Spacecraft file(s): /scratch/kocevski/882081/ft2_4FGL_J1644.9+2620_daily_bin556.fits
Exposure map: /scratch/kocevski/882081/expmap_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.fits
Exposure cube: /scratch/kocevski/882081/ltcube_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/882081/Model_4FGL_J1644.9+2620_daily_bin556.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) = 8751.03849479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7571       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.4032       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0743       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.969       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13574E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.7011       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.5982       1.0000         .10000E-03   10000.    
    11 'norm      '    .10882E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    .82670       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0171       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=   8750.939     FROM MIGRAD    STATUS=CONVERGED    232 CALLS      968 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7472       -.31295E-07** at limit **
   2  Prefactor     1.7568        2.3790       -.28440E-06   -.66573E-03
   3  Prefactor     .10000E-03    7.1192        .10023E-05** at limit **
   4  norm          1.4031        .30837        .43060E-07   -.47796E-03
   5  Prefactor     5.0732        18.165       -.37049E-05    .16002E-04
   6  Prefactor     22.965        15.866       -.34781E-05    .41473E-03
   7  Prefactor     .10000E-03    2.6914       -.15200E-07** at limit **
   8  Prefactor     7.6999        15.307       -.22631E-05   -.63247E-03
   9  Prefactor     .10000E-03    10.507        .39657E-07** at limit **
  10  Prefactor     7.5975        10.782       -.52989E-06   -.44532E-04
  11  norm          .10000E-03    1.5735       -.45513E-08** at limit **
  12  Normalizat    .82694        .18178        .15192E-05   -.35468E-04
  13  Prefactor     1.0169        .97888E-01    .26884E-07    .68779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.75675
  Prefactor  = 0.0001
  norm       = 1.40314
  Prefactor  = 5.07321
  Prefactor  = 22.9654
  Prefactor  = 0.000100004
  Prefactor  = 7.69994
  Prefactor  = 0.0001
  Prefactor  = 7.59748
  norm       = 0.0001
  Normalizat = 0.826943
  Prefactor  = 1.01693
 **********
 **   18 **HESSE 
 **********

 FCN=   8750.939     FROM HESSE     STATUS=OK           145 CALLS     1113 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7685        .17685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7568        2.3909        .16349E-03   -1.5443    
   3  Prefactor     .10000E-03    7.1366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4031        .31404        .21281E-04   -1.5471    
   5  Prefactor     5.0732        18.410        .17849E-03   -1.5257    
   6  Prefactor     22.965        14.989        .83578E-04   -1.4749    
   7  Prefactor     .10000E-03    6.9779        .29473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.6999        17.245        .72251E-03   -1.5153    
   9  Prefactor     .10000E-03    10.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.5975        10.796        .14549E-03   -1.5157    
  11  norm          .10000E-03    4.1037        .22794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .82694        .21156        .33895E-03   -.99077    
  13  Prefactor     1.0169        .11517        .17074E-03   -.92167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43545e-09
Minuit parameter uncertainties:
  1  2.88856e-06
  2  2.39106
  3  4.5244e-05
  4  0.314036
  5  18.4306
  6  14.9919
  7  0.000313302
  8  17.256
  9  5.02466e-06
  10  10.799
  11  1.16588e-05
  12  0.211774
  13  0.115199
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  2.297e+01  1.499e+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:  1.017e+00  1.152e-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:  8.269e-01  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.36
Ra Dec: 251.232 26.346
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 7.18e-08 +/- 4.68e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.06e-05

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

Saving results to:
/scratch/kocevski/882081/likelihoodResults_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.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) = 8750.80766545
delta logL = 0.131428237957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8750.79067651
delta logL = 0.148417172804

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.984       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3842       1.0000          .0000       10.000    
     3 'Normalizat'    .85021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0070       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=   8750.791     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      262 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.999        17.047        .39294E-03   -.11573E-05
   2  Index         2.3846        .64700        .10210E-01   -.71282E-05
   3  Normalizat    .85036        .20726        .33466E-03    .17665E-05
   4  Prefactor     1.0070        .11376        .17145E-03    .23474E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.9989
  Index      = 2.38457
  Normalizat = 0.850358
  Prefactor  = 1.00698
 **********
 **   18 **HESSE 
 **********

 FCN=   8750.791     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .64E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.999        17.028        .15718E-04   -1.4688    
   2  Index         2.3846        .64609        .40842E-03   -.55047    
   3  Normalizat    .85036        .20744        .13386E-04   -.98227    
   4  Prefactor     1.0070        .11383        .68579E-05   -.92497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.41824e-13
Minuit parameter uncertainties:
  1  17.0314
  2  0.648595
  3  0.207638
  4  0.113861
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882081': 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) = 8750.79067452
delta logL = 0.148419165396

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  2.600e+01  1.703e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.385e+00  6.486e-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:  1.007e+00  1.139e-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:  8.504e-01  2.076e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.61
Ra Dec: 251.232 26.346
Photon Index (Free Index): 2.38 +/- 0.65
Photon Flux (Free Index): 5.86e-08 +/- 4.70e-08
Energy Flux (Free Index): 1.96e-05 +/- 1.52e-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/882081/cmap_HighResolution_383443201_383702401_4FGL_J1644.9+2620_daily_bin556.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-02', comment='SUCCESS', photon_flux='7.18e-08', energy_flux2='1.96e-05', photon_flux_error='4.68e-08', dlogl='1.48e-01', energy_flux='1.62e-05', photon_flux2='5.86e-08', job_status='DONE', time_completed='2021-09-15 09:18:53.900382', photon_index_error2='0.65', photon_index2='2.38', ts='3.36', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.64e-07', energy_flux_error2='1.52e-05', EG='0.83', time_epoch_completed='1631722733.9', return_code='0', job_id='882081', GAL2='1.01', EG2='0.85', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='4.70e-08', ts2='3.61', photon_index='2.79' WHERE bin_id='556' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:18:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 882081: <4FGL_J1644.9+2620_daily_bin556> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin556> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Sep 15 09:05:31 2021
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 09:07:00 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:07:00 2021
Terminated at Wed Sep 15 09:18:54 2021
Results reported at Wed Sep 15 09:18:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin556 251.232 26.3465 383443201 383702401 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 :                                   582.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            803 sec.

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

