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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin27
RA = 251.232, Dec = 26.3465
tmin = 246326401, tmax = 246585601
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='878806', job_status='RUN', time_executed='2021-09-15 08:56:40.333769', time_epoch_executed='1631721400.33' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='27'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/878806

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/878806/ft1_4FGL_J1644.9+2620_daily_bin27.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/878806/ft2_4FGL_J1644.9+2620_daily_bin27.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/878806/ft1_4FGL_J1644.9+2620_daily_bin27.fits outfile=/scratch/kocevski/878806/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin27.fits ra=251.232 dec=26.3465 rad=12.0 tmin=246326401.0 tmax=246585601.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 1.51
user 1.28
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/878806/ft1_filtered_4FGL_J1644.9+2620_daily_bin27.fits evtable="EVENTS" scfile=/scratch/kocevski/878806/ft2_4FGL_J1644.9+2620_daily_bin27.fits sctable="SC_DATA" expcube=/scratch/kocevski/878806/ltcube_246326401_246585601_4FGL_J1644.9+2620_daily_bin27.fits outfile=/scratch/kocevski/878806/expmap_246326401_246585601_4FGL_J1644.9+2620_daily_bin27.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/878806/ltcube_246326401_246585601_4FGL_J1644.9+2620_daily_bin27.fits
.....................!
real 191.16
user 185.59
sys 5.18

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/878806/ft1_filtered_4FGL_J1644.9+2620_daily_bin27.fits scfile=/scratch/kocevski/878806/ft2_4FGL_J1644.9+2620_daily_bin27.fits outfile=/scratch/kocevski/878806/cmap_246326401_246585601_4FGL_J1644.9+2620_daily_bin27.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/878806/ft1_filtered_4FGL_J1644.9+2620_daily_bin27.fits scfile=/scratch/kocevski/878806/ft2_4FGL_J1644.9+2620_daily_bin27.fits outfile=/scratch/kocevski/878806/cmap_HighResolution_246326401_246585601_4FGL_J1644.9+2620_daily_bin27.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3114       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .18046E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .16485       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7540       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.935       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .65807E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    .48268       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2028       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .91490       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=   11505.83     FROM MIGRAD    STATUS=CONVERGED    249 CALLS     1134 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0625       -.20326E-07** at limit **
   2  Prefactor     1.3104        2.5189       -.71416E-06   -.16055E-02
   3  Prefactor     .10000E-03    18.038        .39302E-05** at limit **
   4  norm          .16466        .11863       -.10591E-06   -.36110E-02
   5  Prefactor     7.8526        10.610        .72091E-05   -.48908E-04
   6  Prefactor     22.834        13.592        .62098E-05   -.42927E-04
   7  Prefactor     .10000E-03    1.3804       -.72017E-07** at limit **
   8  Prefactor     .10000E-03    6.6373        .16533E-07** at limit **
   9  Prefactor     .10000E-03    7.8202       -.95099E-07** at limit **
  10  Prefactor     .10050E-03    6.1360       -.91606E-06** at limit **
  11  norm          .48261        1.3509       -.53372E-06   -.10884E-02
  12  Normalizat    1.2028        .16182       -.22512E-05    .17116E-03
  13  Prefactor     .91494        .85142E-01    .20713E-06   -.43316E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.31043
  Prefactor  = 0.0001
  norm       = 0.164659
  Prefactor  = 7.85259
  Prefactor  = 22.8336
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100502
  norm       = 0.482607
  Normalizat = 1.2028
  Prefactor  = 0.914938
 **********
 **   18 **HESSE 
 **********

 FCN=   11505.83     FROM HESSE     STATUS=OK           153 CALLS     1287 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.3104        2.5512        .22929E-03   -1.5479    
   3  Prefactor     .10000E-03    18.600        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .16466        .11213        .29977E-03   -1.5627    
   5  Prefactor     7.8526        10.492        .14400E-03   -1.5147    
   6  Prefactor     22.834        13.370        .83639E-04   -1.4752    
   7  Prefactor     .10000E-03    1.3896        .12305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.6487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.8234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10050E-03    59.832        .50662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .48261        1.6407        .20269E-02   -1.5569    
  12  Normalizat    1.2028        .19250        .29763E-03   -.86516    
  13  Prefactor     .91494        .10163        .18136E-03   -.95621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.86858e-09
