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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin311
RA = 117.701, Dec = 12.494
tmin = 319939201, tmax = 320198401
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='941402', job_status='RUN', time_executed='2021-08-28 16:04:41.675699', time_epoch_executed='1630191881.68' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941402

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941402/ft1_4FGL_J0750.8+1229_daily_bin311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941402/ft2_4FGL_J0750.8+1229_daily_bin311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941402/ft1_4FGL_J0750.8+1229_daily_bin311.fits outfile=/scratch/kocevski/941402/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin311.fits ra=117.701 dec=12.494 rad=12.0 tmin=319939201.0 tmax=320198401.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.92
user 3.27
sys 0.63

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941402/ft1_filtered_4FGL_J0750.8+1229_daily_bin311.fits" evtable="EVENTS" scfile=/scratch/kocevski/941402/ft2_4FGL_J0750.8+1229_daily_bin311.fits sctable="SC_DATA" outfile=/scratch/kocevski/941402/ltcube_319939201_320198401_4FGL_J0750.8+1229_daily_bin311.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/941402/ft2_4FGL_J0750.8+1229_daily_bin311.fits
.....................!
real 12.95
user 12.04
sys 0.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941402/ft1_filtered_4FGL_J0750.8+1229_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/941402/ft2_4FGL_J0750.8+1229_daily_bin311.fits sctable="SC_DATA" expcube=/scratch/kocevski/941402/ltcube_319939201_320198401_4FGL_J0750.8+1229_daily_bin311.fits outfile=/scratch/kocevski/941402/expmap_319939201_320198401_4FGL_J0750.8+1229_daily_bin311.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/941402/ltcube_319939201_320198401_4FGL_J0750.8+1229_daily_bin311.fits
.....................!
real 189.83
user 184.77
sys 4.59

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/941402/ft1_filtered_4FGL_J0750.8+1229_daily_bin311.fits scfile=/scratch/kocevski/941402/ft2_4FGL_J0750.8+1229_daily_bin311.fits outfile=/scratch/kocevski/941402/cmap_319939201_320198401_4FGL_J0750.8+1229_daily_bin311.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.96
user 0.37
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941402/ft1_filtered_4FGL_J0750.8+1229_daily_bin311.fits scfile=/scratch/kocevski/941402/ft2_4FGL_J0750.8+1229_daily_bin311.fits outfile=/scratch/kocevski/941402/cmap_HighResolution_319939201_320198401_4FGL_J0750.8+1229_daily_bin311.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.98
user 0.39
sys 0.58

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.080       1.0000         .10000E-03   10000.    
     2 'norm      '    .12462E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4830       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    68.275       1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.6733       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4427       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.3319       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .96788       1.0000         .10000E-03   10000.    
    12 'norm      '    10.678       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1959       1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.015       1.0000         .10000E-03   10000.    
    15 'norm      '    11.698       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10812E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18614E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1405       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88578       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=   6446.684     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2813 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.078        11.414        .59434E-07    .78004E-04
   2  norm          .10000E-03    .95542       -.31968E-06** at limit **
   3  norm          1.4828        1.1430        .17917E-07    .30292E-03
   4  Prefactor     .10001E-03    417.52        .11306E-04** at limit **
   5  Prefactor     68.265        44.255        .75567E-06    .32967E-04
   6  norm          .10000E-03    .82603        .78010E-06** at limit **
   7  norm          2.6733        1.9924        .29121E-08   -.22008E-06
   8  Prefactor     5.4422        8.5781       -.18020E-05    .21897E-03
   9  Prefactor     .10000E-03    7.7781        .24922E-07** at limit **
  10  Prefactor     3.3321        45.400        .65532E-06    .14151E-04
  11  Prefactor     .96845        3.1036       -.10150E-05   -.71642E-04
  12  norm          10.679        17.186        .12817E-06    .37959E-04
  13  Prefactor     4.1965        7.6655       -.16800E-06    .67633E-04
  14  Prefactor     62.012        93.789        .76370E-06    .32442E-04
  15  norm          11.704        60.466        .15665E-06   -.87390E-06
  16  Prefactor     .10000E-03    197.71       -.75894E-05** at limit **
  17  norm          .10000E-03    9.3072       -.18574E-06** at limit **
  18  norm          .10000E-03    4.5544       -.21632E-06** at limit **
  19  Prefactor     .10000E-03    19.206       -.11818E-06** at limit **
  20  Prefactor     .10001E-03    139.06       -.16369E-04** at limit **
  21  Normalizat    1.1404        .19683       -.12887E-05    .24594E-03
  22  Prefactor     .88589        .12248        .36751E-06   -.21341E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.0785
  norm       = 0.000100001
  norm       = 1.48278
  Prefactor  = 0.000100014
  Prefactor  = 68.2649
  norm       = 0.000100001
  norm       = 2.67334
  Prefactor  = 5.44217
  Prefactor  = 0.0001
  Prefactor  = 3.33211
  Prefactor  = 0.968451
  norm       = 10.6788
  Prefactor  = 4.19655
  Prefactor  = 62.0122
  norm       = 11.7041
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Normalizat = 1.14036
  Prefactor  = 0.885891
 **********
 **   18 **HESSE 
 **********

 FCN=   6446.684     FROM HESSE     STATUS=OK           348 CALLS     3161 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.078        11.421        .96913E-04   -1.4881    
   2  norm          .10000E-03    3.8963        .14705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4828        1.1346        .71903E-04   -1.5464    
   4  Prefactor     .10001E-03    431.46        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     68.265        43.843        .48577E-04   -1.4054    
   6  norm          .10000E-03    1.3625        .14045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.6733        1.9858        .93439E-04   -1.5381    
   8  Prefactor     5.4422        8.9482        .17224E-03   -1.5241    
   9  Prefactor     .10000E-03    7.7936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.3321        45.235        .22175E-03   -1.5343    
  11  Prefactor     .96845        3.1322        .23600E-03   -1.5511    
  12  norm          10.679        17.173        .12261E-03   -1.5054    
  13  Prefactor     4.1965        7.6432        .19674E-03   -1.5298    
  14  Prefactor     62.012        93.672        .50954E-04   -1.4131    
  15  norm          11.704        60.438        .11713E-03   -1.5024    
  16  Prefactor     .10000E-03    203.11        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    9.3171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.6729        .33440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    19.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    136.38        .56127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1404        .21544        .27535E-03   -.88466    
  22  Prefactor     .88589        .13824        .20093E-03   -.96636    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05168e-09
