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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin502
RA = 117.701, Dec = 12.494
tmin = 369446401, tmax = 369705601
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='942708', job_status='RUN', time_executed='2021-08-28 16:08:33.474308', time_epoch_executed='1630192113.47' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='502'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942708

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942708/ft1_4FGL_J0750.8+1229_daily_bin502.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942708/ft2_4FGL_J0750.8+1229_daily_bin502.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942708/ft1_4FGL_J0750.8+1229_daily_bin502.fits outfile=/scratch/kocevski/942708/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin502.fits ra=117.701 dec=12.494 rad=12.0 tmin=369446401.0 tmax=369705601.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 4.83
user 3.21
sys 1.57

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942708/ft1_filtered_4FGL_J0750.8+1229_daily_bin502.fits" evtable="EVENTS" scfile=/scratch/kocevski/942708/ft2_4FGL_J0750.8+1229_daily_bin502.fits sctable="SC_DATA" outfile=/scratch/kocevski/942708/ltcube_369446401_369705601_4FGL_J0750.8+1229_daily_bin502.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/942708/ft2_4FGL_J0750.8+1229_daily_bin502.fits
.....................!
real 13.66
user 11.74
sys 1.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942708/ft1_filtered_4FGL_J0750.8+1229_daily_bin502.fits evtable="EVENTS" scfile=/scratch/kocevski/942708/ft2_4FGL_J0750.8+1229_daily_bin502.fits sctable="SC_DATA" expcube=/scratch/kocevski/942708/ltcube_369446401_369705601_4FGL_J0750.8+1229_daily_bin502.fits outfile=/scratch/kocevski/942708/expmap_369446401_369705601_4FGL_J0750.8+1229_daily_bin502.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/942708/ltcube_369446401_369705601_4FGL_J0750.8+1229_daily_bin502.fits
.....................!
real 192.16
user 186.07
sys 5.59

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/942708/ft1_filtered_4FGL_J0750.8+1229_daily_bin502.fits scfile=/scratch/kocevski/942708/ft2_4FGL_J0750.8+1229_daily_bin502.fits outfile=/scratch/kocevski/942708/cmap_369446401_369705601_4FGL_J0750.8+1229_daily_bin502.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.93
user 0.39
sys 1.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942708/ft1_filtered_4FGL_J0750.8+1229_daily_bin502.fits scfile=/scratch/kocevski/942708/ft2_4FGL_J0750.8+1229_daily_bin502.fits outfile=/scratch/kocevski/942708/cmap_HighResolution_369446401_369705601_4FGL_J0750.8+1229_daily_bin502.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.97
user 0.39
sys 1.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.639       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1924       1.0000         .10000E-03   10000.    
     3 'norm      '    .50111       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11357E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10405E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.5229       1.0000         .10000E-03   10000.    
     7 'norm      '    4.7787       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.1400       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.977       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.346       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2034       1.0000         .10000E-03   10000.    
    12 'norm      '    7.2583       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12790E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    15.678       1.0000         .10000E-03   10000.    
    18 'norm      '    3.0401       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.633       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88495       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1028       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=   7204.688     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2417 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.636        13.330        .24690E-06   -.51216E-04
   2  norm          1.1864        2.0972       -.33145E-05    .38718E-03
   3  norm          .50188        .86574        .53644E-06    .13796E-02
   4  Prefactor     .10006E-03    1273.6       -.87313E-04** at limit **
   5  Prefactor     .10000E-03    10.684        .14067E-06** at limit **
   6  norm          1.5236        1.6946        .15308E-06   -.13854E-03
   7  norm          4.7784        2.2194       -.41353E-06    .33242E-03
   8  Prefactor     7.1334        10.681       -.17965E-06   -.97276E-04
   9  Prefactor     10.975        13.154        .32409E-06   -.10799E-04
  10  Prefactor     16.349        35.307        .69330E-06   -.13385E-04
  11  Prefactor     1.2034        1.7280        .27072E-05    .61271E-03
  12  norm          7.2555        8.3168       -.83603E-07   -.22204E-04
  13  Prefactor     .10000E-03    5.0636       -.94644E-07** at limit **
  14  Prefactor     .10000E-03    50.582        .25796E-06** at limit **
  15  norm          .10000E-03    30.092       -.36065E-07** at limit **
  16  Prefactor     .10000E-03    9.6664       -.23526E-06** at limit **
  17  norm          15.659        24.424        .19617E-08   -.57795E-04
  18  norm          3.0398        3.8764        .17871E-05    .62904E-04
  19  Prefactor     17.614        41.465        .26102E-07   -.56521E-04
  20  Prefactor     .10000E-03    8.8082        .15177E-07** at limit **
  21  Normalizat    .88518        .18854        .40849E-06   -.13375E-03
  22  Prefactor     1.1027        .12439       -.26625E-05    .16339E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 32.6361
  norm       = 1.18637
  norm       = 0.501881
  Prefactor  = 0.00010006
  Prefactor  = 0.0001
  norm       = 1.5236
  norm       = 4.7784
  Prefactor  = 7.1334
  Prefactor  = 10.975
  Prefactor  = 16.3488
  Prefactor  = 1.20339
  norm       = 7.2555
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.6593
  norm       = 3.03976
  Prefactor  = 17.6141
  Prefactor  = 0.0001
  Normalizat = 0.885184
  Prefactor  = 1.1027
 **********
 **   18 **HESSE 
 **********

 FCN=   7204.688     FROM HESSE     STATUS=OK           352 CALLS     2769 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.636        13.332        .70138E-04   -1.4565    
   2  norm          1.1864        2.0590        .15219E-03   -1.5490    
   3  norm          .50188        .74991        .99695E-03   -1.5566    
   4  Prefactor     .10006E-03    1280.8        .36319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5236        1.7074        .86800E-04   -1.5461    
   7  norm          4.7784        2.2148        .82969E-04   -1.5271    
   8  Prefactor     7.1334        10.900        .15012E-03   -1.5174    
   9  Prefactor     10.975        13.151        .12092E-03   -1.5045    
  10  Prefactor     16.349        35.285        .99065E-04   -1.4899    
  11  Prefactor     1.2034        1.7257        .65759E-03   -1.5489    
  12  norm          7.2555        8.3168        .14888E-03   -1.5169    
  13  Prefactor     .10000E-03    5.0808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    50.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    30.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.6709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          15.659        24.339        .10115E-03   -1.4916    
  18  norm          3.0398        3.8776        .91851E-03   -1.5359    
  19  Prefactor     17.614        41.635        .95379E-04   -1.4868    
  20  Prefactor     .10000E-03    8.8673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88518        .21404        .31530E-03   -.96983    
  22  Prefactor     1.1027        .14044        .19192E-03   -.89380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.60748e-10