Minuit parameter uncertainties:
  1  4.09663e-06
  2  2.55138
  3  6.08097e-06
  4  0.112125
  5  10.494
  6  13.3716
  7  5.23382e-06
  8  1.60553e-06
  9  6.15047e-06
  10  0.0109731
  11  1.64085
  12  0.192609
  13  0.10165
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  2.283e+01  1.337e+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.149e-01  1.017e-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.203e+00  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.00
Ra Dec: 251.232 26.346
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 7.14e-08 +/- 4.17e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 9.44e-06

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

Saving results to:
/scratch/kocevski/878806/likelihoodResults_246326401_246585601_4FGL_J1644.9+2620_daily_bin27.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) = 11505.8030954
delta logL = 0.0234592153174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11505.7959319
delta logL = 0.0306227625879

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.167       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9406       1.0000          .0000       10.000    
     3 'Normalizat'    1.1960       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91772       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=   11505.80     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      256 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.168        15.254        .87059E-04    .10708E-04
   2  Index         2.9403        .66628        .97506E-02    .37173E-03
   3  Normalizat    1.1960        .18856        .29835E-03   -.49079E-04
   4  Prefactor     .91771        .10072        .18112E-03   -.15562E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.1683
  Index      = 2.9403
  Normalizat = 1.19601
  Prefactor  = 0.917711
 **********
 **   18 **HESSE 
 **********

 FCN=   11505.80     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.168        14.733        .34824E-05   -1.4787    
   2  Index         2.9403        .64334        .19501E-02   -.42458    
   3  Normalizat    1.1960        .18872        .11934E-04   -.86726    
   4  Prefactor     .91771        .10076        .36223E-04   -.95525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45975e-11
Minuit parameter uncertainties:
  1  14.7357
  2  0.645499
  3  0.188823
  4  0.100779
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/878806': 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) = 11505.7959318
delta logL = 0.0306228599729

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  2.117e+01  1.474e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.940e+00  6.455e-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.177e-01  1.008e-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.196e+00  1.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.07
Ra Dec: 251.232 26.346
Photon Index (Free Index): 2.94 +/- 0.65
Photon Flux (Free Index): 7.60e-08 +/- 4.67e-08
Energy Flux (Free Index): 1.56e-05 +/- 9.29e-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/878806/cmap_HighResolution_246326401_246585601_4FGL_J1644.9+2620_daily_bin27.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-02', comment='SUCCESS', photon_flux='7.14e-08', energy_flux2='1.56e-05', photon_flux_error='4.17e-08', dlogl='3.06e-02', energy_flux='1.61e-05', photon_flux2='7.60e-08', job_status='DONE', time_completed='2021-09-15 09:08:00.022745', photon_index_error2='0.65', photon_index2='2.94', ts='4.00', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='9.29e-06', EG='1.20', time_epoch_completed='1631722080.02', return_code='0', job_id='878806', GAL2='0.92', EG2='1.20', return_code2='0', energy_flux_error='9.44e-06', photon_flux_error2='4.67e-08', ts2='4.07', photon_index='2.79' WHERE bin_id='27' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:08:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 878806: <4FGL_J1644.9+2620_daily_bin27> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin27> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep 15 08:55:23 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 08:56:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 15 08:56:23 2021
Terminated at Wed Sep 15 09:08:00 2021
Results reported at Wed Sep 15 09:08:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin27 251.232 26.3465 246326401 246585601 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 :                                   679.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             308.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            757 sec.

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

