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


Performing analysis on: 4FGL_J0713.8+1935_daily_bin1494
RA = 108.465, Dec = 19.5879
tmin = 626572801, tmax = 626832001
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='200427', job_status='RUN', time_executed='2021-08-26 23:02:48.222869', time_epoch_executed='1630044168.22' WHERE source_name='4FGL J0713.8+1935' and cadence='daily' and bin_id='1494'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200427

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200427/ft1_4FGL_J0713.8+1935_daily_bin1494.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200427/ft1_4FGL_J0713.8+1935_daily_bin1494.fits outfile=/scratch/kocevski/200427/ft1_filteredMKT_4FGL_J0713.8+1935_daily_bin1494.fits ra=108.465 dec=19.5879 rad=12.0 tmin=626572801.0 tmax=626832001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.93
user 2.73
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.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/200427/ft1_filteredMKT_4FGL_J0713.8+1935_daily_bin1494.fits evtable="EVENTS" outfile="/scratch/kocevski/200427/ft1_filtered_4FGL_J0713.8+1935_daily_bin1494.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.49
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200427/ft1_filtered_4FGL_J0713.8+1935_daily_bin1494.fits" evtable="EVENTS" scfile=/scratch/kocevski/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.fits sctable="SC_DATA" outfile=/scratch/kocevski/200427/ltcube_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.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/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.fits
.....................!
real 12.44
user 12.08
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200427/ft1_filtered_4FGL_J0713.8+1935_daily_bin1494.fits evtable="EVENTS" scfile=/scratch/kocevski/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.fits sctable="SC_DATA" expcube=/scratch/kocevski/200427/ltcube_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.fits outfile=/scratch/kocevski/200427/expmap_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.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/200427/ltcube_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.fits
.....................!
real 192.07
user 187.25
sys 4.42

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 IC 443 in ROI with RadialGaussian spatial model.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Added 164 point sources and 3 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 J0713.8+1935 @ 108.465 19.5879

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/200427/ft1_filtered_4FGL_J0713.8+1935_daily_bin1494.fits scfile=/scratch/kocevski/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.fits outfile=/scratch/kocevski/200427/cmap_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.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=108.465 yref=19.5879 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200427/ft1_filtered_4FGL_J0713.8+1935_daily_bin1494.fits scfile=/scratch/kocevski/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.fits outfile=/scratch/kocevski/200427/cmap_HighResolution_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.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=108.465 yref=19.5879 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.54
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/200427/ft1_filtered_4FGL_J0713.8+1935_daily_bin1494.fits evtable="EVENTS" scfile=/scratch/kocevski/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/200427/Model_4FGL_J0713.8+1935_daily_bin1494.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
adding source IC 443
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/200427/ft1_filtered_4FGL_J0713.8+1935_daily_bin1494.fits.....................!
real 137.72
user 136.17
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200427/ft1_filtered_4FGL_J0713.8+1935_daily_bin1494.fits', '/scratch/kocevski/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.fits', expMap='/scratch/kocevski/200427/expmap_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.fits', expCube='/scratch/kocevski/200427/ltcube_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200427/Model_4FGL_J0713.8+1935_daily_bin1494.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0713.8+1935'

4FGL J0713.8+1935
   Spectrum: LogParabola
266         norm:  8.175e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  1.056e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  5.687e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/200427/ft1_filtered_4FGL_J0713.8+1935_daily_bin1494.fits
Spacecraft file(s): /scratch/kocevski/200427/ft2_4FGL_J0713.8+1935_daily_bin1494.fits
Exposure map: /scratch/kocevski/200427/expmap_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.fits
Exposure cube: /scratch/kocevski/200427/ltcube_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200427/Model_4FGL_J0713.8+1935_daily_bin1494.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) = 9174.26791209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    24.727       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.689       1.0000         .10000E-03   10000.    
     8 'norm      '    39.554       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .32282E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10148E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.262       1.0000         .10000E-03   10000.    
    13 'norm      '    4.6570       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11400E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.0178       1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.058       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0255       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90102       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=   9174.260     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2259 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.916        .45147E-05** at limit **
   2  Prefactor     .10000E-03    12.828        .30886E-05** at limit **
   3  norm          .10000E-03    3.9041        .14193E-07** at limit **
   4  Prefactor     .10000E-03    7.2345        .29216E-08** at limit **
   5  norm          24.737        17.547        .20024E-05   -.37837E-05
   6  Prefactor     .10000E-03    12.573       -.26584E-05** at limit **
   7  Prefactor     27.710        16.034       -.10564E-05    .37816E-06
   8  norm          39.596        17.153        .37169E-05    .75969E-05
   9  Prefactor     .42254        4.0731       -.37450E-06   -.38723E-04
  10  norm          .10000E-03    .43540        .30232E-07** at limit **
  11  norm          .10000E-03    .86903        .53463E-07** at limit **
  12  Prefactor     30.321        11.702       -.14609E-06    .53905E-04
  13  norm          4.6604        4.4604       -.36115E-05   -.24477E-03
  14  Prefactor     .10000E-03    23.097        .38575E-05** at limit **
  15  Prefactor     .10000E-03    43.829       -.14297E-04** at limit **
  16  Prefactor     .10000E-03    20.817       -.70377E-05** at limit **
  17  Prefactor     7.0307        4.0742        .90454E-07   -.24824E-03
  18  Prefactor     26.091        37.479        .42833E-04    .29435E-04
  19  norm          .10000E-03    24.746        .66044E-05** at limit **
  20  Normalizat    1.0220        .23689       -.21541E-05    .13605E-03
  21  Prefactor     .90153        .99593E-01   -.25363E-06    .10426E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 24.7372
  Prefactor  = 0.0001
  Prefactor  = 27.7095
  norm       = 39.5963
  Prefactor  = 0.422545
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 30.321
  norm       = 4.66041
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 7.0307
  Prefactor  = 26.0907
  norm       = 0.0001
  Normalizat = 1.02201
  Prefactor  = 0.901527
 **********
 **   18 **HESSE 
 **********

 FCN=   9174.260     FROM HESSE     STATUS=OK           317 CALLS     2576 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.9093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.2349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          24.737        17.555        .80556E-04   -1.4713    
   6  Prefactor     .10000E-03    12.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.710        16.053        .76134E-04   -1.4655    
   8  norm          39.596        17.160        .63732E-04   -1.4449    
   9  Prefactor     .42254        34.736        .36028E-02   -1.5578    
  10  norm          .10000E-03    .44883        .12331E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .87488        .86582E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.321        11.761        .72833E-04   -1.4606    
  13  norm          4.6604        4.4798        .17787E-03   -1.5276    
  14  Prefactor     .10000E-03    23.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    44.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0307        4.0867        .14075E-03   -1.5178    
  18  Prefactor     26.091        37.562        .78476E-04   -1.4686    
  19  norm          .10000E-03    24.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0220        .26636        .44293E-03   -.92297    
  21  Prefactor     .90153        .11024        .21755E-03   -.96088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2331e-08
