/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 3 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 = 7261
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0750.8+1229_daily_bin446
RA = 117.701, Dec = 12.494
tmin = 354931201, tmax = 355190401
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='942620', job_status='RUN', time_executed='2021-08-28 16:06:19.155510', time_epoch_executed='1630191979.16' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='446'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942620

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942620/ft1_4FGL_J0750.8+1229_daily_bin446.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942620/ft2_4FGL_J0750.8+1229_daily_bin446.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942620/ft1_4FGL_J0750.8+1229_daily_bin446.fits outfile=/scratch/kocevski/942620/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin446.fits ra=117.701 dec=12.494 rad=12.0 tmin=354931201.0 tmax=355190401.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.73
user 3.09
sys 2.58

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/942620/ft2_4FGL_J0750.8+1229_daily_bin446.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/942620/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin446.fits evtable="EVENTS" outfile="/scratch/kocevski/942620/ft1_filtered_4FGL_J0750.8+1229_daily_bin446.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 2.98
user 0.33
sys 2.53

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942620/ft1_filtered_4FGL_J0750.8+1229_daily_bin446.fits evtable="EVENTS" scfile=/scratch/kocevski/942620/ft2_4FGL_J0750.8+1229_daily_bin446.fits sctable="SC_DATA" expcube=/scratch/kocevski/942620/ltcube_354931201_355190401_4FGL_J0750.8+1229_daily_bin446.fits outfile=/scratch/kocevski/942620/expmap_354931201_355190401_4FGL_J0750.8+1229_daily_bin446.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/942620/ltcube_354931201_355190401_4FGL_J0750.8+1229_daily_bin446.fits
.....................!
real 193.25
user 184.27
sys 8.47

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/942620/ft1_filtered_4FGL_J0750.8+1229_daily_bin446.fits scfile=/scratch/kocevski/942620/ft2_4FGL_J0750.8+1229_daily_bin446.fits outfile=/scratch/kocevski/942620/cmap_354931201_355190401_4FGL_J0750.8+1229_daily_bin446.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 2.85
user 0.37
sys 2.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942620/ft1_filtered_4FGL_J0750.8+1229_daily_bin446.fits scfile=/scratch/kocevski/942620/ft2_4FGL_J0750.8+1229_daily_bin446.fits outfile=/scratch/kocevski/942620/cmap_HighResolution_354931201_355190401_4FGL_J0750.8+1229_daily_bin446.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 2.88
user 0.38
sys 2.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.950       1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.4050       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11272E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.6157       1.0000         .10000E-03   10000.    
     7 'norm      '    .10204E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2803       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.9461       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3759       1.0000         .10000E-03   10000.    
    12 'norm      '    .61838       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    238.97       1.0000         .10000E-03   10000.    
    15 'norm      '    19.000       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.3833       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10274E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3512       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79405       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=   6537.204     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2411 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.951        15.359       -.59238E-06   -.10439E-04
   2  norm          .10000E-03    .53958       -.90629E-07** at limit **
   3  norm          3.4049        1.5910       -.27341E-07   -.85833E-04
   4  Prefactor     .10000E-03    32.963        .16367E-04** at limit **
   5  Prefactor     .10000E-03    63.684       -.53465E-04** at limit **
   6  norm          3.6159        2.2927        .13916E-06    .32707E-04
   7  norm          .10000E-03    1.1812       -.71742E-07** at limit **
   8  Prefactor     6.2825        13.992       -.97090E-06   -.43596E-04
   9  Prefactor     6.9232        19.109       -.70715E-05   -.19705E-04
  10  Prefactor     .10000E-03    30.016       -.12078E-04** at limit **
  11  Prefactor     3.3777        3.9534        .36063E-06   -.33420E-03
  12  norm          .68393        9.1309       -.90027E-06   -.10480E-03
  13  Prefactor     .10000E-03    7.3012       -.13550E-06** at limit **
  14  Prefactor     238.94        172.58       -.19626E-04    .96258E-05
  15  norm          18.998        55.825       -.35060E-05    .63861E-06
  16  Prefactor     .10000E-03    16.655        .21815E-05** at limit **
  17  norm          .10000E-03    8.8649       -.33408E-06** at limit **
  18  norm          5.3836        6.1436        .19083E-06   -.25529E-03
  19  Prefactor     .10000E-03    46.023        .53925E-04** at limit **
  20  Prefactor     .10000E-03    29.181       -.16361E-04** at limit **
  21  Normalizat    1.3509        .20307        .16531E-05    .16309E-03
  22  Prefactor     .79418        .12084        .10783E-06    .38461E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.9506
  norm       = 0.0001
  norm       = 3.4049
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.61589
  norm       = 0.0001
  Prefactor  = 6.28245
  Prefactor  = 6.92318
  Prefactor  = 0.0001
  Prefactor  = 3.37766
  norm       = 0.683926
  Prefactor  = 0.0001
  Prefactor  = 238.944
  norm       = 18.9978
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.3836
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.35094
  Prefactor  = 0.79418
 **********
 **   18 **HESSE 
 **********

 FCN=   6537.204     FROM HESSE     STATUS=OK           344 CALLS     2755 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.951        15.364        .97283E-04   -1.4884    
   2  norm          .10000E-03    .54520        .57980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.4049        1.5886        .66332E-04   -1.5339    
   4  Prefactor     .10000E-03    32.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    64.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.6159        2.3419        .73321E-04   -1.5328    
   7  norm          .10000E-03    2.6357        .17003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.2825        14.324        .16018E-03   -1.5207    
   9  Prefactor     6.9232        19.155        .15222E-03   -1.5182    
  10  Prefactor     .10000E-03    30.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3777        3.9386        .16084E-03   -1.5340    
  12  norm          .68393        49.775        .47111E-02   -1.5543    
  13  Prefactor     .10000E-03    7.3359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     238.94        172.42        .13095E-03   -1.2604    
  15  norm          18.998        55.842        .91886E-04   -1.4836    
  16  Prefactor     .10000E-03    16.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.8847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.3836        6.1378        .17320E-03   -1.5244    
  19  Prefactor     .10000E-03    46.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3509        .23290        .28020E-03   -.82058    
  22  Prefactor     .79418        .13782        .21643E-03   -.99943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95052e-10
