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


Performing analysis on: 4FGL_J0702.7-1951_daily_bin1221
RA = 105.678, Dec = -19.8517
tmin = 555811201, tmax = 556070401
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='77979', job_status='RUN', time_executed='2021-08-26 16:30:16.927634', time_epoch_executed='1630020616.93' WHERE source_name='4FGL J0702.7-1951' and cadence='daily' and bin_id='1221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77979

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77979/ft1_4FGL_J0702.7-1951_daily_bin1221.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77979/ft2_4FGL_J0702.7-1951_daily_bin1221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77979/ft1_4FGL_J0702.7-1951_daily_bin1221.fits outfile=/scratch/kocevski/77979/ft1_filteredMKT_4FGL_J0702.7-1951_daily_bin1221.fits ra=105.678 dec=-19.8517 rad=12.0 tmin=555811201.0 tmax=556070401.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 10.11
user 3.37
sys 6.43

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77979/ft2_4FGL_J0702.7-1951_daily_bin1221.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/77979/ft1_filteredMKT_4FGL_J0702.7-1951_daily_bin1221.fits evtable="EVENTS" outfile="/scratch/kocevski/77979/ft1_filtered_4FGL_J0702.7-1951_daily_bin1221.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 7.51
user 0.33
sys 7.09

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77979/ft1_filtered_4FGL_J0702.7-1951_daily_bin1221.fits" evtable="EVENTS" scfile=/scratch/kocevski/77979/ft2_4FGL_J0702.7-1951_daily_bin1221.fits sctable="SC_DATA" outfile=/scratch/kocevski/77979/ltcube_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.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/77979/ft2_4FGL_J0702.7-1951_daily_bin1221.fits
.....................!
real 19.70
user 11.51
sys 8.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77979/ft1_filtered_4FGL_J0702.7-1951_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/77979/ft2_4FGL_J0702.7-1951_daily_bin1221.fits sctable="SC_DATA" expcube=/scratch/kocevski/77979/ltcube_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.fits outfile=/scratch/kocevski/77979/expmap_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.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/77979/ltcube_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.fits
.....................!
real 201.79
user 185.42
sys 13.95

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/77979/ft1_filtered_4FGL_J0702.7-1951_daily_bin1221.fits scfile=/scratch/kocevski/77979/ft2_4FGL_J0702.7-1951_daily_bin1221.fits outfile=/scratch/kocevski/77979/cmap_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.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 7.30
user 0.37
sys 6.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77979/ft1_filtered_4FGL_J0702.7-1951_daily_bin1221.fits scfile=/scratch/kocevski/77979/ft2_4FGL_J0702.7-1951_daily_bin1221.fits outfile=/scratch/kocevski/77979/cmap_HighResolution_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.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 7.33
user 0.40
sys 6.87

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77979/ft1_filtered_4FGL_J0702.7-1951_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/77979/ft2_4FGL_J0702.7-1951_daily_bin1221.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77979/Model_4FGL_J0702.7-1951_daily_bin1221.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/77979/ft1_filtered_4FGL_J0702.7-1951_daily_bin1221.fits.....................!
real 102.73
user 91.98
sys 10.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/77979/ft1_filtered_4FGL_J0702.7-1951_daily_bin1221.fits', '/scratch/kocevski/77979/ft2_4FGL_J0702.7-1951_daily_bin1221.fits', expMap='/scratch/kocevski/77979/expmap_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.fits', expCube='/scratch/kocevski/77979/ltcube_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/77979/Model_4FGL_J0702.7-1951_daily_bin1221.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/77979/ft1_filtered_4FGL_J0702.7-1951_daily_bin1221.fits
Spacecraft file(s): /scratch/kocevski/77979/ft2_4FGL_J0702.7-1951_daily_bin1221.fits
Exposure map: /scratch/kocevski/77979/expmap_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.fits
Exposure cube: /scratch/kocevski/77979/ltcube_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/77979/Model_4FGL_J0702.7-1951_daily_bin1221.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) = 6033.40667056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2400       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .65926       1.0000         .10000E-03   10000.    
     6 'norm      '    8.6603       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .41730       1.0000         .10000E-03   10000.    
     8 'norm      '    73.021       1.0000         .10000E-03   10000.    
     9 'norm      '    42.827       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.5128       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.1927       1.0000         .10000E-03   10000.    
    16 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .54663       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1441       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=   6033.353     FROM MIGRAD    STATUS=CONVERGED    381 CALLS     1608 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2416        6.0490        .95415E-07    .42552E-04
   2  Prefactor     .10000E-03    35.549        .10991E-05** at limit **
   3  Prefactor     .10000E-03    3.9631        .24428E-07** at limit **
   4  norm          .10000E-03    3.4062       -.11265E-06** at limit **
   5  norm          .66481        2.2367        .15043E-06   -.49691E-04
   6  norm          8.7429        16.606        .29688E-05    .28018E-03
   7  Prefactor     .36758        10.612        .97102E-06   -.18877E-03
   8  norm          73.001        33.622        .93244E-06    .11558E-04
   9  norm          42.827        18.376        .11263E-06    .14252E-03
  10  Prefactor     .10000E-03    2.5049        .44536E-07** at limit **
  11  norm          .10000E-03    106.59        .14973E-05** at limit **
  12  norm          .10000E-03    44.064       -.52795E-06** at limit **
  13  norm          2.5130        4.1830        .24666E-05   -.29925E-03
  14  Prefactor     .10000E-03    8.7611       -.12241E-08** at limit **
  15  norm          3.1924        2.8462        .11687E-06    .15027E-03
  16  norm          .10000E-03    27.801       -.63197E-06** at limit **
  17  Normalizat    .54754        .56762       -.47470E-05    .17170E-04
  18  Prefactor     1.1440        .90126E-01    .35686E-06    .51573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.24156
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.664806
  norm       = 8.74286
  Prefactor  = 0.36758
  norm       = 73.0014
  norm       = 42.8265
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.51298
  Prefactor  = 0.0001
  norm       = 3.19242
  norm       = 0.0001
  Normalizat = 0.547545
  Prefactor  = 1.14404
 **********
 **   18 **HESSE 
 **********

 FCN=   6033.353     FROM HESSE     STATUS=OK           246 CALLS     1854 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2416        6.0143        .22503E-03   -1.5348    
   2  Prefactor     .10000E-03    35.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.9642        .15098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.4113        .14001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .66481        2.3397        .19568E-02   -1.5545    
   6  norm          8.7429        18.784        .13621E-03   -1.5117    
   7  Prefactor     .36758        52.889        .36929E-02   -1.5587    
   8  norm          73.001        33.260        .23491E-03   -1.3997    
   9  norm          42.827        18.252        .61258E-04   -1.4398    
  10  Prefactor     .10000E-03    2.5192        .11991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    106.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    44.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.5130        4.2501        .10127E-02   -1.5391    
  14  Prefactor     .10000E-03    8.7629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.1924        2.8320        .11897E-03   -1.5351    
  16  norm          .10000E-03    27.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .54754        .51134        .10082E-02   -1.1026    
  18  Prefactor     1.1440        .82904E-01    .12459E-03   -.88071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72456e-08
