/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 45 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 = 7644
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1627.7+0251_daily_bin843
RA = 246.942, Dec = 2.8584
tmin = 457833601, tmax = 458092801
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='517429', job_status='RUN', time_executed='2021-09-14 13:46:56.953007', time_epoch_executed='1631652416.95' WHERE source_name='4FGL J1627.7+0251' and cadence='daily' and bin_id='843'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/517429

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/517429/ft1_4FGL_J1627.7+0251_daily_bin843.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/517429/ft2_4FGL_J1627.7+0251_daily_bin843.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/517429/ft1_4FGL_J1627.7+0251_daily_bin843.fits outfile=/scratch/kocevski/517429/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin843.fits ra=246.942 dec=2.8584 rad=12.0 tmin=457833601.0 tmax=458092801.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 4.19
user 3.55
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/517429/ft2_4FGL_J1627.7+0251_daily_bin843.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/517429/ft2_4FGL_J1627.7+0251_daily_bin843.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/517429/ft1_filteredMKT_4FGL_J1627.7+0251_daily_bin843.fits evtable="EVENTS" outfile="/scratch/kocevski/517429/ft1_filtered_4FGL_J1627.7+0251_daily_bin843.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/517429/ft1_filtered_4FGL_J1627.7+0251_daily_bin843.fits" evtable="EVENTS" scfile=/scratch/kocevski/517429/ft2_4FGL_J1627.7+0251_daily_bin843.fits sctable="SC_DATA" outfile=/scratch/kocevski/517429/ltcube_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.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/517429/ft2_4FGL_J1627.7+0251_daily_bin843.fits
.....................!
real 13.63
user 13.24
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/517429/ft1_filtered_4FGL_J1627.7+0251_daily_bin843.fits evtable="EVENTS" scfile=/scratch/kocevski/517429/ft2_4FGL_J1627.7+0251_daily_bin843.fits sctable="SC_DATA" expcube=/scratch/kocevski/517429/ltcube_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.fits outfile=/scratch/kocevski/517429/expmap_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.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/517429/ltcube_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.fits
.....................!
real 191.31
user 185.86
sys 4.48

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
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 164 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1627.7+0251 @ 246.942 2.8584

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/517429/ft1_filtered_4FGL_J1627.7+0251_daily_bin843.fits scfile=/scratch/kocevski/517429/ft2_4FGL_J1627.7+0251_daily_bin843.fits outfile=/scratch/kocevski/517429/cmap_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.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=246.942 yref=2.8584 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/517429/ft1_filtered_4FGL_J1627.7+0251_daily_bin843.fits scfile=/scratch/kocevski/517429/ft2_4FGL_J1627.7+0251_daily_bin843.fits outfile=/scratch/kocevski/517429/cmap_HighResolution_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.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=246.942 yref=2.8584 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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/517429/ft1_filtered_4FGL_J1627.7+0251_daily_bin843.fits evtable="EVENTS" scfile=/scratch/kocevski/517429/ft2_4FGL_J1627.7+0251_daily_bin843.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/517429/Model_4FGL_J1627.7+0251_daily_bin843.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/517429/ft1_filtered_4FGL_J1627.7+0251_daily_bin843.fits.....................!
real 109.76
user 107.98
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/517429/ft1_filtered_4FGL_J1627.7+0251_daily_bin843.fits', '/scratch/kocevski/517429/ft2_4FGL_J1627.7+0251_daily_bin843.fits', expMap='/scratch/kocevski/517429/expmap_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.fits', expCube='/scratch/kocevski/517429/ltcube_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/517429/Model_4FGL_J1627.7+0251_daily_bin843.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1627.7+0251'

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  7.087e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/517429/ft1_filtered_4FGL_J1627.7+0251_daily_bin843.fits
Spacecraft file(s): /scratch/kocevski/517429/ft2_4FGL_J1627.7+0251_daily_bin843.fits
Exposure map: /scratch/kocevski/517429/expmap_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.fits
Exposure cube: /scratch/kocevski/517429/ltcube_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/517429/Model_4FGL_J1627.7+0251_daily_bin843.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) = 12486.8339005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.547       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .27499E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3134       1.0000         .10000E-03   10000.    
     4 'Prefactor '    57.101       1.0000         .10000E-03   10000.    
     5 'norm      '    3.5705       1.0000         .10000E-03   10000.    
     6 'norm      '    7.9360       1.0000         .10000E-03   10000.    
     7 'norm      '    4.9114       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6740       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .25207       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.7095       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    120.28       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.5418       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .82719       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12486.83     FROM MIGRAD    STATUS=CONVERGED    380 CALLS     1905 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.544        23.103       -.32968E-07    .24388E-05
   2  Prefactor     .31643E-01    20.508       -.10791E-04    .59275E-03
   3  norm          3.3134        3.0218       -.56721E-06   -.27523E-03
   4  Prefactor     57.100        56.783       -.27697E-06    .62814E-06
   5  norm          3.5705        1.5993       -.10912E-08    .12904E-04
   6  norm          7.9364        9.3035       -.14473E-06   -.31665E-05
   7  norm          4.8265        158.08       -.26398E-04   -.39221E-04
   8  Prefactor     .10000E-03    46.074       -.92876E-07** at limit **
   9  Prefactor     .10000E-03    14.858        .31521E-06** at limit **
  10  Prefactor     .10000E-03    3.2035        .72918E-07** at limit **
  11  Prefactor     .10000E-03    1.8887        .50828E-07** at limit **
  12  Prefactor     7.6805        12.354       -.28919E-06   -.29699E-04
  13  Prefactor     .10000E-03    14.822       -.16405E-07** at limit **
  14  Prefactor     .25981        7.8345        .54331E-05    .98872E-03
  15  Prefactor     9.7077        6.1421       -.17133E-06    .20008E-03
  16  Prefactor     .10000E-03    7.8568        .19108E-06** at limit **
  17  Prefactor     120.26        134.82       -.20306E-05   -.13887E-04
  18  Normalizat    1.5418        .22874        .13729E-05    .84933E-04
  19  Prefactor     .82716        .63400E-01   -.40124E-06    .79060E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5438
  Prefactor  = 0.0316433
  norm       = 3.31341
  Prefactor  = 57.0997
  norm       = 3.57051
  norm       = 7.93637
  norm       = 4.82648
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.68048
  Prefactor  = 0.0001
  Prefactor  = 0.259815
  Prefactor  = 9.70773
  Prefactor  = 0.0001
  Prefactor  = 120.255
  Normalizat = 1.54181
  Prefactor  = 0.827157
 **********
 **   18 **HESSE 
 **********

 FCN=   12486.83     FROM HESSE     STATUS=OK           280 CALLS     2185 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.544        23.088        .86288E-04   -1.4779    
   2  Prefactor     .31643E-01    1.5848        .46335E-01   -1.5672    
   3  norm          3.3134        3.0294        .89111E-03   -1.5344    
   4  Prefactor     57.100        56.871        .53088E-04   -1.4195    
   5  norm          3.5705        1.6008        .92135E-04   -1.5330    
   6  norm          7.9364        9.3049        .14233E-03   -1.5144    
   7  norm          4.8265        160.71        .18149E-03   -1.5269    
   8  Prefactor     .10000E-03    46.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.2162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.8930        .14997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.6805        12.384        .14476E-03   -1.5154    
  13  Prefactor     .10000E-03    14.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .25981        16.736        .35959E-02   -1.5606    
  15  Prefactor     9.7077        6.1399        .12860E-03   -1.5085    
  16  Prefactor     .10000E-03    7.9186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     120.26        135.18        .18347E-03   -1.3510    
  18  Normalizat    1.5418        .26385        .40151E-03   -.76610    
  19  Prefactor     .82716        .74184E-01    .15012E-03   -.98735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0336e-08
