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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin442
RA = 117.701, Dec = 12.494
tmin = 353894401, tmax = 354153601
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='942614', job_status='RUN', time_executed='2021-08-28 16:08:18.960939', time_epoch_executed='1630192098.96' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='442'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942614

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942614/ft1_4FGL_J0750.8+1229_daily_bin442.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942614/ft2_4FGL_J0750.8+1229_daily_bin442.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942614/ft1_4FGL_J0750.8+1229_daily_bin442.fits outfile=/scratch/kocevski/942614/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin442.fits ra=117.701 dec=12.494 rad=12.0 tmin=353894401.0 tmax=354153601.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.40
user 3.19
sys 0.91

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942614/ft1_filtered_4FGL_J0750.8+1229_daily_bin442.fits" evtable="EVENTS" scfile=/scratch/kocevski/942614/ft2_4FGL_J0750.8+1229_daily_bin442.fits sctable="SC_DATA" outfile=/scratch/kocevski/942614/ltcube_353894401_354153601_4FGL_J0750.8+1229_daily_bin442.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/942614/ft2_4FGL_J0750.8+1229_daily_bin442.fits
.....................!
real 12.84
user 11.46
sys 1.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942614/ft1_filtered_4FGL_J0750.8+1229_daily_bin442.fits evtable="EVENTS" scfile=/scratch/kocevski/942614/ft2_4FGL_J0750.8+1229_daily_bin442.fits sctable="SC_DATA" expcube=/scratch/kocevski/942614/ltcube_353894401_354153601_4FGL_J0750.8+1229_daily_bin442.fits outfile=/scratch/kocevski/942614/expmap_353894401_354153601_4FGL_J0750.8+1229_daily_bin442.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/942614/ltcube_353894401_354153601_4FGL_J0750.8+1229_daily_bin442.fits
.....................!
real 193.35
user 185.81
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/942614/ft1_filtered_4FGL_J0750.8+1229_daily_bin442.fits scfile=/scratch/kocevski/942614/ft2_4FGL_J0750.8+1229_daily_bin442.fits outfile=/scratch/kocevski/942614/cmap_353894401_354153601_4FGL_J0750.8+1229_daily_bin442.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.24
user 0.36
sys 0.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942614/ft1_filtered_4FGL_J0750.8+1229_daily_bin442.fits scfile=/scratch/kocevski/942614/ft2_4FGL_J0750.8+1229_daily_bin442.fits outfile=/scratch/kocevski/942614/cmap_HighResolution_353894401_354153601_4FGL_J0750.8+1229_daily_bin442.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.22
user 0.38
sys 0.83

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.7125       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.120       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.8553       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0630       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.199       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .76304       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2475       1.0000         .10000E-03   10000.    
    17 'norm      '    .57375E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.7233       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88443       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1029       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=   7520.069     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2054 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    25.480        .13620E-05** at limit **
   2  norm          .10000E-03    .43114        .18695E-07** at limit **
   3  norm          3.7118        1.4981       -.17928E-07   -.10421E-03
   4  Prefactor     26.122        27.630        .77059E-07    .32692E-05
   5  Prefactor     .10000E-03    9.7545        .57748E-06** at limit **
   6  norm          2.8530        1.6050        .37993E-06    .36698E-03
   7  norm          1.0629        1.6822        .30716E-06    .11252E-03
   8  Prefactor     .10000E-03    9.9007       -.91901E-06** at limit **
   9  Prefactor     11.197        12.770       -.52319E-07   -.65219E-05
  10  Prefactor     .10000E-03    58.633        .30332E-05** at limit **
  11  Prefactor     .76157        2.6548        .31996E-06   -.18387E-03
  12  norm          .10000E-03    7.7034       -.10268E-06** at limit **
  13  Prefactor     .10000E-03    3.7514       -.28719E-07** at limit **
  14  Prefactor     .10000E-03    59.590        .30301E-05** at limit **
  15  norm          .10000E-03    40.364       -.50333E-05** at limit **
  16  Prefactor     1.1191        135.96        .13825E-05    .31138E-04
  17  norm          .10043E-03    19.986       -.28469E-05** at limit **
  18  norm          2.7272        4.8105        .66904E-06    .23176E-03
  19  Prefactor     .10000E-03    61.344        .27315E-05** at limit **
  20  Prefactor     .10000E-03    6.7655        .64216E-07** at limit **
  21  Normalizat    .88496        .18804        .78914E-06    .99152E-04
  22  Prefactor     1.1027        .11666       -.63087E-06    .17956E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.71182
  Prefactor  = 26.1218
  Prefactor  = 0.0001
  norm       = 2.85299
  norm       = 1.06287
  Prefactor  = 0.0001
  Prefactor  = 11.197
  Prefactor  = 0.0001
  Prefactor  = 0.761575
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100002
  Prefactor  = 1.11913
  norm       = 0.000100426
  norm       = 2.7272
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.884956
  Prefactor  = 1.10273
 **********
 **   18 **HESSE 
 **********

 FCN=   7520.069     FROM HESSE     STATUS=OK           346 CALLS     2400 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    26.377        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .43796        .55587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.7118        1.4959        .64313E-04   -1.5323    
   4  Prefactor     26.122        27.627        .78383E-04   -1.4685    
   5  Prefactor     .10000E-03    9.7711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.8530        1.6211        .40184E-03   -1.5370    
   7  norm          1.0629        1.6622        .13481E-03   -1.5502    
   8  Prefactor     .10000E-03    10.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.197        12.770        .11971E-03   -1.5039    
  10  Prefactor     .10000E-03    58.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .76157        3.8575        .23496E-02   -1.5533    
  12  norm          .10000E-03    7.7392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.7574        .16401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    59.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    41.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.1191        141.66        .40072E-02   -1.5496    
  17  norm          .10043E-03    108.65        .64822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.7272        4.7832        .24043E-03   -1.5378    
  19  Prefactor     .10000E-03    61.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.7867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88496        .20655        .31830E-03   -.96991    
  22  Prefactor     1.1027        .13096        .18878E-03   -.89380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95379e-08
