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


Performing analysis on: 4FGL_J0749.9+1823_daily_bin855
RA = 117.485, Dec = 18.387
tmin = 460944001, tmax = 461203201
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='934710', job_status='RUN', time_executed='2021-08-28 15:48:18.479428', time_epoch_executed='1630190898.48' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934710

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934710/ft1_4FGL_J0749.9+1823_daily_bin855.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934710/ft2_4FGL_J0749.9+1823_daily_bin855.fits


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

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

Done.
real 4.40
user 3.20
sys 1.18

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934710/ft1_filtered_4FGL_J0749.9+1823_daily_bin855.fits" evtable="EVENTS" scfile=/scratch/kocevski/934710/ft2_4FGL_J0749.9+1823_daily_bin855.fits sctable="SC_DATA" outfile=/scratch/kocevski/934710/ltcube_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.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/934710/ft2_4FGL_J0749.9+1823_daily_bin855.fits
.....................!
real 12.89
user 11.25
sys 1.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934710/ft1_filtered_4FGL_J0749.9+1823_daily_bin855.fits evtable="EVENTS" scfile=/scratch/kocevski/934710/ft2_4FGL_J0749.9+1823_daily_bin855.fits sctable="SC_DATA" expcube=/scratch/kocevski/934710/ltcube_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.fits outfile=/scratch/kocevski/934710/expmap_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.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/934710/ltcube_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.fits
.....................!
real 191.96
user 185.71
sys 5.76

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/934710/ft1_filtered_4FGL_J0749.9+1823_daily_bin855.fits scfile=/scratch/kocevski/934710/ft2_4FGL_J0749.9+1823_daily_bin855.fits outfile=/scratch/kocevski/934710/cmap_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.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 1.55
user 0.38
sys 1.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934710/ft1_filtered_4FGL_J0749.9+1823_daily_bin855.fits scfile=/scratch/kocevski/934710/ft2_4FGL_J0749.9+1823_daily_bin855.fits outfile=/scratch/kocevski/934710/cmap_HighResolution_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.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 1.49
user 0.40
sys 1.08

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934710/ft1_filtered_4FGL_J0749.9+1823_daily_bin855.fits evtable="EVENTS" scfile=/scratch/kocevski/934710/ft2_4FGL_J0749.9+1823_daily_bin855.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934710/Model_4FGL_J0749.9+1823_daily_bin855.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/934710/ft1_filtered_4FGL_J0749.9+1823_daily_bin855.fits.....................!
real 85.46
user 82.58
sys 2.54

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934710/ft1_filtered_4FGL_J0749.9+1823_daily_bin855.fits', '/scratch/kocevski/934710/ft2_4FGL_J0749.9+1823_daily_bin855.fits', expMap='/scratch/kocevski/934710/expmap_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.fits', expCube='/scratch/kocevski/934710/ltcube_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934710/Model_4FGL_J0749.9+1823_daily_bin855.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/934710/ft1_filtered_4FGL_J0749.9+1823_daily_bin855.fits
Spacecraft file(s): /scratch/kocevski/934710/ft2_4FGL_J0749.9+1823_daily_bin855.fits
Exposure map: /scratch/kocevski/934710/expmap_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.fits
Exposure cube: /scratch/kocevski/934710/ltcube_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934710/Model_4FGL_J0749.9+1823_daily_bin855.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) = 7054.15708925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.5474       1.0000         .10000E-03   10000.    
     4 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.8879       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.439       1.0000         .10000E-03   10000.    
     7 'norm      '    2.3979       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.0597       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13405       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6808       1.0000         .10000E-03   10000.    
    13 'norm      '    3.2464       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.030       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    46.535       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.059       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .73965       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.4136       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.5425       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .79738       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=   7054.143     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2950 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.261        .43135E-06** at limit **
   2  Prefactor     .10000E-03    2.6045        .17778E-07** at limit **
   3  norm          8.5466        13.317        .30968E-06   -.20121E-04
   4  norm          .10000E-03    .84641        .95272E-07** at limit **
   5  norm          4.8875        2.9812       -.41545E-07   -.56298E-04
   6  Prefactor     25.444        17.927        .39574E-06   -.24687E-04
   7  norm          2.3979        3.4543        .23809E-06   -.73764E-04
   8  Prefactor     5.0633        41.645        .78072E-06    .13530E-04
   9  Prefactor     .10000E-03    12.086       -.10022E-05** at limit **
  10  Prefactor     .10000E-03    34.284        .66182E-06** at limit **
  11  Prefactor     .13660        1.3740        .17839E-06   -.59553E-03
  12  Prefactor     4.6810        19.576        .94195E-07   -.90493E-05
  13  norm          3.2416        29.214        .14881E-04   -.17840E-03
  14  Prefactor     .10001E-03    34.607       -.39815E-05** at limit **
  15  Prefactor     28.972        83.912       -.99643E-05   -.15813E-03
  16  norm          .10000E-03    45.135       -.17165E-05** at limit **
  17  Prefactor     .10000E-03    17.864       -.61952E-06** at limit **
  18  Prefactor     46.554        51.627        .24909E-05    .14899E-03
  19  Prefactor     16.061        17.448        .23397E-06   -.49906E-05
  20  Prefactor     .10000E-03    12.498        .14201E-05** at limit **
  21  norm          .73975        .81930        .62302E-07   -.12080E-03
  22  Prefactor     .10000E-03    16.677        .51005E-06** at limit **
  23  Prefactor     1.4142        5.6758        .24292E-05    .98490E-05
  24  Normalizat    1.5423        .21198       -.11535E-05   -.29887E-04
  25  Prefactor     .79753        .13569        .13183E-06   -.14163E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.54664
  norm       = 0.0001
  norm       = 4.88753
  Prefactor  = 25.4444
  norm       = 2.39795
  Prefactor  = 5.06332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.136596
  Prefactor  = 4.68104
  norm       = 3.24164
  Prefactor  = 0.000100008
  Prefactor  = 28.9724
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 46.5538
  Prefactor  = 16.0609
  Prefactor  = 0.000100001
  norm       = 0.739752
  Prefactor  = 0.0001
  Prefactor  = 1.41421
  Normalizat = 1.54225
  Prefactor  = 0.797535
 **********
 **   18 **HESSE 
 **********

 FCN=   7054.143     FROM HESSE     STATUS=OK           431 CALLS     3381 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.6088        .13237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.5466        13.329        .13711E-03   -1.5123    
   4  norm          .10000E-03    1.9444        .14806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.8875        3.0163        .83211E-04   -1.5266    
   6  Prefactor     25.444        18.237        .79423E-04   -1.4699    
   7  norm          2.3979        3.4112        .16996E-03   -1.5398    
   8  Prefactor     5.0633        40.876        .17876E-03   -1.5258    
   9  Prefactor     .10000E-03    12.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    34.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13660        6.7435        .18731E-02   -1.5634    
  12  Prefactor     4.6810        19.419        .18601E-03   -1.5275    
  13  norm          3.2416        30.862        .11240E-02   -1.5348    
  14  Prefactor     .10001E-03    37.234        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     28.972        87.106        .74359E-04   -1.4631    
  16  norm          .10000E-03    45.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     46.554        52.068        .58777E-04   -1.4342    
  19  Prefactor     16.061        17.481        .99946E-04   -1.4906    
  20  Prefactor     .10000E-03    12.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .73975        .80785        .77487E-04   -1.5536    
  22  Prefactor     .10000E-03    17.138        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.4142        5.6161        .36422E-03   -1.5470    
  24  Normalizat    1.5423        .24807        .26905E-03   -.76598    
  25  Prefactor     .79753        .15772        .23704E-03   -.99819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.961e-09
