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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin957
RA = 117.701, Dec = 12.494
tmin = 487382401, tmax = 487641601
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='946093', job_status='RUN', time_executed='2021-08-28 16:19:47.047981', time_epoch_executed='1630192787.05' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='957'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/946093

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/946093/ft1_4FGL_J0750.8+1229_daily_bin957.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/946093/ft2_4FGL_J0750.8+1229_daily_bin957.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/946093/ft1_4FGL_J0750.8+1229_daily_bin957.fits outfile=/scratch/kocevski/946093/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin957.fits ra=117.701 dec=12.494 rad=12.0 tmin=487382401.0 tmax=487641601.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 7.60
user 3.59
sys 3.96

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/946093/ft2_4FGL_J0750.8+1229_daily_bin957.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/946093/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin957.fits evtable="EVENTS" outfile="/scratch/kocevski/946093/ft1_filtered_4FGL_J0750.8+1229_daily_bin957.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 4.32
user 0.34
sys 3.92

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/946093/ft1_filtered_4FGL_J0750.8+1229_daily_bin957.fits" evtable="EVENTS" scfile=/scratch/kocevski/946093/ft2_4FGL_J0750.8+1229_daily_bin957.fits sctable="SC_DATA" outfile=/scratch/kocevski/946093/ltcube_487382401_487641601_4FGL_J0750.8+1229_daily_bin957.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/946093/ft2_4FGL_J0750.8+1229_daily_bin957.fits
.....................!
real 16.24
user 11.65
sys 4.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/946093/ft1_filtered_4FGL_J0750.8+1229_daily_bin957.fits evtable="EVENTS" scfile=/scratch/kocevski/946093/ft2_4FGL_J0750.8+1229_daily_bin957.fits sctable="SC_DATA" expcube=/scratch/kocevski/946093/ltcube_487382401_487641601_4FGL_J0750.8+1229_daily_bin957.fits outfile=/scratch/kocevski/946093/expmap_487382401_487641601_4FGL_J0750.8+1229_daily_bin957.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/946093/ltcube_487382401_487641601_4FGL_J0750.8+1229_daily_bin957.fits
.....................!
real 196.39
user 185.63
sys 9.91

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/946093/ft1_filtered_4FGL_J0750.8+1229_daily_bin957.fits scfile=/scratch/kocevski/946093/ft2_4FGL_J0750.8+1229_daily_bin957.fits outfile=/scratch/kocevski/946093/cmap_487382401_487641601_4FGL_J0750.8+1229_daily_bin957.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 4.29
user 0.37
sys 3.81

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/946093/ft1_filtered_4FGL_J0750.8+1229_daily_bin957.fits scfile=/scratch/kocevski/946093/ft2_4FGL_J0750.8+1229_daily_bin957.fits outfile=/scratch/kocevski/946093/cmap_HighResolution_487382401_487641601_4FGL_J0750.8+1229_daily_bin957.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 3.89
user 0.38
sys 3.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5128       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4109       1.0000         .10000E-03   10000.    
     3 'norm      '    .11851       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.783       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.932       1.0000         .10000E-03   10000.    
     6 'norm      '    1.7033       1.0000         .10000E-03   10000.    
     7 'norm      '    .47209       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5572       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.4934       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.665       1.0000         .10000E-03   10000.    
    17 'norm      '    1.5802       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.877       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3100       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78871       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=   7078.033     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     3039 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5135        9.2929       -.30927E-06   -.11588E-04
   2  norm          1.4109        1.7298       -.38737E-06   -.62822E-03
   3  norm          .12077        .82715       -.65742E-06   -.79473E-03
   4  Prefactor     29.786        46.660        .34495E-05   -.61378E-05
   5  Prefactor     22.934        21.443        .54450E-06    .37497E-04
   6  norm          1.7035        1.1491       -.83512E-07    .22577E-03
   7  norm          .47310        1.4715       -.65928E-06   -.44860E-03
   8  Prefactor     .10000E-03    2.9791       -.60176E-06** at limit **
   9  Prefactor     .10000E-03    12.111       -.29154E-06** at limit **
  10  Prefactor     .10000E-03    23.920        .29191E-05** at limit **
  11  Prefactor     2.5573        2.0986       -.25130E-06    .13223E-03
  12  norm          .10000E-03    8.6671       -.11285E-05** at limit **
  13  Prefactor     9.4942        11.199       -.57368E-07   -.21461E-04
  14  Prefactor     .10000E-03    36.594        .58411E-05** at limit **
  15  norm          .10000E-03    48.192       -.16871E-05** at limit **
  16  Prefactor     37.643        37.203       -.20300E-04    .10001E-03
  17  norm          1.5777        74.128        .32159E-04    .68334E-04
  18  norm          .10000E-03    2.3613        .27012E-06** at limit **
  19  Prefactor     .10000E-03    28.229       -.82469E-05** at limit **
  20  Prefactor     28.876        16.810       -.42202E-06    .72782E-05
  21  Normalizat    1.3100        .18959        .20282E-05    .18369E-04
  22  Prefactor     .78869        .11429       -.15945E-06    .28777E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.51346
  norm       = 1.41094
  norm       = 0.120768
  Prefactor  = 29.7856
  Prefactor  = 22.9336
  norm       = 1.70349
  norm       = 0.473097
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.55725
  norm       = 0.0001
  Prefactor  = 9.49417
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.6425
  norm       = 1.57768
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 28.8755
  Normalizat = 1.30997
  Prefactor  = 0.788687
 **********
 **   18 **HESSE 
 **********

 FCN=   7078.033     FROM HESSE     STATUS=OK           344 CALLS     3383 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5135        9.2937        .14632E-03   -1.5160    
   2  norm          1.4109        1.7118        .11568E-03   -1.5470    
   3  norm          .12077        1.9360        .14429E-02   -1.5638    
   4  Prefactor     29.786        46.570        .73415E-04   -1.4616    
   5  Prefactor     22.934        21.399        .83645E-04   -1.4750    
   6  norm          1.7035        1.1481        .71843E-04   -1.5447    
   7  norm          .47310        1.8728        .16828E-02   -1.5570    
   8  Prefactor     .10000E-03    2.9852        .14175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.5573        2.0980        .10664E-03   -1.5388    
  12  norm          .10000E-03    8.6700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.4942        11.204        .13007E-03   -1.5092    
  14  Prefactor     .10000E-03    36.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    48.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.643        36.684        .65305E-04   -1.4480    
  17  norm          1.5777        71.364        .33787E-03   -1.5457    
  18  norm          .10000E-03    2.3905        .12625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    28.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     28.876        16.907        .74555E-04   -1.4633    
  21  Normalizat    1.3100        .21844        .27320E-03   -.83269    
  22  Prefactor     .78869        .13231        .20892E-03   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.93382e-10
