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


Performing analysis on: 4FGL_J0702.7-1951_daily_bin1140
RA = 105.678, Dec = -19.8517
tmin = 534816001, tmax = 535075201
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='77856', job_status='RUN', time_executed='2021-08-26 16:26:40.220721', time_epoch_executed='1630020400.22' WHERE source_name='4FGL J0702.7-1951' and cadence='daily' and bin_id='1140'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77856

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77856/ft1_4FGL_J0702.7-1951_daily_bin1140.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77856/ft1_4FGL_J0702.7-1951_daily_bin1140.fits outfile=/scratch/kocevski/77856/ft1_filteredMKT_4FGL_J0702.7-1951_daily_bin1140.fits ra=105.678 dec=-19.8517 rad=12.0 tmin=534816001.0 tmax=535075201.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.24
user 3.35
sys 0.86

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.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/77856/ft1_filteredMKT_4FGL_J0702.7-1951_daily_bin1140.fits evtable="EVENTS" outfile="/scratch/kocevski/77856/ft1_filtered_4FGL_J0702.7-1951_daily_bin1140.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 1.15
user 0.32
sys 0.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77856/ft1_filtered_4FGL_J0702.7-1951_daily_bin1140.fits" evtable="EVENTS" scfile=/scratch/kocevski/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.fits sctable="SC_DATA" outfile=/scratch/kocevski/77856/ltcube_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.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/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.fits
.....................!
real 12.95
user 11.88
sys 1.03

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77856/ft1_filtered_4FGL_J0702.7-1951_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.fits sctable="SC_DATA" expcube=/scratch/kocevski/77856/ltcube_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.fits outfile=/scratch/kocevski/77856/expmap_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.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/77856/ltcube_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.fits
.....................!
real 191.39
user 185.67
sys 5.32

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

Setting source of interest to:
4FGL J0702.7-1951 @ 105.678 -19.8517

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/77856/ft1_filtered_4FGL_J0702.7-1951_daily_bin1140.fits scfile=/scratch/kocevski/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.fits outfile=/scratch/kocevski/77856/cmap_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.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=105.678 yref=-19.8517 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 1.19
user 0.37
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77856/ft1_filtered_4FGL_J0702.7-1951_daily_bin1140.fits scfile=/scratch/kocevski/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.fits outfile=/scratch/kocevski/77856/cmap_HighResolution_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.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=105.678 yref=-19.8517 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 1.20
user 0.38
sys 0.81

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77856/ft1_filtered_4FGL_J0702.7-1951_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77856/Model_4FGL_J0702.7-1951_daily_bin1140.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/77856/ft1_filtered_4FGL_J0702.7-1951_daily_bin1140.fits.....................!
real 197.62
user 195.17
sys 2.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/77856/ft1_filtered_4FGL_J0702.7-1951_daily_bin1140.fits', '/scratch/kocevski/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.fits', expMap='/scratch/kocevski/77856/expmap_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.fits', expCube='/scratch/kocevski/77856/ltcube_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/77856/Model_4FGL_J0702.7-1951_daily_bin1140.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0702.7-1951'

4FGL J0702.7-1951
   Spectrum: LogParabola
249         norm:  1.267e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  2.015e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
251         beta:  8.908e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  1.379e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/77856/ft1_filtered_4FGL_J0702.7-1951_daily_bin1140.fits
Spacecraft file(s): /scratch/kocevski/77856/ft2_4FGL_J0702.7-1951_daily_bin1140.fits
Exposure map: /scratch/kocevski/77856/expmap_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.fits
Exposure cube: /scratch/kocevski/77856/ltcube_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/77856/Model_4FGL_J0702.7-1951_daily_bin1140.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) = 13391.0714103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.237       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.687       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.5984       1.0000         .10000E-03   10000.    
     5 'norm      '    2.9109       1.0000         .10000E-03   10000.    
     6 'norm      '    .10414E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3280       1.0000         .10000E-03   10000.    
     8 'norm      '    38.850       1.0000         .10000E-03   10000.    
     9 'norm      '    11.906       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8927       1.0000         .10000E-03   10000.    
    11 'norm      '    .10675E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.2097       1.0000         .10000E-03   10000.    
    16 'norm      '    4.2753       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .97312       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13391.05     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     1732 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.236        9.7623        .53240E-07    .13163E-04
   2  Prefactor     23.682        24.276       -.15976E-05   -.13541E-03
   3  Prefactor     .10000E-03    3.8991        .13514E-07** at limit **
   4  norm          6.5980        7.5220        .29496E-07   -.55253E-04
   5  norm          2.9108        1.9379       -.58805E-07    .42130E-04
   6  norm          .10000E-03    7.3736        .15427E-07** at limit **
   7  Prefactor     4.3295        7.1037        .51509E-06    .12338E-04
   8  norm          38.837        24.042       -.32895E-05   -.52174E-03
   9  norm          11.907        9.9469       -.25869E-06   -.23954E-03
  10  Prefactor     3.8920        4.7492       -.85208E-06   -.83619E-03
  11  norm          .10000E-03    40.781        .29694E-07** at limit **
  12  norm          .10000E-03    25.125        .12609E-06** at limit **
  13  norm          .10000E-03    1.3131        .85387E-08** at limit **
  14  Prefactor     .10000E-03    10.067       -.98644E-08** at limit **
  15  norm          4.2097        1.8050       -.25202E-07   -.12980E-03
  16  norm          4.2743        10.813        .44327E-05   -.60956E-03
  17  Normalizat    .97301        .37637        .25441E-05   -.90644E-05
  18  Prefactor     1.0079        .52322E-01   -.19331E-06   -.34082E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.236
  Prefactor  = 23.6821
  Prefactor  = 0.0001
  norm       = 6.59799
  norm       = 2.91081
  norm       = 0.0001
  Prefactor  = 4.32949
  norm       = 38.8368
  norm       = 11.907
  Prefactor  = 3.89205
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.20965
  norm       = 4.27434
  Normalizat = 0.973006
  Prefactor  = 1.00791
 **********
 **   18 **HESSE 
 **********

 FCN=   13391.05     FROM HESSE     STATUS=OK           246 CALLS     1978 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.236        9.7507        .11451E-03   -1.5008    
   2  Prefactor     23.682        24.457        .82304E-04   -1.4734    
   3  Prefactor     .10000E-03    3.9019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.5980        7.5076        .15622E-03   -1.5194    
   5  norm          2.9108        1.9391        .12410E-03   -1.5367    
   6  norm          .10000E-03    7.3982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3295        7.0626        .19363E-03   -1.5292    
   8  norm          38.837        25.369        .64305E-04   -1.4461    
   9  norm          11.907        9.8624        .11610E-03   -1.5018    
  10  Prefactor     3.8920        4.8744        .20450E-03   -1.5313    
  11  norm          .10000E-03    40.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    25.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.3224        .12947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.2097        1.8030        .98222E-04   -1.5298    
  16  norm          4.2743        12.625        .97427E-03   -1.5294    
  17  Normalizat    .97301        .37713        .84413E-03   -.93940    
  18  Prefactor     1.0079        .52607E-01    .12665E-03   -.92466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37971e-09
