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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin636
RA = 117.701, Dec = 12.494
tmin = 404179201, tmax = 404438401
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='942916', job_status='RUN', time_executed='2021-08-28 16:08:39.498609', time_epoch_executed='1630192119.5' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942916

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942916/ft1_4FGL_J0750.8+1229_daily_bin636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942916/ft2_4FGL_J0750.8+1229_daily_bin636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942916/ft1_4FGL_J0750.8+1229_daily_bin636.fits outfile=/scratch/kocevski/942916/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin636.fits ra=117.701 dec=12.494 rad=12.0 tmin=404179201.0 tmax=404438401.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 3.99
user 3.47
sys 0.43

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942916/ft1_filtered_4FGL_J0750.8+1229_daily_bin636.fits" evtable="EVENTS" scfile=/scratch/kocevski/942916/ft2_4FGL_J0750.8+1229_daily_bin636.fits sctable="SC_DATA" outfile=/scratch/kocevski/942916/ltcube_404179201_404438401_4FGL_J0750.8+1229_daily_bin636.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/942916/ft2_4FGL_J0750.8+1229_daily_bin636.fits
.....................!
real 12.51
user 11.90
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942916/ft1_filtered_4FGL_J0750.8+1229_daily_bin636.fits evtable="EVENTS" scfile=/scratch/kocevski/942916/ft2_4FGL_J0750.8+1229_daily_bin636.fits sctable="SC_DATA" expcube=/scratch/kocevski/942916/ltcube_404179201_404438401_4FGL_J0750.8+1229_daily_bin636.fits outfile=/scratch/kocevski/942916/expmap_404179201_404438401_4FGL_J0750.8+1229_daily_bin636.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/942916/ltcube_404179201_404438401_4FGL_J0750.8+1229_daily_bin636.fits
.....................!
real 189.91
user 185.35
sys 4.23

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/942916/ft1_filtered_4FGL_J0750.8+1229_daily_bin636.fits scfile=/scratch/kocevski/942916/ft2_4FGL_J0750.8+1229_daily_bin636.fits outfile=/scratch/kocevski/942916/cmap_404179201_404438401_4FGL_J0750.8+1229_daily_bin636.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.74
user 0.39
sys 0.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942916/ft1_filtered_4FGL_J0750.8+1229_daily_bin636.fits scfile=/scratch/kocevski/942916/ft2_4FGL_J0750.8+1229_daily_bin636.fits outfile=/scratch/kocevski/942916/cmap_HighResolution_404179201_404438401_4FGL_J0750.8+1229_daily_bin636.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.77
user 0.38
sys 0.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0464       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1815       1.0000         .10000E-03   10000.    
     3 'norm      '    2.4685       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.453       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.1892       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4268       1.0000         .10000E-03   10000.    
     7 'norm      '    4.2192       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10513E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.745       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8121       1.0000         .10000E-03   10000.    
    12 'norm      '    6.4425       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.379       1.0000         .10000E-03   10000.    
    14 'Prefactor '    109.38       1.0000         .10000E-03   10000.    
    15 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.708       1.0000         .10000E-03   10000.    
    17 'norm      '    4.3032       1.0000         .10000E-03   10000.    
    18 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.592       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .37613       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4130       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=   8882.380     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2336 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0451        8.3521        .51439E-06   -.35957E-05
   2  norm          1.1806        1.6112       -.15082E-07   -.46996E-04
   3  norm          2.4682        1.2631        .59404E-08   -.29266E-04
   4  Prefactor     17.427        32.547        .28449E-05    .12439E-05
   5  Prefactor     8.1826        21.219        .61891E-06   -.15467E-05
   6  norm          2.4270        1.3807       -.50849E-07   -.52460E-04
   7  norm          4.2188        1.7887        .34964E-08   -.31327E-04
   8  Prefactor     .10000E-03    3.5923       -.98173E-07** at limit **
   9  Prefactor     .10000E-03    17.201        .15899E-06** at limit **
  10  Prefactor     42.715        40.284        .24015E-05    .68951E-06
  11  Prefactor     4.8109        4.1450        .66065E-06   -.46111E-04
  12  norm          6.4397        11.231        .43742E-06   -.16220E-05
  13  Prefactor     21.379        13.534       -.38491E-06   -.51878E-05
  14  Prefactor     109.22        152.16        .77604E-05    .54115E-06
  15  norm          .10000E-03    37.406       -.33281E-06** at limit **
  16  Prefactor     24.706        22.979        .44376E-07   -.38065E-05
  17  norm          4.2981        12.567        .16270E-05   -.81549E-06
  18  norm          .10000E-03    2.3093        .20543E-07** at limit **
  19  Prefactor     .10000E-03    15.716       -.14231E-06** at limit **
  20  Prefactor     11.581        14.448        .26901E-06   -.44252E-05
  21  Normalizat    .37624        .20853       -.17364E-05   -.14317E-04
  22  Prefactor     1.4130        .13500       -.68178E-07    .44081E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.04514
  norm       = 1.1806
  norm       = 2.46818
  Prefactor  = 17.4271
  Prefactor  = 8.18262
  norm       = 2.42705
  norm       = 4.21885
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.7147
  Prefactor  = 4.81088
  norm       = 6.43965
  Prefactor  = 21.3791
  Prefactor  = 109.225
  norm       = 0.0001
  Prefactor  = 24.7057
  norm       = 4.2981
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.5813
  Normalizat = 0.37624
  Prefactor  = 1.41301
 **********
 **   18 **HESSE 
 **********

 FCN=   8882.380     FROM HESSE     STATUS=OK           354 CALLS     2690 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0451        8.3529        .81643E-03   -1.5216    
   2  norm          1.1806        1.5907        .13207E-03   -1.5491    
   3  norm          2.4682        1.2591        .72095E-04   -1.5394    
   4  Prefactor     17.427        32.524        .95870E-04   -1.4873    
   5  Prefactor     8.1826        21.171        .14010E-03   -1.5136    
   6  norm          2.4270        1.3777        .80225E-04   -1.5396    
   7  norm          4.2188        1.7863        .78879E-04   -1.5297    
   8  Prefactor     .10000E-03    3.6053        .17419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.715        40.188        .61316E-04   -1.4400    
  11  Prefactor     4.8109        4.1445        .76598E-03   -1.5269    
  12  norm          6.4397        11.210        .79061E-03   -1.5200    
  13  Prefactor     21.379        13.467        .86627E-04   -1.4783    
  14  Prefactor     109.22        152.06        .19229E-03   -1.3614    
  15  norm          .10000E-03    37.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.706        22.890        .80588E-04   -1.4713    
  17  norm          4.2981        12.542        .97102E-03   -1.5293    
  18  norm          .10000E-03    2.3389        .13982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.581        14.362        .11766E-03   -1.5027    
  21  Normalizat    .37624        .20252        .48404E-03   -1.1855    
  22  Prefactor     1.4130        .13360        .18151E-03   -.80006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94169e-10
