/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 76 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0750.8+1229_daily_bin927
RA = 117.701, Dec = 12.494
tmin = 479606401, tmax = 479865601
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='946087', job_status='RUN', time_executed='2021-08-28 16:18:12.886354', time_epoch_executed='1630192692.89' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='927'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/946087

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/946087/ft1_4FGL_J0750.8+1229_daily_bin927.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/946087/ft2_4FGL_J0750.8+1229_daily_bin927.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/946087/ft1_4FGL_J0750.8+1229_daily_bin927.fits outfile=/scratch/kocevski/946087/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin927.fits ra=117.701 dec=12.494 rad=12.0 tmin=479606401.0 tmax=479865601.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 5.47
user 3.20
sys 2.13

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/946087/ft2_4FGL_J0750.8+1229_daily_bin927.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/946087/ft2_4FGL_J0750.8+1229_daily_bin927.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/946087/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin927.fits evtable="EVENTS" outfile="/scratch/kocevski/946087/ft1_filtered_4FGL_J0750.8+1229_daily_bin927.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 2.91
user 0.34
sys 2.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/946087/ft1_filtered_4FGL_J0750.8+1229_daily_bin927.fits" evtable="EVENTS" scfile=/scratch/kocevski/946087/ft2_4FGL_J0750.8+1229_daily_bin927.fits sctable="SC_DATA" outfile=/scratch/kocevski/946087/ltcube_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.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/946087/ft2_4FGL_J0750.8+1229_daily_bin927.fits
.....................!
real 15.04
user 12.01
sys 2.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/946087/ft1_filtered_4FGL_J0750.8+1229_daily_bin927.fits evtable="EVENTS" scfile=/scratch/kocevski/946087/ft2_4FGL_J0750.8+1229_daily_bin927.fits sctable="SC_DATA" expcube=/scratch/kocevski/946087/ltcube_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.fits outfile=/scratch/kocevski/946087/expmap_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.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/946087/ltcube_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.fits
.....................!
real 194.39
user 185.92
sys 7.49

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 Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 168 point sources and 2 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 J0750.8+1229 @ 117.701 12.494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/946087/ft1_filtered_4FGL_J0750.8+1229_daily_bin927.fits scfile=/scratch/kocevski/946087/ft2_4FGL_J0750.8+1229_daily_bin927.fits outfile=/scratch/kocevski/946087/cmap_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.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.701 yref=12.494 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 2.45
user 0.37
sys 2.05

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/946087/ft1_filtered_4FGL_J0750.8+1229_daily_bin927.fits scfile=/scratch/kocevski/946087/ft2_4FGL_J0750.8+1229_daily_bin927.fits outfile=/scratch/kocevski/946087/cmap_HighResolution_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.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.701 yref=12.494 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 2.45
user 0.38
sys 2.05

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/946087/ft1_filtered_4FGL_J0750.8+1229_daily_bin927.fits evtable="EVENTS" scfile=/scratch/kocevski/946087/ft2_4FGL_J0750.8+1229_daily_bin927.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/946087/Model_4FGL_J0750.8+1229_daily_bin927.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
adding source Rosette
Working on...
/scratch/kocevski/946087/ft1_filtered_4FGL_J0750.8+1229_daily_bin927.fits.....................!
real 85.35
user 81.14
sys 3.79

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/946087/ft1_filtered_4FGL_J0750.8+1229_daily_bin927.fits', '/scratch/kocevski/946087/ft2_4FGL_J0750.8+1229_daily_bin927.fits', expMap='/scratch/kocevski/946087/expmap_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.fits', expCube='/scratch/kocevski/946087/ltcube_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/946087/Model_4FGL_J0750.8+1229_daily_bin927.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0750.8+1229'

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.506e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/946087/ft1_filtered_4FGL_J0750.8+1229_daily_bin927.fits
Spacecraft file(s): /scratch/kocevski/946087/ft2_4FGL_J0750.8+1229_daily_bin927.fits
Exposure map: /scratch/kocevski/946087/expmap_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.fits
Exposure cube: /scratch/kocevski/946087/ltcube_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/946087/Model_4FGL_J0750.8+1229_daily_bin927.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) = 6084.44465423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .37789       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.7260       1.0000         .10000E-03   10000.    
     7 'norm      '    2.1497       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.194       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34119E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.812       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    57.848       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .15574E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.098       1.0000         .10000E-03   10000.    
    19 'Prefactor '    45.850       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.2977       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1435       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84389       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6084.423     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2361 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.449        .76167E-06** at limit **
   2  norm          .10000E-03    .51170       -.68132E-08** at limit **
   3  norm          .37765        1.1225       -.75490E-06   -.17431E-02
   4  Prefactor     .10000E-03    18.905        .42491E-05** at limit **
   5  Prefactor     .10000E-03    10.562       -.21320E-05** at limit **
   6  norm          5.7254        1.9436        .53984E-07    .17951E-03
   7  norm          2.1499        1.8797       -.12040E-06   -.28900E-03
   8  Prefactor     .10000E-03    4.7251        .63662E-07** at limit **
   9  Prefactor     .10000E-03    4.1358       -.19091E-07** at limit **
  10  Prefactor     40.191        39.707       -.33852E-05    .87112E-04
  11  Prefactor     .41236E-01    1.3451       -.19947E-06    .17685E-03
  12  norm          .10000E-03    11.943        .54336E-05** at limit **
  13  Prefactor     16.810        11.464       -.66592E-06    .18454E-04
  14  Prefactor     .10000E-03    38.480       -.14681E-05** at limit **
  15  norm          57.850        79.706        .17627E-05   -.15632E-04
  16  Prefactor     .10000E-03    14.754       -.72459E-05** at limit **
  17  norm          .10000E-03    37.713        .19628E-06** at limit **
  18  norm          10.098        6.3022       -.23607E-06    .67151E-04
  19  Prefactor     45.846        42.083       -.42059E-05    .12298E-03
  20  Prefactor     5.3008        11.178       -.37156E-07   -.60293E-04
  21  Normalizat    1.1432        .19911        .16267E-05    .62447E-04
  22  Prefactor     .84406        .12375       -.10063E-06    .19200E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.377645
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.72541
  norm       = 2.14992
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.1911
  Prefactor  = 0.0412362
  norm       = 0.000100001
  Prefactor  = 16.8097
  Prefactor  = 0.0001
  norm       = 57.8496
  Prefactor  = 0.000100001
  norm       = 0.000100001
  norm       = 10.0979
  Prefactor  = 45.8456
  Prefactor  = 5.30081
  Normalizat = 1.14318
  Prefactor  = 0.844056
 **********
 **   18 **HESSE 
 **********

 FCN=   6084.423     FROM HESSE     STATUS=OK           338 CALLS     2699 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.770        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .51464        .54480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .37765        1.2033        .14203E-03   -1.5585    
   4  Prefactor     .10000E-03    18.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.7254        1.9415        .60616E-04   -1.5229    
   7  norm          2.1499        1.8751        .96817E-04   -1.5415    
   8  Prefactor     .10000E-03    4.7441        .16533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.1377        .15493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     40.191        39.719        .63225E-04   -1.4439    
  11  Prefactor     .41236E-01    34.840        .17131E-02   -1.5667    
  12  norm          .10000E-03    11.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.810        11.508        .97682E-04   -1.4888    
  14  Prefactor     .10000E-03    38.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          57.850        79.619        .52746E-04   -1.4185    
  16  Prefactor     .10000E-03    14.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    38.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.098        6.3026        .12610E-03   -1.5072    
  19  Prefactor     45.846        42.110        .59212E-04   -1.4353    
  20  Prefactor     5.3008        11.184        .17462E-03   -1.5247    
  21  Normalizat    1.1432        .23401        .27297E-03   -.88377    
  22  Prefactor     .84406        .14423        .20255E-03   -.98124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26062e-09
