/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 148 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0749.9+1823_daily_bin389
RA = 117.485, Dec = 18.387
tmin = 340156801, tmax = 340416001
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='931424', job_status='RUN', time_executed='2021-08-28 15:38:29.414992', time_epoch_executed='1630190309.42' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='389'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931424

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931424/ft1_4FGL_J0749.9+1823_daily_bin389.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931424/ft2_4FGL_J0749.9+1823_daily_bin389.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931424/ft1_4FGL_J0749.9+1823_daily_bin389.fits outfile=/scratch/kocevski/931424/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin389.fits ra=117.485 dec=18.387 rad=12.0 tmin=340156801.0 tmax=340416001.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.70
user 3.12
sys 0.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/931424/ft2_4FGL_J0749.9+1823_daily_bin389.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/931424/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin389.fits evtable="EVENTS" outfile="/scratch/kocevski/931424/ft1_filtered_4FGL_J0749.9+1823_daily_bin389.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.86
user 0.33
sys 0.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931424/ft1_filtered_4FGL_J0749.9+1823_daily_bin389.fits" evtable="EVENTS" scfile=/scratch/kocevski/931424/ft2_4FGL_J0749.9+1823_daily_bin389.fits sctable="SC_DATA" outfile=/scratch/kocevski/931424/ltcube_340156801_340416001_4FGL_J0749.9+1823_daily_bin389.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/931424/ft2_4FGL_J0749.9+1823_daily_bin389.fits
.....................!
real 12.15
user 11.41
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931424/ft1_filtered_4FGL_J0749.9+1823_daily_bin389.fits evtable="EVENTS" scfile=/scratch/kocevski/931424/ft2_4FGL_J0749.9+1823_daily_bin389.fits sctable="SC_DATA" expcube=/scratch/kocevski/931424/ltcube_340156801_340416001_4FGL_J0749.9+1823_daily_bin389.fits outfile=/scratch/kocevski/931424/expmap_340156801_340416001_4FGL_J0749.9+1823_daily_bin389.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/931424/ltcube_340156801_340416001_4FGL_J0749.9+1823_daily_bin389.fits
.....................!
real 190.20
user 184.82
sys 4.95

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/931424/ft1_filtered_4FGL_J0749.9+1823_daily_bin389.fits scfile=/scratch/kocevski/931424/ft2_4FGL_J0749.9+1823_daily_bin389.fits outfile=/scratch/kocevski/931424/cmap_340156801_340416001_4FGL_J0749.9+1823_daily_bin389.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.99
user 0.38
sys 0.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931424/ft1_filtered_4FGL_J0749.9+1823_daily_bin389.fits scfile=/scratch/kocevski/931424/ft2_4FGL_J0749.9+1823_daily_bin389.fits outfile=/scratch/kocevski/931424/cmap_HighResolution_340156801_340416001_4FGL_J0749.9+1823_daily_bin389.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.90
user 0.39
sys 0.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    81.201       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.816       1.0000         .10000E-03   10000.    
     3 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10765E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.7922       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10273E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14408E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0393       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.864       1.0000         .10000E-03   10000.    
    13 'norm      '    18.561       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.9788       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    124.03       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.8450       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0610       1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.802       1.0000         .10000E-03   10000.    
    21 'norm      '    1.0878       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.450       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.8687       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0767       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88783       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=   8170.996     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2878 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     81.205        45.128        .19099E-05    .59817E-04
   2  Prefactor     13.817        10.052       -.48097E-06   -.35300E-04
   3  norm          .10000E-03    6.6837       -.18554E-06** at limit **
   4  norm          .10000E-03    .42551       -.16969E-07** at limit **
   5  norm          4.7924        1.6639        .37713E-07    .17477E-03
   6  Prefactor     .10000E-03    2.5148       -.66480E-07** at limit **
   7  norm          .10000E-03    1.7239       -.33343E-06** at limit **
   8  Prefactor     .10000E-03    50.047       -.19383E-05** at limit **
   9  Prefactor     2.0278        8.0482        .25891E-05   -.63771E-03
  10  Prefactor     .10000E-03    23.802       -.59676E-05** at limit **
  11  Prefactor     .10000E-03    .91433       -.62505E-07** at limit **
  12  Prefactor     35.859        29.223       -.19655E-05   -.24880E-04
  13  norm          18.560        18.409       -.25972E-06   -.66288E-05
  14  Prefactor     5.9781        9.6703       -.89680E-07   -.22668E-04
  15  Prefactor     .10000E-03    23.306        .53339E-05** at limit **
  16  norm          124.02        95.405       -.53164E-05   -.41089E-04
  17  Prefactor     2.8356        81.246       -.18635E-04   -.45227E-04
  18  Prefactor     .10000E-03    39.887        .36194E-05** at limit **
  19  Prefactor     2.0599        16.348       -.56297E-06   -.52146E-04
  20  Prefactor     14.801        14.645        .16495E-06    .15076E-04
  21  norm          1.0876        .98437       -.32086E-07   -.79638E-04
  22  Prefactor     15.448        10.742        .54571E-07    .39577E-05
  23  Prefactor     1.8684        10.046        .22909E-05   -.48367E-04
  24  Normalizat    1.0769        .17257        .58939E-06    .69613E-04
  25  Prefactor     .88765        .11499        .24124E-07    .14174E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 81.2046
  Prefactor  = 13.8171
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.79243
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.02776
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.859
  norm       = 18.5604
  Prefactor  = 5.97805
  Prefactor  = 0.0001
  norm       = 124.021
  Prefactor  = 2.83555
  Prefactor  = 0.000100002
  Prefactor  = 2.05993
  Prefactor  = 14.8011
  norm       = 1.08763
  Prefactor  = 15.4483
  Prefactor  = 1.86841
  Normalizat = 1.07693
  Prefactor  = 0.887653
 **********
 **   18 **HESSE 
 **********

 FCN=   8170.996     FROM HESSE     STATUS=OK           429 CALLS     3307 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     81.205        45.127        .44572E-04   -1.3903    
   2  Prefactor     13.817        10.070        .10776E-03   -1.4964    
   3  norm          .10000E-03    6.7758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.5630        .11258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.7924        1.6624        .66158E-04   -1.5270    
   6  Prefactor     .10000E-03    2.5194        .13988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.7417        .11579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    50.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.0278        32.790        .14480E-02   -1.5423    
  10  Prefactor     .10000E-03    23.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .93463        .84361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.859        29.208        .33460E-03   -1.4510    
  13  norm          18.560        18.375        .92966E-04   -1.4846    
  14  Prefactor     5.9781        9.6520        .16422E-03   -1.5219    
  15  Prefactor     .10000E-03    23.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          124.02        95.477        .36142E-04   -1.3476    
  17  Prefactor     2.8356        83.106        .24106E-03   -1.5371    
  18  Prefactor     .10000E-03    40.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0599        16.577        .28784E-03   -1.5421    
  20  Prefactor     14.801        14.621        .10411E-03   -1.4938    
  21  norm          1.0876        .96500        .81125E-04   -1.5499    
  22  Prefactor     15.448        10.711        .10190E-03   -1.4922    
  23  Prefactor     1.8684        10.046        .30471E-03   -1.5435    
  24  Normalizat    1.0769        .20338        .28191E-03   -.90496    
  25  Prefactor     .88765        .13384        .20876E-03   -.96574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77921e-09