Minuit parameter uncertainties:
  1  15.3674
  2  4.031e-08
  3  1.58866
  4  3.00373e-06
  5  0.000371371
  6  2.34195
  7  3.77217e-06
  8  14.3322
  9  19.1719
  10  4.31564e-05
  11  3.93888
  12  11.6785
  13  1.16062e-05
  14  172.787
  15  55.9958
  16  2.49801e-05
  17  1.53896e-05
  18  6.13854
  19  0.000407945
  20  5.34735e-05
  21  0.233083
  22  0.137876
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  3.378e+00  3.939e+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:  7.942e-01  1.379e-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.351e+00  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/942620/likelihoodResults_354931201_355190401_4FGL_J0750.8+1229_daily_bin446.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) = 6537.17204694
delta logL = 0.0320792363136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6537.15928984
delta logL = 0.0448363329378

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7497       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7961       1.0000          .0000       10.000    
     3 'Normalizat'    1.3381       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79922       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6537.159     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      218 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7454        77.228        .61374E-02    .59573E-03
   2  Index         2.7991        6.3949        .17309        .94063E-04
   3  Normalizat    1.3384        .68696E-01    .63591E-01    .26159E-05
   4  Prefactor     .79908        .39549E-01    .43707E-01    .89560E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.74541
  Index      = 2.79911
  Normalizat = 1.33845
  Prefactor  = 0.799078
 **********
 **   18 **HESSE 
 **********

 FCN=   6537.159     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7454        4.6552        .13595E-03   -1.5377    
   2  Index         2.7991        1.1155        .90708E-02   -.45580    
   3  Normalizat    1.3384        .22966        .28127E-03   -.82426    
   4  Prefactor     .79908        .13693        .21585E-03   -.99762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11879e-11
Minuit parameter uncertainties:
  1  4.65577
  2  1.12733
  3  0.229834
  4  0.136985
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942620': 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) = 6537.15928143
delta logL = 0.0448447462977

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.745e+00  4.656e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.799e+00  1.127e+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:  7.991e-01  1.370e-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.338e+00  2.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 117.701 12.494
Photon Index (Free Index): 2.80 +/- 1.13
Photon Flux (Free Index): 5.68e-08 +/- 6.69e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.43e-05

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/942620/cmap_HighResolution_354931201_355190401_4FGL_J0750.8+1229_daily_bin446.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', energy_flux2='1.27e-05', dlogl='4.48e-02', photon_flux2='5.68e-08', job_status='DONE', time_completed='2021-08-28 16:17:58.454493', photon_index_error2='1.13', photon_index2='2.80', ts='1.00', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.43e-05', EG='1.35', time_epoch_completed='1630192678.45', return_code='0', job_id='942620', GAL2='0.80', EG2='1.34', return_code2='0', photon_flux_error2='6.69e-08', ts2='1.11', photon_index='2.52' WHERE bin_id='446' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:17:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 942620: <4FGL_J0750.8+1229_daily_bin446> in cluster <slac> Done

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

Your job looked like:

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

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

