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


Performing analysis on: 4FGL_J0749.9+1823_daily_bin60
RA = 117.485, Dec = 18.387
tmin = 254880001, tmax = 255139201
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='929561', job_status='RUN', time_executed='2021-08-28 15:34:20.206347', time_epoch_executed='1630190060.21' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='60'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/929561

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/929561/ft1_4FGL_J0749.9+1823_daily_bin60.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/929561/ft2_4FGL_J0749.9+1823_daily_bin60.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/929561/ft1_4FGL_J0749.9+1823_daily_bin60.fits outfile=/scratch/kocevski/929561/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin60.fits ra=117.485 dec=18.387 rad=12.0 tmin=254880001.0 tmax=255139201.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.41
user 1.25
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/929561/ft2_4FGL_J0749.9+1823_daily_bin60.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/929561/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin60.fits evtable="EVENTS" outfile="/scratch/kocevski/929561/ft1_filtered_4FGL_J0749.9+1823_daily_bin60.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.49
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/929561/ft1_filtered_4FGL_J0749.9+1823_daily_bin60.fits" evtable="EVENTS" scfile=/scratch/kocevski/929561/ft2_4FGL_J0749.9+1823_daily_bin60.fits sctable="SC_DATA" outfile=/scratch/kocevski/929561/ltcube_254880001_255139201_4FGL_J0749.9+1823_daily_bin60.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/929561/ft2_4FGL_J0749.9+1823_daily_bin60.fits
.....................!
real 12.93
user 12.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/929561/ft1_filtered_4FGL_J0749.9+1823_daily_bin60.fits evtable="EVENTS" scfile=/scratch/kocevski/929561/ft2_4FGL_J0749.9+1823_daily_bin60.fits sctable="SC_DATA" expcube=/scratch/kocevski/929561/ltcube_254880001_255139201_4FGL_J0749.9+1823_daily_bin60.fits outfile=/scratch/kocevski/929561/expmap_254880001_255139201_4FGL_J0749.9+1823_daily_bin60.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/929561/ltcube_254880001_255139201_4FGL_J0749.9+1823_daily_bin60.fits
.....................!
real 190.44
user 185.79
sys 4.26

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/929561/ft1_filtered_4FGL_J0749.9+1823_daily_bin60.fits scfile=/scratch/kocevski/929561/ft2_4FGL_J0749.9+1823_daily_bin60.fits outfile=/scratch/kocevski/929561/cmap_254880001_255139201_4FGL_J0749.9+1823_daily_bin60.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/929561/ft1_filtered_4FGL_J0749.9+1823_daily_bin60.fits scfile=/scratch/kocevski/929561/ft2_4FGL_J0749.9+1823_daily_bin60.fits outfile=/scratch/kocevski/929561/cmap_HighResolution_254880001_255139201_4FGL_J0749.9+1823_daily_bin60.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.262       1.0000         .10000E-03   10000.    
     3 'norm      '    6.2321       1.0000         .10000E-03   10000.    
     4 'norm      '    4.0043       1.0000         .10000E-03   10000.    
     5 'norm      '    1.7198       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.124       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.7419       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.733       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    21.334       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0495       1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.945       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.7619       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.220       1.0000         .10000E-03   10000.    
    21 'norm      '    1.0332       1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.137       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .80755       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0797       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=   5955.590     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2892 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.580       -.86449E-06** at limit **
   2  Prefactor     25.264        13.999        .12414E-06    .36324E-05
   3  norm          6.2327        12.502       -.14978E-05    .15759E-05
   4  norm          4.0045        1.5405       -.24702E-08    .10484E-05
   5  norm          1.7200        1.3058       -.18445E-08   -.17440E-04
   6  Prefactor     .10000E-03    6.6321        .34407E-07** at limit **
   7  norm          .10000E-03    1.2217        .49301E-07** at limit **
   8  Prefactor     .10000E-03    20.661        .43639E-06** at limit **
   9  Prefactor     25.119        20.449       -.14867E-06   -.28307E-05
  10  Prefactor     .10000E-03    27.194       -.34650E-06** at limit **
  11  Prefactor     .10000E-03    2.6678       -.25360E-07** at limit **
  12  Prefactor     .10000E-03    50.689       -.97702E-06** at limit **
  13  norm          5.7419        10.690       -.73753E-06   -.50726E-05
  14  Prefactor     14.733        12.569        .32314E-07   -.92859E-05
  15  Prefactor     .10000E-03    39.963        .27526E-05** at limit **
  16  norm          21.280        91.364       -.75127E-05    .11427E-04
  17  Prefactor     1.1074        141.67        .26309E-04   -.48327E-05
  18  Prefactor     19.922        31.753       -.41201E-05   -.35677E-04
  19  Prefactor     2.7596        17.390       -.58893E-05   -.10256E-04
  20  Prefactor     16.229        20.838       -.19655E-06   -.29385E-04
  21  norm          1.0314        1.4711        .15019E-06    .54750E-03
  22  Prefactor     19.141        11.607       -.17554E-06   -.50553E-04
  23  Prefactor     .10000E-03    3.0836        .98442E-08** at limit **
  24  Normalizat    .80778        .19936        .11200E-05   -.78260E-04
  25  Prefactor     1.0796        .13843       -.42814E-06   -.96584E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 25.2642
  norm       = 6.23268
  norm       = 4.00453
  norm       = 1.72
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.1192
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.74187
  Prefactor  = 14.7329
  Prefactor  = 0.0001
  norm       = 21.2797
  Prefactor  = 1.10742
  Prefactor  = 19.9217
  Prefactor  = 2.75963
  Prefactor  = 16.2289
  norm       = 1.03139
  Prefactor  = 19.1406
  Prefactor  = 0.0001
  Normalizat = 0.807777
  Prefactor  = 1.07957
 **********
 **   18 **HESSE 
 **********

 FCN=   5955.590     FROM HESSE     STATUS=OK           437 CALLS     3329 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.264        13.994        .79700E-04   -1.4702    
   3  norm          6.2327        12.520        .80401E-03   -1.5209    
   4  norm          4.0045        1.5400        .56786E-04   -1.5308    
   5  norm          1.7200        1.3029        .74269E-04   -1.5446    
   6  Prefactor     .10000E-03    6.6894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2253        .83264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.119        20.462        .79919E-04   -1.4705    
  10  Prefactor     .10000E-03    27.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.7861        .24568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    51.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.7419        10.678        .83810E-03   -1.5229    
  14  Prefactor     14.733        12.583        .10435E-03   -1.4940    
  15  Prefactor     .10000E-03    39.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          21.280        91.115        .86718E-04   -1.4785    
  17  Prefactor     1.1074        140.44        .76281E-02   -1.5498    
  18  Prefactor     19.922        31.869        .89684E-04   -1.4815    
  19  Prefactor     2.7596        17.391        .12246E-02   -1.5376    
  20  Prefactor     16.229        20.478        .99447E-04   -1.4902    
  21  norm          1.0314        1.3177        .97099E-03   -1.5505    
  22  Prefactor     19.141        11.540        .91556E-04   -1.4833    
  23  Prefactor     .10000E-03    3.0914        .13234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .80778        .22319        .31304E-03   -.99781    
  25  Prefactor     1.0796        .15673        .19624E-03   -.90122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49031e-08
