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


Performing analysis on: 4FGL_J0749.3+4453_daily_bin78
RA = 117.348, Dec = 44.8918
tmin = 259545601, tmax = 259804801
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='919996', job_status='RUN', time_executed='2021-08-28 15:01:25.824959', time_epoch_executed='1630188085.82' WHERE source_name='4FGL J0749.3+4453' and cadence='daily' and bin_id='78'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/919996

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/919996/ft1_4FGL_J0749.3+4453_daily_bin78.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/919996/ft2_4FGL_J0749.3+4453_daily_bin78.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/919996/ft1_4FGL_J0749.3+4453_daily_bin78.fits outfile=/scratch/kocevski/919996/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin78.fits ra=117.348 dec=44.8918 rad=12.0 tmin=259545601.0 tmax=259804801.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.21
user 1.47
sys 1.55

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/919996/ft2_4FGL_J0749.3+4453_daily_bin78.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/919996/ft2_4FGL_J0749.3+4453_daily_bin78.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/919996/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin78.fits evtable="EVENTS" outfile="/scratch/kocevski/919996/ft1_filtered_4FGL_J0749.3+4453_daily_bin78.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.91
user 0.34
sys 1.54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/919996/ft1_filtered_4FGL_J0749.3+4453_daily_bin78.fits" evtable="EVENTS" scfile=/scratch/kocevski/919996/ft2_4FGL_J0749.3+4453_daily_bin78.fits sctable="SC_DATA" outfile=/scratch/kocevski/919996/ltcube_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.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/919996/ft2_4FGL_J0749.3+4453_daily_bin78.fits
.....................!
real 14.51
user 12.53
sys 1.90

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/919996/ft1_filtered_4FGL_J0749.3+4453_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/919996/ft2_4FGL_J0749.3+4453_daily_bin78.fits sctable="SC_DATA" expcube=/scratch/kocevski/919996/ltcube_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.fits outfile=/scratch/kocevski/919996/expmap_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.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/919996/ltcube_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.fits
.....................!
real 193.15
user 185.86
sys 6.30

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
Added 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J0749.3+4453 @ 117.348 44.8918

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/919996/ft1_filtered_4FGL_J0749.3+4453_daily_bin78.fits scfile=/scratch/kocevski/919996/ft2_4FGL_J0749.3+4453_daily_bin78.fits outfile=/scratch/kocevski/919996/cmap_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.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.348 yref=44.8918 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.91
user 0.37
sys 1.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/919996/ft1_filtered_4FGL_J0749.3+4453_daily_bin78.fits scfile=/scratch/kocevski/919996/ft2_4FGL_J0749.3+4453_daily_bin78.fits outfile=/scratch/kocevski/919996/cmap_HighResolution_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.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.348 yref=44.8918 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.96
user 0.38
sys 1.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/919996/ft1_filtered_4FGL_J0749.3+4453_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/919996/ft2_4FGL_J0749.3+4453_daily_bin78.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/919996/Model_4FGL_J0749.3+4453_daily_bin78.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
Working on...
/scratch/kocevski/919996/ft1_filtered_4FGL_J0749.3+4453_daily_bin78.fits.....................!
real 69.04
user 65.78
sys 2.96

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/919996/ft1_filtered_4FGL_J0749.3+4453_daily_bin78.fits', '/scratch/kocevski/919996/ft2_4FGL_J0749.3+4453_daily_bin78.fits', expMap='/scratch/kocevski/919996/expmap_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.fits', expCube='/scratch/kocevski/919996/ltcube_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/919996/Model_4FGL_J0749.3+4453_daily_bin78.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0749.3+4453'

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  4.702e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/919996/ft1_filtered_4FGL_J0749.3+4453_daily_bin78.fits
Spacecraft file(s): /scratch/kocevski/919996/ft2_4FGL_J0749.3+4453_daily_bin78.fits
Exposure map: /scratch/kocevski/919996/expmap_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.fits
Exposure cube: /scratch/kocevski/919996/ltcube_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/919996/Model_4FGL_J0749.3+4453_daily_bin78.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) = 6684.5564778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.6734       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .27970E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .84401       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.869       1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.423       1.0000         .10000E-03   10000.    
     7 'norm      '    .10119E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10558E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    50.599       1.0000         .10000E-03   10000.    
    10 'norm      '    .57449       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0275       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.666       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.448       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.9923       1.0000         .10000E-03   10000.    
    18 'norm      '    .60361E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.6732       1.0000         .10000E-03   10000.    
    20 'norm      '    2.5228       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.2234       1.0000         .10000E-03   10000.    
    25 'norm      '    9.2223       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0037       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .99114       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6684.545     FROM MIGRAD    STATUS=CONVERGED    677 CALLS     3503 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1184       -.11771E-06** at limit **
   2  norm          8.6667        5.2272       -.84995E-07   -.15780E-05
   3  Prefactor     .10000E-03    91.218       -.24110E-05** at limit **
   4  norm          .87795        5.3206        .19658E-06   -.29263E-03
   5  Prefactor     19.845        10.754        .72060E-06    .88757E-04
   6  Prefactor     30.395        23.945        .24690E-06   -.22737E-03
   7  norm          .10000E-03    4.8496        .36926E-07** at limit **
   8  Prefactor     .10000E-03    32.319        .45219E-06** at limit **
   9  Prefactor     50.620        45.687        .42264E-06    .79636E-04
  10  norm          .57470        .65705        .55802E-07   -.10106E-03
  11  Prefactor     4.0302        13.788        .94988E-06   -.56405E-05
  12  Prefactor     .10000E-03    14.159       -.49607E-07** at limit **
  13  norm          .10000E-03    4.3591       -.37482E-08** at limit **
  14  norm          .10000E-03    .87748        .11015E-07** at limit **
  15  Prefactor     24.669        14.079       -.74168E-07   -.45663E-04
  16  Prefactor     27.458        53.084        .51857E-07    .14918E-04
  17  Prefactor     2.9925        5.6994        .83094E-06    .43342E-04
  18  norm          .10007E-03    2.5193        .10808E-05** at limit **
  19  norm          1.6740        1.3785        .45785E-08   -.54182E-03
  20  norm          2.5230        .77918       -.43478E-07   -.16823E-03
  21  Prefactor     .10000E-03    5.8801       -.92264E-07** at limit **
  22  Prefactor     .10000E-03    .94346       -.33865E-07** at limit **
  23  Prefactor     .10000E-03    12.645       -.19092E-06** at limit **
  24  Prefactor     6.2253        9.3476        .37063E-05    .21802E-03
  25  norm          9.2227        5.6948        .19841E-07   -.28974E-04
  26  norm          .10000E-03    2.8763       -.12011E-08** at limit **
  27  Normalizat    1.0037        .20814       -.17191E-05   -.90483E-04
  28  Prefactor     .99105        .13408        .40203E-06   -.20285E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.6667
  Prefactor  = 0.000100003
  norm       = 0.877951
  Prefactor  = 19.8447
  Prefactor  = 30.3949
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.6201
  norm       = 0.5747
  Prefactor  = 4.03019
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 24.6689
  Prefactor  = 27.4579
  Prefactor  = 2.99254
  norm       = 0.000100073
  norm       = 1.67405
  norm       = 2.52295
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.22528
  norm       = 9.2227
  norm       = 0.0001
  Normalizat = 1.00367
  Prefactor  = 0.991051
 **********
 **   18 **HESSE 
 **********

 FCN=   6684.545     FROM HESSE     STATUS=OK           521 CALLS     4024 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1300        .11617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.6667        5.2250        .13611E-03   -1.5119    
   3  Prefactor     .10000E-03    93.387        .42838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .87795        20.912        .29804E-02   -1.5521    
   5  Prefactor     19.845        10.955        .89855E-04   -1.4817    
   6  Prefactor     30.395        23.925        .72641E-04   -1.4605    
   7  norm          .10000E-03    4.8661        .17572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    33.355        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     50.620        45.489        .56378E-04   -1.4284    
  10  norm          .57470        .63642        .68574E-03   -1.5556    
  11  Prefactor     4.0302        13.715        .20094E-03   -1.5306    
  12  Prefactor     .10000E-03    14.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.3641        .16671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .87968        .74752E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     24.669        14.057        .80657E-04   -1.4714    
  16  Prefactor     27.458        53.062        .76467E-04   -1.4659    
  17  Prefactor     2.9925        5.6716        .23467E-03   -1.5362    
  18  norm          .10007E-03    14.589        .22795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.6740        1.3637        .83766E-04   -1.5449    
  20  norm          2.5230        .77868        .38013E-04   -1.5390    
  21  Prefactor     .10000E-03    5.8995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    .95122        .77511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    12.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.2253        9.3712        .80458E-03   -1.5209    
  25  norm          9.2227        5.6989        .13197E-03   -1.5100    
  26  norm          .10000E-03    2.8805        .13541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0037        .23637        .31065E-03   -.92908    
  28  Prefactor     .99105        .15400        .21135E-03   -.93028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54685e-09
