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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1285
RA = 255.558, Dec = 26.7116
tmin = 572400001, tmax = 572659201
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='319917', job_status='RUN', time_executed='2021-09-16 11:43:27.307457', time_epoch_executed='1631817807.31' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319917

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319917/ft1_4FGL_J1702.2+2642_daily_bin1285.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319917/ft1_4FGL_J1702.2+2642_daily_bin1285.fits outfile=/scratch/kocevski/319917/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1285.fits ra=255.558 dec=26.7116 rad=12.0 tmin=572400001.0 tmax=572659201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.68
user 3.42
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.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/319917/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1285.fits evtable="EVENTS" outfile="/scratch/kocevski/319917/ft1_filtered_4FGL_J1702.2+2642_daily_bin1285.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319917/ft1_filtered_4FGL_J1702.2+2642_daily_bin1285.fits" evtable="EVENTS" scfile=/scratch/kocevski/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.fits sctable="SC_DATA" outfile=/scratch/kocevski/319917/ltcube_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.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/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.fits
.....................!
real 14.23
user 13.84
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319917/ft1_filtered_4FGL_J1702.2+2642_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.fits sctable="SC_DATA" expcube=/scratch/kocevski/319917/ltcube_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.fits outfile=/scratch/kocevski/319917/expmap_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.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/319917/ltcube_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.fits
.....................!
real 191.93
user 186.27
sys 5.14

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 201 point sources and 0 extended sources

Setting source of interest to:
4FGL J1702.2+2642 @ 255.558 26.7116

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/319917/ft1_filtered_4FGL_J1702.2+2642_daily_bin1285.fits scfile=/scratch/kocevski/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.fits outfile=/scratch/kocevski/319917/cmap_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.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=255.558 yref=26.7116 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/319917/ft1_filtered_4FGL_J1702.2+2642_daily_bin1285.fits scfile=/scratch/kocevski/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.fits outfile=/scratch/kocevski/319917/cmap_HighResolution_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.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=255.558 yref=26.7116 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319917/ft1_filtered_4FGL_J1702.2+2642_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319917/Model_4FGL_J1702.2+2642_daily_bin1285.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/319917/ft1_filtered_4FGL_J1702.2+2642_daily_bin1285.fits.....................!
real 69.82
user 68.38
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/319917/ft1_filtered_4FGL_J1702.2+2642_daily_bin1285.fits', '/scratch/kocevski/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.fits', expMap='/scratch/kocevski/319917/expmap_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.fits', expCube='/scratch/kocevski/319917/ltcube_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/319917/Model_4FGL_J1702.2+2642_daily_bin1285.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1702.2+2642'

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  4.481e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/319917/ft1_filtered_4FGL_J1702.2+2642_daily_bin1285.fits
Spacecraft file(s): /scratch/kocevski/319917/ft2_4FGL_J1702.2+2642_daily_bin1285.fits
Exposure map: /scratch/kocevski/319917/expmap_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.fits
Exposure cube: /scratch/kocevski/319917/ltcube_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/319917/Model_4FGL_J1702.2+2642_daily_bin1285.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) = 9108.88541253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.295       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.3825       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6476       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .24931       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .19379E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.162       1.0000         .10000E-03   10000.    
    12 'Prefactor '    71.217       1.0000         .10000E-03   10000.    
    13 'Prefactor '    203.76       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .68272       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1260       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9108.881     FROM MIGRAD    STATUS=CONVERGED    324 CALLS     1906 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.296        18.782        .78383E-07   -.55910E-04
   2  Prefactor     .10000E-03    18.520       -.15612E-06** at limit **
   3  Prefactor     3.3806        15.043       -.25861E-05   -.38081E-04
   4  Prefactor     1.6470        5.2382        .14990E-04    .52623E-04
   5  Prefactor     .10000E-03    11.678       -.66745E-08** at limit **
   6  Prefactor     .10000E-03    61.888       -.13587E-06** at limit **
   7  Prefactor     .10000E-03    5.1995       -.19298E-07** at limit **
   8  norm          .24076        1.0959        .88829E-07   -.18021E-03
   9  norm          .10000E-03    25.239        .17902E-09** at limit **
  10  Prefactor     .10023E-03    521.48        .45015E-05** at limit **
  11  Prefactor     10.959        97.999        .14269E-04   -.62992E-04
  12  Prefactor     71.246        87.669       -.26918E-05    .25876E-03
  13  Prefactor     203.74        196.36       -.14734E-05    .10443E-03
  14  Prefactor     .10000E-03    8.4369       -.15223E-05** at limit **
  15  Normalizat    .68243        .20023       -.41054E-05   -.52406E-04
  16  Prefactor     1.1261        .10219        .35563E-06    .35487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.2964
  Prefactor  = 0.0001
  Prefactor  = 3.38055
  Prefactor  = 1.64701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.240763
  norm       = 0.0001
  Prefactor  = 0.000100227
  Prefactor  = 10.9589
  Prefactor  = 71.2456
  Prefactor  = 203.739
  Prefactor  = 0.000100002
  Normalizat = 0.68243
  Prefactor  = 1.12613
 **********
 **   18 **HESSE 
 **********

 FCN=   9108.881     FROM HESSE     STATUS=OK           197 CALLS     2103 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.296        18.781        .74023E-04   -1.4625    
   2  Prefactor     .10000E-03    18.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.3806        15.016        .22000E-03   -1.5340    
   4  Prefactor     1.6470        5.2499        .16450E-02   -1.5451    
   5  Prefactor     .10000E-03    11.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    62.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .24076        4.0052        .19245E-02   -1.5610    
   9  norm          .10000E-03    25.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10023E-03    525.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.959        98.883        .11991E-03   -1.5046    
  12  Prefactor     71.246        87.689        .47570E-04   -1.4018    
  13  Prefactor     203.74        196.29        .14156E-03   -1.2843    
  14  Prefactor     .10000E-03    8.5787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .68243        .22646        .39248E-03   -1.0459    
  16  Prefactor     1.1261        .11740        .16382E-03   -.88636    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95715e-08
