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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin613
RA = 117.701, Dec = 12.494
tmin = 398217601, tmax = 398476801
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='942880', job_status='RUN', time_executed='2021-08-28 16:09:33.876386', time_epoch_executed='1630192173.88' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='613'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942880

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942880/ft1_4FGL_J0750.8+1229_daily_bin613.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942880/ft2_4FGL_J0750.8+1229_daily_bin613.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942880/ft1_4FGL_J0750.8+1229_daily_bin613.fits outfile=/scratch/kocevski/942880/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin613.fits ra=117.701 dec=12.494 rad=12.0 tmin=398217601.0 tmax=398476801.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 10.75
user 6.18
sys 4.13

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942880/ft1_filtered_4FGL_J0750.8+1229_daily_bin613.fits" evtable="EVENTS" scfile=/scratch/kocevski/942880/ft2_4FGL_J0750.8+1229_daily_bin613.fits sctable="SC_DATA" outfile=/scratch/kocevski/942880/ltcube_398217601_398476801_4FGL_J0750.8+1229_daily_bin613.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/942880/ft2_4FGL_J0750.8+1229_daily_bin613.fits
.....................!
real 15.10
user 10.44
sys 4.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942880/ft1_filtered_4FGL_J0750.8+1229_daily_bin613.fits evtable="EVENTS" scfile=/scratch/kocevski/942880/ft2_4FGL_J0750.8+1229_daily_bin613.fits sctable="SC_DATA" expcube=/scratch/kocevski/942880/ltcube_398217601_398476801_4FGL_J0750.8+1229_daily_bin613.fits outfile=/scratch/kocevski/942880/expmap_398217601_398476801_4FGL_J0750.8+1229_daily_bin613.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/942880/ltcube_398217601_398476801_4FGL_J0750.8+1229_daily_bin613.fits
.....................!
real 194.74
user 185.11
sys 8.80

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/942880/ft1_filtered_4FGL_J0750.8+1229_daily_bin613.fits scfile=/scratch/kocevski/942880/ft2_4FGL_J0750.8+1229_daily_bin613.fits outfile=/scratch/kocevski/942880/cmap_398217601_398476801_4FGL_J0750.8+1229_daily_bin613.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.16
user 0.36
sys 3.77

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942880/ft1_filtered_4FGL_J0750.8+1229_daily_bin613.fits scfile=/scratch/kocevski/942880/ft2_4FGL_J0750.8+1229_daily_bin613.fits outfile=/scratch/kocevski/942880/cmap_HighResolution_398217601_398476801_4FGL_J0750.8+1229_daily_bin613.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.24
user 0.36
sys 3.81

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8156       1.0000         .10000E-03   10000.    
     2 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.1740       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.9324       1.0000         .10000E-03   10000.    
     7 'norm      '    9.1043       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.485       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.882       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.4774       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.536       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.678       1.0000         .10000E-03   10000.    
    17 'norm      '    .10422E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    53.849       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .59672       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3690       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=   5942.017     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2345 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8085        14.450       -.33471E-05   -.18980E-03
   2  norm          .10000E-03    1.5634        .26144E-07** at limit **
   3  norm          2.1740        1.4267       -.24364E-06   -.60678E-03
   4  Prefactor     .10000E-03    51.872       -.13508E-04** at limit **
   5  Prefactor     .10000E-03    16.834        .13211E-04** at limit **
   6  norm          2.9318        1.9291       -.26601E-06    .40216E-03
   7  norm          9.1043        3.2076       -.41898E-06   -.24754E-03
   8  Prefactor     13.486        10.934        .37219E-05    .60409E-04
   9  Prefactor     .10000E-03    23.429       -.23457E-04** at limit **
  10  Prefactor     32.824        37.440       -.63690E-04    .31884E-04
  11  Prefactor     .10000E-03    1.5717       -.33211E-06** at limit **
  12  norm          3.4764        12.402       -.10880E-05   -.10800E-03
  13  Prefactor     14.534        11.036        .36929E-07    .41809E-04
  14  Prefactor     .10000E-03    41.880        .19371E-04** at limit **
  15  norm          .10000E-03    34.980        .13398E-04** at limit **
  16  Prefactor     15.676        22.965       -.63703E-07   -.27746E-05
  17  norm          .10000E-03    8.3894       -.57965E-07** at limit **
  18  norm          .10000E-03    4.9352       -.25871E-06** at limit **
  19  Prefactor     53.813        49.960       -.38491E-04    .32814E-04
  20  Prefactor     .10000E-03    13.170       -.36063E-05** at limit **
  21  Normalizat    .59697        .23822        .25117E-04    .22082E-04
  22  Prefactor     1.3689        .15614       -.38037E-05    .47596E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.80849
  norm       = 0.0001
  norm       = 2.17403
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.93184
  norm       = 9.10429
  Prefactor  = 13.4857
  Prefactor  = 0.0001
  Prefactor  = 32.8235
  Prefactor  = 0.0001
  norm       = 3.47644
  Prefactor  = 14.5342
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.6765
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 53.8131
  Prefactor  = 0.0001
  Normalizat = 0.596973
  Prefactor  = 1.36889
 **********
 **   18 **HESSE 
 **********

 FCN=   5942.017     FROM HESSE     STATUS=OK           340 CALLS     2685 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8085        14.489        .24240E-03   -1.5373    
   2  norm          .10000E-03    1.6213        .18803E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.1740        1.4208        .71266E-04   -1.5413    
   4  Prefactor     .10000E-03    51.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.9318        1.9446        .74344E-04   -1.5365    
   7  norm          9.1043        3.2065        .79023E-04   -1.5104    
   8  Prefactor     13.486        11.032        .10908E-03   -1.4973    
   9  Prefactor     .10000E-03    23.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.824        37.433        .69879E-04   -1.4562    
  11  Prefactor     .10000E-03    1.5970        .94307E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.4764        12.371        .21685E-03   -1.5335    
  13  Prefactor     14.534        11.026        .10506E-03   -1.4945    
  14  Prefactor     .10000E-03    41.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    34.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.676        22.957        .10115E-03   -1.4916    
  17  norm          .10000E-03    8.3965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.0427        .16722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     53.813        50.029        .54659E-04   -1.4239    
  20  Prefactor     .10000E-03    13.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .59697        .25410        .40267E-03   -1.0811    
  22  Prefactor     1.3689        .16833        .18801E-03   -.81281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09519e-09
