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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin603
RA = 117.701, Dec = 12.494
tmin = 395625601, tmax = 395884801
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='942865', job_status='RUN', time_executed='2021-08-28 16:08:09.656853', time_epoch_executed='1630192089.66' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='603'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942865

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942865/ft1_4FGL_J0750.8+1229_daily_bin603.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942865/ft2_4FGL_J0750.8+1229_daily_bin603.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942865/ft1_4FGL_J0750.8+1229_daily_bin603.fits outfile=/scratch/kocevski/942865/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin603.fits ra=117.701 dec=12.494 rad=12.0 tmin=395625601.0 tmax=395884801.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.82
user 4.25
sys 0.47

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942865/ft1_filtered_4FGL_J0750.8+1229_daily_bin603.fits" evtable="EVENTS" scfile=/scratch/kocevski/942865/ft2_4FGL_J0750.8+1229_daily_bin603.fits sctable="SC_DATA" outfile=/scratch/kocevski/942865/ltcube_395625601_395884801_4FGL_J0750.8+1229_daily_bin603.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/942865/ft2_4FGL_J0750.8+1229_daily_bin603.fits
.....................!
real 13.51
user 12.70
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942865/ft1_filtered_4FGL_J0750.8+1229_daily_bin603.fits evtable="EVENTS" scfile=/scratch/kocevski/942865/ft2_4FGL_J0750.8+1229_daily_bin603.fits sctable="SC_DATA" expcube=/scratch/kocevski/942865/ltcube_395625601_395884801_4FGL_J0750.8+1229_daily_bin603.fits outfile=/scratch/kocevski/942865/expmap_395625601_395884801_4FGL_J0750.8+1229_daily_bin603.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/942865/ltcube_395625601_395884801_4FGL_J0750.8+1229_daily_bin603.fits
.....................!
real 191.19
user 184.61
sys 5.32

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/942865/ft1_filtered_4FGL_J0750.8+1229_daily_bin603.fits scfile=/scratch/kocevski/942865/ft2_4FGL_J0750.8+1229_daily_bin603.fits outfile=/scratch/kocevski/942865/cmap_395625601_395884801_4FGL_J0750.8+1229_daily_bin603.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.76
user 0.37
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942865/ft1_filtered_4FGL_J0750.8+1229_daily_bin603.fits scfile=/scratch/kocevski/942865/ft2_4FGL_J0750.8+1229_daily_bin603.fits outfile=/scratch/kocevski/942865/cmap_HighResolution_395625601_395884801_4FGL_J0750.8+1229_daily_bin603.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.36
sys 0.40

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .11943E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .43852E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.379       1.0000         .10000E-03   10000.    
     6 'norm      '    3.6010       1.0000         .10000E-03   10000.    
     7 'norm      '    11.732       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.878       1.0000         .10000E-03   10000.    
     9 'Prefactor '    230.30       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0523       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .32991E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9137       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    25.746       1.0000         .10000E-03   10000.    
    16 'Prefactor '    44.547       1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.6337       1.0000         .10000E-03   10000.    
    19 'Prefactor '    47.019       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88952       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2627       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=   8893.419     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2442 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.023       -.48285E-06** at limit **
   2  norm          .10000E-03    .88784       -.43940E-06** at limit **
   3  norm          .10001E-03    .45122       -.21911E-06** at limit **
   4  Prefactor     .10000E-03    104.32       -.11751E-05** at limit **
   5  Prefactor     18.376        32.756        .86157E-06    .12198E-03
   6  norm          3.6009        2.5391        .10261E-07    .19196E-03
   7  norm          11.732        2.8403        .34455E-08    .56851E-03
   8  Prefactor     13.881        17.934       -.24371E-06    .17964E-03
   9  Prefactor     230.32        46.000       -.75145E-06    .97632E-04
  10  Prefactor     7.0416        94.034        .37855E-05    .33820E-04
  11  Prefactor     .10000E-03    1.3923       -.39374E-06** at limit **
  12  norm          .10000E-03    7.9587       -.79484E-08** at limit **
  13  Prefactor     7.9108        15.415        .31538E-06    .17973E-03
  14  Prefactor     .10000E-03    41.748        .66801E-07** at limit **
  15  norm          25.872        86.738       -.20086E-04    .22021E-04
  16  Prefactor     44.549        44.202       -.41772E-05    .55846E-04
  17  norm          .10000E-03    11.159       -.69148E-07** at limit **
  18  norm          1.6346        4.7718        .11923E-04   -.57978E-05
  19  Prefactor     47.019        45.346       -.29794E-06    .66527E-04
  20  Prefactor     .10000E-03    7.7819       -.25842E-06** at limit **
  21  Normalizat    .88931        .23068        .22453E-05    .56059E-03
  22  Prefactor     1.2628        .13257       -.53152E-06    .94705E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 18.3755
  norm       = 3.6009
  norm       = 11.7321
  Prefactor  = 13.881
  Prefactor  = 230.318
  Prefactor  = 7.04163
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.91079
  Prefactor  = 0.0001
  norm       = 25.8721
  Prefactor  = 44.5487
  norm       = 0.0001
  norm       = 1.63464
  Prefactor  = 47.019
  Prefactor  = 0.0001
  Normalizat = 0.889305
  Prefactor  = 1.26278
 **********
 **   18 **HESSE 
 **********

 FCN=   8893.419     FROM HESSE     STATUS=OK           344 CALLS     2786 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.7215        .16847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10001E-03    9.6479        .12120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    104.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.376        32.533        .93424E-04   -1.4850    
   6  norm          3.6009        2.5506        .95158E-04   -1.5328    
   7  norm          11.732        2.8378        .74480E-04   -1.5023    
   8  Prefactor     13.881        17.997        .10752E-03   -1.4963    
   9  Prefactor     230.32        45.990        .13334E-03   -1.2661    
  10  Prefactor     7.0416        92.942        .15106E-03   -1.5177    
  11  Prefactor     .10000E-03    7.5549        .20785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    7.9623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.9108        15.241        .14253E-03   -1.5145    
  14  Prefactor     .10000E-03    41.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          25.872        86.684        .78950E-04   -1.4690    
  16  Prefactor     44.549        44.417        .60069E-04   -1.4372    
  17  norm          .10000E-03    11.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.6346        4.7748        .16538E-02   -1.5452    
  19  Prefactor     47.019        45.652        .58475E-04   -1.4335    
  20  Prefactor     .10000E-03    7.8085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88931        .25644        .38396E-03   -.96837    
  22  Prefactor     1.2628        .14652        .20902E-03   -.84421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80436e-09
