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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin476
RA = 117.701, Dec = 12.494
tmin = 362707201, tmax = 362966401
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='942666', job_status='RUN', time_executed='2021-08-28 16:07:49.786320', time_epoch_executed='1630192069.79' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='476'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942666

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942666/ft1_4FGL_J0750.8+1229_daily_bin476.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942666/ft2_4FGL_J0750.8+1229_daily_bin476.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942666/ft1_4FGL_J0750.8+1229_daily_bin476.fits outfile=/scratch/kocevski/942666/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin476.fits ra=117.701 dec=12.494 rad=12.0 tmin=362707201.0 tmax=362966401.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 6.36
user 5.61
sys 0.53

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942666/ft1_filtered_4FGL_J0750.8+1229_daily_bin476.fits" evtable="EVENTS" scfile=/scratch/kocevski/942666/ft2_4FGL_J0750.8+1229_daily_bin476.fits sctable="SC_DATA" outfile=/scratch/kocevski/942666/ltcube_362707201_362966401_4FGL_J0750.8+1229_daily_bin476.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/942666/ft2_4FGL_J0750.8+1229_daily_bin476.fits
.....................!
real 11.81
user 11.07
sys 0.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942666/ft1_filtered_4FGL_J0750.8+1229_daily_bin476.fits evtable="EVENTS" scfile=/scratch/kocevski/942666/ft2_4FGL_J0750.8+1229_daily_bin476.fits sctable="SC_DATA" expcube=/scratch/kocevski/942666/ltcube_362707201_362966401_4FGL_J0750.8+1229_daily_bin476.fits outfile=/scratch/kocevski/942666/expmap_362707201_362966401_4FGL_J0750.8+1229_daily_bin476.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/942666/ltcube_362707201_362966401_4FGL_J0750.8+1229_daily_bin476.fits
.....................!
real 190.40
user 185.14
sys 4.81

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/942666/ft1_filtered_4FGL_J0750.8+1229_daily_bin476.fits scfile=/scratch/kocevski/942666/ft2_4FGL_J0750.8+1229_daily_bin476.fits outfile=/scratch/kocevski/942666/cmap_362707201_362966401_4FGL_J0750.8+1229_daily_bin476.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.79
user 0.36
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942666/ft1_filtered_4FGL_J0750.8+1229_daily_bin476.fits scfile=/scratch/kocevski/942666/ft2_4FGL_J0750.8+1229_daily_bin476.fits outfile=/scratch/kocevski/942666/cmap_HighResolution_362707201_362966401_4FGL_J0750.8+1229_daily_bin476.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.38
sys 0.42

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2455       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1317       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.456       1.0000         .10000E-03   10000.    
     6 'norm      '    4.9900       1.0000         .10000E-03   10000.    
     7 'norm      '    2.0430       1.0000         .10000E-03   10000.    
     8 'Prefactor '    38.501       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.756       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11108E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11619E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.6268       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.443       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3839       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92664       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=   7553.022     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2504 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.5809        .10498E-08** at limit **
   2  norm          1.2453        1.7182        .25121E-06   -.71649E-04
   3  norm          1.1315        1.3926        .20357E-06   -.47548E-04
   4  Prefactor     .10000E-03    28.892       -.20996E-07** at limit **
   5  Prefactor     39.452        37.512        .96563E-07   -.14221E-04
   6  norm          4.9898        3.4134        .10866E-05   -.71334E-03
   7  norm          2.0430        1.7240        .77900E-07   -.59886E-04
   8  Prefactor     38.503        20.584       -.15273E-05   -.30332E-04
   9  Prefactor     .10000E-03    59.489        .10721E-06** at limit **
  10  Prefactor     .10000E-03    18.598        .39242E-07** at limit **
  11  Prefactor     .10000E-03    2.0137        .38036E-06** at limit **
  12  norm          11.751        18.293       -.40390E-05    .34073E-04
  13  Prefactor     .10133E-03    8.5020        .93421E-06** at limit **
  14  Prefactor     .10001E-03    233.51        .26939E-05** at limit **
  15  norm          .10002E-03    517.63       -.17492E-04** at limit **
  16  Prefactor     .10000E-03    13.404        .31424E-07** at limit **
  17  norm          .10000E-03    7.2320        .16524E-07** at limit **
  18  norm          4.6272        4.0940        .10698E-07    .33949E-05
  19  Prefactor     19.440        29.836       -.83353E-07   -.68885E-05
  20  Prefactor     .10000E-03    9.8376        .29767E-07** at limit **
  21  Normalizat    1.3839        .20426       -.85841E-06   -.76526E-04
  22  Prefactor     .92664        .12703       -.28677E-06   -.74550E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.24531
  norm       = 1.13153
  Prefactor  = 0.0001
  Prefactor  = 39.4518
  norm       = 4.98977
  norm       = 2.04296
  Prefactor  = 38.5033
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.7506
  Prefactor  = 0.00010133
  Prefactor  = 0.000100013
  norm       = 0.00010002
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.62715
  Prefactor  = 19.4396
  Prefactor  = 0.0001
  Normalizat = 1.3839
  Prefactor  = 0.926644
 **********
 **   18 **HESSE 
 **********

 FCN=   7553.022     FROM HESSE     STATUS=OK           354 CALLS     2858 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.5854        .16061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2453        1.6950        .12721E-03   -1.5485    
   3  norm          1.1315        1.3636        .10743E-03   -1.5495    
   4  Prefactor     .10000E-03    28.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.452        37.436        .63811E-04   -1.4451    
   6  norm          4.9898        3.3592        .45846E-03   -1.5261    
   7  norm          2.0430        1.7158        .10070E-03   -1.5422    
   8  Prefactor     38.503        20.635        .64595E-04   -1.4466    
   9  Prefactor     .10000E-03    61.739        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.9562        .23666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.751        20.307        .11684E-03   -1.5022    
  13  Prefactor     .10133E-03    11.533        .79155E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    235.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10002E-03    526.75        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    7.2389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.6272        4.0977        .16110E-03   -1.5278    
  19  Prefactor     19.440        29.943        .90834E-04   -1.4826    
  20  Prefactor     .10000E-03    9.8698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3839        .23528        .30189E-03   -.81095    
  22  Prefactor     .92664        .14596        .22439E-03   -.95216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34637e-09