Minuit parameter uncertainties:
  1  9.75199
  2  24.4675
  3  7.46922e-07
  4  7.50872
  5  1.93911
  6  6.03826e-06
  7  7.06397
  8  25.3765
  9  9.86374
  10  4.87488
  11  9.25892e-05
  12  2.21348e-05
  13  1.99414e-07
  14  1.86599e-07
  15  1.80298
  16  12.6327
  17  0.378167
  18  0.0526096
Done.

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

Extracting fit parameters...

4FGL J0702.7-1951
   Spectrum: LogParabola
249         norm:  1.000e-04  1.994e-07  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  2.015e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
251         beta:  8.908e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  1.379e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.008e+00  5.261e-02  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  9.730e-01  3.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 105.678 -19.852
Photon Flux Upper Limit: 8.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/77856/likelihoodResults_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.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) = 13391.0570661
delta logL = -0.00360358513899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13391.0534625
delta logL = 2.47091520578e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0230       1.0000          .0000       5.0000    
     3 'Normalizat'    .97299       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+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=   13391.05     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      254 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6055        .12978E-01** at limit **
   2  alpha         2.3893        3.3924        .50000        .12836E-05
   3  Normalizat    .97301        .18137E-01    .84411E-03   -.33913E-04
   4  Prefactor     1.0079        .28017E-02    .12665E-03   -.27288E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.38928
  Normalizat = 0.973006
  Prefactor  = 1.00791
 **********
 **   18 **HESSE 
 **********

 FCN=   13391.05     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      281 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    307.10        .26196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3893        2.8391        .50000       -.44302E-01
   3  Normalizat    .97301        .23887        .33765E-04   -.93940    
   4  Prefactor     1.0079        .36890E-01    .50661E-05   -.92466    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.17481e-07
Minuit parameter uncertainties:
  1  0.000114829
  2  1679.79
  3  0.239132
  4  0.0368908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77856': 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) = 13391.0534602
delta logL = 2.31203557632e-06

Extracting fit parameters...

4FGL J0702.7-1951
   Spectrum: LogParabola
249         norm:  1.000e-04  1.148e-04  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  2.389e+00  1.680e+03  0.000e+00  5.000e+00 ( 1.000e+00)
251         beta:  8.908e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  1.379e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.008e+00  3.689e-02  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  9.730e-01  2.391e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 105.678 -19.852

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/77856/cmap_HighResolution_534816001_535075201_4FGL_J0702.7-1951_daily_bin1140.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.67e-05', job_status='DONE', photon_flux_upper_limit='8.72e-08', time_completed='2021-08-26 16:42:00.134178', job_id='77856', GAL2='1.01', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1630021320.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.31e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1140' AND source_name='4FGL J0702.7-1951' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 16:42:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 77856: <4FGL_J0702.7-1951_daily_bin1140> in cluster <slac> Done

Job <4FGL_J0702.7-1951_daily_bin1140> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Aug 26 16:25:22 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 16:25:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 16:25:24 2021
Terminated at Thu Aug 26 16:42:00 2021
Results reported at Thu Aug 26 16:42:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0702.7-1951_daily_bin1140 105.678 -19.8517 534816001 535075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0702.7-1951 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   928.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   996 sec.
    Turnaround time :                            998 sec.

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

