/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 195 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_bin15
RA = 251.232, Dec = 26.3465
tmin = 243216001, tmax = 243475201
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='878789', job_status='RUN', time_executed='2021-09-15 08:59:37.189040', time_epoch_executed='1631721577.19' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/878789

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/878789/ft1_4FGL_J1644.9+2620_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/878789/ft2_4FGL_J1644.9+2620_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/878789/ft1_4FGL_J1644.9+2620_daily_bin15.fits outfile=/scratch/kocevski/878789/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin15.fits ra=251.232 dec=26.3465 rad=12.0 tmin=243216001.0 tmax=243475201.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.39
user 1.20
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/878789/ft1_filtered_4FGL_J1644.9+2620_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/878789/ft2_4FGL_J1644.9+2620_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/878789/ltcube_243216001_243475201_4FGL_J1644.9+2620_daily_bin15.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/878789/ft2_4FGL_J1644.9+2620_daily_bin15.fits
.....................!
real 16.21
user 15.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/878789/ft1_filtered_4FGL_J1644.9+2620_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/878789/ft2_4FGL_J1644.9+2620_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/878789/ltcube_243216001_243475201_4FGL_J1644.9+2620_daily_bin15.fits outfile=/scratch/kocevski/878789/expmap_243216001_243475201_4FGL_J1644.9+2620_daily_bin15.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/878789/ltcube_243216001_243475201_4FGL_J1644.9+2620_daily_bin15.fits
.....................!
real 194.66
user 188.80
sys 5.29

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/878789/ft1_filtered_4FGL_J1644.9+2620_daily_bin15.fits scfile=/scratch/kocevski/878789/ft2_4FGL_J1644.9+2620_daily_bin15.fits outfile=/scratch/kocevski/878789/cmap_243216001_243475201_4FGL_J1644.9+2620_daily_bin15.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/878789/ft1_filtered_4FGL_J1644.9+2620_daily_bin15.fits scfile=/scratch/kocevski/878789/ft2_4FGL_J1644.9+2620_daily_bin15.fits outfile=/scratch/kocevski/878789/cmap_HighResolution_243216001_243475201_4FGL_J1644.9+2620_daily_bin15.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.58
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11270E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1612       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.2491       1.0000         .10000E-03   10000.    
     4 'norm      '    .71230       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0849       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12117E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15159       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.730       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.218       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .51529E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    20.350       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .50486       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.1257       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=   6959.439     FROM MIGRAD    STATUS=CONVERGED    271 CALLS     1118 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7523       -.52581E-07** at limit **
   2  Prefactor     2.1618        2.3965       -.27859E-06   -.17844E-03
   3  Prefactor     4.2259        12.823       -.50893E-05   -.19117E-03
   4  norm          .71276        .29404        .15573E-06   -.14602E-02
   5  Prefactor     3.0028        43.322       -.15046E-04   -.63685E-04
   6  Prefactor     .10000E-03    9.9844        .63375E-07** at limit **
   7  Prefactor     .68353E-01    3.1926        .27693E-05   -.48351E-03
   8  Prefactor     16.842        33.116       -.21877E-04   -.35110E-03
   9  Prefactor     21.097        44.613       -.41120E-04   -.36339E-04
  10  Prefactor     .10000E-03    8.5434        .68716E-08** at limit **
  11  norm          20.357        5.2696        .67977E-07    .87260E-03
  12  Normalizat    .50536        .21474        .68452E-05   -.20843E-03
  13  Prefactor     1.1257        .11789        .11270E-05   -.80876E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.16176
  Prefactor  = 4.22587
  norm       = 0.71276
  Prefactor  = 3.00277
  Prefactor  = 0.0001
  Prefactor  = 0.0683534
  Prefactor  = 16.8424
  Prefactor  = 21.0966
  Prefactor  = 0.0001
  norm       = 20.3573
  Normalizat = 0.505363
  Prefactor  = 1.12569
 **********
 **   18 **HESSE 
 **********

 FCN=   6959.439     FROM HESSE     STATUS=OK           155 CALLS     1273 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7610        .15781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.1618        2.3868        .13125E-03   -1.5414    
   3  Prefactor     4.2259        12.805        .19547E-03   -1.5297    
   4  norm          .71276        .30242        .23528E-04   -1.5539    
   5  Prefactor     3.0028        45.989        .23092E-03   -1.5361    
   6  Prefactor     .10000E-03    10.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .68353E-01    7.4698        .44641E-01   -1.5656    
   8  Prefactor     16.842        34.181        .97921E-04   -1.4887    
   9  Prefactor     21.097        44.295        .86954E-04   -1.4789    
  10  Prefactor     .10000E-03    8.6190        .21142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          20.357        5.2741        .44393E-03   -1.4805    
  12  Normalizat    .50536        .23553        .40225E-03   -1.1217    
  13  Prefactor     1.1257        .13170        .15868E-03   -.88650    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24189e-09
Minuit parameter uncertainties:
  1  1.05956e-05
  2  2.38687
  3  12.8136
  4  0.302418
  5  23.5238
  6  1.22233e-05
  7  1.42824
  8  34.2209
  9  44.364
  10  6.70994e-06
  11  5.27426
  12  0.235992
  13  0.13174
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.000e-04  1.222e-05  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.126e+00  1.317e-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:  5.054e-01  2.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 251.232 26.346
Photon Flux Upper Limit: 9.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/878789/likelihoodResults_243216001_243475201_4FGL_J1644.9+2620_daily_bin15.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) = 6959.43965197
delta logL = -0.00047512763922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6959.43917716
delta logL = -3.17992999044e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7921       1.0000          .0000       10.000    
     3 'Normalizat'    .50520       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1258       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=   6959.439     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      262 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .17410        .70623E-01** at limit **
   2  Index         3.2966        6.2492        .50000       -.52364E-07
   3  Normalizat    .50536        .83252E-03    .40225E-03   -.14813E-03
   4  Prefactor     1.1257        .48006E-03    .15868E-03   -.39061E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.29662
  Normalizat = 0.505361
  Prefactor  = 1.1257
 **********
 **   18 **HESSE 
 **********

 FCN=   6959.439     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      293 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    158.04        .38955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2966        6.6428        .50000       -.34764    
   3  Normalizat    .50536        .18878E-01    .16090E-04   -1.1217    
   4  Prefactor     1.1257        .10883E-01    .31736E-04   -.88650    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.85097e-10
Minuit parameter uncertainties:
  1  0.000434173
  2  4022.42
  3  0.018878
  4  0.0108829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/878789': 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): 102
logL (Free Index) = 6959.43917662
delta logL = 2.23733877647e-07

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  1.000e-04  4.342e-04  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  3.297e+00  4.022e+03  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.126e+00  1.088e-02  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:  5.054e-01  1.888e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 251.232 26.346

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/878789/cmap_HighResolution_243216001_243475201_4FGL_J1644.9+2620_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.34e-03', job_status='DONE', photon_flux_upper_limit='9.28e-08', time_completed='2021-09-15 09:08:35.524600', job_id='878789', GAL2='1.13', fit_tolerance='1e-08', EG2='0.51', EG='0.51', time_epoch_completed='1631722115.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.24e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='15' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:08:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 878789: <4FGL_J1644.9+2620_daily_bin15> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin15> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep 15 08:55:22 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 08:56:12 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:12 2021
Terminated at Wed Sep 15 09:08:36 2021
Results reported at Wed Sep 15 09:08:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin15 251.232 26.3465 243216001 243475201 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 :                                   538.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             229.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            794 sec.

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

