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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin494
RA = 117.701, Dec = 12.494
tmin = 367372801, tmax = 367632001
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='942696', job_status='RUN', time_executed='2021-08-28 16:09:33.488634', time_epoch_executed='1630192173.49' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='494'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942696

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942696/ft1_4FGL_J0750.8+1229_daily_bin494.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942696/ft2_4FGL_J0750.8+1229_daily_bin494.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942696/ft1_4FGL_J0750.8+1229_daily_bin494.fits outfile=/scratch/kocevski/942696/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin494.fits ra=117.701 dec=12.494 rad=12.0 tmin=367372801.0 tmax=367632001.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 3.72
user 3.16
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942696/ft1_filtered_4FGL_J0750.8+1229_daily_bin494.fits" evtable="EVENTS" scfile=/scratch/kocevski/942696/ft2_4FGL_J0750.8+1229_daily_bin494.fits sctable="SC_DATA" outfile=/scratch/kocevski/942696/ltcube_367372801_367632001_4FGL_J0750.8+1229_daily_bin494.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/942696/ft2_4FGL_J0750.8+1229_daily_bin494.fits
.....................!
real 12.25
user 11.62
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942696/ft1_filtered_4FGL_J0750.8+1229_daily_bin494.fits evtable="EVENTS" scfile=/scratch/kocevski/942696/ft2_4FGL_J0750.8+1229_daily_bin494.fits sctable="SC_DATA" expcube=/scratch/kocevski/942696/ltcube_367372801_367632001_4FGL_J0750.8+1229_daily_bin494.fits outfile=/scratch/kocevski/942696/expmap_367372801_367632001_4FGL_J0750.8+1229_daily_bin494.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/942696/ltcube_367372801_367632001_4FGL_J0750.8+1229_daily_bin494.fits
.....................!
real 191.47
user 185.29
sys 5.69

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/942696/ft1_filtered_4FGL_J0750.8+1229_daily_bin494.fits scfile=/scratch/kocevski/942696/ft2_4FGL_J0750.8+1229_daily_bin494.fits outfile=/scratch/kocevski/942696/cmap_367372801_367632001_4FGL_J0750.8+1229_daily_bin494.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.82
user 0.38
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942696/ft1_filtered_4FGL_J0750.8+1229_daily_bin494.fits scfile=/scratch/kocevski/942696/ft2_4FGL_J0750.8+1229_daily_bin494.fits outfile=/scratch/kocevski/942696/cmap_HighResolution_367372801_367632001_4FGL_J0750.8+1229_daily_bin494.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.79
user 0.38
sys 0.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.296       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.0986       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11874E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .93267       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.809       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.070       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2435       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .39371E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.501       1.0000         .10000E-03   10000.    
    17 'norm      '    .11230E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.7067       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2512       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.779       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4176       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .68909       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=   8054.397     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2144 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.295        13.252       -.32894E-06   -.96771E-04
   2  norm          .10000E-03    .64941       -.13164E-06** at limit **
   3  norm          2.0987        1.3817       -.11868E-06   -.11608E-02
   4  Prefactor     .10000E-03    113.08        .97096E-04** at limit **
   5  Prefactor     .10000E-03    8.5587        .60572E-06** at limit **
   6  norm          .10000E-03    .88340        .11133E-05** at limit **
   7  norm          .93272        1.4891       -.62163E-06   -.19314E-02
   8  Prefactor     22.811        11.833       -.25428E-05   -.17771E-02
   9  Prefactor     30.070        20.044        .11863E-06   -.28387E-04
  10  Prefactor     .10000E-03    13.006       -.13062E-04** at limit **
  11  Prefactor     1.2428        2.7312       -.73822E-06   -.11105E-02
  12  norm          .10000E-03    12.742        .12155E-04** at limit **
  13  Prefactor     .10000E-03    4.6399       -.26748E-06** at limit **
  14  Prefactor     .10000E-03    164.96       -.13857E-03** at limit **
  15  norm          .10000E-03    134.14        .56343E-06** at limit **
  16  Prefactor     31.515        24.794       -.79626E-08    .11152E-03
  17  norm          .10000E-03    47.256       -.11297E-04** at limit **
  18  norm          1.7068        2.1881        .27144E-07    .17618E-04
  19  Prefactor     4.2502        78.721       -.17704E-05    .19217E-04
  20  Prefactor     10.781        13.100        .53419E-06    .19791E-05
  21  Normalizat    1.4175        .18802        .14548E-05   -.26995E-03
  22  Prefactor     .68912        .10734       -.31360E-06   -.24248E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.2949
  norm       = 0.0001
  norm       = 2.09866
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.932723
  Prefactor  = 22.8113
  Prefactor  = 30.0696
  Prefactor  = 0.0001
  Prefactor  = 1.24285
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 31.5148
  norm       = 0.0001
  norm       = 1.70678
  Prefactor  = 4.25024
  Prefactor  = 10.7807
  Normalizat = 1.41754
  Prefactor  = 0.689118
 **********
 **   18 **HESSE 
 **********

 FCN=   8054.397     FROM HESSE     STATUS=OK           344 CALLS     2488 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.295        13.244        .10593E-03   -1.4952    
   2  norm          .10000E-03    1.2000        .13977E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0987        1.3711        .80421E-04   -1.5418    
   4  Prefactor     .10000E-03    112.84        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.5660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.9462        .13752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .93272        1.4624        .13228E-03   -1.5515    
   8  Prefactor     22.811        10.152        .83870E-04   -1.4752    
   9  Prefactor     30.070        20.042        .73065E-04   -1.4611    
  10  Prefactor     .10000E-03    12.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2428        2.7079        .20639E-03   -1.5485    
  12  norm          .10000E-03    12.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    38.874        .37042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    163.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    135.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     31.515        24.787        .71390E-04   -1.4585    
  17  norm          .10000E-03    48.580        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.7068        2.1761        .14656E-03   -1.5447    
  19  Prefactor     4.2502        78.839        .19542E-03   -1.5296    
  20  Prefactor     10.781        13.129        .12203E-03   -1.5051    
  21  Normalizat    1.4175        .21815        .26373E-03   -.80123    
  22  Prefactor     .68912        .12339        .21998E-03   -1.0396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09269e-09