Minuit parameter uncertainties:
  1  9.29544
  2  1.71191
  3  0.966707
  4  46.6265
  5  21.406
  6  1.14814
  7  1.87303
  8  5.64033e-06
  9  5.85644e-06
  10  0.000123609
  11  2.09804
  12  2.48639e-05
  13  11.2066
  14  0.000250148
  15  6.30876e-05
  16  36.7062
  17  21.2479
  18  1.36698e-05
  19  0.000240777
  20  16.9097
  21  0.218593
  22  0.132368
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.557e+00  2.098e+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.887e-01  1.324e-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.310e+00  2.186e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.17
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 3.45e-08 +/- 2.83e-08
Energy Flux (Fixed Index): 9.84e-06 +/- 8.07e-06

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) = 7076.99171827
delta logL = 1.04126705256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7076.96630082
delta logL = 1.06668450644

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1182       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6286       1.0000          .0000       10.000    
     3 'Normalizat'    1.3329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77966       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=   7076.966     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1190        2.5037        .57403E-02   -.12602E-03
   2  Index         1.6288        .41172        .23953       -.56420E-04
   3  Normalizat    1.3329        .17985        .61305E-01    .72555E-05
   4  Prefactor     .77965        .11011        .43452E-01    .10849E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11895
  Index      = 1.62884
  Normalizat = 1.33288
  Prefactor  = 0.779647
 **********
 **   18 **HESSE 
 **********

 FCN=   7076.966     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1190        2.6197        .11356E-03   -1.5355    
   2  Index         1.6288        .50948        .89379E-02   -.73993    
   3  Normalizat    1.3329        .20494        .27114E-03   -.82590    
   4  Prefactor     .77965        .12555        .20991E-03   -1.0048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18906e-12
Minuit parameter uncertainties:
  1  2.61977
  2  0.511106
  3  0.205062
  4  0.125597
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/946093': 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) = 7076.96630071
delta logL = 1.06668460948

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  3.119e+00  2.620e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  1.629e+00  5.111e-01  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.796e-01  1.256e-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.333e+00  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.30
Ra Dec: 117.701 12.494
Photon Index (Free Index): 1.63 +/- 0.51
Photon Flux (Free Index): 1.53e-08 +/- 1.53e-08
Energy Flux (Free Index): 3.15e-05 +/- 4.18e-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/946093/cmap_HighResolution_487382401_487641601_4FGL_J0750.8+1229_daily_bin957.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.45e-08', energy_flux2='3.15e-05', photon_flux_error='2.83e-08', dlogl='1.07e+00', energy_flux='9.84e-06', photon_flux2='1.53e-08', job_status='DONE', time_completed='2021-08-28 16:32:19.496670', photon_index_error2='0.51', photon_index2='1.63', ts='4.17', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='4.18e-05', EG='1.31', time_epoch_completed='1630193539.5', return_code='0', job_id='946093', GAL2='0.78', EG2='1.33', return_code2='0', energy_flux_error='8.07e-06', photon_flux_error2='1.53e-08', ts2='6.30', photon_index='2.52' WHERE bin_id='957' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:32:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 946093: <4FGL_J0750.8+1229_daily_bin957> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin957> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Aug 28 16:15:46 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:15:47 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:15:47 2021
Terminated at Sat Aug 28 16:32:20 2021
Results reported at Sat Aug 28 16:32:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin957 117.701 12.494 487382401 487641601 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 :                                   797.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            994 sec.

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

