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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin58
RA = 117.701, Dec = 12.494
tmin = 254361601, tmax = 254620801
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='939723', job_status='RUN', time_executed='2021-08-28 15:56:53.953827', time_epoch_executed='1630191413.95' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='58'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/939723

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/939723/ft1_4FGL_J0750.8+1229_daily_bin58.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/939723/ft2_4FGL_J0750.8+1229_daily_bin58.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/939723/ft1_4FGL_J0750.8+1229_daily_bin58.fits outfile=/scratch/kocevski/939723/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin58.fits ra=117.701 dec=12.494 rad=12.0 tmin=254361601.0 tmax=254620801.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 1.79
user 1.23
sys 0.50

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/939723/ft1_filtered_4FGL_J0750.8+1229_daily_bin58.fits evtable="EVENTS" scfile=/scratch/kocevski/939723/ft2_4FGL_J0750.8+1229_daily_bin58.fits sctable="SC_DATA" expcube=/scratch/kocevski/939723/ltcube_254361601_254620801_4FGL_J0750.8+1229_daily_bin58.fits outfile=/scratch/kocevski/939723/expmap_254361601_254620801_4FGL_J0750.8+1229_daily_bin58.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/939723/ltcube_254361601_254620801_4FGL_J0750.8+1229_daily_bin58.fits
.....................!
real 190.18
user 184.79
sys 5.01

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/939723/ft1_filtered_4FGL_J0750.8+1229_daily_bin58.fits scfile=/scratch/kocevski/939723/ft2_4FGL_J0750.8+1229_daily_bin58.fits outfile=/scratch/kocevski/939723/cmap_254361601_254620801_4FGL_J0750.8+1229_daily_bin58.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.88
user 0.37
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/939723/ft1_filtered_4FGL_J0750.8+1229_daily_bin58.fits scfile=/scratch/kocevski/939723/ft2_4FGL_J0750.8+1229_daily_bin58.fits outfile=/scratch/kocevski/939723/cmap_HighResolution_254361601_254620801_4FGL_J0750.8+1229_daily_bin58.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.89
user 0.37
sys 0.49

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10269E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10280E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    45.647       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11172E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.6682       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4645       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    69.766       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3669       1.0000         .10000E-03   10000.    
    12 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2035       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .28582E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    11.565       1.0000         .10000E-03   10000.    
    18 'norm      '    .22243E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.041       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4135       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78516       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=   6580.203     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2382 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.335        .29573E-06** at limit **
   2  norm          .10000E-03    1.2021       -.42185E-06** at limit **
   3  norm          .10000E-03    .34650       -.18920E-07** at limit **
   4  Prefactor     45.637        52.827        .15986E-05    .63053E-04
   5  Prefactor     .10000E-03    46.170       -.40359E-05** at limit **
   6  norm          3.6667        1.5508        .74604E-07    .35587E-04
   7  norm          3.4643        2.1492        .26961E-07    .32788E-03
   8  Prefactor     .10000E-03    5.7334        .43999E-06** at limit **
   9  Prefactor     .10000E-03    13.700       -.40082E-06** at limit **
  10  Prefactor     69.809        44.694       -.39078E-05   -.28022E-04
  11  Prefactor     2.3678        3.0699       -.82960E-07    .12492E-03
  12  norm          .10000E-03    6.6304        .24085E-06** at limit **
  13  Prefactor     2.2098        19.387        .10263E-04    .25199E-03
  14  Prefactor     .10000E-03    56.362        .60596E-06** at limit **
  15  norm          .10000E-03    29.493        .15876E-05** at limit **
  16  Prefactor     .10000E-03    59.602       -.18405E-05** at limit **
  17  norm          11.540        20.021        .97011E-06    .14578E-03
  18  norm          .10430E-03    4.1574       -.25829E-05** at limit **
  19  Prefactor     .10000E-03    9.0014       -.25656E-06** at limit **
  20  Prefactor     10.040        10.973        .60745E-07    .16748E-04
  21  Normalizat    1.4131        .20548       -.21929E-05    .30029E-03
  22  Prefactor     .78537        .12344        .17022E-05    .41269E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 45.6373
  Prefactor  = 0.0001
  norm       = 3.66674
  norm       = 3.46429
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 69.8085
  Prefactor  = 2.36776
  norm       = 0.0001
  Prefactor  = 2.20977
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 11.5403
  norm       = 0.000104301
  Prefactor  = 0.0001
  Prefactor  = 10.0403
  Normalizat = 1.41313
  Prefactor  = 0.785367
 **********
 **   18 **HESSE 
 **********

 FCN=   6580.203     FROM HESSE     STATUS=OK           346 CALLS     2728 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.726        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.5149        .16966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .35527        .93199E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     45.637        52.525        .59344E-04   -1.4356    
   5  Prefactor     .10000E-03    46.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.6667        1.5480        .63492E-04   -1.5325    
   7  norm          3.4643        2.1451        .89646E-04   -1.5336    
   8  Prefactor     .10000E-03    5.8104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     69.809        44.893        .24029E-03   -1.4035    
  11  Prefactor     2.3678        3.0620        .15205E-03   -1.5400    
  12  norm          .10000E-03    6.6405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2098        19.654        .13858E-02   -1.5411    
  14  Prefactor     .10000E-03    56.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    29.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    60.571        .21410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.540        19.980        .11780E-03   -1.5028    
  18  norm          .10430E-03    5.2953        .48225E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.0077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.040        10.985        .12645E-03   -1.5074    
  21  Normalizat    1.4131        .23362        .26557E-03   -.80250    
  22  Prefactor     .78537        .14082        .21572E-03   -1.0027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50104e-09