Minuit parameter uncertainties:
  1  8.35453
  2  1.59071
  3  1.25915
  4  32.5569
  5  21.1899
  6  1.37773
  7  1.78635
  8  5.23045e-06
  9  6.45502e-07
  10  40.2138
  11  4.14478
  12  11.2141
  13  13.469
  14  152.603
  15  3.82702e-06
  16  22.8983
  17  12.5498
  18  7.01734e-07
  19  1.35863e-06
  20  14.3659
  21  0.202911
  22  0.13363
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  4.811e+00  4.145e+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.413e+00  1.336e-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:  3.762e-01  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.96
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 6.49e-08 +/- 5.59e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.59e-05

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

Saving results to:
/scratch/kocevski/942916/likelihoodResults_404179201_404438401_4FGL_J0750.8+1229_daily_bin636.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) = 8880.48504687
delta logL = 1.89520962208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8880.47120036
delta logL = 1.909056131

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34149       1.0000         .10000E-03   10000.    
     2 'Index     '    4.5260       1.0000          .0000       10.000    
     3 'Normalizat'    .27703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4605       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=   8880.471     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      264 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34049        1.9053        .55773E-02    .31004E-03
   2  Index         4.5282        2.1499        .10279        .14991E-03
   3  Normalizat    .27691        .52320E-01    .12677        .80847E-04
   4  Prefactor     1.4604        .36276E-01    .30275E-01   -.68276E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.340494
  Index      = 4.52819
  Normalizat = 0.276908
  Prefactor  = 1.46045
 **********
 **   18 **HESSE 
 **********

 FCN=   8880.471     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      297 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34049        3.6683        .25143E-04   -1.5591    
   2  Index         4.5282        3.2385        .40653E-02   -.94503E-01
   3  Normalizat    .27691        .17596        .56053E-03   -1.2424    
   4  Prefactor     1.4604        .11977        .17889E-03   -.78654    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.85446e-10
Minuit parameter uncertainties:
  1  2.23505
  2  3.52608
  3  0.17631
  4  0.119796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942916': 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) = 8880.47119674
delta logL = 1.90905975664

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  3.405e-01  2.235e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  4.528e+00  3.526e+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.460e+00  1.198e-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:  2.769e-01  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.51
Ra Dec: 117.701 12.494
Photon Index (Free Index): 4.53 +/- 3.53
Photon Flux (Free Index): 1.39e-07 +/- 6.79e-08
Energy Flux (Free Index): 1.94e-05 +/- 1.32e-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/942916/cmap_HighResolution_404179201_404438401_4FGL_J0750.8+1229_daily_bin636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', photon_flux='6.49e-08', energy_flux2='1.94e-05', photon_flux_error='5.59e-08', dlogl='1.91e+00', energy_flux='1.85e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-08-28 16:21:53.180479', photon_index_error2='3.53', photon_index2='4.53', ts='1.96', fit_tolerance='1e-08', GAL='1.41', photon_index_error='0.00', photon_flux_upper_limit='1.62e-07', energy_flux_error2='1.32e-05', EG='0.38', time_epoch_completed='1630192913.18', return_code='0', job_id='942916', GAL2='1.46', EG2='0.28', return_code2='102', energy_flux_error='1.59e-05', photon_flux_error2='6.79e-08', ts2='6.51', photon_index='2.52' WHERE bin_id='636' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:21:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 942916: <4FGL_J0750.8+1229_daily_bin636> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin636 117.701 12.494 404179201 404438401 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 :                                   789.51 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   964 sec.
    Turnaround time :                            965 sec.

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

