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


Performing analysis on: 4FGL_J0749.9+1823_daily_bin865
RA = 117.485, Dec = 18.387
tmin = 463536001, tmax = 463795201
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='934725', job_status='RUN', time_executed='2021-08-28 15:49:03.579481', time_epoch_executed='1630190943.58' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='865'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934725

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934725/ft1_4FGL_J0749.9+1823_daily_bin865.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934725/ft2_4FGL_J0749.9+1823_daily_bin865.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934725/ft1_4FGL_J0749.9+1823_daily_bin865.fits outfile=/scratch/kocevski/934725/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin865.fits ra=117.485 dec=18.387 rad=12.0 tmin=463536001.0 tmax=463795201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.54
user 3.31
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/934725/ft2_4FGL_J0749.9+1823_daily_bin865.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/934725/ft2_4FGL_J0749.9+1823_daily_bin865.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/934725/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin865.fits evtable="EVENTS" outfile="/scratch/kocevski/934725/ft1_filtered_4FGL_J0749.9+1823_daily_bin865.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934725/ft1_filtered_4FGL_J0749.9+1823_daily_bin865.fits" evtable="EVENTS" scfile=/scratch/kocevski/934725/ft2_4FGL_J0749.9+1823_daily_bin865.fits sctable="SC_DATA" outfile=/scratch/kocevski/934725/ltcube_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.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/934725/ft2_4FGL_J0749.9+1823_daily_bin865.fits
.....................!
real 12.11
user 11.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934725/ft1_filtered_4FGL_J0749.9+1823_daily_bin865.fits evtable="EVENTS" scfile=/scratch/kocevski/934725/ft2_4FGL_J0749.9+1823_daily_bin865.fits sctable="SC_DATA" expcube=/scratch/kocevski/934725/ltcube_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.fits outfile=/scratch/kocevski/934725/expmap_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.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/934725/ltcube_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.fits
.....................!
real 193.90
user 187.55
sys 4.99

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 Monoceros in ROI with RadialGaussian spatial model.
Added 162 point sources and 1 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 J0749.9+1823 @ 117.485 18.387

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/934725/ft1_filtered_4FGL_J0749.9+1823_daily_bin865.fits scfile=/scratch/kocevski/934725/ft2_4FGL_J0749.9+1823_daily_bin865.fits outfile=/scratch/kocevski/934725/cmap_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.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=117.485 yref=18.387 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934725/ft1_filtered_4FGL_J0749.9+1823_daily_bin865.fits scfile=/scratch/kocevski/934725/ft2_4FGL_J0749.9+1823_daily_bin865.fits outfile=/scratch/kocevski/934725/cmap_HighResolution_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.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=117.485 yref=18.387 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934725/ft1_filtered_4FGL_J0749.9+1823_daily_bin865.fits evtable="EVENTS" scfile=/scratch/kocevski/934725/ft2_4FGL_J0749.9+1823_daily_bin865.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934725/Model_4FGL_J0749.9+1823_daily_bin865.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 Monoceros
Working on...
/scratch/kocevski/934725/ft1_filtered_4FGL_J0749.9+1823_daily_bin865.fits.....................!
real 86.07
user 84.22
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934725/ft1_filtered_4FGL_J0749.9+1823_daily_bin865.fits', '/scratch/kocevski/934725/ft2_4FGL_J0749.9+1823_daily_bin865.fits', expMap='/scratch/kocevski/934725/expmap_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.fits', expCube='/scratch/kocevski/934725/ltcube_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934725/Model_4FGL_J0749.9+1823_daily_bin865.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0749.9+1823'

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  7.199e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/934725/ft1_filtered_4FGL_J0749.9+1823_daily_bin865.fits
Spacecraft file(s): /scratch/kocevski/934725/ft2_4FGL_J0749.9+1823_daily_bin865.fits
Exposure map: /scratch/kocevski/934725/expmap_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.fits
Exposure cube: /scratch/kocevski/934725/ltcube_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934725/Model_4FGL_J0749.9+1823_daily_bin865.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) = 7412.69647173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.524       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .63857       1.0000         .10000E-03   10000.    
     3 'norm      '    6.4791       1.0000         .10000E-03   10000.    
     4 'norm      '    .11925       1.0000         .10000E-03   10000.    
     5 'norm      '    .19028       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.443       1.0000         .10000E-03   10000.    
     7 'norm      '    .30549       1.0000         .10000E-03   10000.    
     8 'Prefactor '    47.784       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.881       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.8136       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5843       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .61079       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.709       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.751       1.0000         .10000E-03   10000.    
    21 'norm      '    1.2912       1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.8913       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .86352       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0164       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95254       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7412.653     FROM MIGRAD    STATUS=CONVERGED    588 CALLS     2988 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.532        30.555       -.91465E-06   -.77065E-04
   2  Prefactor     .65081        37.363        .14687E-04   -.26001E-03
   3  norm          6.4777        10.070       -.58278E-07    .15635E-03
   4  norm          .11958        .74637        .31334E-06    .38290E-03
   5  norm          .19545        2.0092        .25816E-06    .93200E-03
   6  Prefactor     20.409        14.612        .87925E-06    .13346E-02
   7  norm          .29984        1.9678        .80716E-07   -.10280E-03
   8  Prefactor     47.793        38.978       -.73784E-06   -.13520E-03
   9  Prefactor     .10000E-03    11.864        .19154E-07** at limit **
  10  Prefactor     42.879        39.707        .14251E-06    .17906E-03
  11  Prefactor     .10000E-03    2.9838       -.34343E-06** at limit **
  12  Prefactor     .10000E-03    10.794        .11490E-06** at limit **
  13  norm          3.8139        20.467       -.21947E-06    .35190E-04
  14  Prefactor     3.5850        10.183       -.45298E-06    .37415E-04
  15  Prefactor     .10003E-03    83.086        .92220E-05** at limit **
  16  norm          .10002E-03    67.642       -.83186E-05** at limit **
  17  Prefactor     .60904        15.193       -.13560E-05    .30516E-04
  18  Prefactor     .10000E-03    11.872       -.39988E-06** at limit **
  19  Prefactor     12.709        13.326       -.14567E-06    .17765E-04
  20  Prefactor     11.769        30.250       -.10943E-05   -.88369E-04
  21  norm          1.2898        1.9510       -.13608E-06    .59347E-03
  22  Prefactor     9.8952        12.892        .47379E-06    .12717E-03
  23  Prefactor     .86340        6.3391       -.63086E-06    .59397E-03
  24  Normalizat    1.0165        .19450        .40220E-07    .38457E-03
  25  Prefactor     .95250        .12151        .74358E-06    .85456E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.5316
  Prefactor  = 0.650812
  norm       = 6.47771
  norm       = 0.119582
  norm       = 0.19545
  Prefactor  = 20.4095
  norm       = 0.299842
  Prefactor  = 47.7933
  Prefactor  = 0.0001
  Prefactor  = 42.8791
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.81392
  Prefactor  = 3.58496
  Prefactor  = 0.000100025
  norm       = 0.000100021
  Prefactor  = 0.609036
  Prefactor  = 0.0001
  Prefactor  = 12.7088
  Prefactor  = 11.7693
  norm       = 1.28981
  Prefactor  = 9.89515
  Prefactor  = 0.863399
  Normalizat = 1.01645
  Prefactor  = 0.952502
 **********
 **   18 **HESSE 
 **********

 FCN=   7412.653     FROM HESSE     STATUS=OK           437 CALLS     3425 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.532        30.587        .35131E-03   -1.4567    
   2  Prefactor     .65081        41.449        .45663E-02   -1.5547    
   3  norm          6.4777        10.067        .15767E-03   -1.5199    
   4  norm          .11958        1.6257        .13776E-02   -1.5639    
   5  norm          .19545        3.7033        .15871E-02   -1.5620    
   6  Prefactor     20.409        14.926        .88586E-04   -1.4804    
   7  norm          .29984        7.9089        .21649E-02   -1.5598    
   8  Prefactor     47.793        38.727        .58007E-04   -1.4324    
   9  Prefactor     .10000E-03    11.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.879        39.939        .61220E-04   -1.4397    
  11  Prefactor     .10000E-03    3.1210        .29012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8139        19.671        .20669E-03   -1.5317    
  14  Prefactor     3.5850        9.9738        .21345E-03   -1.5329    
  15  Prefactor     .10003E-03    84.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10002E-03    69.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .60904        170.96        .64501E-02   -1.5552    
  18  Prefactor     .10000E-03    11.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.709        13.344        .11236E-03   -1.4995    
  20  Prefactor     11.769        29.603        .11686E-03   -1.5022    
  21  norm          1.2898        1.8713        .10952E-03   -1.5481    
  22  Prefactor     9.8952        12.779        .12741E-03   -1.5079    
  23  Prefactor     .86340        6.4653        .42605E-03   -1.5522    
  24  Normalizat    1.0165        .22851        .29381E-03   -.92481    
  25  Prefactor     .95250        .14493        .20235E-03   -.94330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79424e-08
