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


Performing analysis on: 4FGL_J0749.9+1823_daily_bin976
RA = 117.485, Dec = 18.387
tmin = 492307201, tmax = 492566401
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='936239', job_status='RUN', time_executed='2021-08-28 15:54:24.343600', time_epoch_executed='1630191264.34' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='976'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/936239

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/936239/ft1_4FGL_J0749.9+1823_daily_bin976.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/936239/ft2_4FGL_J0749.9+1823_daily_bin976.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/936239/ft1_4FGL_J0749.9+1823_daily_bin976.fits outfile=/scratch/kocevski/936239/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin976.fits ra=117.485 dec=18.387 rad=12.0 tmin=492307201.0 tmax=492566401.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 4.25
user 3.58
sys 0.64

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/936239/ft2_4FGL_J0749.9+1823_daily_bin976.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/936239/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin976.fits evtable="EVENTS" outfile="/scratch/kocevski/936239/ft1_filtered_4FGL_J0749.9+1823_daily_bin976.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.96
user 0.33
sys 0.59

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/936239/ft1_filtered_4FGL_J0749.9+1823_daily_bin976.fits" evtable="EVENTS" scfile=/scratch/kocevski/936239/ft2_4FGL_J0749.9+1823_daily_bin976.fits sctable="SC_DATA" outfile=/scratch/kocevski/936239/ltcube_492307201_492566401_4FGL_J0749.9+1823_daily_bin976.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/936239/ft2_4FGL_J0749.9+1823_daily_bin976.fits
.....................!
real 12.88
user 12.03
sys 0.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/936239/ft1_filtered_4FGL_J0749.9+1823_daily_bin976.fits evtable="EVENTS" scfile=/scratch/kocevski/936239/ft2_4FGL_J0749.9+1823_daily_bin976.fits sctable="SC_DATA" expcube=/scratch/kocevski/936239/ltcube_492307201_492566401_4FGL_J0749.9+1823_daily_bin976.fits outfile=/scratch/kocevski/936239/expmap_492307201_492566401_4FGL_J0749.9+1823_daily_bin976.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/936239/ltcube_492307201_492566401_4FGL_J0749.9+1823_daily_bin976.fits
.....................!
real 190.86
user 185.11
sys 5.37

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/936239/ft1_filtered_4FGL_J0749.9+1823_daily_bin976.fits scfile=/scratch/kocevski/936239/ft2_4FGL_J0749.9+1823_daily_bin976.fits outfile=/scratch/kocevski/936239/cmap_492307201_492566401_4FGL_J0749.9+1823_daily_bin976.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.97
user 0.37
sys 0.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/936239/ft1_filtered_4FGL_J0749.9+1823_daily_bin976.fits scfile=/scratch/kocevski/936239/ft2_4FGL_J0749.9+1823_daily_bin976.fits outfile=/scratch/kocevski/936239/cmap_HighResolution_492307201_492566401_4FGL_J0749.9+1823_daily_bin976.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.97
user 0.37
sys 0.59

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .50043       1.0000         .10000E-03   10000.    
     3 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.4490       1.0000         .10000E-03   10000.    
     5 'norm      '    .19830       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12166E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .23436E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11535E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.814       1.0000         .10000E-03   10000.    
    10 'Prefactor '    66.534       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.3010       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    21.504       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.689       1.0000         .10000E-03   10000.    
    15 'Prefactor '    49.624       1.0000         .10000E-03   10000.    
    16 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.913       1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.523       1.0000         .10000E-03   10000.    
    20 'Prefactor '    53.717       1.0000         .10000E-03   10000.    
    21 'norm      '    1.6996       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .87985       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1081       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=   7003.552     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     2940 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    62.111        .16763E-05** at limit **
   2  Prefactor     .50798        6.2124        .33824E-05   -.92689E-03
   3  norm          .10000E-03    7.6714        .13848E-06** at limit **
   4  norm          1.4484        1.4242        .12556E-06   -.21077E-03
   5  norm          .19895        .98541        .45232E-06   -.36597E-03
   6  Prefactor     .10000E-03    16.372       -.75344E-06** at limit **
   7  norm          .10000E-03    2.0554        .32324E-06** at limit **
   8  Prefactor     .10000E-03    85.681        .33439E-06** at limit **
   9  Prefactor     19.821        20.465        .15620E-06   -.86917E-04
  10  Prefactor     66.488        51.954       -.47272E-05   -.60017E-03
  11  Prefactor     7.3035        4.3634        .21428E-05   -.14066E-03
  12  Prefactor     .10000E-03    29.625       -.10981E-06** at limit **
  13  norm          21.505        17.448       -.31280E-06   -.16455E-04
  14  Prefactor     12.692        12.003       -.56078E-06   -.30801E-04
  15  Prefactor     49.601        105.65       -.62207E-05   -.87585E-04
  16  norm          .10000E-03    55.076       -.10069E-05** at limit **
  17  Prefactor     .10000E-03    57.927        .98247E-06** at limit **
  18  Prefactor     11.920        46.299        .16699E-05    .44830E-04
  19  Prefactor     20.528        14.989       -.40410E-07    .45780E-05
  20  Prefactor     53.722        34.243        .14109E-06    .65487E-04
  21  norm          1.7009        1.6946        .70647E-07   -.87635E-05
  22  Prefactor     .10000E-03    4.5996        .57164E-07** at limit **
  23  Prefactor     .10000E-03    14.882       -.67985E-06** at limit **
  24  Normalizat    .87922        .22016        .62643E-06   -.21944E-03
  25  Prefactor     1.1084        .13709       -.95084E-06   -.30779E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.507978
  norm       = 0.0001
  norm       = 1.44837
  norm       = 0.19895
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 19.8208
  Prefactor  = 66.4881
  Prefactor  = 7.30346
  Prefactor  = 0.0001
  norm       = 21.5052
  Prefactor  = 12.6917
  Prefactor  = 49.6008
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9201
  Prefactor  = 20.5279
  Prefactor  = 53.7218
  norm       = 1.70089
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.879224
  Prefactor  = 1.10844
 **********
 **   18 **HESSE 
 **********

 FCN=   7003.552     FROM HESSE     STATUS=OK           429 CALLS     3369 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .50798        15.771        .36929E-02   -1.5565    
   3  norm          .10000E-03    7.7284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4484        1.4031        .92365E-04   -1.5467    
   5  norm          .19895        1.6883        .15500E-02   -1.5619    
   6  Prefactor     .10000E-03    16.724        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.612        .22528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    86.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.821        19.998        .89979E-04   -1.4817    
  10  Prefactor     66.488        55.341        .49204E-04   -1.4075    
  11  Prefactor     7.3035        4.5400        .63738E-03   -1.5167    
  12  Prefactor     .10000E-03    29.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          21.505        17.449        .86375E-04   -1.4780    
  14  Prefactor     12.692        12.009        .11245E-03   -1.4995    
  15  Prefactor     49.601        106.23        .56927E-04   -1.4298    
  16  norm          .10000E-03    55.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    58.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.920        46.291        .11606E-03   -1.5017    
  19  Prefactor     20.528        15.006        .88414E-04   -1.4802    
  20  Prefactor     53.722        34.139        .54726E-04   -1.4241    
  21  norm          1.7009        1.6716        .97998E-04   -1.5447    
  22  Prefactor     .10000E-03    4.6084        .17527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    15.427        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .87922        .25184        .34047E-03   -.97194    
  25  Prefactor     1.1084        .15747        .20138E-03   -.89197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71724e-08
