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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin350
RA = 117.701, Dec = 12.494
tmin = 330048001, tmax = 330307201
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='941445', job_status='RUN', time_executed='2021-08-28 16:04:46.544356', time_epoch_executed='1630191886.54' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941445

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941445/ft1_4FGL_J0750.8+1229_daily_bin350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941445/ft2_4FGL_J0750.8+1229_daily_bin350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941445/ft1_4FGL_J0750.8+1229_daily_bin350.fits outfile=/scratch/kocevski/941445/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin350.fits ra=117.701 dec=12.494 rad=12.0 tmin=330048001.0 tmax=330307201.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.45
user 3.21
sys 1.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941445/ft1_filtered_4FGL_J0750.8+1229_daily_bin350.fits" evtable="EVENTS" scfile=/scratch/kocevski/941445/ft2_4FGL_J0750.8+1229_daily_bin350.fits sctable="SC_DATA" outfile=/scratch/kocevski/941445/ltcube_330048001_330307201_4FGL_J0750.8+1229_daily_bin350.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/941445/ft2_4FGL_J0750.8+1229_daily_bin350.fits
.....................!
real 12.87
user 11.38
sys 1.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941445/ft1_filtered_4FGL_J0750.8+1229_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/941445/ft2_4FGL_J0750.8+1229_daily_bin350.fits sctable="SC_DATA" expcube=/scratch/kocevski/941445/ltcube_330048001_330307201_4FGL_J0750.8+1229_daily_bin350.fits outfile=/scratch/kocevski/941445/expmap_330048001_330307201_4FGL_J0750.8+1229_daily_bin350.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/941445/ltcube_330048001_330307201_4FGL_J0750.8+1229_daily_bin350.fits
.....................!
real 192.47
user 186.50
sys 5.53

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/941445/ft1_filtered_4FGL_J0750.8+1229_daily_bin350.fits scfile=/scratch/kocevski/941445/ft2_4FGL_J0750.8+1229_daily_bin350.fits outfile=/scratch/kocevski/941445/cmap_330048001_330307201_4FGL_J0750.8+1229_daily_bin350.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.81
user 0.37
sys 1.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941445/ft1_filtered_4FGL_J0750.8+1229_daily_bin350.fits scfile=/scratch/kocevski/941445/ft2_4FGL_J0750.8+1229_daily_bin350.fits outfile=/scratch/kocevski/941445/cmap_HighResolution_330048001_330307201_4FGL_J0750.8+1229_daily_bin350.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.56
user 0.37
sys 1.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.439       1.0000         .10000E-03   10000.    
     2 'norm      '    .26025       1.0000         .10000E-03   10000.    
     3 'norm      '    2.6991       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3581       1.0000         .10000E-03   10000.    
     6 'norm      '    5.1743       1.0000         .10000E-03   10000.    
     7 'norm      '    .10127E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.199       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .43761       1.0000         .10000E-03   10000.    
    12 'norm      '    30.913       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    52.505       1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.209       1.0000         .10000E-03   10000.    
    17 'norm      '    26.808       1.0000         .10000E-03   10000.    
    18 'norm      '    8.8950       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1901       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0181       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=   7696.183     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2418 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.444        15.018        .11705E-05   -.71281E-05
   2  norm          .25787        1.4733        .80070E-06   -.52770E-03
   3  norm          2.6992        1.7468        .15552E-06   -.34453E-03
   4  Prefactor     .10000E-03    38.335       -.27090E-04** at limit **
   5  Prefactor     2.3464        126.21       -.47901E-04   -.37875E-04
   6  norm          5.1750        1.9966        .43228E-07    .29220E-03
   7  norm          .10000E-03    .91040        .34522E-06** at limit **
   8  Prefactor     .10000E-03    8.2177       -.12204E-05** at limit **
   9  Prefactor     28.201        31.253        .18699E-05    .18760E-05
  10  Prefactor     .10000E-03    14.934       -.14419E-04** at limit **
  11  Prefactor     .43748        1.7922       -.14620E-05   -.62858E-03
  12  norm          30.926        22.293        .90039E-05    .72017E-04
  13  Prefactor     .10000E-03    6.2447       -.25865E-06** at limit **
  14  Prefactor     .10000E-03    31.420        .28458E-04** at limit **
  15  norm          52.545        65.405        .49983E-04    .20889E-05
  16  Prefactor     29.220        47.757        .15375E-04   -.15763E-04
  17  norm          26.811        27.122       -.26077E-06   -.50599E-04
  18  norm          8.8952        5.6296       -.59529E-06   -.79558E-04
  19  Prefactor     .10000E-03    18.752        .42874E-05** at limit **
  20  Prefactor     .10000E-03    11.448        .81204E-05** at limit **
  21  Normalizat    1.1900        .20849       -.32755E-05    .18268E-03
  22  Prefactor     1.0181        .13003        .14624E-06   -.40428E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.4443
  norm       = 0.257868
  norm       = 2.69924
  Prefactor  = 0.0001
  Prefactor  = 2.34642
  norm       = 5.17496
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 28.2006
  Prefactor  = 0.0001
  Prefactor  = 0.437476
  norm       = 30.926
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 52.5448
  Prefactor  = 29.2196
  norm       = 26.811
  norm       = 8.89521
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19004
  Prefactor  = 1.01813
 **********
 **   18 **HESSE 
 **********

 FCN=   7696.183     FROM HESSE     STATUS=OK           354 CALLS     2772 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.444        15.013        .95909E-04   -1.4872    
   2  norm          .25787        2.9324        .19492E-02   -1.5606    
   3  norm          2.6992        1.7403        .87162E-04   -1.5379    
   4  Prefactor     .10000E-03    38.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3464        123.31        .26689E-03   -1.5402    
   6  norm          5.1750        1.9938        .74032E-04   -1.5253    
   7  norm          .10000E-03    1.6811        .16183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.2709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.201        31.272        .75444E-04   -1.4645    
  10  Prefactor     .10000E-03    14.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .43748        3.2371        .22189E-02   -1.5576    
  12  norm          30.926        22.262        .72064E-04   -1.4595    
  13  Prefactor     .10000E-03    6.2558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    31.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          52.545        65.303        .27675E-03   -1.4257    
  16  Prefactor     29.220        47.802        .74132E-04   -1.4626    
  17  norm          26.811        27.067        .77372E-04   -1.4672    
  18  norm          8.8952        5.6262        .13439E-03   -1.5111    
  19  Prefactor     .10000E-03    18.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1900        .23887        .31680E-03   -.86911    
  22  Prefactor     1.0181        .14991        .21391E-03   -.92128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07951e-09
