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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin575
RA = 117.701, Dec = 12.494
tmin = 388368001, tmax = 388627201
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='942823', job_status='RUN', time_executed='2021-08-28 16:08:03.357775', time_epoch_executed='1630192083.36' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='575'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942823

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942823/ft1_4FGL_J0750.8+1229_daily_bin575.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942823/ft2_4FGL_J0750.8+1229_daily_bin575.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942823/ft1_4FGL_J0750.8+1229_daily_bin575.fits outfile=/scratch/kocevski/942823/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin575.fits ra=117.701 dec=12.494 rad=12.0 tmin=388368001.0 tmax=388627201.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.01
user 4.19
sys 0.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942823/ft1_filtered_4FGL_J0750.8+1229_daily_bin575.fits" evtable="EVENTS" scfile=/scratch/kocevski/942823/ft2_4FGL_J0750.8+1229_daily_bin575.fits sctable="SC_DATA" outfile=/scratch/kocevski/942823/ltcube_388368001_388627201_4FGL_J0750.8+1229_daily_bin575.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/942823/ft2_4FGL_J0750.8+1229_daily_bin575.fits
.....................!
real 12.74
user 11.73
sys 0.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942823/ft1_filtered_4FGL_J0750.8+1229_daily_bin575.fits evtable="EVENTS" scfile=/scratch/kocevski/942823/ft2_4FGL_J0750.8+1229_daily_bin575.fits sctable="SC_DATA" expcube=/scratch/kocevski/942823/ltcube_388368001_388627201_4FGL_J0750.8+1229_daily_bin575.fits outfile=/scratch/kocevski/942823/expmap_388368001_388627201_4FGL_J0750.8+1229_daily_bin575.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/942823/ltcube_388368001_388627201_4FGL_J0750.8+1229_daily_bin575.fits
.....................!
real 191.21
user 185.62
sys 5.20

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/942823/ft1_filtered_4FGL_J0750.8+1229_daily_bin575.fits scfile=/scratch/kocevski/942823/ft2_4FGL_J0750.8+1229_daily_bin575.fits outfile=/scratch/kocevski/942823/cmap_388368001_388627201_4FGL_J0750.8+1229_daily_bin575.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 1.26
user 0.39
sys 0.70

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942823/ft1_filtered_4FGL_J0750.8+1229_daily_bin575.fits scfile=/scratch/kocevski/942823/ft2_4FGL_J0750.8+1229_daily_bin575.fits outfile=/scratch/kocevski/942823/cmap_HighResolution_388368001_388627201_4FGL_J0750.8+1229_daily_bin575.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 1.12
user 0.39
sys 0.72

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .27488       1.0000         .10000E-03   10000.    
     3 'norm      '    1.4893       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.0153       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10295       1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.002       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10515E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    66.616       1.0000         .10000E-03   10000.    
    15 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.371       1.0000         .10000E-03   10000.    
    17 'norm      '    13.645       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    43.079       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82703       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98342       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=   6088.283     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2406 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.5606        .10125E-06** at limit **
   2  norm          .27740        1.2091       -.19631E-07   -.38704E-03
   3  norm          1.4892        1.1926        .76764E-07   -.40137E-03
   4  Prefactor     .10000E-03    35.785       -.17546E-06** at limit **
   5  Prefactor     4.0142        35.689        .67602E-06   -.27879E-04
   6  norm          .10000E-03    .71954        .22166E-08** at limit **
   7  norm          .10127        .94185       -.16845E-07   -.52908E-04
   8  Prefactor     37.000        11.184        .16807E-06   -.42780E-04
   9  Prefactor     .10000E-03    26.536        .30121E-06** at limit **
  10  Prefactor     .10000E-03    105.70        .33948E-06** at limit **
  11  Prefactor     .10000E-03    1.0143       -.29241E-06** at limit **
  12  norm          .10000E-03    3.5828       -.15279E-07** at limit **
  13  Prefactor     .10000E-03    2.9625       -.54954E-07** at limit **
  14  Prefactor     66.680        135.76        .74517E-04   -.28727E-05
  15  norm          .10000E-03    21.349       -.40443E-09** at limit **
  16  Prefactor     24.369        27.899       -.62910E-06   -.90115E-05
  17  norm          13.648        19.876        .73896E-06   -.18719E-04
  18  norm          .10000E-03    2.1747        .24810E-07** at limit **
  19  Prefactor     43.078        36.254       -.56278E-06   -.12114E-04
  20  Prefactor     .10000E-03    7.9245        .42055E-07** at limit **
  21  Normalizat    .82692        .18092       -.30077E-05    .32415E-04
  22  Prefactor     .98349        .11759       -.22548E-06   -.59710E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.277403
  norm       = 1.48925
  Prefactor  = 0.0001
  Prefactor  = 4.01423
  norm       = 0.0001
  norm       = 0.101272
  Prefactor  = 37.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 66.68
  norm       = 0.0001
  Prefactor  = 24.3692
  norm       = 13.6476
  norm       = 0.0001
  Prefactor  = 43.0784
  Prefactor  = 0.0001
  Normalizat = 0.826919
  Prefactor  = 0.983489
 **********
 **   18 **HESSE 
 **********

 FCN=   6088.283     FROM HESSE     STATUS=OK           344 CALLS     2750 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.6171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .27740        3.9418        .16054E-02   -1.5603    
   3  norm          1.4892        1.1798        .72496E-04   -1.5464    
   4  Prefactor     .10000E-03    35.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.0142        35.454        .20125E-03   -1.5307    
   6  norm          .10000E-03    .72379        .64158E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10127        8.2691        .14479E-02   -1.5644    
   8  Prefactor     37.000        11.134        .65886E-04   -1.4491    
   9  Prefactor     .10000E-03    27.494        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    107.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.0290        .76784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.5835        .14425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.9694        .13116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     66.680        135.49        .24587E-03   -1.4073    
  15  norm          .10000E-03    21.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.369        27.888        .81141E-04   -1.4720    
  17  norm          13.648        19.850        .10843E-03   -1.4969    
  18  norm          .10000E-03    2.1796        .11236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     43.078        36.361        .61079E-04   -1.4394    
  20  Prefactor     .10000E-03    7.9688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .82692        .20622        .29694E-03   -.99078    
  22  Prefactor     .98349        .13558        .18329E-03   -.93282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31839e-08
