/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 40 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 = 7481
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0140.6+8736_daily_bin84
RA = 25.1688, Dec = 87.6062
tmin = 261100801, tmax = 261360001
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='752933', job_status='RUN', time_executed='2021-08-14 11:20:04.297192', time_epoch_executed='1628965204.3' WHERE source_name='4FGL J0140.6+8736' and cadence='daily' and bin_id='84'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/752933

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/752933/ft1_4FGL_J0140.6+8736_daily_bin84.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/752933/ft2_4FGL_J0140.6+8736_daily_bin84.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/752933/ft1_4FGL_J0140.6+8736_daily_bin84.fits outfile=/scratch/kocevski/752933/ft1_filteredMKT_4FGL_J0140.6+8736_daily_bin84.fits ra=25.1688 dec=87.6062 rad=12.0 tmin=261100801.0 tmax=261360001.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.65
user 1.33
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/752933/ft2_4FGL_J0140.6+8736_daily_bin84.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/752933/ft2_4FGL_J0140.6+8736_daily_bin84.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/752933/ft1_filteredMKT_4FGL_J0140.6+8736_daily_bin84.fits evtable="EVENTS" outfile="/scratch/kocevski/752933/ft1_filtered_4FGL_J0140.6+8736_daily_bin84.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.68
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/752933/ft1_filtered_4FGL_J0140.6+8736_daily_bin84.fits" evtable="EVENTS" scfile=/scratch/kocevski/752933/ft2_4FGL_J0140.6+8736_daily_bin84.fits sctable="SC_DATA" outfile=/scratch/kocevski/752933/ltcube_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.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/752933/ft2_4FGL_J0140.6+8736_daily_bin84.fits
.....................!
real 14.03
user 13.46
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/752933/ft1_filtered_4FGL_J0140.6+8736_daily_bin84.fits evtable="EVENTS" scfile=/scratch/kocevski/752933/ft2_4FGL_J0140.6+8736_daily_bin84.fits sctable="SC_DATA" expcube=/scratch/kocevski/752933/ltcube_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.fits outfile=/scratch/kocevski/752933/expmap_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.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/752933/ltcube_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.fits
.....................!
real 191.17
user 185.68
sys 4.06

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

Setting source of interest to:
4FGL J0140.6+8736 @ 25.1688 87.6062

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/752933/ft1_filtered_4FGL_J0140.6+8736_daily_bin84.fits scfile=/scratch/kocevski/752933/ft2_4FGL_J0140.6+8736_daily_bin84.fits outfile=/scratch/kocevski/752933/cmap_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.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=25.1688 yref=87.6062 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.76
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/752933/ft1_filtered_4FGL_J0140.6+8736_daily_bin84.fits scfile=/scratch/kocevski/752933/ft2_4FGL_J0140.6+8736_daily_bin84.fits outfile=/scratch/kocevski/752933/cmap_HighResolution_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.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=25.1688 yref=87.6062 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.04
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/752933/ft1_filtered_4FGL_J0140.6+8736_daily_bin84.fits evtable="EVENTS" scfile=/scratch/kocevski/752933/ft2_4FGL_J0140.6+8736_daily_bin84.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/752933/Model_4FGL_J0140.6+8736_daily_bin84.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/752933/ft1_filtered_4FGL_J0140.6+8736_daily_bin84.fits.....................!
real 159.54
user 147.23
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/752933/ft1_filtered_4FGL_J0140.6+8736_daily_bin84.fits', '/scratch/kocevski/752933/ft2_4FGL_J0140.6+8736_daily_bin84.fits', expMap='/scratch/kocevski/752933/expmap_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.fits', expCube='/scratch/kocevski/752933/ltcube_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/752933/Model_4FGL_J0140.6+8736_daily_bin84.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0140.6+8736'

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  1.998e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/752933/ft1_filtered_4FGL_J0140.6+8736_daily_bin84.fits
Spacecraft file(s): /scratch/kocevski/752933/ft2_4FGL_J0140.6+8736_daily_bin84.fits
Exposure map: /scratch/kocevski/752933/expmap_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.fits
Exposure cube: /scratch/kocevski/752933/ltcube_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/752933/Model_4FGL_J0140.6+8736_daily_bin84.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) = 10671.4049172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.719       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.902       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10456E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.0230       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.938       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0317       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .94611       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10670.75     FROM MIGRAD    STATUS=CONVERGED    308 CALLS     1271 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.715        17.343       -.52723E-06   -.23533E-03
   2  Prefactor     .10001E-03    7.0762        .27266E-05** at limit **
   3  Prefactor     .10000E-03    4.7530       -.87737E-06** at limit **
   4  Prefactor     .10000E-03    4.5466        .48844E-06** at limit **
   5  norm          .10000E-03    15.932        .10731E-05** at limit **
   6  Prefactor     20.903        10.596       -.26985E-07    .71794E-04
   7  Prefactor     .10000E-03    3.9644       -.14002E-06** at limit **
   8  norm          .10004E-03    4.0348       -.24447E-05** at limit **
   9  Prefactor     .10000E-03    4.5571        .34238E-06** at limit **
  10  Prefactor     .10000E-03    2.4763       -.43435E-07** at limit **
  11  norm          .10000E-03    1.0811        .41429E-07** at limit **
  12  Prefactor     6.0230        8.9936        .29165E-05    .84353E-04
  13  Prefactor     .10000E-03    28.578       -.91410E-06** at limit **
  14  Prefactor     13.937        14.704       -.85811E-07   -.89336E-04
  15  Normalizat    1.0317        .17092       -.14969E-06    .20726E-03
  16  Prefactor     .94613        .66115E-01    .22683E-08    .20871E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7155
  Prefactor  = 0.000100011
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 20.903
  Prefactor  = 0.0001
  norm       = 0.000100043
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.02295
  Prefactor  = 0.000100001
  Prefactor  = 13.9366
  Normalizat = 1.03167
  Prefactor  = 0.946131
 **********
 **   18 **HESSE 
 **********

 FCN=   10670.75     FROM HESSE     STATUS=OK           195 CALLS     1466 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.715        17.474        .11702E-03   -1.5023    
   2  Prefactor     .10001E-03    8.0478        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.8699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.6037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    16.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.903        10.608        .87608E-04   -1.4793    
   7  Prefactor     .10000E-03    3.9769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10004E-03    8.6729        .28684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.6233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4810        .15875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.0933        .10490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.0230        9.7372        .81803E-03   -1.5217    
  13  Prefactor     .10000E-03    28.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.937        14.741        .10729E-03   -1.4961    
  15  Normalizat    1.0317        .18528        .37208E-03   -.91977    
  16  Prefactor     .94613        .72219E-01    .15003E-03   -.94547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05803e-09