Minuit parameter uncertainties:
  1  23.0972
  2  0.447175
  3  3.02957
  4  56.9254
  5  1.60079
  6  9.30657
  7  55.8651
  8  1.76253e-05
  9  6.75594e-06
  10  6.74639e-08
  11  6.82273e-07
  12  12.3877
  13  2.06785e-05
  14  4.17087
  15  6.14028
  16  4.35063e-06
  17  135.529
  18  0.264084
  19  0.0741932
Done.

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

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  1.763e-05  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.272e-01  7.419e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.542e+00  2.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 246.942 2.858
Photon Flux Upper Limit: 6.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/517429/likelihoodResults_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.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): 102
logL (Free Index) = 12486.8301728
delta logL = -0.000103162510641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12486.8300697
delta logL = -1.03204001789e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1271       1.0000          .0000       10.000    
     3 'Normalizat'    1.5418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82716       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12486.83     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      238 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1623.0        .90712E-02** at limit **
   2  Index         2.1542        5.0093        .50000       -.55951E-05
   3  Normalizat    1.5418        .38839E-01    .90672E-01    .34990E-04
   4  Prefactor     .82716        .11119E-01    .44070E-01    .24397E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.15421
  Normalizat = 1.54181
  Prefactor  = 0.827156
 **********
 **   18 **HESSE 
 **********

 FCN=   12486.83     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      269 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6954.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1542        8.8929        .50000       -.60548    
   3  Normalizat    1.5418        .69702E-01    .40151E-03   -.76610    
   4  Prefactor     .82716        .19989E-01    .15012E-03   -.98735    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.94264e-10
Minuit parameter uncertainties:
  1  0.0078544
  2  42.0772
  3  0.0697062
  4  0.0199891
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/517429': 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) = 12486.8300697
delta logL = -4.62205207441e-08

Extracting fit parameters...

4FGL J1627.7+0251
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  7.854e-03  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.154e+00  4.208e+01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.937e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.272e-01  1.999e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.542e+00  6.971e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 246.942 2.858

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/517429/cmap_HighResolution_457833601_458092801_4FGL_J1627.7+0251_daily_bin843.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.29e-03', job_status='DONE', photon_flux_upper_limit='6.95e-08', time_completed='2021-09-14 14:01:25.780556', job_id='517429', GAL2='0.83', fit_tolerance='1e-08', EG2='1.54', EG='1.54', time_epoch_completed='1631653285.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='-4.62e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='843' AND source_name='4FGL J1627.7+0251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 14:01:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 517429: <4FGL_J1627.7+0251_daily_bin843> in cluster <slac> Done

Job <4FGL_J1627.7+0251_daily_bin843> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Sep 14 13:45:42 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 13:45:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 14 13:45:53 2021
Terminated at Tue Sep 14 14:01:26 2021
Results reported at Tue Sep 14 14:01:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1627.7+0251_daily_bin843 246.942 2.8584 457833601 458092801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1627.7+0251 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   863.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            944 sec.

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

