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


Performing analysis on: 4FGL_J0749.9+1823_daily_bin538
RA = 117.485, Dec = 18.387
tmin = 378777601, tmax = 379036801
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='932982', job_status='RUN', time_executed='2021-08-28 15:42:02.453456', time_epoch_executed='1630190522.45' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='538'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/932982

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/932982/ft1_4FGL_J0749.9+1823_daily_bin538.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/932982/ft2_4FGL_J0749.9+1823_daily_bin538.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/932982/ft1_4FGL_J0749.9+1823_daily_bin538.fits outfile=/scratch/kocevski/932982/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin538.fits ra=117.485 dec=18.387 rad=12.0 tmin=378777601.0 tmax=379036801.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.74
user 4.28
sys 3.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/932982/ft2_4FGL_J0749.9+1823_daily_bin538.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/932982/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin538.fits evtable="EVENTS" outfile="/scratch/kocevski/932982/ft1_filtered_4FGL_J0749.9+1823_daily_bin538.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 3.63
user 0.34
sys 3.26

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/932982/ft1_filtered_4FGL_J0749.9+1823_daily_bin538.fits" evtable="EVENTS" scfile=/scratch/kocevski/932982/ft2_4FGL_J0749.9+1823_daily_bin538.fits sctable="SC_DATA" outfile=/scratch/kocevski/932982/ltcube_378777601_379036801_4FGL_J0749.9+1823_daily_bin538.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/932982/ft2_4FGL_J0749.9+1823_daily_bin538.fits
.....................!
real 15.33
user 11.41
sys 3.80

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/932982/ft1_filtered_4FGL_J0749.9+1823_daily_bin538.fits evtable="EVENTS" scfile=/scratch/kocevski/932982/ft2_4FGL_J0749.9+1823_daily_bin538.fits sctable="SC_DATA" expcube=/scratch/kocevski/932982/ltcube_378777601_379036801_4FGL_J0749.9+1823_daily_bin538.fits outfile=/scratch/kocevski/932982/expmap_378777601_379036801_4FGL_J0749.9+1823_daily_bin538.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/932982/ltcube_378777601_379036801_4FGL_J0749.9+1823_daily_bin538.fits
.....................!
real 194.32
user 185.37
sys 8.53

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/932982/ft1_filtered_4FGL_J0749.9+1823_daily_bin538.fits scfile=/scratch/kocevski/932982/ft2_4FGL_J0749.9+1823_daily_bin538.fits outfile=/scratch/kocevski/932982/cmap_378777601_379036801_4FGL_J0749.9+1823_daily_bin538.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 3.59
user 0.38
sys 3.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/932982/ft1_filtered_4FGL_J0749.9+1823_daily_bin538.fits scfile=/scratch/kocevski/932982/ft2_4FGL_J0749.9+1823_daily_bin538.fits outfile=/scratch/kocevski/932982/cmap_HighResolution_378777601_379036801_4FGL_J0749.9+1823_daily_bin538.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 3.59
user 0.38
sys 3.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1165       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.301       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .74692       1.0000         .10000E-03   10000.    
     5 'norm      '    1.9394       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.3210       1.0000         .10000E-03   10000.    
     7 'norm      '    9.4159       1.0000         .10000E-03   10000.    
     8 'Prefactor '    48.427       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11727E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    53.431       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10491E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .64243E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.672       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11336E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.417       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.3313       1.0000         .10000E-03   10000.    
    21 'norm      '    16.376       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.9958       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .51950       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2001       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=   6320.370     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     2931 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1160        40.977        .27669E-06   -.10291E-07
   2  Prefactor     22.301        11.058        .94956E-09    .73012E-05
   3  norm          .10000E-03    7.2962        .14936E-06** at limit **
   4  norm          .74698        .74424        .37393E-07    .51624E-04
   5  norm          1.9388        1.9952       -.34800E-07    .31042E-04
   6  Prefactor     8.3234        11.222        .26268E-06    .30185E-04
   7  norm          9.4130        4.7073        .82576E-06    .86769E-04
   8  Prefactor     48.424        36.119       -.64971E-06    .93015E-05
   9  Prefactor     .10017E-03    12.330       -.37698E-06** at limit **
  10  Prefactor     53.426        42.060       -.89984E-07    .10871E-04
  11  Prefactor     .10000E-03    1.9575       -.88611E-06** at limit **
  12  Prefactor     .10000E-03    33.221       -.11240E-06** at limit **
  13  norm          .10000E-03    6.0768       -.30099E-07** at limit **
  14  Prefactor     .10000E-03    5.4979        .31586E-07** at limit **
  15  Prefactor     10.560        215.34       -.10714E-05   -.88049E-05
  16  norm          .10000E-03    53.642        .45135E-07** at limit **
  17  Prefactor     .10000E-03    71.167       -.17528E-06** at limit **
  18  Prefactor     22.401        32.998       -.53347E-07   -.31662E-05
  19  Prefactor     .10000E-03    9.8281        .32027E-07** at limit **
  20  Prefactor     6.3301        23.161        .30894E-06    .87502E-07
  21  norm          16.376        2.9055       -.26159E-07    .17232E-05
  22  Prefactor     3.9963        11.280        .55466E-06    .27985E-05
  23  Prefactor     .10000E-03    2.2041        .16153E-07** at limit **
  24  Normalizat    .51946        .21301       -.49233E-06    .44579E-04
  25  Prefactor     1.2002        .14474        .14274E-06    .59424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.11597
  Prefactor  = 22.3009
  norm       = 0.0001
  norm       = 0.746984
  norm       = 1.93883
  Prefactor  = 8.32338
  norm       = 9.41304
  Prefactor  = 48.4238
  Prefactor  = 0.000100174
  Prefactor  = 53.4261
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 10.5604
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.4005
  Prefactor  = 0.0001
  Prefactor  = 6.33014
  norm       = 16.3759
  Prefactor  = 3.99629
  Prefactor  = 0.0001
  Normalizat = 0.519457
  Prefactor  = 1.20015
 **********
 **   18 **HESSE 
 **********

 FCN=   6320.370     FROM HESSE     STATUS=OK           447 CALLS     3378 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1160        40.989        .16233E-03   -1.5213    
   2  Prefactor     22.301        11.053        .84819E-04   -1.4763    
   3  norm          .10000E-03    7.3923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .74698        .72080        .66316E-03   -1.5535    
   5  norm          1.9388        2.0182        .86252E-04   -1.5429    
   6  Prefactor     8.3234        11.408        .13898E-03   -1.5131    
   7  norm          9.4130        4.8881        .56247E-03   -1.5094    
   8  Prefactor     48.424        36.092        .57623E-04   -1.4315    
   9  Prefactor     .10017E-03    14.112        .85479E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     53.426        42.049        .54872E-04   -1.4245    
  11  Prefactor     .10000E-03    1.9719        .21299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.0812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    75.807        .36068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.560        217.71        .12264E-03   -1.5058    
  16  norm          .10000E-03    53.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    71.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.401        32.975        .84599E-04   -1.4761    
  19  Prefactor     .10000E-03    9.8616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.3301        23.118        .15952E-03   -1.5205    
  21  norm          16.376        2.8996        .49637E-04   -1.4898    
  22  Prefactor     3.9963        11.231        .20176E-03   -1.5308    
  23  Prefactor     .10000E-03    2.2049        .11526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .51946        .22750        .38529E-03   -1.1152    
  25  Prefactor     1.2002        .15756        .18809E-03   -.86327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78709e-10