Minuit parameter uncertainties:
  1  17.4811
  2  0.000601229
  3  0.000163109
  4  8.3524e-05
  5  0.0003527
  6  10.6093
  7  1.69855e-05
  8  0.00122217
  9  9.002e-05
  10  3.13182e-06
  11  4.45946e-06
  12  9.73971
  13  0.000408564
  14  14.7451
  15  0.185398
  16  0.072226
Done.

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

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  1.172e+01  1.748e+01  1.000e-04  1.000e+04 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  9.461e-01  7.223e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.032e+00  1.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.76
Ra Dec: 25.169 87.606
Photon Flux Upper Limit: 7.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/752933/likelihoodResults_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.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) = 10670.7448844
delta logL = 0.00693974936075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10670.7397306
delta logL = 0.0120935306986

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.148       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9311       1.0000          .0000       10.000    
     3 'Normalizat'    1.0332       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94592       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+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=   10670.74     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      248 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.150        27.234        .10649E-03   -.21352E-03
   2  Index         1.9310        .88898        .12102E-01   -.46691E-04
   3  Normalizat    1.0332        .18234        .37185E-03    .10273E-04
   4  Prefactor     .94593        .71326E-01    .15005E-03    .14772E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1502
  Index      = 1.93095
  Normalizat = 1.03318
  Prefactor  = 0.945933
 **********
 **   18 **HESSE 
 **********

 FCN=   10670.74     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.150        25.348        .21297E-04   -1.4955    
   2  Index         1.9310        .82878        .48407E-03   -.66088    
   3  Normalizat    1.0332        .18233        .14874E-04   -.91927    
   4  Prefactor     .94593        .71347E-01    .30010E-04   -.94554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87346e-10
Minuit parameter uncertainties:
  1  25.3669
  2  0.834989
  3  0.182436
  4  0.071354
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/752933': 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) = 10670.7397305
delta logL = 0.0120935618997

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  1.415e+01  2.537e+01  1.000e-04  1.000e+04 ( 1.000e-14)
71         Index:  1.931e+00  8.350e-01  0.000e+00  1.000e+01 (-1.000e+00)
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  9.459e-01  7.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.033e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.76
Ra Dec: 25.169 87.606

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/752933/cmap_HighResolution_261100801_261360001_4FGL_J0140.6+8736_daily_bin84.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2021-08-14 11:34:00.959973', job_id='752933', GAL2='0.95', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1628966040.96', return_code2='0', ts='0.76', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.21e-02', ts2='0.78', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='84' AND source_name='4FGL J0140.6+8736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 11:34:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 752933: <4FGL_J0140.6+8736_daily_bin84> in cluster <slac> Done

Job <4FGL_J0140.6+8736_daily_bin84> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Aug 14 11:18:35 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 11:18:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 11:18:51 2021
Terminated at Sat Aug 14 11:34:02 2021
Results reported at Sat Aug 14 11:34:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0140.6+8736_daily_bin84 25.1688 87.6062 261100801 261360001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0140.6+8736 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   805.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             343.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            927 sec.

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