Minuit parameter uncertainties:
  1  2.58004e-05
  2  3.06592e-06
  3  3.87361e-07
  4  52.578
  5  7.24381e-05
  6  1.54806
  7  2.14519
  8  5.06236e-05
  9  1.93604e-05
  10  44.9151
  11  3.06224
  12  1.79453e-06
  13  13.1858
  14  2.45255e-06
  15  2.42223e-05
  16  0.000347577
  17  19.9919
  18  0.00954543
  19  9.19229e-06
  20  10.9867
  21  0.233794
  22  0.140888
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.368e+00  3.062e+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.854e-01  1.409e-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.413e+00  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/939723/likelihoodResults_254361601_254620801_4FGL_J0750.8+1229_daily_bin58.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) = 6580.12587324
delta logL = 0.0773246069102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6580.1222723
delta logL = 0.0809255491376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0394       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1980       1.0000          .0000       10.000    
     3 'Normalizat'    1.4213       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78150       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6580.122     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      269 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0395        3.8044        .16580E-03   -.74902E-03
   2  Index         2.1980        .75129        .10241E-01   -.84161E-04
   3  Normalizat    1.4212        .22241        .26492E-03    .91278E-04
   4  Prefactor     .78153        .13871        .21615E-03    .10814E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.03954
  Index      = 2.198
  Normalizat = 1.42122
  Prefactor  = 0.781534
 **********
 **   18 **HESSE 
 **********

 FCN=   6580.122     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0395        3.7634        .66322E-05   -1.5359    
   2  Index         2.1980        .74316        .40963E-03   -.59487    
   3  Normalizat    1.4212        .22257        .52984E-04   -.80017    
   4  Prefactor     .78153        .13879        .86460E-05   -1.0041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51812e-10
Minuit parameter uncertainties:
  1  3.76374
  2  0.747205
  3  0.222719
  4  0.138856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/939723': 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) = 6580.12227226
delta logL = 0.0809255831191

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  3.040e+00  3.764e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.198e+00  7.472e-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.815e-01  1.389e-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.421e+00  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/939723/cmap_HighResolution_254361601_254620801_4FGL_J0750.8+1229_daily_bin58.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.72e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-08-28 16:08:03.610621', job_id='939723', GAL2='0.78', fit_tolerance='1e-08', EG2='1.42', EG='1.41', time_epoch_completed='1630192083.61', return_code2='0', ts='0.82', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='8.09e-02', ts2='0.98', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='58' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:08:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 939723: <4FGL_J0750.8+1229_daily_bin58> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin58> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Aug 28 15:56:10 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:56:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 15:56:10 2021
Terminated at Sat Aug 28 16:08:04 2021
Results reported at Sat Aug 28 16:08:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin58 117.701 12.494 254361601 254620801 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 :                                   673.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             377.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            714 sec.

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