Minuit parameter uncertainties:
  1  31.6972
  2  11.0544
  3  1.69719e-06
  4  0.72081
  5  2.01828
  6  11.411
  7  4.88827
  8  36.1078
  9  0.00313383
  10  42.0727
  11  8.00016e-06
  12  3.86174e-05
  13  7.28374e-07
  14  0.000618511
  15  96.2999
  16  4.46541e-06
  17  1.24032e-05
  18  33.0014
  19  1.89254e-06
  20  23.1503
  21  2.8996
  22  11.2374
  23  2.53171e-07
  24  0.227907
  25  0.157619
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  5.343e+01  4.207e+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.200e+00  1.576e-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:  5.195e-01  2.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.50
Ra Dec: 117.485 18.387
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 5.61e-08 +/- 4.41e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 1.25e-05

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

Saving results to:
/scratch/kocevski/932982/likelihoodResults_378777601_379036801_4FGL_J0749.9+1823_daily_bin538.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) = 6319.94391245
delta logL = 0.426154462956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6319.94055129
delta logL = 0.429515623172

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.791       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2665       1.0000          .0000       10.000    
     3 'Normalizat'    .48698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2164       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.

 FCN=   6319.941     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      261 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.791        326.02        .20113E-02   -.77256E-04
   2  Index         3.2671        3.4351        .15016        .90546E-04
   3  Normalizat    .48704        .75200E-01    .89633E-01    .29614E-04
   4  Prefactor     1.2162        .50797E-01    .34254E-01    .13585E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.791
  Index      = 3.26709
  Normalizat = 0.487045
  Prefactor  = 1.21621
 **********
 **   18 **HESSE 
 **********

 FCN=   6319.941     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.791        48.368        .80453E-04   -1.4712    
   2  Index         3.2671        1.2289        .55362E-02   -.35392    
   3  Normalizat    .48704        .21990        .39715E-03   -1.1302    
   4  Prefactor     1.2162        .15656        .18699E-03   -.85834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6042e-08
Minuit parameter uncertainties:
  1  48.4447
  2  1.2434
  3  0.220293
  4  0.15662
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/932982': 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) = 6319.94054822
delta logL = 0.429518697659

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  2.479e+01  4.844e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  3.267e+00  1.243e+00  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.216e+00  1.566e-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:  4.870e-01  2.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.44
Ra Dec: 117.485 18.387
Photon Index (Free Index): 3.27 +/- 1.24
Photon Flux (Free Index): 7.83e-08 +/- 5.23e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.02e-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/932982/cmap_HighResolution_378777601_379036801_4FGL_J0749.9+1823_daily_bin538.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', photon_flux='5.61e-08', energy_flux2='1.40e-05', photon_flux_error='4.41e-08', dlogl='4.30e-01', energy_flux='1.59e-05', photon_flux2='7.83e-08', job_status='DONE', time_completed='2021-08-28 15:54:53.130826', photon_index_error2='1.24', photon_index2='3.27', ts='2.50', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='1.02e-05', EG='0.52', time_epoch_completed='1630191293.13', return_code='0', job_id='932982', GAL2='1.22', EG2='0.49', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='5.23e-08', ts2='3.44', photon_index='2.52' WHERE bin_id='538' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:54:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 932982: <4FGL_J0749.9+1823_daily_bin538> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin538> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 28 15:40:39 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:40:40 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:40:40 2021
Terminated at Sat Aug 28 15:54:54 2021
Results reported at Sat Aug 28 15:54:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin538 117.485 18.387 378777601 379036801 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 :                                   803.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            855 sec.

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