Minuit parameter uncertainties:
  1  4.55031e-05
  2  4.01077e-07
  3  1.20341
  4  0.000173508
  5  6.24583e-05
  6  1.94155
  7  1.87517
  8  1.12916e-05
  9  3.78898e-07
  10  39.7452
  11  2.39571
  12  0.00016
  13  11.5093
  14  8.62745e-05
  15  79.7661
  16  0.000281534
  17  0.000278699
  18  6.30301
  19  42.1369
  20  11.188
  21  0.234224
  22  0.144292
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  4.124e-02  2.396e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  8.441e-01  1.443e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.143e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 8.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/946087/likelihoodResults_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6084.41942196
delta logL = 0.00338023609311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6084.39572336
delta logL = 0.0270788326607

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15119       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5165       1.0000          .0000       10.000    
     3 'Normalizat'    1.1304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6084.396     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      256 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14719        2.2744        .19083E-01    .19958E-02
   2  Index         3.5272        .81793        .50000        .31913E-05
   3  Normalizat    1.1307        .12193E-01    .62010E-01    .13194E-04
   4  Prefactor     .84863        .79395E-02    .44346E-01    .13523E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.147185
  Index      = 3.5272
  Normalizat = 1.13074
  Prefactor  = 0.84863
 **********
 **   18 **HESSE 
 **********

 FCN=   6084.396     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      291 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14719        135.93        .96170E-03   -1.5631    
   2  Index         3.5272        6.1832        .54847E-02   -.29900    
   3  Normalizat    1.1307        .15713        .27427E-03   -.88771    
   4  Prefactor     .84863        .98464E-01    .20207E-03   -.97960    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.57898e-06
Minuit parameter uncertainties:
  1  8.96333
  2  32.7764
  3  0.157196
  4  0.0984845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/946087': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6084.39571257
delta logL = 0.0270896235716

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.472e-01  8.963e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  3.527e+00  3.278e+01  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  8.486e-01  9.848e-02  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.131e+00  1.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 117.701 12.494

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/946087/cmap_HighResolution_479606401_479865601_4FGL_J0750.8+1229_daily_bin927.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.97e-03', job_status='DONE', photon_flux_upper_limit='8.95e-08', time_completed='2021-08-28 16:29:42.354400', job_id='946087', GAL2='0.85', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1630193382.35', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='2.71e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='927' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:29:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 946087: <4FGL_J0750.8+1229_daily_bin927> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin927> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Aug 28 16:15:46 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:15: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 16:15:46 2021
Terminated at Sat Aug 28 16:29:43 2021
Results reported at Sat Aug 28 16:29:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin927 117.701 12.494 479606401 479865601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0750.8+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   708.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             237.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            837 sec.

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