Minuit parameter uncertainties:
  1  8.50821e-05
  2  1.79234e-07
  3  1.49591
  4  27.6405
  5  2.83855e-05
  6  1.62115
  7  1.66225
  8  0.000106729
  9  12.7728
  10  0.000319716
  11  3.42812
  12  5.67961e-06
  13  1.73747e-06
  14  0.000383885
  15  0.000544253
  16  25.2426
  17  0.013636
  18  4.78384
  19  0.000437494
  20  1.07851e-06
  21  0.206737
  22  0.131002
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  7.616e-01  3.428e+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.310e-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.850e-01  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/942614/likelihoodResults_353894401_354153601_4FGL_J0750.8+1229_daily_bin442.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7519.55434132
delta logL = 0.514324946798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7519.40925423
delta logL = 0.659412028857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21440       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4276       1.0000          .0000       10.000    
     3 'Normalizat'    .81010       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1319       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=   7519.409     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      238 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21447        2.8674        .79350E-02    .25297E-02
   2  Index         4.4282        2.9042        .12531        .17519E-03
   3  Normalizat    .80999        .40594E-01    .74844E-01    .29797E-04
   4  Prefactor     1.1320        .26722E-01    .36483E-01   -.49665E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.214467
  Index      = 4.42818
  Normalizat = 0.809991
  Prefactor  = 1.13199
 **********
 **   18 **HESSE 
 **********

 FCN=   7519.409     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21447        8.5592        .36230E-03   -1.5615    
   2  Index         4.4282        7.2034        .66807E-02   -.11461    
   3  Normalizat    .80999        .15327        .33126E-03   -.99699    
   4  Prefactor     1.1320        .98444E-01    .18660E-03   -.88451    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.8578e-07
Minuit parameter uncertainties:
  1  2.70952
  2  6.77408
  3  0.153354
  4  0.09846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942614': 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) = 7519.40925295
delta logL = 0.659413312279

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.145e-01  2.710e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  4.428e+00  6.774e+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.132e+00  9.846e-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:  8.100e-01  1.534e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.54
Ra Dec: 117.701 12.494
Photon Index (Free Index): 4.43 +/- 6.77
Photon Flux (Free Index): 7.31e-08 +/- 6.68e-08
Energy Flux (Free Index): 1.03e-05 +/- 1.43e-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/942614/cmap_HighResolution_353894401_354153601_4FGL_J0750.8+1229_daily_bin442.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.67e-03', comment='SUCCESS', energy_flux2='1.03e-05', dlogl='6.59e-01', photon_flux2='7.31e-08', job_status='DONE', time_completed='2021-08-28 16:19:56.105958', photon_index_error2='6.77', photon_index2='4.43', ts='0.06', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='1.43e-05', EG='0.88', time_epoch_completed='1630192796.11', return_code='0', job_id='942614', GAL2='1.13', EG2='0.81', return_code2='102', photon_flux_error2='6.68e-08', ts2='1.54', photon_index='2.52' WHERE bin_id='442' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:19:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 942614: <4FGL_J0750.8+1229_daily_bin442> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin442> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 16:05:25 2021
Job was executed on host(s) <bullet0067>, 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:19:56 2021
Results reported at Sat Aug 28 16:19:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin442 117.701 12.494 353894401 354153601 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 :                                   701.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             308.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            871 sec.

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

