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


Performing analysis on: 4FGL_J0749.9+1823_daily_bin46
RA = 117.485, Dec = 18.387
tmin = 251251201, tmax = 251510401
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='929541', job_status='RUN', time_executed='2021-08-28 15:32:00.252010', time_epoch_executed='1630189920.25' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='46'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/929541

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/929541/ft1_4FGL_J0749.9+1823_daily_bin46.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/929541/ft2_4FGL_J0749.9+1823_daily_bin46.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/929541/ft1_4FGL_J0749.9+1823_daily_bin46.fits outfile=/scratch/kocevski/929541/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin46.fits ra=117.485 dec=18.387 rad=12.0 tmin=251251201.0 tmax=251510401.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 1.85
user 1.30
sys 0.34

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/929541/ft2_4FGL_J0749.9+1823_daily_bin46.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/929541/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin46.fits evtable="EVENTS" outfile="/scratch/kocevski/929541/ft1_filtered_4FGL_J0749.9+1823_daily_bin46.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.34
sys 0.32

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/929541/ft1_filtered_4FGL_J0749.9+1823_daily_bin46.fits" evtable="EVENTS" scfile=/scratch/kocevski/929541/ft2_4FGL_J0749.9+1823_daily_bin46.fits sctable="SC_DATA" outfile=/scratch/kocevski/929541/ltcube_251251201_251510401_4FGL_J0749.9+1823_daily_bin46.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/929541/ft2_4FGL_J0749.9+1823_daily_bin46.fits
.....................!
real 12.97
user 12.18
sys 0.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/929541/ft1_filtered_4FGL_J0749.9+1823_daily_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/929541/ft2_4FGL_J0749.9+1823_daily_bin46.fits sctable="SC_DATA" expcube=/scratch/kocevski/929541/ltcube_251251201_251510401_4FGL_J0749.9+1823_daily_bin46.fits outfile=/scratch/kocevski/929541/expmap_251251201_251510401_4FGL_J0749.9+1823_daily_bin46.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/929541/ltcube_251251201_251510401_4FGL_J0749.9+1823_daily_bin46.fits
.....................!
real 191.92
user 185.85
sys 4.59

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/929541/ft1_filtered_4FGL_J0749.9+1823_daily_bin46.fits scfile=/scratch/kocevski/929541/ft2_4FGL_J0749.9+1823_daily_bin46.fits outfile=/scratch/kocevski/929541/cmap_251251201_251510401_4FGL_J0749.9+1823_daily_bin46.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.72
user 0.38
sys 0.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/929541/ft1_filtered_4FGL_J0749.9+1823_daily_bin46.fits scfile=/scratch/kocevski/929541/ft2_4FGL_J0749.9+1823_daily_bin46.fits outfile=/scratch/kocevski/929541/cmap_HighResolution_251251201_251510401_4FGL_J0749.9+1823_daily_bin46.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.73
user 0.39
sys 0.32

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1992       1.0000         .10000E-03   10000.    
     3 'norm      '    37.675       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5227       1.0000         .10000E-03   10000.    
     5 'norm      '    .46868       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.0403       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.683       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7966       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .33330E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    52.689       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.296       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    136.03       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.662       1.0000         .10000E-03   10000.    
    21 'norm      '    1.7922       1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.872       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .83300       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1504       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0271       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=   9480.247     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     2937 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.410       -.13741E-06** at limit **
   2  Prefactor     1.2004        5.6743        .65544E-05   -.18572E-03
   3  norm          37.677        13.086       -.30628E-07    .51012E-05
   4  norm          1.5229        1.2794        .88060E-07    .76448E-04
   5  norm          .46902        1.2662       -.19155E-07    .22558E-03
   6  Prefactor     7.0389        8.2021        .26206E-06   -.31247E-04
   7  norm          .10000E-03    1.7258        .10295E-05** at limit **
   8  Prefactor     16.477        34.520       -.33970E-05    .11122E-03
   9  Prefactor     .10000E-03    5.1104        .23883E-06** at limit **
  10  Prefactor     .10000E-03    14.259       -.87901E-06** at limit **
  11  Prefactor     2.7966        3.1749        .10484E-06    .32048E-05
  12  Prefactor     .10002E-03    111.92        .23583E-05** at limit **
  13  norm          52.690        26.929        .19601E-06    .41295E-04
  14  Prefactor     15.296        15.294       -.38283E-07   -.25136E-04
  15  Prefactor     .10000E-03    25.206        .57681E-06** at limit **
  16  norm          136.04        88.926        .75482E-07   -.21044E-04
  17  Prefactor     .10000E-03    20.211       -.51834E-06** at limit **
  18  Prefactor     .10000E-03    14.616        .14451E-05** at limit **
  19  Prefactor     .10000E-03    7.3547        .27898E-07** at limit **
  20  Prefactor     13.661        21.634        .41565E-06    .54926E-04
  21  norm          1.7922        1.3880        .90359E-08   -.21232E-04
  22  Prefactor     10.872        8.2868        .44708E-07    .10470E-04
  23  Prefactor     .83330        5.5684        .51652E-06    .74501E-05
  24  Normalizat    1.1505        .17970       -.52226E-09   -.86464E-04
  25  Prefactor     1.0270        .12020       -.79935E-06   -.18956E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.20044
  norm       = 37.6767
  norm       = 1.52291
  norm       = 0.46902
  Prefactor  = 7.03886
  norm       = 0.000100001
  Prefactor  = 16.4774
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.7966
  Prefactor  = 0.000100019
  norm       = 52.69
  Prefactor  = 15.2959
  Prefactor  = 0.0001
  norm       = 136.039
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 13.6613
  norm       = 1.79216
  Prefactor  = 10.8717
  Prefactor  = 0.833305
  Normalizat = 1.15052
  Prefactor  = 1.02703
 **********
 **   18 **HESSE 
 **********

 FCN=   9480.247     FROM HESSE     STATUS=OK           431 CALLS     3368 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2004        5.7080        .20736E-02   -1.5489    
   3  norm          37.677        13.101        .65297E-04   -1.4480    
   4  norm          1.5229        1.2684        .94805E-04   -1.5461    
   5  norm          .46902        1.2264        .13017E-02   -1.5571    
   6  Prefactor     7.0389        8.4888        .75595E-03   -1.5177    
   7  norm          .10000E-03    1.8520        .25540E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.477        34.728        .98056E-04   -1.4896    
   9  Prefactor     .10000E-03    5.1346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7966        3.1689        .17006E-03   -1.5373    
  12  Prefactor     .10002E-03    115.18        .42690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          52.690        26.918        .55255E-04   -1.4255    
  14  Prefactor     15.296        15.296        .10241E-03   -1.4926    
  15  Prefactor     .10000E-03    25.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          136.04        88.948        .34531E-04   -1.3370    
  17  Prefactor     .10000E-03    20.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.4207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.661        21.555        .10836E-03   -1.4969    
  21  norm          1.7922        1.3724        .85362E-04   -1.5440    
  22  Prefactor     10.872        8.2775        .12151E-03   -1.5048    
  23  Prefactor     .83330        5.5409        .44541E-03   -1.5525    
  24  Normalizat    1.1505        .20913        .30047E-03   -.88146    
  25  Prefactor     1.0270        .13927        .21817E-03   -.91834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26558e-09
