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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin779
RA = 117.701, Dec = 12.494
tmin = 441244801, tmax = 441504001
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='944519', job_status='RUN', time_executed='2021-08-28 16:11:25.580932', time_epoch_executed='1630192285.58' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/944519

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/944519/ft1_4FGL_J0750.8+1229_daily_bin779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/944519/ft2_4FGL_J0750.8+1229_daily_bin779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/944519/ft1_4FGL_J0750.8+1229_daily_bin779.fits outfile=/scratch/kocevski/944519/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin779.fits ra=117.701 dec=12.494 rad=12.0 tmin=441244801.0 tmax=441504001.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 5.32
user 3.24
sys 2.05

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/944519/ft1_filtered_4FGL_J0750.8+1229_daily_bin779.fits" evtable="EVENTS" scfile=/scratch/kocevski/944519/ft2_4FGL_J0750.8+1229_daily_bin779.fits sctable="SC_DATA" outfile=/scratch/kocevski/944519/ltcube_441244801_441504001_4FGL_J0750.8+1229_daily_bin779.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/944519/ft2_4FGL_J0750.8+1229_daily_bin779.fits
.....................!
real 13.92
user 11.46
sys 2.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/944519/ft1_filtered_4FGL_J0750.8+1229_daily_bin779.fits evtable="EVENTS" scfile=/scratch/kocevski/944519/ft2_4FGL_J0750.8+1229_daily_bin779.fits sctable="SC_DATA" expcube=/scratch/kocevski/944519/ltcube_441244801_441504001_4FGL_J0750.8+1229_daily_bin779.fits outfile=/scratch/kocevski/944519/expmap_441244801_441504001_4FGL_J0750.8+1229_daily_bin779.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/944519/ltcube_441244801_441504001_4FGL_J0750.8+1229_daily_bin779.fits
.....................!
real 193.05
user 185.38
sys 7.22

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/944519/ft1_filtered_4FGL_J0750.8+1229_daily_bin779.fits scfile=/scratch/kocevski/944519/ft2_4FGL_J0750.8+1229_daily_bin779.fits outfile=/scratch/kocevski/944519/cmap_441244801_441504001_4FGL_J0750.8+1229_daily_bin779.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 2.34
user 0.37
sys 1.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/944519/ft1_filtered_4FGL_J0750.8+1229_daily_bin779.fits scfile=/scratch/kocevski/944519/ft2_4FGL_J0750.8+1229_daily_bin779.fits outfile=/scratch/kocevski/944519/cmap_HighResolution_441244801_441504001_4FGL_J0750.8+1229_daily_bin779.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 2.40
user 0.37
sys 2.01

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.486       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4092       1.0000         .10000E-03   10000.    
     3 'norm      '    .26323       1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.945       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0100       1.0000         .10000E-03   10000.    
     6 'norm      '    3.2591       1.0000         .10000E-03   10000.    
     7 'norm      '    21.579       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.100       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .90508       1.0000         .10000E-03   10000.    
    12 'norm      '    .10642E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.7017       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    60.794       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.159       1.0000         .10000E-03   10000.    
    17 'norm      '    30.791       1.0000         .10000E-03   10000.    
    18 'norm      '    12.194       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .74247E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.072       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96143       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92144       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=   7905.093     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2430 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.484        11.522       -.21109E-06    .70121E-04
   2  norm          1.4086        1.8346       -.32028E-06    .38405E-03
   3  norm          .26336        .81842        .18724E-06    .12188E-02
   4  Prefactor     38.028        61.490       -.36128E-05   -.15741E-03
   5  Prefactor     1.0869        73.245        .22977E-04   -.66972E-04
   6  norm          3.2593        1.6317       -.16458E-07    .34565E-03
   7  norm          21.579        3.2520        .14108E-07    .11277E-03
   8  Prefactor     .10000E-03    6.3586        .54396E-07** at limit **
   9  Prefactor     .10000E-03    6.6494       -.66793E-07** at limit **
  10  Prefactor     10.058        48.678        .11653E-05    .76637E-04
  11  Prefactor     .90471        2.5971       -.14267E-05    .44041E-03
  12  norm          .10000E-03    12.649       -.89761E-06** at limit **
  13  Prefactor     6.6930        10.542        .22893E-06    .15954E-03
  14  Prefactor     .10000E-03    41.678       -.62985E-06** at limit **
  15  norm          60.785        99.461       -.18294E-07    .29680E-04
  16  Prefactor     15.145        33.386       -.20969E-06    .30287E-04
  17  norm          30.800        24.717       -.12579E-06   -.33492E-04
  18  norm          12.194        5.4484        .79643E-07    .18180E-03
  19  Prefactor     .10021E-03    21.477        .14684E-05** at limit **
  20  Prefactor     14.075        13.519        .85015E-07    .13925E-03
  21  Normalizat    .96168        .19011        .24832E-05    .63817E-03
  22  Prefactor     .92127        .11921       -.10478E-06    .61369E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.4839
  norm       = 1.40859
  norm       = 0.263364
  Prefactor  = 38.0283
  Prefactor  = 1.08689
  norm       = 3.2593
  norm       = 21.5788
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.058
  Prefactor  = 0.904705
  norm       = 0.0001
  Prefactor  = 6.69305
  Prefactor  = 0.0001
  norm       = 60.7851
  Prefactor  = 15.1449
  norm       = 30.7999
  norm       = 12.1944
  Prefactor  = 0.000100214
  Prefactor  = 14.0746
  Normalizat = 0.961681
  Prefactor  = 0.921272
 **********
 **   18 **HESSE 
 **********

 FCN=   7905.093     FROM HESSE     STATUS=OK           360 CALLS     2790 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.484        11.523        .12373E-03   -1.5060    
   2  norm          1.4086        1.8072        .12633E-03   -1.5471    
   3  norm          .26336        .98609        .13111E-02   -1.5605    
   4  Prefactor     38.028        61.791        .65065E-04   -1.4474    
   5  Prefactor     1.0869        74.383        .63540E-02   -1.5499    
   6  norm          3.2593        1.6265        .76509E-04   -1.5347    
   7  norm          21.579        3.2459        .59669E-04   -1.4779    
   8  Prefactor     .10000E-03    6.3953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.6578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.058        48.988        .12608E-03   -1.5074    
  11  Prefactor     .90471        2.5962        .22768E-03   -1.5518    
  12  norm          .10000E-03    12.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.6930        10.496        .15500E-03   -1.5190    
  14  Prefactor     .10000E-03    41.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          60.785        99.517        .51460E-04   -1.4147    
  16  Prefactor     15.145        33.368        .10287E-03   -1.4929    
  17  norm          30.800        24.674        .72206E-04   -1.4597    
  18  norm          12.194        5.4475        .11471E-03   -1.5009    
  19  Prefactor     .10021E-03    22.646        .12439       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.075        13.575        .10677E-03   -1.4957    
  21  Normalizat    .96168        .22361        .31558E-03   -.94325    
  22  Prefactor     .92127        .13826        .20555E-03   -.95402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39254e-08