Minuit parameter uncertainties:
  1  11.422
  2  8.95273e-05
  3  1.13462
  4  0.00499299
  5  43.8639
  6  5.99526e-05
  7  1.98587
  8  8.95044
  9  6.72708e-06
  10  24.5767
  11  3.13272
  12  17.1808
  13  7.64493
  14  93.8956
  15  53.278
  16  0.00105242
  17  1.14813e-05
  18  1.29729e-05
  19  3.19389e-05
  20  0.00187838
  21  0.215603
  22  0.138292
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  9.685e-01  3.133e+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:  8.859e-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:  1.140e+00  2.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/941402/likelihoodResults_319939201_320198401_4FGL_J0750.8+1229_daily_bin311.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) = 6446.66123653
delta logL = 0.022401277527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6446.6525872
delta logL = 0.0310506055475

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58974       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0180       1.0000          .0000       10.000    
     3 'Normalizat'    1.1342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88872       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=   6446.653     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      215 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58899        37.580        .11632E-01    .14132E-02
   2  Index         3.0193        6.5041        .22066        .58329E-04
   3  Normalizat    1.1342        .33570E-01    .62398E-01    .90623E-05
   4  Prefactor     .88874        .22055E-01    .44861E-01   -.18746E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.588989
  Index      = 3.01928
  Normalizat = 1.13422
  Prefactor  = 0.888741
 **********
 **   18 **HESSE 
 **********

 FCN=   6446.653     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58899        187.76        .14935E-03   -1.5554    
   2  Index         3.0193        8.4319        .13357E-01   -.40731    
   3  Normalizat    1.1342        .21175        .27599E-03   -.88661    
   4  Prefactor     .88874        .14142        .20064E-03   -.96536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31135e-06
Minuit parameter uncertainties:
  1  21.0974
  2  18.7698
  3  0.21191
  4  0.141478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941402': 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) = 6446.65258699
delta logL = 0.0310508131397

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  5.890e-01  2.110e+01  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  3.019e+00  1.877e+01  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  8.887e-01  1.415e-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.134e+00  2.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/941402/cmap_HighResolution_319939201_320198401_4FGL_J0750.8+1229_daily_bin311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.70e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-08-28 16:16:36.319216', job_id='941402', GAL2='0.89', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1630192596.32', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.11e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='311' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:16:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 941402: <4FGL_J0750.8+1229_daily_bin311> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin311> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 16:00:51 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:00:52 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:00:52 2021
Terminated at Sat Aug 28 16:16:37 2021
Results reported at Sat Aug 28 16:16:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin311 117.701 12.494 319939201 320198401 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 :                                   716.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             261.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            946 sec.

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