Minuit parameter uncertainties:
  1  3.32846e-06
  2  5.22529
  3  0.00104324
  4  8.57246
  5  10.9558
  6  23.9328
  7  4.01221e-06
  8  0.000171602
  9  45.5203
  10  0.636428
  11  13.7253
  12  5.16381e-05
  13  1.32344e-07
  14  5.50588e-07
  15  14.0594
  16  53.1538
  17  5.6726
  18  0.00206427
  19  1.36377
  20  0.778684
  21  1.07187e-05
  22  6.73995e-07
  23  2.37837e-05
  24  9.37345
  25  5.69927
  26  5.82188e-07
  27  0.236614
  28  0.154067
Done.

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

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  5.164e-05  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  9.911e-01  1.541e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.004e+00  2.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.348 44.892
Photon Flux Upper Limit: 8.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/919996/likelihoodResults_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.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) = 6684.54500684
delta logL = -0.000335869169248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6684.54467097
delta logL = 1.84081727639e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10631E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3006       1.0000          .0000       10.000    
     3 'Normalizat'    1.0037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99105       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+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=   6684.545     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      246 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    1874.3        .18142E-02** at limit **
   2  Index         2.3440        8.3121        .50000       -.26669E-04
   3  Normalizat    1.0037        .68905E-01    .31065E-03   -.30459E-03
   4  Prefactor     .99105        .46916E-01    .21135E-03   -.47605E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100012
  Index      = 2.34405
  Normalizat = 1.00366
  Prefactor  = 0.991054
 **********
 **   18 **HESSE 
 **********

 FCN=   6684.545     FROM HESSE     STATUS=OK            29 CALLS      275 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    27.063        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3440        6.0760        .50000       -.56000    
   3  Normalizat    1.0037        .22076        .12426E-04   -.92908    
   4  Prefactor     .99105        .15041        .84540E-05   -.93028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29062e-09
Minuit parameter uncertainties:
  1  0.00112483
  2  5.46019
  3  0.220965
  4  0.150476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/919996': 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) = 6684.5446705
delta logL = 4.74979970022e-07

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  1.125e-03  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.344e+00  5.460e+00  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  9.911e-01  1.505e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.004e+00  2.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.348 44.892

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/919996/cmap_HighResolution_259545601_259804801_4FGL_J0749.3+4453_daily_bin78.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2021-08-28 15:17:16.705015', job_id='919996', GAL2='0.99', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630189036.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.75e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='78' AND source_name='4FGL J0749.3+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:17:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0139>
Subject: Job 919996: <4FGL_J0749.3+4453_daily_bin78> in cluster <slac> Done

Job <4FGL_J0749.3+4453_daily_bin78> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 15:00:44 2021
Job was executed on host(s) <bullet0139>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:00:46 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:00:46 2021
Terminated at Sat Aug 28 15:17:17 2021
Results reported at Sat Aug 28 15:17:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.3+4453_daily_bin78 117.348 44.8918 259545601 259804801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.3+4453 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   946.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            993 sec.

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

