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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin55
RA = 117.701, Dec = 12.494
tmin = 253584001, tmax = 253843201
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='939719', job_status='RUN', time_executed='2021-08-28 16:00:15.594929', time_epoch_executed='1630191615.59' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='55'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/939719

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/939719/ft1_4FGL_J0750.8+1229_daily_bin55.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/939719/ft2_4FGL_J0750.8+1229_daily_bin55.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/939719/ft1_4FGL_J0750.8+1229_daily_bin55.fits outfile=/scratch/kocevski/939719/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin55.fits ra=117.701 dec=12.494 rad=12.0 tmin=253584001.0 tmax=253843201.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.94
user 1.24
sys 0.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/939719/ft2_4FGL_J0750.8+1229_daily_bin55.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/939719/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin55.fits evtable="EVENTS" outfile="/scratch/kocevski/939719/ft1_filtered_4FGL_J0750.8+1229_daily_bin55.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.89
user 0.32
sys 0.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/939719/ft1_filtered_4FGL_J0750.8+1229_daily_bin55.fits" evtable="EVENTS" scfile=/scratch/kocevski/939719/ft2_4FGL_J0750.8+1229_daily_bin55.fits sctable="SC_DATA" outfile=/scratch/kocevski/939719/ltcube_253584001_253843201_4FGL_J0750.8+1229_daily_bin55.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/939719/ft2_4FGL_J0750.8+1229_daily_bin55.fits
.....................!
real 14.23
user 13.31
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/939719/ft1_filtered_4FGL_J0750.8+1229_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/939719/ft2_4FGL_J0750.8+1229_daily_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/939719/ltcube_253584001_253843201_4FGL_J0750.8+1229_daily_bin55.fits outfile=/scratch/kocevski/939719/expmap_253584001_253843201_4FGL_J0750.8+1229_daily_bin55.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/939719/ltcube_253584001_253843201_4FGL_J0750.8+1229_daily_bin55.fits
.....................!
real 194.19
user 186.82
sys 5.68

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/939719/ft1_filtered_4FGL_J0750.8+1229_daily_bin55.fits scfile=/scratch/kocevski/939719/ft2_4FGL_J0750.8+1229_daily_bin55.fits outfile=/scratch/kocevski/939719/cmap_253584001_253843201_4FGL_J0750.8+1229_daily_bin55.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.95
user 0.38
sys 0.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/939719/ft1_filtered_4FGL_J0750.8+1229_daily_bin55.fits scfile=/scratch/kocevski/939719/ft2_4FGL_J0750.8+1229_daily_bin55.fits outfile=/scratch/kocevski/939719/cmap_HighResolution_253584001_253843201_4FGL_J0750.8+1229_daily_bin55.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.89
user 0.38
sys 0.49

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.716       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0814       1.0000         .10000E-03   10000.    
     3 'norm      '    .23318       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11103E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4107       1.0000         .10000E-03   10000.    
     7 'norm      '    2.3246       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9700       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.326       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11107       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0294       1.0000         .10000E-03   10000.    
    12 'norm      '    3.9770       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.203       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .18708E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.044       1.0000         .10000E-03   10000.    
    17 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11442E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0485       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0579       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=   9752.661     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2123 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.715        10.861       -.18315E-06    .46971E-04
   2  norm          1.0816        1.5539       -.58942E-06   -.15711E-02
   3  norm          .23274        .73874       -.26665E-06   -.12378E-02
   4  Prefactor     .10000E-03    140.19        .63295E-05** at limit **
   5  Prefactor     .10000E-03    14.891       -.26679E-06** at limit **
   6  norm          1.4089        1.3083        .87749E-06   -.67466E-05
   7  norm          2.3246        1.6768       -.10223E-06   -.58059E-03
   8  Prefactor     2.9953        8.9713       -.64876E-05   -.52168E-03
   9  Prefactor     14.358        16.070       -.20417E-05    .25899E-04
  10  Prefactor     .11419E-03    24.381        .34168E-05** at limit **
  11  Prefactor     6.0296        2.9015        .23940E-07   -.32199E-03
  12  norm          3.9796        10.487        .84808E-05   -.28951E-03
  13  Prefactor     20.200        12.015       -.13920E-05   -.71109E-04
  14  Prefactor     .10000E-03    23.516       -.28727E-06** at limit **
  15  norm          .10000E-03    48.582       -.25208E-05** at limit **
  16  Prefactor     24.055        23.276        .14113E-04   -.38068E-03
  17  norm          .10000E-03    5.0650       -.23020E-06** at limit **
  18  norm          .10000E-03    1.9801       -.44571E-06** at limit **
  19  Prefactor     .10000E-03    28.512        .67515E-06** at limit **
  20  Prefactor     .10000E-03    10.818        .16359E-06** at limit **
  21  Normalizat    1.0485        .17056       -.98016E-06   -.52940E-04
  22  Prefactor     1.0579        .10833        .36220E-06   -.11423E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.7152
  norm       = 1.0816
  norm       = 0.232743
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.40889
  norm       = 2.3246
  Prefactor  = 2.99531
  Prefactor  = 14.358
  Prefactor  = 0.000114186
  Prefactor  = 6.02956
  norm       = 3.97964
  Prefactor  = 20.1999
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.0547
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04848
  Prefactor  = 1.05789
 **********
 **   18 **HESSE 
 **********

 FCN=   9752.661     FROM HESSE     STATUS=OK           354 CALLS     2477 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.715        10.864        .82253E-04   -1.4734    
   2  norm          1.0816        1.5460        .14091E-03   -1.5500    
   3  norm          .23274        .99661        .14082E-02   -1.5611    
   4  Prefactor     .10000E-03    141.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4089        1.2990        .36476E-04   -1.5471    
   7  norm          2.3246        1.6722        .10406E-03   -1.5403    
   8  Prefactor     2.9953        9.0321        .23560E-03   -1.5362    
   9  Prefactor     14.358        16.079        .10582E-03   -1.4950    
  10  Prefactor     .11419E-03    25.124        .13526       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0296        2.9063        .11038E-03   -1.5217    
  12  norm          3.9796        10.350        .20225E-03   -1.5309    
  13  Prefactor     20.200        12.012        .89109E-04   -1.4809    
  14  Prefactor     .10000E-03    23.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    48.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.055        22.871        .81691E-04   -1.4727    
  17  norm          .10000E-03    5.0704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.9960        .13577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    28.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0485        .19541        .30905E-03   -.91424    
  22  Prefactor     1.0579        .12420        .19943E-03   -.90824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33113e-09