Minuit parameter uncertainties:
  1  12.7629
  2  2.11596e-05
  3  1.4208
  4  4.95364e-05
  5  5.99745e-05
  6  1.94469
  7  3.20657
  8  11.0334
  9  1.85976e-05
  10  37.4599
  11  1.09938e-05
  12  12.3798
  13  11.0276
  14  2.27293e-05
  15  1.04986e-05
  16  22.9695
  17  0.000152132
  18  5.59701e-06
  19  50.0685
  20  0.000125488
  21  0.254598
  22  0.168399
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  1.099e-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.369e+00  1.684e-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:  5.970e-01  2.546e-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: 8.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/942880/likelihoodResults_398217601_398476801_4FGL_J0750.8+1229_daily_bin613.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) = 5942.02019925
delta logL = -0.00295795567854

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5942.01724199
delta logL = -6.88115505909e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10537E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4886       1.0000          .0000       10.000    
     3 'Normalizat'    .59703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3689       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=   5942.017     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      274 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4252        .41413E-01** at limit **
   2  Index         1.5598        5.3393        .50000       -.70047E-06
   3  Normalizat    .59698        .72317E-02    .40265E-03   -.62032E-04
   4  Prefactor     1.3689        .49559E-02    .18801E-03   -.44686E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.55975
  Normalizat = 0.596978
  Prefactor  = 1.36889
 **********
 **   18 **HESSE 
 **********

 FCN=   5942.017     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      305 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    256.35        .21604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5598        6.9188        .50000       -.75880    
   3  Normalizat    .59698        .42898E-01    .16106E-04   -1.0811    
   4  Prefactor     1.3689        .29402E-01    .75204E-05   -.81281    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.3439e-09
Minuit parameter uncertainties:
  1  0.000150682
  2  419.287
  3  0.0429008
  4  0.029402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942880': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5942.01722
delta logL = 2.12967970583e-05

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  1.507e-04  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  1.560e+00  4.193e+02  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.369e+00  2.940e-02  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:  5.970e-01  4.290e-02  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/942880/cmap_HighResolution_398217601_398476801_4FGL_J0750.8+1229_daily_bin613.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-03', job_status='DONE', photon_flux_upper_limit='8.09e-08', time_completed='2021-08-28 16:21:31.508414', job_id='942880', GAL2='1.37', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1630192891.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='2.13e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='613' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:21:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 942880: <4FGL_J0750.8+1229_daily_bin613> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin613 117.701 12.494 398217601 398476801 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 :                                   761.00 sec.
    Max Memory :                                 1135 MB
    Average Memory :                             263.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            946 sec.

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

