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


Performing analysis on: 4FGL_J0749.9+1823_daily_bin25
RA = 117.485, Dec = 18.387
tmin = 245808001, tmax = 246067201
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='929511', job_status='RUN', time_executed='2021-08-28 15:31:35.977272', time_epoch_executed='1630189895.98' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='25'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/929511

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/929511/ft1_4FGL_J0749.9+1823_daily_bin25.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/929511/ft2_4FGL_J0749.9+1823_daily_bin25.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/929511/ft1_4FGL_J0749.9+1823_daily_bin25.fits outfile=/scratch/kocevski/929511/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin25.fits ra=117.485 dec=18.387 rad=12.0 tmin=245808001.0 tmax=246067201.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.81
user 1.25
sys 0.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/929511/ft1_filtered_4FGL_J0749.9+1823_daily_bin25.fits" evtable="EVENTS" scfile=/scratch/kocevski/929511/ft2_4FGL_J0749.9+1823_daily_bin25.fits sctable="SC_DATA" outfile=/scratch/kocevski/929511/ltcube_245808001_246067201_4FGL_J0749.9+1823_daily_bin25.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/929511/ft2_4FGL_J0749.9+1823_daily_bin25.fits
.....................!
real 13.43
user 12.61
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/929511/ft1_filtered_4FGL_J0749.9+1823_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/929511/ft2_4FGL_J0749.9+1823_daily_bin25.fits sctable="SC_DATA" expcube=/scratch/kocevski/929511/ltcube_245808001_246067201_4FGL_J0749.9+1823_daily_bin25.fits outfile=/scratch/kocevski/929511/expmap_245808001_246067201_4FGL_J0749.9+1823_daily_bin25.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/929511/ltcube_245808001_246067201_4FGL_J0749.9+1823_daily_bin25.fits
.....................!
real 191.32
user 186.08
sys 4.71

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/929511/ft1_filtered_4FGL_J0749.9+1823_daily_bin25.fits scfile=/scratch/kocevski/929511/ft2_4FGL_J0749.9+1823_daily_bin25.fits outfile=/scratch/kocevski/929511/cmap_245808001_246067201_4FGL_J0749.9+1823_daily_bin25.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.91
user 0.36
sys 0.50

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/929511/ft1_filtered_4FGL_J0749.9+1823_daily_bin25.fits scfile=/scratch/kocevski/929511/ft2_4FGL_J0749.9+1823_daily_bin25.fits outfile=/scratch/kocevski/929511/cmap_HighResolution_245808001_246067201_4FGL_J0749.9+1823_daily_bin25.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.89
user 0.37
sys 0.50

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8508       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11013E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    52.814       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.6965       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8241       1.0000         .10000E-03   10000.    
     7 'norm      '    8.1142       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.402       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5261       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.556       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.369       1.0000         .10000E-03   10000.    
    21 'norm      '    .11526E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.851       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .57234E-02   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .86860       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89786       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=   5761.020     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2923 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8480        110.33        .15529E-05   -.45650E-05
   2  Prefactor     .10004E-03    6.0160        .18229E-05** at limit **
   3  norm          52.815        16.801        .38599E-08   -.91242E-04
   4  norm          .10000E-03    .56924       -.14961E-07** at limit **
   5  norm          2.6965        2.2948       -.11402E-05   -.89158E-05
   6  Prefactor     3.8223        12.107        .74428E-05    .88438E-04
   7  norm          8.1135        4.7057        .15526E-06    .16263E-03
   8  Prefactor     .10000E-03    37.505       -.20513E-05** at limit **
   9  Prefactor     .10000E-03    7.0375        .13592E-06** at limit **
  10  Prefactor     33.404        37.226       -.13279E-05   -.10049E-05
  11  Prefactor     3.5262        3.0412       -.10768E-08   -.14829E-03
  12  Prefactor     .10000E-03    18.004       -.54166E-06** at limit **
  13  norm          .10000E-03    24.161        .18775E-05** at limit **
  14  Prefactor     17.557        11.952       -.26304E-06   -.22815E-03
  15  Prefactor     .10000E-03    58.171        .34469E-05** at limit **
  16  norm          .10000E-03    35.103       -.14009E-05** at limit **
  17  Prefactor     .10000E-03    8.0033       -.11989E-05** at limit **
  18  Prefactor     .10000E-03    12.071       -.24773E-06** at limit **
  19  Prefactor     .10000E-03    8.2847        .11102E-05** at limit **
  20  Prefactor     16.340        19.713        .10455E-05    .40019E-04
  21  norm          .10000E-03    .67844       -.31209E-06** at limit **
  22  Prefactor     29.839        13.995        .27266E-07    .10416E-04
  23  Prefactor     .10006E-03    5.2414        .11406E-05** at limit **
  24  Normalizat    .86852        .19563       -.14041E-05   -.10560E-03
  25  Prefactor     .89790        .12998        .29965E-06   -.21976E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.84798
  Prefactor  = 0.000100036
  norm       = 52.815
  norm       = 0.0001
  norm       = 2.69652
  Prefactor  = 3.82229
  norm       = 8.11351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.4044
  Prefactor  = 3.52622
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 17.5571
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.3402
  norm       = 0.0001
  Prefactor  = 29.8389
  Prefactor  = 0.000100055
  Normalizat = 0.868524
  Prefactor  = 0.897898
 **********
 **   18 **HESSE 
 **********

 FCN=   5761.020     FROM HESSE     STATUS=OK           433 CALLS     3356 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8480        110.56        .20565E-03   -1.5316    
   2  Prefactor     .10004E-03    33.225        .34058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          52.815        16.733        .55190E-04   -1.4253    
   4  norm          .10000E-03    .89558        .11078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6965        2.3145        .74568E-04   -1.5380    
   6  Prefactor     3.8223        12.280        .10320E-02   -1.5317    
   7  norm          8.1135        4.7193        .11841E-03   -1.5138    
   8  Prefactor     .10000E-03    37.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.0480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.404        37.292        .69334E-04   -1.4551    
  11  Prefactor     3.5262        3.0342        .11653E-03   -1.5332    
  12  Prefactor     .10000E-03    18.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    24.680        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.557        11.974        .95589E-04   -1.4870    
  15  Prefactor     .10000E-03    58.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    35.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.0105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.3410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     16.340        19.658        .98995E-04   -1.4899    
  21  norm          .10000E-03    .69997        .12125E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     29.839        14.024        .73332E-04   -1.4615    
  23  Prefactor     .10006E-03    5.2065        .59415E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .86852        .22576        .28952E-03   -.97575    
  25  Prefactor     .89790        .14963        .19877E-03   -.96215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40131e-09