Minuit parameter uncertainties:
  1  45.146
  2  10.0712
  3  1.42511e-05
  4  8.21269e-05
  5  1.66241
  6  2.99175e-06
  7  1.93233e-06
  8  7.13911e-05
  9  16.3186
  10  0.000188753
  11  1.42805e-06
  12  29.2192
  13  18.3811
  14  9.65455
  15  0.000167183
  16  95.5956
  17  30.7484
  18  0.000502803
  19  11.6915
  20  14.6245
  21  0.965018
  22  10.7121
  23  8.66703
  24  0.20353
  25  0.133889
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  1.000e-04  1.888e-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:  8.877e-01  1.339e-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.077e+00  2.035e-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: 7.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/931424/likelihoodResults_340156801_340416001_4FGL_J0749.9+1823_daily_bin389.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): 102
logL (Free Index) = 8170.99572695
delta logL = -0.000199405637431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8170.99552831
delta logL = -7.6761625678e-07

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 'Index     '    2.9636       1.0000          .0000       10.000    
     3 'Normalizat'    1.0769       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88765       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=   8170.996     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      277 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10318E-03    11.581        .18142E-01** at limit **
   2  Index         2.8749        6.7963        .50000        .11535E-04
   3  Normalizat    1.0769        .34646E-02    .28191E-03    .74363E-04
   4  Prefactor     .88765        .23664E-02    .20876E-03    .63226E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103179
  Index      = 2.87493
  Normalizat = 1.07693
  Prefactor  = 0.887653
 **********
 **   18 **HESSE 
 **********

 FCN=   8170.996     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      306 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10318E-03    88.835        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8749        5.9657        .50000       -.43898    
   3  Normalizat    1.0769        .95403E-02    .11277E-04   -.90496    
   4  Prefactor     .88765        .65164E-02    .83504E-05   -.96574    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67676e-09
Minuit parameter uncertainties:
  1  0.0336596
  2  349.196
  3  0.00954034
  4  0.00651644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931424': 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) = 8170.99552815
delta logL = -6.06773028267e-07

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  1.032e-04  3.366e-02  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.875e+00  3.492e+02  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.877e-01  6.516e-03  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.077e+00  9.540e-03  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/931424/cmap_HighResolution_340156801_340416001_4FGL_J0749.9+1823_daily_bin389.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.47e-03', job_status='DONE', photon_flux_upper_limit='7.02e-08', time_completed='2021-08-28 15:51:49.470140', job_id='931424', GAL2='0.89', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630191109.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-6.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='389' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:51:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 931424: <4FGL_J0749.9+1823_daily_bin389> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin389 117.485 18.387 340156801 340416001 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 :                                   799.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   964 sec.
    Turnaround time :                            965 sec.

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

