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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin384
RA = 117.701, Dec = 12.494
tmin = 338860801, tmax = 339120001
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='941479', job_status='RUN', time_executed='2021-08-28 16:01:15.905417', time_epoch_executed='1630191675.91' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='384'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941479

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941479/ft1_4FGL_J0750.8+1229_daily_bin384.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941479/ft2_4FGL_J0750.8+1229_daily_bin384.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941479/ft1_4FGL_J0750.8+1229_daily_bin384.fits outfile=/scratch/kocevski/941479/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin384.fits ra=117.701 dec=12.494 rad=12.0 tmin=338860801.0 tmax=339120001.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.70
user 4.46
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941479/ft2_4FGL_J0750.8+1229_daily_bin384.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/941479/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin384.fits evtable="EVENTS" outfile="/scratch/kocevski/941479/ft1_filtered_4FGL_J0750.8+1229_daily_bin384.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.62
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941479/ft1_filtered_4FGL_J0750.8+1229_daily_bin384.fits" evtable="EVENTS" scfile=/scratch/kocevski/941479/ft2_4FGL_J0750.8+1229_daily_bin384.fits sctable="SC_DATA" outfile=/scratch/kocevski/941479/ltcube_338860801_339120001_4FGL_J0750.8+1229_daily_bin384.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/941479/ft2_4FGL_J0750.8+1229_daily_bin384.fits
.....................!
real 11.69
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941479/ft1_filtered_4FGL_J0750.8+1229_daily_bin384.fits evtable="EVENTS" scfile=/scratch/kocevski/941479/ft2_4FGL_J0750.8+1229_daily_bin384.fits sctable="SC_DATA" expcube=/scratch/kocevski/941479/ltcube_338860801_339120001_4FGL_J0750.8+1229_daily_bin384.fits outfile=/scratch/kocevski/941479/expmap_338860801_339120001_4FGL_J0750.8+1229_daily_bin384.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/941479/ltcube_338860801_339120001_4FGL_J0750.8+1229_daily_bin384.fits
.....................!
real 192.12
user 186.79
sys 4.82

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/941479/ft1_filtered_4FGL_J0750.8+1229_daily_bin384.fits scfile=/scratch/kocevski/941479/ft2_4FGL_J0750.8+1229_daily_bin384.fits outfile=/scratch/kocevski/941479/cmap_338860801_339120001_4FGL_J0750.8+1229_daily_bin384.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=117.701 yref=12.494 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941479/ft1_filtered_4FGL_J0750.8+1229_daily_bin384.fits scfile=/scratch/kocevski/941479/ft2_4FGL_J0750.8+1229_daily_bin384.fits outfile=/scratch/kocevski/941479/cmap_HighResolution_338860801_339120001_4FGL_J0750.8+1229_daily_bin384.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=117.701 yref=12.494 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8140       1.0000         .10000E-03   10000.    
     2 'norm      '    .78807       1.0000         .10000E-03   10000.    
     3 'norm      '    4.4252       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.934       1.0000         .10000E-03   10000.    
     6 'norm      '    1.9769       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4739       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2741       1.0000         .10000E-03   10000.    
    12 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7039       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.649       1.0000         .10000E-03   10000.    
    17 'norm      '    21.076       1.0000         .10000E-03   10000.    
    18 'norm      '    13.700       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.072       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.1627       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1171       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99813       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=   7437.198     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2357 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8134        5.2466        .16370E-05   -.93682E-03
   2  norm          .78746        1.8386        .19593E-06   -.17191E-03
   3  norm          4.4252        1.6427        .25741E-07   -.18215E-04
   4  Prefactor     .10000E-03    18.076        .37493E-06** at limit **
   5  Prefactor     13.930        34.218       -.41315E-05   -.22298E-04
   6  norm          1.9767        1.2685       -.11806E-06   -.13633E-03
   7  norm          3.4738        2.0593        .54790E-07   -.70500E-05
   8  Prefactor     .10000E-03    3.4143       -.26355E-06** at limit **
   9  Prefactor     .10000E-03    8.3573        .27216E-06** at limit **
  10  Prefactor     .10000E-03    58.867        .19110E-04** at limit **
  11  Prefactor     3.2736        3.3558        .67550E-07   -.11675E-03
  12  norm          .10000E-03    7.1250       -.10724E-06** at limit **
  13  Prefactor     9.7025        10.059        .22999E-07   -.60778E-05
  14  Prefactor     .10000E-03    33.418       -.23597E-05** at limit **
  15  norm          .10000E-03    66.081       -.20642E-04** at limit **
  16  Prefactor     26.648        24.702        .60584E-07   -.16084E-05
  17  norm          21.074        22.474        .49217E-06   -.40043E-05
  18  norm          13.700        6.5632        .13073E-06    .17682E-04
  19  Prefactor     29.065        34.821       -.57160E-05   -.54908E-04
  20  Prefactor     4.1614        11.863        .23937E-06   -.14796E-04
  21  Normalizat    1.1171        .19793       -.25423E-06   -.52677E-04
  22  Prefactor     .99812        .12580        .48896E-06   -.88140E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.81343
  norm       = 0.787457
  norm       = 4.42515
  Prefactor  = 0.0001
  Prefactor  = 13.9302
  norm       = 1.9767
  norm       = 3.47384
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.27355
  norm       = 0.0001
  Prefactor  = 9.7025
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 26.6479
  norm       = 21.0736
  norm       = 13.7002
  Prefactor  = 29.0648
  Prefactor  = 4.16141
  Normalizat = 1.1171
  Prefactor  = 0.998122
 **********
 **   18 **HESSE 
 **********

 FCN=   7437.198     FROM HESSE     STATUS=OK           350 CALLS     2707 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8134        20.101        .15508E-02   -1.5439    
   2  norm          .78746        1.8253        .16822E-03   -1.5530    
   3  norm          4.4252        1.6428        .63930E-04   -1.5287    
   4  Prefactor     .10000E-03    18.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.930        34.104        .10730E-03   -1.4961    
   6  norm          1.9767        1.2719        .75369E-04   -1.5427    
   7  norm          3.4738        2.0565        .91358E-04   -1.5335    
   8  Prefactor     .10000E-03    3.4250        .15555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.3697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    59.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2736        3.3621        .15010E-03   -1.5346    
  12  norm          .10000E-03    7.1310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.7025        10.053        .12864E-03   -1.5085    
  14  Prefactor     .10000E-03    33.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    66.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.648        24.704        .77603E-04   -1.4675    
  17  norm          21.074        22.464        .87246E-04   -1.4790    
  18  norm          13.700        6.5632        .10821E-03   -1.4968    
  19  Prefactor     29.065        34.909        .74305E-04   -1.4629    
  20  Prefactor     4.1614        11.885        .19755E-03   -1.5300    
  21  Normalizat    1.1171        .22948        .30769E-03   -.89205    
  22  Prefactor     .99812        .14680        .20939E-03   -.92792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9761e-09
