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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin315
RA = 117.701, Dec = 12.494
tmin = 320976001, tmax = 321235201
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='941408', job_status='RUN', time_executed='2021-08-28 16:03:38.573865', time_epoch_executed='1630191818.57' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941408

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941408/ft1_4FGL_J0750.8+1229_daily_bin315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941408/ft2_4FGL_J0750.8+1229_daily_bin315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941408/ft1_4FGL_J0750.8+1229_daily_bin315.fits outfile=/scratch/kocevski/941408/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin315.fits ra=117.701 dec=12.494 rad=12.0 tmin=320976001.0 tmax=321235201.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.21
user 3.26
sys 0.93

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941408/ft1_filtered_4FGL_J0750.8+1229_daily_bin315.fits" evtable="EVENTS" scfile=/scratch/kocevski/941408/ft2_4FGL_J0750.8+1229_daily_bin315.fits sctable="SC_DATA" outfile=/scratch/kocevski/941408/ltcube_320976001_321235201_4FGL_J0750.8+1229_daily_bin315.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/941408/ft2_4FGL_J0750.8+1229_daily_bin315.fits
.....................!
real 12.87
user 11.63
sys 1.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941408/ft1_filtered_4FGL_J0750.8+1229_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/941408/ft2_4FGL_J0750.8+1229_daily_bin315.fits sctable="SC_DATA" expcube=/scratch/kocevski/941408/ltcube_320976001_321235201_4FGL_J0750.8+1229_daily_bin315.fits outfile=/scratch/kocevski/941408/expmap_320976001_321235201_4FGL_J0750.8+1229_daily_bin315.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/941408/ltcube_320976001_321235201_4FGL_J0750.8+1229_daily_bin315.fits
.....................!
real 192.95
user 186.43
sys 6.00

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/941408/ft1_filtered_4FGL_J0750.8+1229_daily_bin315.fits scfile=/scratch/kocevski/941408/ft2_4FGL_J0750.8+1229_daily_bin315.fits outfile=/scratch/kocevski/941408/cmap_320976001_321235201_4FGL_J0750.8+1229_daily_bin315.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.25
user 0.37
sys 0.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941408/ft1_filtered_4FGL_J0750.8+1229_daily_bin315.fits scfile=/scratch/kocevski/941408/ft2_4FGL_J0750.8+1229_daily_bin315.fits outfile=/scratch/kocevski/941408/cmap_HighResolution_320976001_321235201_4FGL_J0750.8+1229_daily_bin315.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.25
user 0.38
sys 0.86

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.597       1.0000         .10000E-03   10000.    
     2 'norm      '    4.8410       1.0000         .10000E-03   10000.    
     3 'norm      '    4.2765       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.764       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.747       1.0000         .10000E-03   10000.    
     6 'norm      '    1.9852       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4868       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10724E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10484E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7056       1.0000         .10000E-03   10000.    
    12 'norm      '    19.369       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12755E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    49.113       1.0000         .10000E-03   10000.    
    15 'norm      '    .10209E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .48729       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .32657       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1398       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94226       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=   8448.089     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2453 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.592        13.614        .96174E-06    .38828E-03
   2  norm          4.8403        2.2509        .66105E-07   -.58391E-04
   3  norm          4.2758        1.6093        .20417E-07   -.31479E-04
   4  Prefactor     29.773        40.317       -.14505E-05   -.75262E-04
   5  Prefactor     30.742        28.329        .43261E-06    .25958E-04
   6  norm          1.9851        1.5926        .23875E-07    .20162E-03
   7  norm          1.4861        1.2842        .51701E-07   -.67872E-04
   8  Prefactor     .10001E-03    5.6938       -.21303E-06** at limit **
   9  Prefactor     .10000E-03    8.5104        .17169E-07** at limit **
  10  Prefactor     .10000E-03    18.004       -.37023E-08** at limit **
  11  Prefactor     1.7020        3.3051        .65017E-06   -.16723E-03
  12  norm          19.366        16.725       -.11784E-06   -.28911E-04
  13  Prefactor     .10000E-03    7.2113       -.55149E-07** at limit **
  14  Prefactor     49.156        76.586        .22319E-05    .53851E-04
  15  norm          .10000E-03    80.863        .71489E-06** at limit **
  16  Prefactor     .10000E-03    15.721       -.65373E-07** at limit **
  17  norm          .10000E-03    8.5188       -.57446E-07** at limit **
  18  norm          .48783        2.5910        .19505E-05   -.25825E-03
  19  Prefactor     .18302        28.260        .37599E-06   -.21515E-04
  20  Prefactor     .10000E-03    5.8782       -.66119E-08** at limit **
  21  Normalizat    1.1400        .18043       -.58971E-06   -.24019E-04
  22  Prefactor     .94231        .11259       -.16903E-06   -.46923E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 29.5924
  norm       = 4.84029
  norm       = 4.2758
  Prefactor  = 29.7729
  Prefactor  = 30.7417
  norm       = 1.9851
  norm       = 1.48607
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.702
  norm       = 19.3665
  Prefactor  = 0.0001
  Prefactor  = 49.1558
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.487828
  Prefactor  = 0.183022
  Prefactor  = 0.0001
  Normalizat = 1.13995
  Prefactor  = 0.942314
 **********
 **   18 **HESSE 
 **********

 FCN=   8448.089     FROM HESSE     STATUS=OK           354 CALLS     2807 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.592        14.112        .73644E-04   -1.4619    
   2  norm          4.8403        2.2547        .88392E-04   -1.5268    
   3  norm          4.2758        1.6076        .67451E-04   -1.5294    
   4  Prefactor     29.773        40.755        .73438E-04   -1.4616    
   5  Prefactor     30.742        28.340        .72258E-04   -1.4598    
   6  norm          1.9851        1.4332        .89635E-04   -1.5426    
   7  norm          1.4861        1.2726        .93542E-04   -1.5464    
   8  Prefactor     .10001E-03    61.167        .37184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.5246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7020        3.3158        .21555E-03   -1.5447    
  12  norm          19.366        16.658        .91007E-04   -1.4828    
  13  Prefactor     .10000E-03    7.2514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     49.156        77.719        .57221E-04   -1.4305    
  15  norm          .10000E-03    81.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.5404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .48783        2.7270        .30069E-03   -1.5568    
  19  Prefactor     .18302        31.626        .12789       -1.5622    
  20  Prefactor     .10000E-03    5.9017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1400        .20530        .29745E-03   -.88479    
  22  Prefactor     .94231        .12951        .20857E-03   -.94678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96957e-10