Minuit parameter uncertainties:
  1  6.87518e-07
  2  1.69506
  3  1.36361
  4  5.33486e-06
  5  37.4586
  6  3.35928
  7  1.71588
  8  20.6392
  9  0.000126493
  10  1.9638e-05
  11  4.14553e-05
  12  20.3191
  13  0.00783444
  14  0.00352113
  15  0.00652782
  16  1.18473e-05
  17  3.79541e-06
  18  4.09799
  19  29.9661
  20  1.52948e-05
  21  0.235462
  22  0.146021
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  4.146e-05  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:  9.266e-01  1.460e-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.384e+00  2.355e-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: 9.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/942666/likelihoodResults_362707201_362966401_4FGL_J0750.8+1229_daily_bin476.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) = 7553.0227661
delta logL = -0.00120316716311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7553.0215635
delta logL = -5.60462467547e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10679E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4797       1.0000          .0000       10.000    
     3 'Normalizat'    1.3841       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92657       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7553.022     FROM MIGRAD    STATUS=FAILED       100 CALLS      269 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    779.26        .24969E-02** at limit **
   2  Index         2.4350        6.0305        .50000        .10012E-03
   3  Normalizat    1.3839        .10080        .30189E-03    .11501E-03
   4  Prefactor     .92664        .62675E-01    .22439E-03    .55631E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7553.022     FROM SIMPLEX   STATUS=UNCHANGED    156 CALLS      425 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    779.26        .35465E-03** at limit **
   2  Index         2.4350        6.0305        .89700E-05    .10012E-03
   3  Normalizat    1.3839        .10080        .84025E-06    .11501E-03
   4  Prefactor     .92664        .62675E-01    .28509E-06    .55631E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7552.206     FROM MIGRAD    STATUS=CONVERGED    161 CALLS      586 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7144        2.9901        .11513E-03   -.63385E-03
   2  Index         1.0911        .57654        .84499E-02    .94367E-04
   3  Normalizat    1.3711        .22315        .24152E-05    .40953E-03
   4  Prefactor     .92691        .14000        .17951E-05    .78912E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71437
  Index      = 1.09113
  Normalizat = 1.37106
  Prefactor  = 0.92691
 **********
 **   18 **HESSE 
 **********

 FCN=   7552.206     FROM HESSE     STATUS=OK            25 CALLS      611 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7144        2.7097        .46053E-05   -1.5970    
   2  Index         1.0911        .52311        .33800E-03   -2.2441    
   3  Normalizat    1.3711        .21688        .48303E-06   -.81469    
   4  Prefactor     .92691        .13646        .35902E-06   -.95207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.25383e-10
Minuit parameter uncertainties:
  1  2.70989
  2  0.525597
  3  0.21703
  4  0.136509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942666': 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) = 7552.20563432
delta logL = 0.815928612288

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.714e+00  2.710e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  1.091e+00  5.256e-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:  9.269e-01  1.365e-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.371e+00  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.63
Ra Dec: 117.701 12.494
Photon Index (Free Index): 1.09 +/- 0.53
Photon Flux (Free Index): 8.83e-09 +/- 1.09e-08
Energy Flux (Free Index): 1.01e-04 +/- 1.29e-04

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/942666/cmap_HighResolution_362707201_362966401_4FGL_J0750.8+1229_daily_bin476.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.75e-03', comment='SUCCESS', energy_flux2='1.01e-04', dlogl='8.16e-01', photon_flux2='8.83e-09', job_status='DONE', time_completed='2021-08-28 16:20:34.148136', photon_index_error2='0.53', photon_index2='1.09', ts='-0.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='9.96e-08', energy_flux_error2='1.29e-04', EG='1.38', time_epoch_completed='1630192834.15', return_code='0', job_id='942666', GAL2='0.93', EG2='1.37', return_code2='0', photon_flux_error2='1.09e-08', ts2='1.63', photon_index='2.52' WHERE bin_id='476' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:20:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 942666: <4FGL_J0750.8+1229_daily_bin476> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin476> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 16:05:29 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:05:30 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:05:30 2021
Terminated at Sat Aug 28 16:20:34 2021
Results reported at Sat Aug 28 16:20:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin476 117.701 12.494 362707201 362966401 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 :                                   764.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            905 sec.

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