Minuit parameter uncertainties:
  1  30.6016
  2  10.3943
  3  10.0693
  4  0.881481
  5  1.70122
  6  14.9286
  7  3.07982
  8  38.747
  9  3.27403e-05
  10  39.9638
  11  5.09044e-05
  12  2.04704e-05
  13  17.3319
  14  9.97843
  15  0.00291749
  16  0.00243857
  17  20.4657
  18  4.45983e-05
  19  13.3467
  20  29.6404
  21  1.87138
  22  12.7828
  23  4.72576
  24  0.228729
  25  0.144991
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  4.288e+01  3.996e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.525e-01  1.450e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.016e+00  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.09
Ra Dec: 117.485 18.387
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 4.50e-08 +/- 4.19e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 1.19e-05

TS (Fixed Index): 2.09
Ra Dec: 117.485 18.387
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/934725/likelihoodResults_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.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) = 7412.64580374
delta logL = 0.00695889193776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7412.64445951
delta logL = 0.00830312376092

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.878       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4307       1.0000          .0000       10.000    
     3 'Normalizat'    1.0206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+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=   7412.644     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      268 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.881        43.230        .59848E-04   -.35359E-03
   2  Index         2.4307        .71034        .93032E-02   -.21135E-03
   3  Normalizat    1.0202        .20923        .29334E-03    .24703E-03
   4  Prefactor     .95094        .13882        .20249E-03    .36366E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.8814
  Index      = 2.43075
  Normalizat = 1.02024
  Prefactor  = 0.950943
 **********
 **   18 **HESSE 
 **********

 FCN=   7412.644     FROM HESSE     STATUS=OK            23 CALLS      291 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.881        42.552        .11970E-04   -1.4367    
   2  Index         2.4307        .69868        .37213E-03   -.53967    
   3  Normalizat    1.0202        .20932        .11734E-04   -.92355    
   4  Prefactor     .95094        .13889        .40499E-04   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51303e-09
