/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 137 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7474
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0750.8+1229_daily_bin177
RA = 117.701, Dec = 12.494
tmin = 285206401, tmax = 285465601
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='941211', job_status='RUN', time_executed='2021-08-28 16:04:14.285227', time_epoch_executed='1630191854.29' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941211

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941211/ft1_4FGL_J0750.8+1229_daily_bin177.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941211/ft2_4FGL_J0750.8+1229_daily_bin177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941211/ft1_4FGL_J0750.8+1229_daily_bin177.fits outfile=/scratch/kocevski/941211/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin177.fits ra=117.701 dec=12.494 rad=12.0 tmin=285206401.0 tmax=285465601.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.50
user 3.27
sys 4.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941211/ft1_filtered_4FGL_J0750.8+1229_daily_bin177.fits" evtable="EVENTS" scfile=/scratch/kocevski/941211/ft2_4FGL_J0750.8+1229_daily_bin177.fits sctable="SC_DATA" outfile=/scratch/kocevski/941211/ltcube_285206401_285465601_4FGL_J0750.8+1229_daily_bin177.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/941211/ft2_4FGL_J0750.8+1229_daily_bin177.fits
.....................!
real 17.29
user 12.41
sys 4.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941211/ft1_filtered_4FGL_J0750.8+1229_daily_bin177.fits evtable="EVENTS" scfile=/scratch/kocevski/941211/ft2_4FGL_J0750.8+1229_daily_bin177.fits sctable="SC_DATA" expcube=/scratch/kocevski/941211/ltcube_285206401_285465601_4FGL_J0750.8+1229_daily_bin177.fits outfile=/scratch/kocevski/941211/expmap_285206401_285465601_4FGL_J0750.8+1229_daily_bin177.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/941211/ltcube_285206401_285465601_4FGL_J0750.8+1229_daily_bin177.fits
.....................!
real 197.87
user 187.00
sys 10.25

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/941211/ft1_filtered_4FGL_J0750.8+1229_daily_bin177.fits scfile=/scratch/kocevski/941211/ft2_4FGL_J0750.8+1229_daily_bin177.fits outfile=/scratch/kocevski/941211/cmap_285206401_285465601_4FGL_J0750.8+1229_daily_bin177.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.36
user 0.38
sys 3.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941211/ft1_filtered_4FGL_J0750.8+1229_daily_bin177.fits scfile=/scratch/kocevski/941211/ft2_4FGL_J0750.8+1229_daily_bin177.fits outfile=/scratch/kocevski/941211/cmap_HighResolution_285206401_285465601_4FGL_J0750.8+1229_daily_bin177.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 4.60
user 0.39
sys 4.04

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0278       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3472       1.0000         .10000E-03   10000.    
     3 'norm      '    2.6348       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.1802       1.0000         .10000E-03   10000.    
     7 'norm      '    .81583       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.084       1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.972       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.6040       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.011       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    46.138       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    61.930       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.7911       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3489       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80281       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=   6226.911     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2393 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0277        10.319       -.86719E-07    .99442E-04
   2  norm          2.3464        2.1612        .20461E-06   -.81327E-04
   3  norm          2.6347        1.5721        .60226E-07   -.71266E-05
   4  Prefactor     .10000E-03    20.147        .27240E-07** at limit **
   5  Prefactor     .10000E-03    14.170        .19241E-06** at limit **
   6  norm          2.1803        1.9424        .69183E-06    .40250E-04
   7  norm          .81575        1.7313        .76861E-06    .86196E-04
   8  Prefactor     27.103        17.856       -.18943E-05   -.10494E-04
   9  Prefactor     33.981        30.067       -.32743E-06    .37648E-05
  10  Prefactor     7.4763        135.14        .31432E-05   -.10081E-04
  11  Prefactor     .10000E-03    1.6280        .95219E-07** at limit **
  12  norm          .10000E-03    29.548       -.63130E-07** at limit **
  13  Prefactor     13.015        12.987       -.35744E-06    .35741E-06
  14  Prefactor     .10000E-03    72.910        .31388E-07** at limit **
  15  norm          45.997        83.163       -.39132E-06   -.21024E-04
  16  Prefactor     .10000E-03    11.915        .30066E-06** at limit **
  17  norm          .10000E-03    6.4389        .21738E-06** at limit **
  18  norm          .10000E-03    3.0152        .25890E-06** at limit **
  19  Prefactor     61.944        42.576       -.18592E-06    .63653E-05
  20  Prefactor     4.7937        15.475        .44786E-06    .27524E-05
  21  Normalizat    1.3484        .23239        .13474E-05   -.16268E-03
  22  Prefactor     .80316        .13664       -.21567E-05    .34077E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.02769
  norm       = 2.3464
  norm       = 2.6347
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.18028
  norm       = 0.815748
  Prefactor  = 27.1032
  Prefactor  = 33.9808
  Prefactor  = 7.47634
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.0146
  Prefactor  = 0.0001
  norm       = 45.9966
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 61.9439
  Prefactor  = 4.79373
  Normalizat = 1.34837
  Prefactor  = 0.80316
 **********
 **   18 **HESSE 
 **********

 FCN=   6226.911     FROM HESSE     STATUS=OK           346 CALLS     2739 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0277        37.338        .48320E-02   -1.5505    
   2  norm          2.3464        2.1539        .10507E-03   -1.5402    
   3  norm          2.6347        1.5690        .72461E-04   -1.5383    
   4  Prefactor     .10000E-03    20.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1803        1.9366        .44973E-03   -1.5413    
   7  norm          .81575        1.7128        .14614E-03   -1.5527    
   8  Prefactor     27.103        17.715        .76978E-04   -1.4666    
   9  Prefactor     33.981        30.090        .68752E-04   -1.4541    
  10  Prefactor     7.4763        137.01        .14543E-03   -1.5161    
  11  Prefactor     .10000E-03    1.6471        .98308E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    29.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.015        12.925        .11105E-03   -1.4986    
  14  Prefactor     .10000E-03    72.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          45.997        83.151        .29514E-03   -1.4351    
  16  Prefactor     .10000E-03    11.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.4432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.1174        .26770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     61.944        42.721        .50989E-04   -1.4132    
  20  Prefactor     4.7937        15.551        .18380E-03   -1.5270    
  21  Normalizat    1.3484        .26292        .28653E-03   -.82134    
  22  Prefactor     .80316        .15160        .21903E-03   -.99612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.01571e-10
