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


Performing analysis on: 4FGL_J0749.3+4453_daily_bin1332
RA = 117.348, Dec = 44.8918
tmin = 584582401, tmax = 584841601
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='928224', job_status='RUN', time_executed='2021-08-28 15:29:48.722005', time_epoch_executed='1630189788.72' WHERE source_name='4FGL J0749.3+4453' and cadence='daily' and bin_id='1332'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/928224

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/928224/ft1_4FGL_J0749.3+4453_daily_bin1332.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/928224/ft2_4FGL_J0749.3+4453_daily_bin1332.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/928224/ft1_4FGL_J0749.3+4453_daily_bin1332.fits outfile=/scratch/kocevski/928224/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin1332.fits ra=117.348 dec=44.8918 rad=12.0 tmin=584582401.0 tmax=584841601.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 7.56
user 2.57
sys 4.68

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/928224/ft2_4FGL_J0749.3+4453_daily_bin1332.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/928224/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin1332.fits evtable="EVENTS" outfile="/scratch/kocevski/928224/ft1_filtered_4FGL_J0749.3+4453_daily_bin1332.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 4.75
user 0.31
sys 3.95

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/928224/ft1_filtered_4FGL_J0749.3+4453_daily_bin1332.fits" evtable="EVENTS" scfile=/scratch/kocevski/928224/ft2_4FGL_J0749.3+4453_daily_bin1332.fits sctable="SC_DATA" outfile=/scratch/kocevski/928224/ltcube_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.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/928224/ft2_4FGL_J0749.3+4453_daily_bin1332.fits
.....................!
real 17.53
user 12.48
sys 4.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/928224/ft1_filtered_4FGL_J0749.3+4453_daily_bin1332.fits evtable="EVENTS" scfile=/scratch/kocevski/928224/ft2_4FGL_J0749.3+4453_daily_bin1332.fits sctable="SC_DATA" expcube=/scratch/kocevski/928224/ltcube_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.fits outfile=/scratch/kocevski/928224/expmap_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.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/928224/ltcube_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.fits
.....................!
real 196.85
user 185.85
sys 9.91

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/928224/ft1_filtered_4FGL_J0749.3+4453_daily_bin1332.fits scfile=/scratch/kocevski/928224/ft2_4FGL_J0749.3+4453_daily_bin1332.fits outfile=/scratch/kocevski/928224/cmap_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.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 4.49
user 0.38
sys 4.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/928224/ft1_filtered_4FGL_J0749.3+4453_daily_bin1332.fits scfile=/scratch/kocevski/928224/ft2_4FGL_J0749.3+4453_daily_bin1332.fits outfile=/scratch/kocevski/928224/cmap_HighResolution_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.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 4.50
user 0.38
sys 4.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/928224/ft1_filtered_4FGL_J0749.3+4453_daily_bin1332.fits evtable="EVENTS" scfile=/scratch/kocevski/928224/ft2_4FGL_J0749.3+4453_daily_bin1332.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/928224/Model_4FGL_J0749.3+4453_daily_bin1332.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/928224/ft1_filtered_4FGL_J0749.3+4453_daily_bin1332.fits......................!
real 25.57
user 18.52
sys 6.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/928224/ft1_filtered_4FGL_J0749.3+4453_daily_bin1332.fits', '/scratch/kocevski/928224/ft2_4FGL_J0749.3+4453_daily_bin1332.fits', expMap='/scratch/kocevski/928224/expmap_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.fits', expCube='/scratch/kocevski/928224/ltcube_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/928224/Model_4FGL_J0749.3+4453_daily_bin1332.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/928224/ft1_filtered_4FGL_J0749.3+4453_daily_bin1332.fits
Spacecraft file(s): /scratch/kocevski/928224/ft2_4FGL_J0749.3+4453_daily_bin1332.fits
Exposure map: /scratch/kocevski/928224/expmap_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.fits
Exposure cube: /scratch/kocevski/928224/ltcube_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/928224/Model_4FGL_J0749.3+4453_daily_bin1332.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) = 676.71355203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65009       1.0000         .10000E-03   10000.    
     2 'norm      '    .10173E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12765E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19916E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    52.227       1.0000         .10000E-03   10000.    
     7 'norm      '    7.5416       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0876       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13390E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4367       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .49234E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .65948E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    12.569       1.0000         .10000E-03   10000.    
    14 'norm      '    .11668E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .99979       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.919       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.104       1.0000         .10000E-03   10000.    
    18 'norm      '    .27913E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .28861E-02   1.0000         .10000E-03   10000.    
    20 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.9060       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .17270       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.1223       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.5764       1.0000         .10000E-03   10000.    
    25 'norm      '    18.408       1.0000         .10000E-03   10000.    
    26 'norm      '    39.017       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    .81720       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   664.0119     FROM MIGRAD    STATUS=CONVERGED    596 CALLS     2869 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1301        10.365        .18435E-05   -.75789E-05
   2  norm          .10000E-03    4.7783        .29003E-05** at limit **
   3  Prefactor     .10000E-03    34.451        .17868E-05** at limit **
   4  norm          .10000E-03    5.0566       -.29125E-06** at limit **
   5  Prefactor     .10000E-03    8.5113       -.21006E-05** at limit **
   6  Prefactor     47.911        40.402       -.12789E-05   -.35027E-04
   7  norm          6.8067        16.219        .11934E-04    .13020E-03
   8  Prefactor     .10010E-03    779.64        .50643E-05** at limit **
   9  Prefactor     .10000E-03    19.954       -.11626E-06** at limit **
  10  norm          1.1761        1.3734        .34299E-06   -.16972E-03
  11  Prefactor     .10000E-03    14.375        .56226E-05** at limit **
  12  Prefactor     .10001E-03    103.71        .27240E-04** at limit **
  13  norm          9999.9        7984.0       -.39278E-04   -.15943E-02
  14  norm          .10000E-03    5.4641       -.39300E-07** at limit **
  15  Prefactor     .10002E-03    356.56        .27726E-04** at limit **
  16  Prefactor     9999.7        6893.7       -.19068E-04    .21569E-02
  17  Prefactor    10000.0        1214.1        .10564E-04** at limit **
  18  norm          .10000E-03    5.5257       -.38084E-06** at limit **
  19  norm          .10000E-03    4.5428       -.23377E-05** at limit **
  20  norm         10000.0        263.36        .33717E-05** at limit **
  21  Prefactor    10000.0        8800.2       -.43119E-04** at limit **
  22  Prefactor     .10000E-03    1088.2       -.15803E-05** at limit **
  23  Prefactor     .10721E-03    6644.8        .35412E-04** at limit **
  24  Prefactor     9999.9        9545.1        .54057E-04   -.31085E-03
  25  norm         10000.0        6424.0        .67867E-04** at limit **
  26  norm         10000.0        1738.2        .58982E-04** at limit **
  27  Normalizat    .10000E-01    .13701       -.17640E-04** at limit **
  28  Prefactor     .70729        .19735       -.63538E-05   -.30625E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.13007
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.9107
  norm       = 6.80667
  Prefactor  = 0.000100104
  Prefactor  = 0.0001
  norm       = 1.17607
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  norm       = 9999.87
  norm       = 0.0001
  Prefactor  = 0.000100025
  Prefactor  = 9999.7
  Prefactor  = 10000
  norm       = 0.0001
  norm       = 0.0001
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100001
  Prefactor  = 0.000107213
  Prefactor  = 9999.95
  norm       = 10000
  norm       = 10000
  Normalizat = 0.01
  Prefactor  = 0.707289
 **********
 **   18 **HESSE 
 **********

 FCN=   664.0119     FROM HESSE     STATUS=OK           563 CALLS     3432 TOTAL
                     EDM=   .36E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1301        10.537        .11869E-01   -1.5495    
   2  norm          .10000E-03    4.4180        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.813        .90867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.8994        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.2278        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     47.911        40.388        .13874E-02   -1.4323    
   7  norm          6.8067        16.092        .36509E-02   -1.5186    
   8  Prefactor     .10010E-03    756.51        .57702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.124        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1761        1.3767        .70900E-02   -1.5491    
  11  Prefactor     .10000E-03    13.980        .10583E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    98.390        .93476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9999.9        8799.8        .28246E-02    1.5637    
  14  norm          .10000E-03    5.1631        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    350.98        .13165E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9999.7        9047.0        .23654E-02    1.5817    
  17  Prefactor    10000.0        1222.9        .25765E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.2249        .10710E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.1587        .99350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm         10000.0        273.32        .10567E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor    10000.0        8775.2        .51035E-01    1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1068.8        .98523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10721E-03    6608.0        .37577E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9999.9        9464.0        .63569E-02    1.5663    
  25  norm         10000.0        6425.0        .23337E-01    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm         10000.0        1732.8        .16042E-01    1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .10000E-01    .13072        .13100       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .70729        .19776        .43941E-01   -1.0324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63196e-05