Minuit parameter uncertainties:
  1  42.5807
  2  0.701808
  3  0.209492
  4  0.138944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934725': 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) = 7412.64445812
delta logL = 0.00830450838839

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  4.488e+01  4.258e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.431e+00  7.018e-01  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.509e-01  1.389e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.020e+00  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.11
Ra Dec: 117.485 18.387
Photon Index (Free Index): 2.43 +/- 0.70
Photon Flux (Free Index): 4.17e-08 +/- 4.61e-08
Energy Flux (Free Index): 1.31e-05 +/- 1.23e-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/934725/cmap_HighResolution_463536001_463795201_4FGL_J0749.9+1823_daily_bin865.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', photon_flux='4.50e-08', energy_flux2='1.31e-05', photon_flux_error='4.19e-08', dlogl='8.30e-03', energy_flux='1.28e-05', photon_flux2='4.17e-08', job_status='DONE', time_completed='2021-08-28 16:02:02.606705', photon_index_error2='0.70', photon_index2='2.43', ts='2.09', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='1.23e-05', EG='1.02', time_epoch_completed='1630191722.61', return_code='0', job_id='934725', GAL2='0.95', EG2='1.02', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='4.61e-08', ts2='2.11', photon_index='2.52' WHERE bin_id='865' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:02:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 934725: <4FGL_J0749.9+1823_daily_bin865> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin865> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Aug 28 15:45:36 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:45:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 15:45:37 2021
Terminated at Sat Aug 28 16:02:03 2021
Results reported at Sat Aug 28 16:02:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin865 117.485 18.387 463536001 463795201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.9+1823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   768.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            987 sec.

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

