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


Performing analysis on: 4FGL_J0749.3+4453_daily_bin75
RA = 117.348, Dec = 44.8918
tmin = 258768001, tmax = 259027201
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='919992', job_status='RUN', time_executed='2021-08-28 15:04:47.912775', time_epoch_executed='1630188287.91' WHERE source_name='4FGL J0749.3+4453' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/919992

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/919992/ft1_4FGL_J0749.3+4453_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/919992/ft2_4FGL_J0749.3+4453_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/919992/ft1_4FGL_J0749.3+4453_daily_bin75.fits outfile=/scratch/kocevski/919992/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin75.fits ra=117.348 dec=44.8918 rad=12.0 tmin=258768001.0 tmax=259027201.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.34
user 0.94
sys 0.39

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/919992/ft2_4FGL_J0749.3+4453_daily_bin75.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/919992/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/919992/ft1_filtered_4FGL_J0749.3+4453_daily_bin75.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.72
user 0.33
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/919992/ft1_filtered_4FGL_J0749.3+4453_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/919992/ft2_4FGL_J0749.3+4453_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/919992/ltcube_258768001_259027201_4FGL_J0749.3+4453_daily_bin75.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/919992/ft2_4FGL_J0749.3+4453_daily_bin75.fits
.....................!
real 9.68
user 8.79
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/919992/ft1_filtered_4FGL_J0749.3+4453_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/919992/ft2_4FGL_J0749.3+4453_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/919992/ltcube_258768001_259027201_4FGL_J0749.3+4453_daily_bin75.fits outfile=/scratch/kocevski/919992/expmap_258768001_259027201_4FGL_J0749.3+4453_daily_bin75.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/919992/ltcube_258768001_259027201_4FGL_J0749.3+4453_daily_bin75.fits
.....................!
real 193.05
user 185.52
sys 4.94

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/919992/ft1_filtered_4FGL_J0749.3+4453_daily_bin75.fits scfile=/scratch/kocevski/919992/ft2_4FGL_J0749.3+4453_daily_bin75.fits outfile=/scratch/kocevski/919992/cmap_258768001_259027201_4FGL_J0749.3+4453_daily_bin75.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 0.75
user 0.36
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/919992/ft1_filtered_4FGL_J0749.3+4453_daily_bin75.fits scfile=/scratch/kocevski/919992/ft2_4FGL_J0749.3+4453_daily_bin75.fits outfile=/scratch/kocevski/919992/cmap_HighResolution_258768001_259027201_4FGL_J0749.3+4453_daily_bin75.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 0.75
user 0.36
sys 0.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5000       1.0000         .10000E-03   10000.    
     2 'norm      '    15.479       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.560       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .61426       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14361       1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.5294       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.4740       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.528       1.0000         .10000E-03   10000.    
    16 'Prefactor '    58.487       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.3635       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.3274       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.7953       1.0000         .10000E-03   10000.    
    23 'Prefactor '    65.491       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10783E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    22.307       1.0000         .10000E-03   10000.    
    26 'norm      '    9.4961       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .44290       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2214       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=   4738.560     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     3076 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5036        4.9920        .38781E-05    .18315E-03
   2  norm          15.486        6.1912        .40776E-05    .16120E-02
   3  Prefactor     .10000E-03    13.632        .28576E-05** at limit **
   4  norm          .10000E-03    1.8433        .81697E-07** at limit **
   5  Prefactor     .10000E-03    3.0201        .80154E-07** at limit **
   6  Prefactor     17.499        17.481        .87936E-05   -.18584E-02
   7  norm          .10000E-03    3.3013       -.28338E-06** at limit **
   8  Prefactor     .63394        40.925        .31611E-05   -.14380E-02
   9  Prefactor     1.2019        295.34        .82064E-05    .33422E-04
  10  norm          .10000E-03    .35104        .21168E-07** at limit **
  11  Prefactor     .10000E-03    6.6195        .44080E-06** at limit **
  12  Prefactor     7.5330        15.979        .36361E-04    .19847E-02
  13  norm          .10000E-03    5.1242       -.54801E-06** at limit **
  14  norm          4.4712        3.3140       -.57040E-06   -.12560E-03
  15  Prefactor     14.541        7.5440       -.55652E-05   -.16497E-02
  16  Prefactor     58.498        11.154        .11029E-04   -.85302E-02
  17  Prefactor     .10000E-03    4.1362        .59385E-07** at limit **
  18  norm          2.3654        4.2401       -.53662E-07   -.13696E-03
  19  norm          .10000E-03    1.1558        .58165E-06** at limit **
  20  norm          2.3279        .93969       -.67095E-07    .39856E-03
  21  Prefactor     .10000E-03    16.900       -.16315E-05** at limit **
  22  Prefactor     6.8001        3.9921       -.19122E-06   -.54005E-04
  23  Prefactor     65.516        21.861        .19586E-04   -.71650E-02
  24  Prefactor     .10000E-03    11.146       -.82866E-06** at limit **
  25  norm          22.324        8.1540        .10655E-04    .10918E-01
  26  norm          9.5106        4.7772        .10857E-04    .46972E-02
  27  Normalizat    .44139        .26239       -.24879E-04    .44243E-04
  28  Prefactor     1.2216        .17091        .31906E-05    .99510E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.50363
  norm       = 15.4859
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4994
  norm       = 0.0001
  Prefactor  = 0.633938
  Prefactor  = 1.20195
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.53305
  norm       = 0.0001
  norm       = 4.47119
  Prefactor  = 14.5409
  Prefactor  = 58.4978
  Prefactor  = 0.0001
  norm       = 2.36537
  norm       = 0.0001
  norm       = 2.32795
  Prefactor  = 0.0001
  Prefactor  = 6.80012
  Prefactor  = 65.5165
  Prefactor  = 0.0001
  norm       = 22.3236
  norm       = 9.51057
  Normalizat = 0.441394
  Prefactor  = 1.22165
 **********
 **   18 **HESSE 
 **********

 FCN=   4738.560     FROM HESSE     STATUS=OK           583 CALLS     3659 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5036        5.0023        .87412E-02   -1.5463    
   2  norm          15.486        6.2052        .25450E-02   -1.4921    
   3  Prefactor     .10000E-03    13.613        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.8361        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.9956        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.499        18.798        .23894E-02   -1.4871    
   7  norm          .10000E-03    3.2932        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .63394        12.965        .87563E-01   -1.5549    
   9  Prefactor     1.2019        297.99        .97172E-02   -1.5489    
  10  norm          .10000E-03    .34482        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.5868        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.5330        24.630        .36539E-02   -1.5159    
  13  norm          .10000E-03    5.1190        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.4712        3.3243        .47590E-02   -1.5285    
  15  Prefactor     14.541        15.465        .26271E-02   -1.4945    
  16  Prefactor     58.498        83.337        .13115E-02   -1.4177    
  17  Prefactor     .10000E-03    4.0985        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.3654        4.3018        .66638E-02   -1.5400    
  19  norm          .10000E-03    1.1466        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.3279        .95130        .67209E-02   -1.5403    
  21  Prefactor     .10000E-03    16.711        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.8001        4.0156        .38480E-02   -1.5186    
  23  Prefactor     65.516        36.742        .12398E-02   -1.4087    
  24  Prefactor     .10000E-03    11.074        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          22.324        12.828        .21202E-02   -1.4763    
  26  norm          9.5106        14.668        .32512E-02   -1.5091    
  27  Normalizat    .44139        .26979        .95847E-01   -1.1521    
  28  Prefactor     1.2216        .16502        .34143E-01   -.85668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11312e-06