Minuit parameter uncertainties:
  1  12.0798
  2  1.82542
  3  1.64285
  4  9.14497e-06
  5  34.1515
  6  1.2719
  7  2.05649
  8  2.99732e-06
  9  3.42429e-07
  10  0.000387975
  11  3.36233
  12  8.22514e-07
  13  10.0547
  14  5.19785e-05
  15  0.000624294
  16  24.7131
  17  22.4725
  18  6.56351
  19  34.9331
  20  11.8921
  21  0.229682
  22  0.14686
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  3.274e+00  3.362e+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.981e-01  1.469e-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.117e+00  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.29
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 4.42e-08 +/- 4.53e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 1.29e-05

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

Saving results to:
/scratch/kocevski/941479/likelihoodResults_338860801_339120001_4FGL_J0750.8+1229_daily_bin384.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) = 7436.49616219
delta logL = 0.701616732361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7436.4272869
delta logL = 0.770492022866

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43038       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1976       1.0000          .0000       10.000    
     3 'Normalizat'    1.0445       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0319       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=   7436.427     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      258 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43059        3.6834        .81282E-02    .14993E-02
   2  Index         4.1975        2.4436        .14103        .15819E-03
   3  Normalizat    1.0445        .49448E-01    .71563E-01    .17564E-04
   4  Prefactor     1.0319        .32075E-01    .41113E-01    .49119E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.430589
  Index      = 4.1975
  Normalizat = 1.04452
  Prefactor  = 1.03186
 **********
 **   18 **HESSE 
 **********

 FCN=   7436.427     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      293 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43059        9.4006        .37029E-03   -1.5577    
   2  Index         4.1975        6.9575        .49956E-02   -.16120    
   3  Normalizat    1.0445        .18633        .31665E-03   -.91554    
   4  Prefactor     1.0319        .11939        .20636E-03   -.91675    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.76699e-08
Minuit parameter uncertainties:
  1  4.02407
  2  5.28973
  3  0.186442
  4  0.119418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941479': 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) = 7436.4272868
delta logL = 0.770492128353

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  4.306e-01  4.024e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  4.198e+00  5.290e+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.032e+00  1.194e-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.045e+00  1.864e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.04
Ra Dec: 117.701 12.494
Photon Index (Free Index): 4.20 +/- 5.29
Photon Flux (Free Index): 9.66e-08 +/- 6.58e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.19e-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/941479/cmap_HighResolution_338860801_339120001_4FGL_J0750.8+1229_daily_bin384.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', photon_flux='4.42e-08', energy_flux2='1.40e-05', photon_flux_error='4.53e-08', dlogl='7.70e-01', energy_flux='1.26e-05', photon_flux2='9.66e-08', job_status='DONE', time_completed='2021-08-28 16:13:26.229067', photon_index_error2='5.29', photon_index2='4.20', ts='1.29', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.19e-05', EG='1.12', time_epoch_completed='1630192406.23', return_code='0', job_id='941479', GAL2='1.03', EG2='1.04', return_code2='102', energy_flux_error='1.29e-05', photon_flux_error2='6.58e-08', ts2='3.04', photon_index='2.52' WHERE bin_id='384' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:13:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 941479: <4FGL_J0750.8+1229_daily_bin384> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin384 117.701 12.494 338860801 339120001 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 :                                   725.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            749 sec.

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