Minuit parameter uncertainties:
  1  12.3967
  2  2.15401
  3  1.56899
  4  5.49464e-07
  5  3.20651e-06
  6  1.93666
  7  1.71287
  8  17.7187
  9  30.1031
  10  64.1814
  11  3.29272e-06
  12  8.2945e-05
  13  12.9276
  14  5.15474e-05
  15  83.362
  16  5.51968e-07
  17  1.07451e-06
  18  1.9538e-06
  19  42.7419
  20  15.5644
  21  0.263181
  22  0.151682
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  3.293e-06  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:  8.032e-01  1.517e-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.348e+00  2.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 9.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941211/likelihoodResults_285206401_285465601_4FGL_J0750.8+1229_daily_bin177.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) = 6226.91375081
delta logL = -0.00287880913584

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6226.91087209
delta logL = -9.42700353335e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5195       1.0000          .0000       10.000    
     3 'Normalizat'    1.3484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80320       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=   6226.911     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    97.761        .90712E-02** at limit **
   2  Index         2.5223        6.0348        .50000       -.15667E-04
   3  Normalizat    1.3484        .47261E-01    .64775E-01   -.52465E-04
   4  Prefactor     .80316        .28778E-01    .43759E-01   -.33455E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.52226
  Normalizat = 1.34838
  Prefactor  = 0.803159
 **********
 **   18 **HESSE 
 **********

 FCN=   6226.911     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2968        .98328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5223        5.8754        .50000       -.51847    
   3  Normalizat    1.3484        .23682        .28653E-03   -.82134    
   4  Prefactor     .80316        .14474        .21903E-03   -.99612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49813e-10
Minuit parameter uncertainties:
  1  8.50326e-06
  2  7.01476
  3  0.237008
  4  0.144809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941211': 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) = 6226.91087198
delta logL = 1.99361238629e-08

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  8.503e-06  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.522e+00  7.015e+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:  8.032e-01  1.448e-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.348e+00  2.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.701 12.494

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/941211/cmap_HighResolution_285206401_285465601_4FGL_J0750.8+1229_daily_bin177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-03', job_status='DONE', photon_flux_upper_limit='9.01e-08', time_completed='2021-08-28 16:16:11.547604', job_id='941211', GAL2='0.80', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1630192571.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.99e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='177' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:16:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 941211: <4FGL_J0750.8+1229_daily_bin177> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin177 117.701 12.494 285206401 285465601 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 :                                   771.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             269.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            934 sec.

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