Minuit parameter uncertainties:
  1  5.00372
  2  6.20549
  3  0.000116712
  4  5.36137e-07
  5  1.82208e-06
  6  18.804
  7  6.98161e-06
  8  5.73476
  9  38.0422
  10  5.38123e-08
  11  5.12476e-06
  12  24.6635
  13  1.10592e-05
  14  3.32441
  15  15.4693
  16  83.5034
  17  4.63635e-06
  18  4.30234
  19  3.92963e-06
  20  0.951307
  21  0.0001278
  22  4.01572
  23  36.7551
  24  6.02018e-05
  25  12.8301
  26  14.6731
  27  0.270593
  28  0.165093
Done.

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

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  7.533e+00  2.466e+01  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:  1.222e+00  1.651e-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:  4.414e-01  2.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 117.348 44.892
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/919992/likelihoodResults_258768001_259027201_4FGL_J0749.3+4453_daily_bin75.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): 0
logL (Free Index) = 4737.81383629
delta logL = 0.746213894383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4737.78237956
delta logL = 0.777670623347

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9552       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8281       1.0000          .0000       10.000    
     3 'Normalizat'    .37159       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2467       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=   4737.782     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      288 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9550        75.980        .81497E-04   -.13706E-02
   2  Index         3.8283        6.9020        .45512E-02   -.26043E-03
   3  Normalizat    .37172        .24181        .46081E-03   -.15841E-03
   4  Prefactor     1.2466        .16606        .18077E-03   -.28745E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.95497
  Index      = 3.82832
  Normalizat = 0.371717
  Prefactor  = 1.2466
 **********
 **   18 **HESSE 
 **********

 FCN=   4737.782     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9550        5.7278        .32599E-05   -1.5428    
   2  Index         3.8283        1.3887        .18205E-03   -.23654    
   3  Normalizat    .37172        .24831        .18432E-04   -1.1879    
   4  Prefactor     1.2466        .16915        .36154E-04   -.84909    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02913e-09
Minuit parameter uncertainties:
  1  5.72939
  2  1.40827
  3  0.249053
  4  0.169223
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/919992': 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) = 4737.78237926
delta logL = 0.777670923252

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.955e+00  5.729e+00  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  3.828e+00  1.408e+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:  1.247e+00  1.692e-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:  3.717e-01  2.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 117.348 44.892
Photon Index (Free Index): 3.83 +/- 1.41
Photon Flux (Free Index): 7.56e-08 +/- 6.88e-08
Energy Flux (Free Index): 1.17e-05 +/- 1.07e-05

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/919992/cmap_HighResolution_258768001_259027201_4FGL_J0749.3+4453_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.31e-03', comment='SUCCESS', energy_flux2='1.17e-05', dlogl='7.78e-01', photon_flux2='7.56e-08', job_status='DONE', time_completed='2021-08-28 15:16:37.596077', photon_index_error2='1.41', photon_index2='3.83', ts='0.12', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.07e-05', EG='0.44', time_epoch_completed='1630188997.6', return_code='0', job_id='919992', GAL2='1.25', EG2='0.37', return_code2='0', photon_flux_error2='6.88e-08', ts2='1.78', photon_index='2.26' WHERE bin_id='75' AND source_name='4FGL J0749.3+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:16:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 919992: <4FGL_J0749.3+4453_daily_bin75> in cluster <slac> Done

Job <4FGL_J0749.3+4453_daily_bin75> 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) <bullet0078>, 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:16:38 2021
Results reported at Sat Aug 28 15:16:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.3+4453_daily_bin75 117.348 44.8918 258768001 259027201 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 :                                   705.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            954 sec.

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