Minuit parameter uncertainties:
  1  6.90264
  2  5.79541e-05
  3  0.000118951
  4  4.05216e-06
  5  3.96502e-05
  6  40.4114
  7  16.1024
  8  0.0179718
  9  2.92559e-06
  10  1.37671
  11  0.000155276
  12  0.00233096
  13  74.9306
  14  5.07498e-07
  15  0.00592883
  16  122.674
  17  0.121036
  18  1.84289e-05
  19  4.24475e-05
  20  0.00104084
  21  3.51187
  22  0.00178426
  23  0.323866
  24  85.5668
  25  0.655979
  26  0.625182
  27  1.40669e-06
  28  0.197962
Done.

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

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  2.331e-03  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:  7.073e-01  1.980e-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.000e-02  1.407e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.348 44.892
Photon Flux Upper Limit: 1.11e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.47e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/928224/likelihoodResults_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.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) = 664.01191765
delta logL = -4.83010464905e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 664.011870439
delta logL = -1.08947847366e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20091E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6273       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70729       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=   664.0119     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      266 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10580E-03    68.782        .18142E-01** at limit **
   2  Index         2.5099        8.6517        .50000        .40552E-05
   3  Normalizat    .10000E-01    .24773E-03    .57044E-03** at limit **
   4  Prefactor     .70729        .76842E-02    .17446E-03    .88154E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105801
  Index      = 2.50991
  Normalizat = 0.01
  Prefactor  = 0.707289
 **********
 **   18 **HESSE 
 **********

 FCN=   664.0119     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      295 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10580E-03    540.28        .21611E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5099        5.1843        .50000       -.52131    
   3  Normalizat    .10000E-01    .20034E-02    .11409E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .70729        .21853E-01    .34891E-04   -1.0324    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19315e-09
Minuit parameter uncertainties:
  1  0.113004
  2  817.664
  3  9.07349e-08
  4  0.0218531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/928224': 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) = 664.01186956
delta logL = -2.1124083105e-07

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.058e-04  1.130e-01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.510e+00  8.177e+02  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:  7.073e-01  2.185e-02  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.000e-02  9.073e-08  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/928224/cmap_HighResolution_584582401_584841601_4FGL_J0749.3+4453_daily_bin1332.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.47e-02', job_status='DONE', photon_flux_upper_limit='1.11e-06', time_completed='2021-08-28 15:39:15.804576', job_id='928224', GAL2='0.71', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630190355.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='-2.11e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1332' AND source_name='4FGL J0749.3+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:39:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 928224: <4FGL_J0749.3+4453_daily_bin1332> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.3+4453_daily_bin1332 117.348 44.8918 584582401 584841601 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 :                                   499.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             164.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