Minuit parameter uncertainties:
  1  15.0167
  2  1.73892
  3  1.74036
  4  0.000108363
  5  34.0931
  6  1.99384
  7  5.88703e-05
  8  2.50196e-05
  9  31.2897
  10  2.6712e-06
  11  2.37994
  12  22.2681
  13  0.000111758
  14  7.15056e-06
  15  65.3919
  16  47.8648
  17  27.0794
  18  5.62657
  19  6.24634e-05
  20  3.68098e-06
  21  0.239092
  22  0.149971
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  4.375e-01  2.380e+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.018e+00  1.500e-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.190e+00  2.391e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/941445/likelihoodResults_330048001_330307201_4FGL_J0750.8+1229_daily_bin350.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) = 7696.17665896
delta logL = 0.00625294588463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7696.17456225
delta logL = 0.00834964971546

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60995       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3067       1.0000          .0000       10.000    
     3 'Normalizat'    1.1900       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0179       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7696.175     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      273 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61707        3.4821        .29582E-03   -.35203E-04
   2  Index         2.3065        1.5028        .11942E-01   -.33273E-05
   3  Normalizat    1.1901        .22661        .31678E-03   -.18123E-04
   4  Prefactor     1.0178        .14315        .21393E-03   -.47243E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.617068
  Index      = 2.30647
  Normalizat = 1.19011
  Prefactor  = 1.0178
 **********
 **   18 **HESSE 
 **********

 FCN=   7696.175     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61707        3.2980        .11833E-04   -1.5551    
   2  Index         2.3065        1.4651        .47767E-03   -.56890    
   3  Normalizat    1.1901        .22680        .12671E-04   -.86909    
   4  Prefactor     1.0178        .14325        .85573E-05   -.92139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70576e-12
Minuit parameter uncertainties:
  1  2.85315
  2  1.49633
  3  0.226991
  4  0.143304
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941445': 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) = 7696.17455873
delta logL = 0.00835317289602

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  6.171e-01  2.853e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.306e+00  1.496e+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.018e+00  1.433e-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.190e+00  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 117.701 12.494

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/941445/cmap_HighResolution_330048001_330307201_4FGL_J0750.8+1229_daily_bin350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.19e-03', job_status='DONE', photon_flux_upper_limit='9.23e-08', time_completed='2021-08-28 16:17:13.409129', job_id='941445', GAL2='1.02', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630192633.41', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.35e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='350' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:17:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0141>
Subject: Job 941445: <4FGL_J0750.8+1229_daily_bin350> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin350 117.701 12.494 330048001 330307201 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 :                                   757.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            979 sec.

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