Minuit parameter uncertainties:
  1  6.01544
  2  0.000250499
  3  1.51757e-06
  4  1.34307e-05
  5  2.34003
  6  18.7965
  7  8.82511
  8  33.2687
  9  18.2545
  10  2.79508e-06
  11  0.000397881
  12  1.06784e-05
  13  4.25057
  14  1.21647e-06
  15  2.83211
  16  9.989e-05
  17  0.515831
  18  0.0829136
Done.

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

Extracting fit parameters...

4FGL J0702.7-1951
   Spectrum: LogParabola
249         norm:  2.513e+00  4.251e+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

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.144e+00  8.291e-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:  5.475e-01  5.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.47
Ra Dec: 105.678 -19.852
Photon Flux Upper Limit: 2.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.31e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/77979/likelihoodResults_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.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) = 6033.3302105
delta logL = 0.0232584361856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6033.32710605
delta logL = 0.0263628870525

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8650       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7877       1.0000          .0000       5.0000    
     3 'Normalizat'    .55206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1439       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=   6033.327     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      247 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8648        4.7586        .20957E-03   -.33091E-05
   2  alpha         1.7877        .93710        .22768E-01    .26629E-05
   3  Normalizat    .55206        .44831        .10045E-02    .13536E-04
   4  Prefactor     1.1439        .79261E-01    .12459E-03    .71354E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.86476
  alpha      = 1.78769
  Normalizat = 0.55206
  Prefactor  = 1.14386
 **********
 **   18 **HESSE 
 **********

 FCN=   6033.327     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8648        4.7182        .83827E-05   -1.5369    
   2  alpha         1.7877        .92995        .91073E-03   -.28893    
   3  Normalizat    .55206        .44803        .40181E-04   -1.1006    
   4  Prefactor     1.1439        .79222E-01    .49838E-05   -.88077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58416e-12
Minuit parameter uncertainties:
  1  4.71878
  2  0.955029
  3  0.451013
  4  0.0792304
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77979': 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) = 6033.32710605
delta logL = 0.0263628924968

Extracting fit parameters...

4FGL J0702.7-1951
   Spectrum: LogParabola
249         norm:  2.865e+00  4.719e+00  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  1.788e+00  9.550e-01  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.144e+00  7.923e-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:  5.521e-01  4.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/77979/cmap_HighResolution_555811201_556070401_4FGL_J0702.7-1951_daily_bin1221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-04', job_status='DONE', photon_flux_upper_limit='2.02e-07', time_completed='2021-08-26 16:41:51.206473', job_id='77979', GAL2='1.14', fit_tolerance='1e-08', EG2='0.55', EG='0.55', time_epoch_completed='1630021311.21', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='2.64e-02', ts2='0.53', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1221' AND source_name='4FGL J0702.7-1951' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 16:41:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 77979: <4FGL_J0702.7-1951_daily_bin1221> in cluster <slac> Done

Job <4FGL_J0702.7-1951_daily_bin1221> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Aug 26 16:25:29 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 16:25:31 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:31 2021
Terminated at Thu Aug 26 16:41:52 2021
Results reported at Thu Aug 26 16:41:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0702.7-1951_daily_bin1221 105.678 -19.8517 555811201 556070401 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 :                                   797.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