Minuit parameter uncertainties:
  1  41.3355
  2  0.00217802
  3  16.7342
  4  2.1937e-06
  5  2.31456
  6  12.2883
  7  4.71954
  8  0.000132907
  9  1.76083e-06
  10  37.318
  11  3.03434
  12  2.30066e-05
  13  0.00029888
  14  11.9756
  15  0.000208728
  16  6.74291e-05
  17  2.53168e-05
  18  1.93675e-06
  19  3.9306e-05
  20  19.6655
  21  1.29667e-05
  22  14.026
  23  0.00107309
  24  0.226001
  25  0.149695
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  3.340e+01  3.732e+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:  8.979e-01  1.497e-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.685e-01  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.18
Ra Dec: 117.485 18.387
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 3.51e-08 +/- 3.92e-08
Energy Flux (Fixed Index): 9.94e-06 +/- 1.11e-05

TS (Fixed Index): 1.18
Ra Dec: 117.485 18.387
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/929511/likelihoodResults_245808001_246067201_4FGL_J0749.9+1823_daily_bin25.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) = 5760.95627533
delta logL = 0.0637547185988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5760.95335152
delta logL = 0.0666785304793

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.447       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1990       1.0000          .0000       10.000    
     3 'Normalizat'    .87767       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89352       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=   5760.953     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      300 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.448        46.043        .62266E-04   -.90561E-04
   2  Index         2.1990        .82906        .99291E-02   -.56628E-04
   3  Normalizat    .87754        .21025        .28817E-03    .50615E-04
   4  Prefactor     .89361        .14609        .19916E-03    .37104E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.4478
  Index      = 2.19901
  Normalizat = 0.87754
  Prefactor  = 0.893613
 **********
 **   18 **HESSE 
 **********

 FCN=   5760.953     FROM HESSE     STATUS=OK            23 CALLS      323 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.448        45.537        .12453E-04   -1.4419    
   2  Index         2.1990        .81986        .39716E-03   -.59462    
   3  Normalizat    .87754        .21038        .11527E-04   -.97254    
   4  Prefactor     .89361        .14617        .79663E-05   -.96365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69474e-10
Minuit parameter uncertainties:
  1  45.5753
  2  0.825312
  3  0.210579
  4  0.146234
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/929511': 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) = 5760.9533513
delta logL = 0.0666787446798

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  4.145e+01  4.558e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.199e+00  8.253e-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:  8.936e-01  1.462e-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.775e-01  2.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.31
Ra Dec: 117.485 18.387
Photon Index (Free Index): 2.20 +/- 0.83
Photon Flux (Free Index): 2.88e-08 +/- 3.80e-08
Energy Flux (Free Index): 1.30e-05 +/- 1.72e-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/929511/cmap_HighResolution_245808001_246067201_4FGL_J0749.9+1823_daily_bin25.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.60e-03', comment='SUCCESS', photon_flux='3.51e-08', energy_flux2='1.30e-05', photon_flux_error='3.92e-08', dlogl='6.67e-02', energy_flux='9.94e-06', photon_flux2='2.88e-08', job_status='DONE', time_completed='2021-08-28 15:42:49.148097', photon_index_error2='0.83', photon_index2='2.20', ts='1.18', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='1.72e-05', EG='0.87', time_epoch_completed='1630190569.15', return_code='0', job_id='929511', GAL2='0.89', EG2='0.88', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='3.80e-08', ts2='1.31', photon_index='2.52' WHERE bin_id='25' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:42:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 929511: <4FGL_J0749.9+1823_daily_bin25> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin25> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 15:30:20 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:30:21 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:30:21 2021
Terminated at Sat Aug 28 15:42:49 2021
Results reported at Sat Aug 28 15:42:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin25 117.485 18.387 245808001 246067201 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 :                                   673.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            749 sec.

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