Minuit parameter uncertainties:
  1  14.1141
  2  2.25475
  3  1.60763
  4  40.7932
  5  28.3526
  6  1.43327
  7  1.27263
  8  0.00188416
  9  4.18975e-06
  10  4.19466e-06
  11  3.31619
  12  16.6621
  13  4.24265e-07
  14  77.8795
  15  0.000204298
  16  2.53342e-06
  17  1.96891e-06
  18  2.30672
  19  4.81303
  20  2.96393e-06
  21  0.205449
  22  0.129556
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.702e+00  3.316e+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:  9.423e-01  1.296e-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.140e+00  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.33
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941408/likelihoodResults_320976001_321235201_4FGL_J0750.8+1229_daily_bin315.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) = 8447.63953243
delta logL = 0.449377775105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8447.63699997
delta logL = 0.451910228243

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22571       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3672       1.0000          .0000       10.000    
     3 'Normalizat'    1.0805       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96789       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=   8447.637     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      308 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22062        2.8344        .89082E-02    .30382E-02
   2  Index         4.3797        2.8305        .12732        .19577E-03
   3  Normalizat    1.0805        .37413E-01    .68810E-01    .19454E-04
   4  Prefactor     .96793        .24243E-01    .45865E-01    .87359E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.220624
  Index      = 4.3797
  Normalizat = 1.08053
  Prefactor  = 0.967932
 **********
 **   18 **HESSE 
 **********

 FCN=   8447.637     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      343 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22062        9.4959        .40513E-03   -1.5614    
   2  Index         4.3797        7.1895        .73051E-02   -.12438    
   3  Normalizat    1.0805        .14796        .30444E-03   -.90379    
   4  Prefactor     .96793        .93474E-01    .20614E-03   -.93806    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19192e-06
Minuit parameter uncertainties:
  1  2.89467
  2  7.08992
  3  0.148016
  4  0.0934893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941408': 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): 102
logL (Free Index) = 8447.63698769
delta logL = 0.45192251279

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.206e-01  2.895e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  4.380e+00  7.090e+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:  9.679e-01  9.349e-02  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.081e+00  1.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 117.701 12.494
Photon Index (Free Index): 4.38 +/- 7.09
Photon Flux (Free Index): 6.89e-08 +/- 6.41e-08
Energy Flux (Free Index): 9.76e-06 +/- 1.38e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.14e-03', comment='SUCCESS', energy_flux2='9.76e-06', dlogl='4.52e-01', photon_flux2='6.89e-08', job_status='DONE', time_completed='2021-08-28 16:17:05.128742', photon_index_error2='7.09', photon_index2='4.38', ts='0.33', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.38e-05', EG='1.14', time_epoch_completed='1630192625.13', return_code='0', job_id='941408', GAL2='0.97', EG2='1.08', return_code2='102', photon_flux_error2='6.41e-08', ts2='1.36', photon_index='2.52' WHERE bin_id='315' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:17:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 941408: <4FGL_J0750.8+1229_daily_bin315> in cluster <slac> Done

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

Your job looked like:

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

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