Minuit parameter uncertainties:
  1  9.51797e-05
  2  9.99154e-07
  3  13.3341
  4  7.86416e-06
  5  3.01636
  6  18.2407
  7  3.41148
  8  28.7993
  9  0.00013337
  10  0.000142537
  11  1.91904
  12  19.0789
  13  20.0176
  14  0.00111174
  15  87.4921
  16  0.000453076
  17  0.000183371
  18  52.1193
  19  17.4863
  20  0.000161331
  21  0.80786
  22  2.29304e-05
  23  5.61819
  24  0.248263
  25  0.157807
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  1.000e-04  1.425e-04  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:  7.975e-01  1.578e-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.542e+00  2.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.485 18.387
Photon Flux Upper Limit: 9.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/934710/likelihoodResults_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.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) = 7054.14333435
delta logL = -0.000138485292155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7054.14319617
delta logL = -2.99777639157e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11231E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4691       1.0000          .0000       10.000    
     3 'Normalizat'    1.5423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79753       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=   7054.111     FROM MIGRAD    STATUS=CONVERGED    171 CALLS      318 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21359        .67870        .27975E-01    .15626E-02
   2  Index         5.1121        .36431        .50000       -.61028E-05
   3  Normalizat    1.5238        .25102        .26905E-03   -.81796E-04
   4  Prefactor     .80523        .15876        .23704E-03   -.64171E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.213591
  Index      = 5.11207
  Normalizat = 1.52383
  Prefactor  = 0.805231
 **********
 **   18 **HESSE 
 **********

 FCN=   7054.111     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      349 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21359        165.63        .10495E-02   -1.5616    
   2  Index         5.1121        6.0243        .56982E-02    3.1192    
   3  Normalizat    1.5238        .19330        .53811E-04   -.77111    
   4  Prefactor     .80523        .11501        .94817E-05   -.99536    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.26155e-06
Minuit parameter uncertainties:
  1  11.9263
  2  29.308
  3  0.193391
  4  0.115041
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934710': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7054.11126909
delta logL = 0.0319267793002

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  2.136e-01  1.193e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  5.112e+00  2.931e+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:  8.052e-01  1.150e-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.524e+00  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.485 18.387

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/934710/cmap_HighResolution_460944001_461203201_4FGL_J0749.9+1823_daily_bin855.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-03', job_status='DONE', photon_flux_upper_limit='9.19e-08', time_completed='2021-08-28 16:01:14.011532', job_id='934710', GAL2='0.81', fit_tolerance='1e-08', EG2='1.52', EG='1.54', time_epoch_completed='1630191674.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='3.19e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='855' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:01:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 934710: <4FGL_J0749.9+1823_daily_bin855> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin855> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Aug 28 15:45:35 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:45:36 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:36 2021
Terminated at Sat Aug 28 16:01:14 2021
Results reported at Sat Aug 28 16:01:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin855 117.485 18.387 460944001 461203201 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 :                                   787.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            939 sec.

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