Minuit parameter uncertainties:
  1  18.7849
  2  4.3054e-05
  3  14.2554
  4  5.25134
  5  3.11173e-05
  6  0.000251292
  7  3.96235e-06
  8  1.96373
  9  7.83677e-06
  10  0.0220566
  11  65.9829
  12  87.8489
  13  196.931
  14  0.000260284
  15  0.226769
  16  0.117429
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  2.513e-04  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  1.126e+00  1.174e-01  0.000e+00  1.000e+01 ( 1.000e+00)
658        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
659        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  6.824e-01  2.268e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 255.558 26.712
Photon Flux Upper Limit: 7.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319917/likelihoodResults_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.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) = 9108.88068406
delta logL = -7.65470122133e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9108.88060784
delta logL = -3.25142536894e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10958E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0693       1.0000          .0000       10.000    
     3 'Normalizat'    .68243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1261       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+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=   9108.881     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      284 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    1385.4        .18142E-02** at limit **
   2  Index         2.1731        8.8859        .50000       -.23608E-04
   3  Normalizat    .68243        .18901E-01    .39249E-03    .50806E-04
   4  Prefactor     1.1261        .99984E-02    .16382E-03    .13199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100064
  Index      = 2.17315
  Normalizat = 0.682434
  Prefactor  = 1.12613
 **********
 **   18 **HESSE 
 **********

 FCN=   9108.881     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      313 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    7506.2        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1731        5.1026        .50000       -.60088    
   3  Normalizat    .68243        .41567E-01    .15700E-04   -1.0459    
   4  Prefactor     1.1261        .21989E-01    .65528E-05   -.88636    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.88695e-10
Minuit parameter uncertainties:
  1  0.0398283
  2  33.7043
  3  0.0415692
  4  0.0219894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319917': 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) = 9108.88060723
delta logL = 2.82801920548e-07

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.001e-04  3.983e-02  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  2.173e+00  3.370e+01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  1.126e+00  2.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
658        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
659        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  6.824e-01  4.157e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 255.558 26.712

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/319917/cmap_HighResolution_572400001_572659201_4FGL_J1702.2+2642_daily_bin1285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', job_status='DONE', photon_flux_upper_limit='7.50e-08', time_completed='2021-09-16 11:55:51.256497', job_id='319917', GAL2='1.13', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1631818551.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.83e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1285' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 11:55:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 319917: <4FGL_J1702.2+2642_daily_bin1285> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1285> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 16 11:40:45 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 16 11:42:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 16 11:42:34 2021
Terminated at Thu Sep 16 11:55:52 2021
Results reported at Thu Sep 16 11:55:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1285 255.558 26.7116 572400001 572659201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1702.2+2642 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   739.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            907 sec.

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