Minuit parameter uncertainties:
  1  1.68152e-05
  2  13.9957
  3  12.5252
  4  1.54004
  5  1.30295
  6  3.2916e-07
  7  1.1988e-06
  8  2.94359e-06
  9  20.4675
  10  3.14833e-05
  11  3.33653e-06
  12  9.22365e-05
  13  10.682
  14  12.585
  15  7.01062e-05
  16  88.295
  17  25.0007
  18  31.8958
  19  13.8612
  20  20.4866
  21  1.31773
  22  11.5409
  23  1.62843e-08
  24  0.223443
  25  0.156801
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  1.000e-04  3.148e-05  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.080e+00  1.568e-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:  8.078e-01  2.234e-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: 8.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/929561/likelihoodResults_254880001_255139201_4FGL_J0749.9+1823_daily_bin60.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) = 5955.59000891
delta logL = -0.000174854863872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5955.5898354
delta logL = -1.34805941343e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8716       1.0000          .0000       10.000    
     3 'Normalizat'    .80777       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0796       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=   5955.590     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      276 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10795E-03    15.450        .18142E-01** at limit **
   2  Index         2.7377        8.4802        .50000        .19213E-04
   3  Normalizat    .80778        .44707E-02    .31304E-03    .68566E-04
   4  Prefactor     1.0796        .32171E-02    .19624E-03    .81523E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010795
  Index      = 2.73766
  Normalizat = 0.807777
  Prefactor  = 1.07957
 **********
 **   18 **HESSE 
 **********

 FCN=   5955.590     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10795E-03    92.103        .33273E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7377        6.1835        .50000       -.46953    
   3  Normalizat    .80778        .10917E-01    .12522E-04   -.99781    
   4  Prefactor     1.0796        .78562E-02    .39248E-04   -.90122    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.14833e-09
Minuit parameter uncertainties:
  1  0.0542034
  2  314.816
  3  0.0109175
  4  0.00785621
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/929561': 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) = 5955.58983496
delta logL = -9.06981767912e-07

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  1.080e-04  5.420e-02  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.738e+00  3.148e+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:  1.080e+00  7.856e-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:  8.078e-01  1.092e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/929561/cmap_HighResolution_254880001_255139201_4FGL_J0749.9+1823_daily_bin60.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.66e-03', job_status='DONE', photon_flux_upper_limit='8.55e-08', time_completed='2021-08-28 15:45:30.640188', job_id='929561', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1630190730.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-9.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='60' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:45:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 929561: <4FGL_J0749.9+1823_daily_bin60> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin60 117.485 18.387 254880001 255139201 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 :                                   669.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            908 sec.

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