Minuit parameter uncertainties:
  1  10.8653
  2  1.54602
  3  0.963051
  4  9.03803e-05
  5  1.55263e-05
  6  1.29898
  7  1.67228
  8  9.03622
  9  16.0838
  10  0.0377739
  11  2.90635
  12  10.355
  13  12.0136
  14  9.55124e-06
  15  0.000109931
  16  22.8793
  17  3.55088e-05
  18  2.23299e-05
  19  0.00018193
  20  1.08979e-05
  21  0.195544
  22  0.124237
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  6.030e+00  2.906e+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:  1.058e+00  1.242e-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.048e+00  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.71
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 8.14e-08 +/- 3.92e-08
Energy Flux (Fixed Index): 2.32e-05 +/- 1.12e-05

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) = 9752.65564548
delta logL = 0.00502288518874

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9752.65349648
delta logL = 0.00717188138151

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9752.653     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      258 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2364        3.5215        .11360E-03    .39792E-03
   2  Index         2.4601        .48490        .74240E-02    .11128E-03
   3  Normalizat    1.0532        .19028        .30847E-03   -.15479E-04
   4  Prefactor     1.0561        .12074        .19958E-03   -.25178E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.23639
  Index      = 2.46007
  Normalizat = 1.05315
  Prefactor  = 1.05606
 **********
 **   18 **HESSE 
 **********

 FCN=   9752.653     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2364        3.4239        .45438E-05   -1.5208    
   2  Index         2.4601        .47071        .29696E-03   -.53285    
   3  Normalizat    1.0532        .19024        .12339E-04   -.91270    
   4  Prefactor     1.0561        .12078        .79832E-05   -.90883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86399e-11
Minuit parameter uncertainties:
  1  3.42398
  2  0.471655
  3  0.190367
  4  0.120807
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/939719': 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) = 9752.65349644
delta logL = 0.00717192222146

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  6.236e+00  3.424e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.460e+00  4.717e-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:  1.056e+00  1.208e-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.053e+00  1.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.71
Ra Dec: 117.701 12.494
Photon Index (Free Index): 2.46 +/- 0.47
Photon Flux (Free Index): 7.76e-08 +/- 4.93e-08
Energy Flux (Free Index): 2.36e-05 +/- 1.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/939719/cmap_HighResolution_253584001_253843201_4FGL_J0750.8+1229_daily_bin55.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.14e-08', energy_flux2='2.36e-05', photon_flux_error='3.92e-08', dlogl='7.17e-03', energy_flux='2.32e-05', photon_flux2='7.76e-08', job_status='DONE', time_completed='2021-08-28 16:12:33.853673', photon_index_error2='0.47', photon_index2='2.46', ts='9.71', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.19e-05', EG='1.05', time_epoch_completed='1630192353.85', return_code='0', job_id='939719', GAL2='1.06', EG2='1.05', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.93e-08', ts2='9.71', photon_index='2.52' WHERE bin_id='55' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:12:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 939719: <4FGL_J0750.8+1229_daily_bin55> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin55> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Aug 28 15:56:09 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:56:10 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:56:10 2021
Terminated at Sat Aug 28 16:12:34 2021
Results reported at Sat Aug 28 16:12:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin55 117.701 12.494 253584001 253843201 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 :                                   738.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            985 sec.

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