Minuit parameter uncertainties:
  1  3.16529e-05
  2  5.23592
  3  13.1024
  4  1.26845
  5  1.22642
  6  8.49025
  7  8.63229e-05
  8  34.7704
  9  3.65295e-05
  10  0.000210492
  11  3.16904
  12  0.00298795
  13  26.9243
  14  15.2995
  15  0.000198356
  16  89.0353
  17  0.000152598
  18  0.000371402
  19  1.30762e-05
  20  21.5673
  21  1.37239
  22  8.27839
  23  4.2979
  24  0.209282
  25  0.139322
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  1.000e-04  2.105e-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:  1.027e+00  1.393e-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.151e+00  2.093e-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: 5.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/929541/likelihoodResults_251251201_251510401_4FGL_J0749.9+1823_daily_bin46.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) = 9480.24737861
delta logL = -0.000333149262588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9480.24704569
delta logL = -2.31817466556e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5231       1.0000          .0000       10.000    
     3 'Normalizat'    1.1504       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0271       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.

 FCN=   9480.247     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1517.3        .90712E-02** at limit **
   2  Index         2.5243        8.7137        .50000       -.78580E-06
   3  Normalizat    1.1505        .55677E-01    .67914E-01    .17944E-04
   4  Prefactor     1.0270        .38602E-01    .41495E-01    .84541E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.5243
  Normalizat = 1.15052
  Prefactor  = 1.02703
 **********
 **   18 **HESSE 
 **********

 FCN=   9480.247     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    68.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5243        5.2033        .50000       -.51800    
   3  Normalizat    1.1505        .19197        .30047E-03   -.88146    
   4  Prefactor     1.0270        .13339        .21817E-03   -.91834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45153e-12
Minuit parameter uncertainties:
  1  1.78783e-05
  2  9.54369
  3  0.192084
  4  0.133437
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/929541': 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) = 9480.24704546
delta logL = 4.34738467447e-10

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  1.000e-04  1.788e-05  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.524e+00  9.544e+00  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:  1.027e+00  1.334e-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.151e+00  1.921e-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/929541/cmap_HighResolution_251251201_251510401_4FGL_J0749.9+1823_daily_bin46.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2021-08-28 15:46:52.515122', job_id='929541', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1630190812.52', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='4.35e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='46' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:46:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 929541: <4FGL_J0749.9+1823_daily_bin46> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin46> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 15:30:22 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:30:23 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:30:23 2021
Terminated at Sat Aug 28 15:46:53 2021
Results reported at Sat Aug 28 15:46:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin46 117.485 18.387 251251201 251510401 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 :                                   891.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            991 sec.

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