Minuit parameter uncertainties:
  1  1.1878e-05
  2  3.56457e-06
  3  1.49073e-06
  4  7.55185e-07
  5  17.5583
  6  3.7927e-06
  7  16.0551
  8  17.1623
  9  7.66596
  10  1.0092e-06
  11  3.61645e-06
  12  11.7623
  13  4.48012
  14  0.000432541
  15  0.000610505
  16  3.12896e-05
  17  4.08691
  18  37.5959
  19  1.76325e-06
  20  0.266709
  21  0.110264
Done.

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

Extracting fit parameters...

4FGL J0713.8+1935
   Spectrum: LogParabola
266         norm:  3.960e+01  1.716e+01  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  1.056e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  5.687e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  9.015e-01  1.103e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.022e+00  2.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.07
Ra Dec: 108.465 19.588
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.39e-07 +/- 6.01e-08
Energy Flux (Fixed Index): 4.83e-05 +/- 2.09e-05

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) = 9174.13060623
delta logL = 0.129880125049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9174.13003985
delta logL = 0.130446507634

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    36.596       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4825       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0056       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90556       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=   9174.130     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      262 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.564        285.40        .16562E-02    .13630E-03
   2  alpha         2.4814        3.6936        .30580        .82089E-04
   3  Normalizat    1.0058        .16329        .10059        .10900E-03
   4  Prefactor     .90559        .78840E-01    .45076E-01    .15946E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 36.5638
  alpha      = 2.48142
  Normalizat = 1.0058
  Prefactor  = 0.905592
 **********
 **   18 **HESSE 
 **********

 FCN=   9174.130     FROM HESSE     STATUS=OK            31 CALLS      293 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.564        17.579        .66249E-04   -1.4498    
   2  alpha         2.4814        .42524        .12399E-01   -.74319E-02
   3  Normalizat    1.0058        .23355        .44579E-03   -.92837    
   4  Prefactor     .90559        .10803        .21705E-03   -.95946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17136e-11
Minuit parameter uncertainties:
  1  17.5816
  2  0.427316
  3  0.233791
  4  0.108055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200427': 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) = 9174.13003039
delta logL = 0.130455961063

Extracting fit parameters...

4FGL J0713.8+1935
   Spectrum: LogParabola
266         norm:  3.656e+01  1.758e+01  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.481e+00  4.273e-01  0.000e+00  5.000e+00 ( 1.000e+00)
268         beta:  1.056e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  5.687e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  9.056e-01  1.081e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.006e+00  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.42
Ra Dec: 108.465 19.588
Photon Index (Free Index): 2.48 +/- 0.43
Photon Flux (Free Index): 1.57e-07 +/- 7.22e-08
Energy Flux (Free Index): 4.48e-05 +/- 2.00e-05

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/200427/cmap_HighResolution_626572801_626832001_4FGL_J0713.8+1935_daily_bin1494.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.39e-07', energy_flux2='4.48e-05', photon_flux_error='6.01e-08', dlogl='1.30e-01', energy_flux='4.83e-05', photon_flux2='1.57e-07', job_status='DONE', time_completed='2021-08-26 23:15:51.402464', photon_index_error2='0.43', photon_index2='2.48', ts='11.07', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.00e-05', EG='1.02', time_epoch_completed='1630044951.4', return_code='0', job_id='200427', GAL2='0.91', EG2='1.01', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='7.22e-08', ts2='11.42', photon_index='2.27' WHERE bin_id='1494' AND source_name='4FGL J0713.8+1935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 23:15:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 200427: <4FGL_J0713.8+1935_daily_bin1494> in cluster <slac> Done

Job <4FGL_J0713.8+1935_daily_bin1494> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Aug 26 23:00:46 2021
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 23:00:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 23:00:48 2021
Terminated at Thu Aug 26 23:15:52 2021
Results reported at Thu Aug 26 23:15:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0713.8+1935_daily_bin1494 108.465 19.5879 626572801 626832001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0713.8+1935 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   775.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             361.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            906 sec.

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

