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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin678
RA = 117.701, Dec = 12.494
tmin = 415065601, tmax = 415324801
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='944372', job_status='RUN', time_executed='2021-08-28 16:13:00.413583', time_epoch_executed='1630192380.41' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='678'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/944372

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/944372/ft1_4FGL_J0750.8+1229_daily_bin678.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/944372/ft2_4FGL_J0750.8+1229_daily_bin678.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/944372/ft1_4FGL_J0750.8+1229_daily_bin678.fits outfile=/scratch/kocevski/944372/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin678.fits ra=117.701 dec=12.494 rad=12.0 tmin=415065601.0 tmax=415324801.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 3.96
user 3.49
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/944372/ft1_filtered_4FGL_J0750.8+1229_daily_bin678.fits" evtable="EVENTS" scfile=/scratch/kocevski/944372/ft2_4FGL_J0750.8+1229_daily_bin678.fits sctable="SC_DATA" outfile=/scratch/kocevski/944372/ltcube_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.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/944372/ft2_4FGL_J0750.8+1229_daily_bin678.fits
.....................!
real 12.32
user 11.72
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/944372/ft1_filtered_4FGL_J0750.8+1229_daily_bin678.fits evtable="EVENTS" scfile=/scratch/kocevski/944372/ft2_4FGL_J0750.8+1229_daily_bin678.fits sctable="SC_DATA" expcube=/scratch/kocevski/944372/ltcube_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.fits outfile=/scratch/kocevski/944372/expmap_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.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/944372/ltcube_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.fits
.....................!
real 190.32
user 185.09
sys 4.79

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/944372/ft1_filtered_4FGL_J0750.8+1229_daily_bin678.fits scfile=/scratch/kocevski/944372/ft2_4FGL_J0750.8+1229_daily_bin678.fits outfile=/scratch/kocevski/944372/cmap_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.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 0.87
user 0.35
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/944372/ft1_filtered_4FGL_J0750.8+1229_daily_bin678.fits scfile=/scratch/kocevski/944372/ft2_4FGL_J0750.8+1229_daily_bin678.fits outfile=/scratch/kocevski/944372/cmap_HighResolution_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.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 0.83
user 0.39
sys 0.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/944372/ft1_filtered_4FGL_J0750.8+1229_daily_bin678.fits evtable="EVENTS" scfile=/scratch/kocevski/944372/ft2_4FGL_J0750.8+1229_daily_bin678.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/944372/Model_4FGL_J0750.8+1229_daily_bin678.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/944372/ft1_filtered_4FGL_J0750.8+1229_daily_bin678.fits.......................!
real 29.43
user 27.44
sys 1.50

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/944372/ft1_filtered_4FGL_J0750.8+1229_daily_bin678.fits', '/scratch/kocevski/944372/ft2_4FGL_J0750.8+1229_daily_bin678.fits', expMap='/scratch/kocevski/944372/expmap_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.fits', expCube='/scratch/kocevski/944372/ltcube_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/944372/Model_4FGL_J0750.8+1229_daily_bin678.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/944372/ft1_filtered_4FGL_J0750.8+1229_daily_bin678.fits
Spacecraft file(s): /scratch/kocevski/944372/ft2_4FGL_J0750.8+1229_daily_bin678.fits
Exposure map: /scratch/kocevski/944372/expmap_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.fits
Exposure cube: /scratch/kocevski/944372/ltcube_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/944372/Model_4FGL_J0750.8+1229_daily_bin678.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) = 1118.35905621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.2246       1.0000         .10000E-03   10000.    
     3 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    74.770       1.0000         .10000E-03   10000.    
     6 'norm      '    9.9544       1.0000         .10000E-03   10000.    
     7 'norm      '    8.7463       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10963E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1781       1.0000         .10000E-03   10000.    
    12 'norm      '    95.833       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .36165E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .18508E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.4445       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .65020       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .53371       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=   1118.345     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2352 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    48.506       -.13816E-04** at limit **
   2  norm          6.2253        4.0052        .10152E-05   -.81536E-04
   3  norm          .10000E-03    1.5854       -.29517E-06** at limit **
   4  Prefactor     .10000E-03    59.854        .27262E-04** at limit **
   5  Prefactor     74.744        83.322       -.15428E-04   -.45258E-06
   6  norm          9.9571        11.116        .11670E-04    .10712E-03
   7  norm          8.7457        4.9667        .10580E-05   -.22931E-04
   8  Prefactor     .10000E-03    47.792       -.18909E-04** at limit **
   9  Prefactor     .10000E-03    707.86       -.42368E-03** at limit **
  10  Prefactor     .10000E-03    159.62        .42528E-04** at limit **
  11  Prefactor     2.1507        18.936       -.11682E-05   -.19272E-03
  12  norm          95.861        73.923        .12378E-04    .41555E-04
  13  Prefactor     .10001E-03    81.242        .24600E-05** at limit **
  14  Prefactor     .10000E-03    235.12        .20706E-03** at limit **
  15  norm          .10000E-03    1865.8       -.12416E-02** at limit **
  16  Prefactor     .10000E-03    28.280       -.35216E-05** at limit **
  17  norm          .10000E-03    114.21       -.10859E-03** at limit **
  18  norm          7.4411        7.8566        .46931E-06    .28277E-03
  19  Prefactor     .10000E-03    61.990        .24994E-04** at limit **
  20  Prefactor     .10000E-03    33.534        .83860E-05** at limit **
  21  Normalizat    .65047        .50991       -.42848E-05    .12351E-03
  22  Prefactor     .53359        .22072       -.84551E-06    .19269E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.22528
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 74.7445
  norm       = 9.95708
  norm       = 8.74571
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.15069
  norm       = 95.8615
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 7.44114
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.650466
  Prefactor  = 0.533594
 **********
 **   18 **HESSE 
 **********

 FCN=   1118.345     FROM HESSE     STATUS=OK           334 CALLS     2686 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    48.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.2253        4.0087        .48202E-04   -1.5209    
   3  norm          .10000E-03    1.5884        .41118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    59.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     74.744        83.295        .46434E-04   -1.3977    
   6  norm          9.9571        11.117        .11377E-03   -1.5077    
   7  norm          8.7457        4.9760        .49159E-04   -1.5116    
   8  Prefactor     .10000E-03    47.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    707.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    159.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1507        18.807        .26811E-03   -1.5415    
  12  norm          95.861        73.771        .20529E-03   -1.3747    
  13  Prefactor     .10001E-03    81.337        .21309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    235.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1865.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.283        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    114.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.4411        7.8657        .93337E-04   -1.5162    
  19  Prefactor     .10000E-03    62.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    33.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .65047        .56436        .37050E-03   -1.0588    
  22  Prefactor     .53359        .24706        .18685E-03   -1.1046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79595e-10