Minuit parameter uncertainties:
  1  11.5254
  2  1.80726
  3  0.986152
  4  61.8954
  5  18.0054
  6  1.62654
  7  3.2459
  8  5.7551e-05
  9  1.96856e-05
  10  44.4532
  11  2.59649
  12  0.000111413
  13  10.4988
  14  0.00012831
  15  99.7912
  16  33.4086
  17  24.6826
  18  5.44775
  19  0.00440377
  20  13.5776
  21  0.223829
  22  0.138308
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  9.047e-01  2.596e+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:  9.213e-01  1.383e-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:  9.617e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/944519/likelihoodResults_441244801_441504001_4FGL_J0750.8+1229_daily_bin779.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) = 7905.08979547
delta logL = 0.00352771415874

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7905.08910797
delta logL = 0.00421521392673

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81248       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6626       1.0000          .0000       10.000    
     3 'Normalizat'    .95971       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92213       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=   7905.089     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      257 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81245        2.7824        .20822E-03   -.22713E-04
   2  Index         2.6626        1.7178        .79275E-02   -.47411E-05
   3  Normalizat    .95970        .20971        .31588E-03   -.69462E-04
   4  Prefactor     .92214        .13295        .20547E-03   -.77905E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.812453
  Index      = 2.66257
  Normalizat = 0.959703
  Prefactor  = 0.922136
 **********
 **   18 **HESSE 
 **********

 FCN=   7905.089     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81245        2.6174        .83289E-05   -1.5528    
   2  Index         2.6626        1.6204        .31710E-03   -.48644    
   3  Normalizat    .95970        .20997        .12635E-04   -.94393    
   4  Prefactor     .92214        .13305        .82188E-05   -.95372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04199e-11
Minuit parameter uncertainties:
  1  2.61779
  2  1.65907
  3  0.210148
  4  0.133101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/944519': 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) = 7905.08910797
delta logL = 0.0042152154374

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  8.125e-01  2.618e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.663e+00  1.659e+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:  9.221e-01  1.331e-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:  9.597e-01  2.101e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/944519/cmap_HighResolution_441244801_441504001_4FGL_J0750.8+1229_daily_bin779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', job_status='DONE', photon_flux_upper_limit='9.75e-08', time_completed='2021-08-28 16:24:19.007230', job_id='944519', GAL2='0.92', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1630193059.01', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='4.22e-03', ts2='0.15', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='779' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:24:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 944519: <4FGL_J0750.8+1229_daily_bin779> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin779> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 16:10:35 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:10:36 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:10:36 2021
Terminated at Sat Aug 28 16:24:20 2021
Results reported at Sat Aug 28 16:24:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin779 117.701 12.494 441244801 441504001 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 :                                   797.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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