Minuit parameter uncertainties:
  1  13.2463
  2  5.42484e-06
  3  1.37113
  4  0.000458246
  5  2.17715e-06
  6  0.000146071
  7  1.46245
  8  10.1532
  9  20.0469
  10  3.04848e-05
  11  2.7082
  12  4.93763e-05
  13  8.88931e-05
  14  0.000607586
  15  4.22258e-05
  16  24.7956
  17  0.00024175
  18  2.17623
  19  36.6663
  20  13.1329
  21  0.218289
  22  0.123436
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.243e+00  2.708e+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:  6.891e-01  1.234e-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.418e+00  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/942696/likelihoodResults_367372801_367632001_4FGL_J0750.8+1229_daily_bin494.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) = 8054.38247527
delta logL = 0.0143829714762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8054.37935595
delta logL = 0.0175022944541

Fit tolerance = 1e-08

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

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

 FCN=   8054.379     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      226 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4431        46.269        .89942E-02    .94125E-03
   2  Index         2.1467        2.0516        .50000       -.80497E-06
   3  Normalizat    1.4248        .26263E-01    .59508E-01   -.70347E-05
   4  Prefactor     .68613        .15833E-01    .42215E-01    .13961E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44307
  Index      = 2.1467
  Normalizat = 1.42479
  Prefactor  = 0.686129
 **********
 **   18 **HESSE 
 **********

 FCN=   8054.379     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4431        3.0672        .22099E-03   -1.5468    
   2  Index         2.1467        1.7267        .84908E-02   -.60731    
   3  Normalizat    1.4248        .20327        .26316E-03   -.79914    
   4  Prefactor     .68613        .12133        .22039E-03   -1.0407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06434e-12
Minuit parameter uncertainties:
  1  3.06752
  2  1.78217
  3  0.203388
  4  0.121374
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942696': 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) = 8054.37935424
delta logL = 0.0175039995665

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.443e+00  3.068e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.147e+00  1.782e+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:  6.861e-01  1.214e-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.425e+00  2.034e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
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/942696/cmap_HighResolution_367372801_367632001_4FGL_J0750.8+1229_daily_bin494.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.92e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-08-28 16:21:57.200931', job_id='942696', GAL2='0.69', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1630192917.2', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='1.75e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='494' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:21:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 942696: <4FGL_J0750.8+1229_daily_bin494> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin494 117.701 12.494 367372801 367632001 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 :                                   739.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            986 sec.

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

