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


Performing analysis on: 4FGL_J1644.9+2620_daily_bin1514
RA = 251.232, Dec = 26.3465
tmin = 631756801, tmax = 632016001
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='887039', job_status='RUN', time_executed='2021-09-15 09:25:11.978946', time_epoch_executed='1631723111.98' WHERE source_name='4FGL J1644.9+2620' and cadence='daily' and bin_id='1514'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887039

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887039/ft1_4FGL_J1644.9+2620_daily_bin1514.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887039/ft2_4FGL_J1644.9+2620_daily_bin1514.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887039/ft1_4FGL_J1644.9+2620_daily_bin1514.fits outfile=/scratch/kocevski/887039/ft1_filteredMKT_4FGL_J1644.9+2620_daily_bin1514.fits ra=251.232 dec=26.3465 rad=12.0 tmin=631756801.0 tmax=632016001.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 2.53
user 2.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887039/ft1_filtered_4FGL_J1644.9+2620_daily_bin1514.fits" evtable="EVENTS" scfile=/scratch/kocevski/887039/ft2_4FGL_J1644.9+2620_daily_bin1514.fits sctable="SC_DATA" outfile=/scratch/kocevski/887039/ltcube_631756801_632016001_4FGL_J1644.9+2620_daily_bin1514.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/887039/ft2_4FGL_J1644.9+2620_daily_bin1514.fits
.....................!
real 14.55
user 14.14
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887039/ft1_filtered_4FGL_J1644.9+2620_daily_bin1514.fits evtable="EVENTS" scfile=/scratch/kocevski/887039/ft2_4FGL_J1644.9+2620_daily_bin1514.fits sctable="SC_DATA" expcube=/scratch/kocevski/887039/ltcube_631756801_632016001_4FGL_J1644.9+2620_daily_bin1514.fits outfile=/scratch/kocevski/887039/expmap_631756801_632016001_4FGL_J1644.9+2620_daily_bin1514.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/887039/ltcube_631756801_632016001_4FGL_J1644.9+2620_daily_bin1514.fits
.....................!
real 192.15
user 185.98
sys 5.02

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/887039/ft1_filtered_4FGL_J1644.9+2620_daily_bin1514.fits scfile=/scratch/kocevski/887039/ft2_4FGL_J1644.9+2620_daily_bin1514.fits outfile=/scratch/kocevski/887039/cmap_631756801_632016001_4FGL_J1644.9+2620_daily_bin1514.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887039/ft1_filtered_4FGL_J1644.9+2620_daily_bin1514.fits scfile=/scratch/kocevski/887039/ft2_4FGL_J1644.9+2620_daily_bin1514.fits outfile=/scratch/kocevski/887039/cmap_HighResolution_631756801_632016001_4FGL_J1644.9+2620_daily_bin1514.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=251.232 yref=26.3465 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5893       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .71274       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6170       1.0000         .10000E-03   10000.    
     8 'Prefactor '    43.634       1.0000         .10000E-03   10000.    
     9 'Prefactor '    52.785       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.727       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0784       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.1851       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .84528       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10868.98     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      911 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6066        .40285E-06** at limit **
   2  Prefactor     .10000E-03    .94297        .18740E-06** at limit **
   3  Prefactor     .10000E-03    4.1845        .86885E-06** at limit **
   4  norm          .10000E-03    .33032E-01   -.41771E-07** at limit **
   5  Prefactor     4.5867        7.9933       -.18341E-04   -.21816E-02
   6  Prefactor     .59959        40.786        .12194E-05   -.47313E-04
   7  Prefactor     2.6165        3.5376        .16525E-05   -.21118E-03
   8  Prefactor     43.629        5.9047       -.43412E-05    .63143E-02
   9  Prefactor     52.776        8.4862       -.57184E-05    .11584E-01
  10  Prefactor     10.718        7.7288       -.11561E-04   -.46515E-02
  11  norm          2.0792        2.8179       -.10950E-05    .35596E-03
  12  Normalizat    1.1854        .18580        .33744E-05    .33014E-03
  13  Prefactor     .84519        .10230        .90984E-07    .35852E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 4.58674
  Prefactor  = 0.599588
  Prefactor  = 2.61652
  Prefactor  = 43.6289
  Prefactor  = 52.7757
  Prefactor  = 10.718
  norm       = 2.07918
  Normalizat = 1.18543
  Prefactor  = 0.845186
 **********
 **   18 **HESSE 
 **********

 FCN=   10868.98     FROM HESSE     STATUS=OK           177 CALLS     1088 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6053        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    .92938        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.1498        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .30840E-01    .83683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5867        11.965        .46974E-02   -1.5280    
   6  Prefactor     .59959        4.5307        .12111       -1.5553    
   7  Prefactor     2.6165        3.6255        .63032E-02   -1.5384    
   8  Prefactor     43.629        28.251        .15173E-02   -1.4386    
   9  Prefactor     52.776        33.209        .13801E-02   -1.4254    
  10  Prefactor     10.718        11.201        .30582E-02   -1.5053    
  11  norm          2.0792        2.8354        .71617E-02   -1.5420    
  12  Normalizat    1.1854        .15786        .64079E-01   -.87054    
  13  Prefactor     .84519        .86421E-01    .44304E-01   -.98084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.90391e-07