Minuit parameter uncertainties:
  1  9.40202e-05
  2  2.00105e-05
  3  0.00052303
  4  0.000110024
  5  32.5642
  6  2.55069
  7  2.83788
  8  18.0039
  9  45.9968
  10  51.2624
  11  3.91246e-05
  12  5.91188e-06
  13  15.2485
  14  2.75577e-05
  15  87.1101
  16  44.4503
  17  2.53647e-05
  18  4.77594
  19  45.6859
  20  3.60075e-05
  21  0.256792
  22  0.146569
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  3.912e-05  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.263e+00  1.466e-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:  8.893e-01  2.568e-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.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/942865/likelihoodResults_395625601_395884801_4FGL_J0750.8+1229_daily_bin603.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) = 8893.4198231
delta logL = -0.000630602980891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8893.41919273
delta logL = -2.34513208852e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11675E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5990       1.0000          .0000       10.000    
     3 'Normalizat'    .88969       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2626       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=   8893.242     FROM MIGRAD    STATUS=CONVERGED    157 CALLS      334 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88146E-01    .33120        .43777E-03   -.90436E-03
   2  Index         4.5783        1.9932        .85460E-02    .17334E-04
   3  Normalizat    .83787        .23736        .39477E-03    .12613E-04
   4  Prefactor     1.2824        .14551        .20769E-03    .13356E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0881459
  Index      = 4.57826
  Normalizat = 0.837873
  Prefactor  = 1.28241
 **********
 **   18 **HESSE 
 **********

 FCN=   8893.242     FROM HESSE     STATUS=OK            27 CALLS      361 TOTAL
                     EDM=   .63E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88146E-01    .60165        .17511E-04   -1.5767    
   2  Index         4.5783        2.6774        .34184E-03   -.84448E-01
   3  Normalizat    .83787        .23672        .15791E-04   -.98679    
   4  Prefactor     1.2824        .14534        .83077E-05   -.83832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.26145e-13
Minuit parameter uncertainties:
  1  0.460322
  2  2.82664
  3  0.237014
  4  0.145382
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942865': 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) = 8893.24183156
delta logL = 0.177360939195

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  8.815e-02  4.603e-01  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  4.578e+00  2.827e+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.282e+00  1.454e-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:  8.379e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/942865/cmap_HighResolution_395625601_395884801_4FGL_J0750.8+1229_daily_bin603.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.39e-03', job_status='DONE', photon_flux_upper_limit='9.49e-08', time_completed='2021-08-28 16:22:04.451973', job_id='942865', GAL2='1.28', fit_tolerance='1e-08', EG2='0.84', EG='0.89', time_epoch_completed='1630192924.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='1.77e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='603' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:22:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 942865: <4FGL_J0750.8+1229_daily_bin603> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin603 117.701 12.494 395625601 395884801 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 :                                   829.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