Minuit parameter uncertainties:
  1  2.10361e-05
  2  2.09115
  3  1.17981
  4  2.1033e-05
  5  23.8782
  6  4.08063e-08
  7  1.82957
  8  11.1347
  9  7.94841e-05
  10  6.0096e-06
  11  2.99739e-05
  12  2.91958e-06
  13  9.62691e-06
  14  136.129
  15  3.56303e-06
  16  27.9027
  17  19.8595
  18  3.39782e-06
  19  36.3799
  20  1.20193e-05
  21  0.206417
  22  0.135628
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  2.997e-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.835e-01  1.356e-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:  8.269e-01  2.064e-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: 6.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/942823/likelihoodResults_388368001_388627201_4FGL_J0750.8+1229_daily_bin575.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) = 6088.28785129
delta logL = -0.00460452500647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6088.28324632
delta logL = 4.40459189122e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5018       1.0000          .0000       10.000    
     3 'Normalizat'    .82692       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98349       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=   6088.283     FROM MIGRAD    STATUS=FAILED       102 CALLS      256 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.8082        .77495E-02** at limit **
   2  Index         2.0257        8.3109        .50000       -.27650E-05
   3  Normalizat    .82692        .12943E-01    .29694E-03   -.20705E-03
   4  Prefactor     .98349        .87024E-02    .18329E-03   -.32319E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6088.283     FROM SIMPLEX   STATUS=UNCHANGED    170 CALLS      426 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.8082        .22199E-03** at limit **
   2  Index         2.0257        8.3109        .79412E-05   -.27650E-05
   3  Normalizat    .82692        .12943E-01    .11996E-06   -.20705E-03
   4  Prefactor     .98349        .87024E-02    .48973E-07   -.32319E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6088.283     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      457 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    105.73        .83770E-03** at limit **
   2  Index         2.0259        5.7725        .50000        .87834E-07
   3  Normalizat    .82692        .49769E-01    .11878E-04   -.20636E-03
   4  Prefactor     .98349        .33460E-01    .36658E-04   -.32223E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.02592
  Normalizat = 0.826918
  Prefactor  = 0.98349
 **********
 **   18 **HESSE 
 **********

 FCN=   6088.283     FROM HESSE     STATUS=OK            29 CALLS      486 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.083        .16754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0259        5.4567        .50000       -.63704    
   3  Normalizat    .82692        .19478        .23755E-05   -.99078    
   4  Prefactor     .98349        .13103        .73315E-05   -.93282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.92672e-11
Minuit parameter uncertainties:
  1  2.34129e-05
  2  203.052
  3  0.194947
  4  0.131073
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942823': 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) = 6088.28323939
delta logL = 7.37065420253e-06

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  2.341e-05  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.026e+00  2.031e+02  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.835e-01  1.311e-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:  8.269e-01  1.949e-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/942823/cmap_HighResolution_388368001_388627201_4FGL_J0750.8+1229_daily_bin575.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.77e-03', job_status='DONE', photon_flux_upper_limit='6.13e-08', time_completed='2021-08-28 16:19:15.091285', job_id='942823', GAL2='0.98', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1630192755.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='7.37e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='575' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:19:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 942823: <4FGL_J0750.8+1229_daily_bin575> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin575 117.701 12.494 388368001 388627201 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 :                                   678.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            813 sec.

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