Minuit parameter uncertainties:
  1  6.92343e-06
  2  6.29632e-06
  3  0.000123445
  4  5.81813e-07
  5  11.9716
  6  3.29647
  7  3.62581
  8  28.2601
  9  33.2207
  10  11.2029
  11  2.83557
  12  0.157928
  13  0.0864349
Done.

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

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  5.996e-01  3.296e+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

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  8.452e-01  8.643e-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:  1.185e+00  1.579e-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: 7.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887039/likelihoodResults_631756801_632016001_4FGL_J1644.9+2620_daily_bin1514.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) = 10868.9790618
delta logL = 1.12835550681e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10868.9790521
delta logL = 9.88341889752e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59959       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7990       1.0000          .0000       10.000    
     3 'Normalizat'    1.1854       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84510       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10868.98     FROM MIGRAD    STATUS=FAILED        90 CALLS      253 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59825        108.68        .42362E-02    .22801E-02
   2  Index         2.8072        6.3593        .43670E-01    .22852E-03
   3  Normalizat    1.1854        .18460        .28346E-03   -.58207E-03
   4  Prefactor     .84520        .10126        .18242E-03   -.79842E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10868.98     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      338 TOTAL
                     EDM=   .93E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59825        108.68        .63144E-03   -1.5553    
   2  Index         2.8072        6.3593        .41250E-02   -.45401    
   3  Normalizat    1.1854        .18460        .66376E-04   -.87055    
   4  Prefactor     .84520        .10126        .74996E-04   -.98083    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10868.98     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      372 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59566        40.963        .16945E-03    .33278E-04
   2  Index         2.8066        3.2291        .17468E-02    .13017E-05
   3  Normalizat    1.1854        .18331        .56691E-04    .43637E-03
   4  Prefactor     .84520        .10134        .36485E-04    .57908E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.595656
  Index      = 2.80662
  Normalizat = 1.18541
  Prefactor  = 0.845196
 **********
 **   18 **HESSE 
 **********

 FCN=   10868.98     FROM HESSE     STATUS=OK            23 CALLS      395 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59566        40.733        .67779E-05   -1.5554    
   2  Index         2.8066        3.2220        .69872E-04   -.45412    
   3  Normalizat    1.1854        .18336        .11338E-04   -.87055    
   4  Prefactor     .84520        .10136        .72970E-05   -.98083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49503e-10
Minuit parameter uncertainties:
  1  9.85763
  2  3.59279
  3  0.183455
  4  0.101384
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887039': 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) = 10868.9790467
delta logL = 1.52139582497e-05

Extracting fit parameters...

4FGL J1644.9+2620
   Spectrum: PowerLaw
305    Prefactor:  5.957e-01  9.858e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        Index:  2.807e+00  3.593e+00  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:  8.452e-01  1.014e-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.185e+00  1.835e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/887039/cmap_HighResolution_631756801_632016001_4FGL_J1644.9+2620_daily_bin1514.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-03', job_status='DONE', photon_flux_upper_limit='7.72e-08', time_completed='2021-09-15 09:36:05.547273', job_id='887039', GAL2='0.85', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1631723765.55', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.52e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1514' AND source_name='4FGL J1644.9+2620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 15 09:36:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 887039: <4FGL_J1644.9+2620_daily_bin1514> in cluster <slac> Done

Job <4FGL_J1644.9+2620_daily_bin1514> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 15 09:20:35 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 15 09:22:52 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:22:52 2021
Terminated at Wed Sep 15 09:36:06 2021
Results reported at Wed Sep 15 09:36:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1644.9+2620_daily_bin1514 251.232 26.3465 631756801 632016001 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 :                                   650.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            931 sec.

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