Minuit parameter uncertainties:
  1  13.333
  2  2.05907
  3  0.749925
  4  0.0179111
  5  7.42665e-05
  6  1.7075
  7  2.2148
  8  10.9026
  9  13.1546
  10  35.3299
  11  1.72581
  12  8.31811
  13  4.66511e-06
  14  0.000182586
  15  4.93237e-05
  16  2.86986e-05
  17  24.3544
  18  3.87792
  19  41.7042
  20  2.55018e-05
  21  0.214244
  22  0.140488
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.203e+00  1.726e+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.103e+00  1.405e-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.852e-01  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/942708/likelihoodResults_369446401_369705601_4FGL_J0750.8+1229_daily_bin502.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) = 7204.63615978
delta logL = 0.0516551516157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7204.62798756
delta logL = 0.0598273760943

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4436       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1147       1.0000          .0000       10.000    
     3 'Normalizat'    .89195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1000       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=   7204.628     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      251 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4436        2.0433        .14068E-03   -.60820E-03
   2  Index         2.1147        1.0729        .16477E-01   -.35889E-04
   3  Normalizat    .89196        .20015        .31418E-03    .64229E-04
   4  Prefactor     1.1000        .13480        .19211E-03    .25548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44362
  Index      = 2.1147
  Normalizat = 0.891959
  Prefactor  = 1.09995
 **********
 **   18 **HESSE 
 **********

 FCN=   7204.628     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4436        2.0314        .56271E-05   -1.5468    
   2  Index         2.1147        1.0670        .65910E-03   -.61512    
   3  Normalizat    .89196        .20021        .12567E-04   -.96743    
   4  Prefactor     1.1000        .13486        .38423E-04   -.89468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35957e-10
Minuit parameter uncertainties:
  1  2.03147
  2  1.07955
  3  0.200377
  4  0.134901
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942708': 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) = 7204.62798755
delta logL = 0.0598273786754

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.444e+00  2.031e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.115e+00  1.080e+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:  1.100e+00  1.349e-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.920e-01  2.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/942708/cmap_HighResolution_369446401_369705601_4FGL_J0750.8+1229_daily_bin502.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.61e-08', time_completed='2021-08-28 16:21:00.634684', job_id='942708', GAL2='1.10', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1630192860.63', return_code2='0', ts='0.88', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='5.98e-02', ts2='1.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='502' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:21:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 942708: <4FGL_J0750.8+1229_daily_bin502> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin502 117.701 12.494 369446401 369705601 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 :                                   751.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            929 sec.

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