Minuit parameter uncertainties:
  1  0.000116053
  2  4.00887
  3  9.77643e-06
  4  6.21901e-05
  5  83.4252
  6  11.1195
  7  4.97625
  8  0.000785429
  9  6.83447e-06
  10  0.000106814
  11  12.7247
  12  73.8415
  13  0.00184286
  14  2.71536e-05
  15  1.42546e-05
  16  2.01149e-05
  17  0.000756503
  18  7.86676
  19  4.19979e-05
  20  1.07489e-05
  21  0.569491
  22  0.247556
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.151e+00  1.272e+01  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:  5.336e-01  2.476e-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:  6.505e-01  5.695e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 5.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.19e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/944372/likelihoodResults_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.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) = 1118.33115412
delta logL = 0.0136035471442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1118.33076751
delta logL = 0.0139901597297

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0703       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9342       1.0000          .0000       10.000    
     3 'Normalizat'    .63796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53636       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=   1118.331     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      229 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0619        741.13        .71777E-02    .13786E-03
   2  Index         2.9295        7.2532        .22262        .91826E-05
   3  Normalizat    .63886        .13118        .84327E-01   -.66144E-05
   4  Prefactor     .53615        .60973E-01    .40179E-01   -.23563E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.06185
  Index      = 2.92952
  Normalizat = 0.638857
  Prefactor  = 0.536154
 **********
 **   18 **HESSE 
 **********

 FCN=   1118.331     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0619        14.312        .19268E-03   -1.5421    
   2  Index         2.9295        2.4801        .11268E-01   -.42695    
   3  Normalizat    .63886        .53118        .37353E-03   -1.0636    
   4  Prefactor     .53615        .24239        .18641E-03   -1.1035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.04038e-10
Minuit parameter uncertainties:
  1  10.8681
  2  2.62291
  3  0.53552
  4  0.242857
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/944372': 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) = 1118.33076278
delta logL = 0.0139948916897

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.062e+00  1.087e+01  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.930e+00  2.623e+00  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:  5.362e-01  2.429e-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:  6.389e-01  5.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/944372/cmap_HighResolution_415065601_415324801_4FGL_J0750.8+1229_daily_bin678.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-02', job_status='DONE', photon_flux_upper_limit='5.38e-07', time_completed='2021-08-28 16:19:21.619125', job_id='944372', GAL2='0.54', fit_tolerance='1e-08', EG2='0.64', EG='0.65', time_epoch_completed='1630192761.62', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.53', dlogl='1.40e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='678' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:19:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 944372: <4FGL_J0750.8+1229_daily_bin678> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin678> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 16:10:26 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:10:27 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:10:27 2021
Terminated at Sat Aug 28 16:19:24 2021
Results reported at Sat Aug 28 16:19:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin678 117.701 12.494 415065601 415324801 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 :                                   382.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             192.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   534 sec.
    Turnaround time :                            538 sec.

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