Minuit parameter uncertainties:
  1  0.000577655
  2  5.66198
  3  6.04246e-06
  4  1.4031
  5  1.15888
  6  0.000138226
  7  0.000372918
  8  9.23386e-05
  9  20.0043
  10  55.3838
  11  4.54025
  12  6.56503e-05
  13  17.453
  14  12.0109
  15  106.643
  16  0.000331284
  17  3.64223e-05
  18  46.4314
  19  15.0086
  20  34.1513
  21  1.67165
  22  1.20929e-06
  23  0.00015333
  24  0.252173
  25  0.157533
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  6.649e+01  5.538e+01  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.108e+00  1.575e-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.792e-01  2.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.99
Ra Dec: 117.485 18.387
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 6.98e-08 +/- 5.81e-08
Energy Flux (Fixed Index): 1.98e-05 +/- 1.65e-05

TS (Fixed Index): 1.99
Ra Dec: 117.485 18.387
Photon Flux Upper Limit: 1.84e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.44e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/936239/likelihoodResults_492307201_492566401_4FGL_J0749.9+1823_daily_bin976.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) = 7003.50640972
delta logL = 0.0453516428997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7003.49382846
delta logL = 0.0579329025213

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.469       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7309       1.0000          .0000       10.000    
     3 'Normalizat'    .86628       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1138       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=   7003.494     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      278 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.509        59.824        .52919E-04   -.43740E-04
   2  Index         2.7305        .66239        .75218E-02    .82475E-04
   3  Normalizat    .86642        .23878        .34274E-03    .23438E-03
   4  Prefactor     1.1138        .15373        .20096E-03   -.14655E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.5093
  Index      = 2.73047
  Normalizat = 0.866418
  Prefactor  = 1.11383
 **********
 **   18 **HESSE 
 **********

 FCN=   7003.494     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.509        56.816        .10584E-04   -1.4190    
   2  Index         2.7305        .62830        .30087E-03   -.47114    
   3  Normalizat    .86642        .23898        .13710E-04   -.97650    
   4  Prefactor     1.1138        .15378        .40192E-04   -.89026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.83845e-10
Minuit parameter uncertainties:
  1  56.8699
  2  0.630406
  3  0.239272
  4  0.153839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/936239': 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) = 7003.49382753
delta logL = 0.0579338322923

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  5.751e+01  5.687e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.730e+00  6.304e-01  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.114e+00  1.538e-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.664e-01  2.393e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.12
Ra Dec: 117.485 18.387
Photon Index (Free Index): 2.73 +/- 0.63
Photon Flux (Free Index): 8.08e-08 +/- 6.92e-08
Energy Flux (Free Index): 1.90e-05 +/- 1.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/936239/cmap_HighResolution_492307201_492566401_4FGL_J0749.9+1823_daily_bin976.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-02', comment='SUCCESS', photon_flux='6.98e-08', energy_flux2='1.90e-05', photon_flux_error='5.81e-08', dlogl='5.79e-02', energy_flux='1.98e-05', photon_flux2='8.08e-08', job_status='DONE', time_completed='2021-08-28 16:06:52.769227', photon_index_error2='0.63', photon_index2='2.73', ts='1.99', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.84e-07', energy_flux_error2='1.54e-05', EG='0.88', time_epoch_completed='1630192012.77', return_code='0', job_id='936239', GAL2='1.11', EG2='0.87', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='6.92e-08', ts2='2.12', photon_index='2.52' WHERE bin_id='976' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:06:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0045>
Subject: Job 936239: <4FGL_J0749.9+1823_daily_bin976> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin976> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 15:50:22 2021
Job was executed on host(s) <bullet0045>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:50:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 15:50:23 2021
Terminated at Sat Aug 28 16:06:53 2021
Results reported at Sat Aug 28 16:06:53 2021

Your job looked like:

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

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

