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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin205
RA = 117.701, Dec = 12.494
tmin = 292464001, tmax = 292723201
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='941250', job_status='RUN', time_executed='2021-08-28 16:03:30.778069', time_epoch_executed='1630191810.78' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='205'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941250

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941250/ft1_4FGL_J0750.8+1229_daily_bin205.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941250/ft2_4FGL_J0750.8+1229_daily_bin205.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941250/ft1_4FGL_J0750.8+1229_daily_bin205.fits outfile=/scratch/kocevski/941250/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin205.fits ra=117.701 dec=12.494 rad=12.0 tmin=292464001.0 tmax=292723201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.65
user 3.37
sys 1.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941250/ft1_filtered_4FGL_J0750.8+1229_daily_bin205.fits" evtable="EVENTS" scfile=/scratch/kocevski/941250/ft2_4FGL_J0750.8+1229_daily_bin205.fits sctable="SC_DATA" outfile=/scratch/kocevski/941250/ltcube_292464001_292723201_4FGL_J0750.8+1229_daily_bin205.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/941250/ft2_4FGL_J0750.8+1229_daily_bin205.fits
.....................!
real 13.30
user 11.81
sys 1.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941250/ft1_filtered_4FGL_J0750.8+1229_daily_bin205.fits evtable="EVENTS" scfile=/scratch/kocevski/941250/ft2_4FGL_J0750.8+1229_daily_bin205.fits sctable="SC_DATA" expcube=/scratch/kocevski/941250/ltcube_292464001_292723201_4FGL_J0750.8+1229_daily_bin205.fits outfile=/scratch/kocevski/941250/expmap_292464001_292723201_4FGL_J0750.8+1229_daily_bin205.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/941250/ltcube_292464001_292723201_4FGL_J0750.8+1229_daily_bin205.fits
.....................!
real 192.30
user 185.70
sys 6.17

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/941250/ft1_filtered_4FGL_J0750.8+1229_daily_bin205.fits scfile=/scratch/kocevski/941250/ft2_4FGL_J0750.8+1229_daily_bin205.fits outfile=/scratch/kocevski/941250/cmap_292464001_292723201_4FGL_J0750.8+1229_daily_bin205.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 1.49
user 0.38
sys 1.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941250/ft1_filtered_4FGL_J0750.8+1229_daily_bin205.fits scfile=/scratch/kocevski/941250/ft2_4FGL_J0750.8+1229_daily_bin205.fits outfile=/scratch/kocevski/941250/cmap_HighResolution_292464001_292723201_4FGL_J0750.8+1229_daily_bin205.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 1.51
user 0.39
sys 1.10

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.755       1.0000         .10000E-03   10000.    
     2 'norm      '    .22466E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.4986       1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.030       1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.664       1.0000         .10000E-03   10000.    
     6 'norm      '    4.5769       1.0000         .10000E-03   10000.    
     7 'norm      '    7.6503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9372       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    49.641       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0799       1.0000         .10000E-03   10000.    
    12 'norm      '    5.6075       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10111E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.557       1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.603       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2299       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87923       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=   7377.419     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2434 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.755        10.978       -.79446E-06   -.41540E-04
   2  norm          .10000E-03    .91602        .14770E-06** at limit **
   3  norm          3.4986        1.3200       -.74700E-07   -.25586E-04
   4  Prefactor     34.982        60.642       -.26247E-04   -.12472E-04
   5  Prefactor     47.567        41.607        .61185E-05   -.14066E-04
   6  norm          4.5741        2.5001        .22293E-06    .18849E-04
   7  norm          7.6510        2.7022       -.78984E-07   -.70313E-04
   8  Prefactor     2.9575        17.212        .57026E-07   -.15103E-03
   9  Prefactor     .10000E-03    6.3399        .45757E-07** at limit **
  10  Prefactor     49.602        49.324       -.14240E-04    .10463E-04
  11  Prefactor     7.0807        4.0093       -.12600E-06   -.22522E-03
  12  norm          5.6060        14.151        .12271E-06   -.47152E-04
  13  Prefactor     .10000E-03    6.9604       -.22075E-07** at limit **
  14  Prefactor     .10000E-03    52.390        .98102E-05** at limit **
  15  norm          .10000E-03    51.341       -.10791E-04** at limit **
  16  Prefactor     .10000E-03    14.280       -.28754E-07** at limit **
  17  norm          .10000E-03    8.2593        .23664E-06** at limit **
  18  norm          .10000E-03    4.7842       -.97973E-07** at limit **
  19  Prefactor     14.559        38.127       -.98056E-05    .42109E-05
  20  Prefactor     28.608        17.947       -.26973E-05    .21834E-04
  21  Normalizat    1.2296        .20982        .30396E-05   -.96280E-04
  22  Prefactor     .87935        .12647        .43687E-06    .65560E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7547
  norm       = 0.0001
  norm       = 3.49858
  Prefactor  = 34.9816
  Prefactor  = 47.5671
  norm       = 4.57412
  norm       = 7.65104
  Prefactor  = 2.95755
  Prefactor  = 0.0001
  Prefactor  = 49.6023
  Prefactor  = 7.08068
  norm       = 5.60597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.5589
  Prefactor  = 28.6082
  Normalizat = 1.22959
  Prefactor  = 0.879349
 **********
 **   18 **HESSE 
 **********

 FCN=   7377.419     FROM HESSE     STATUS=OK           348 CALLS     2782 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.755        10.998        .11684E-03   -1.5022    
   2  norm          .10000E-03    8.1212        .15472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.4986        1.3187        .58226E-04   -1.5334    
   4  Prefactor     34.982        60.425        .67709E-04   -1.4524    
   5  Prefactor     47.567        41.136        .58080E-04   -1.4327    
   6  norm          4.5741        2.4372        .73649E-04   -1.5280    
   7  norm          7.6510        2.7016        .80051E-04   -1.5155    
   8  Prefactor     2.9575        16.078        .23700E-03   -1.5364    
   9  Prefactor     .10000E-03    6.3515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     49.602        48.554        .56917E-04   -1.4298    
  11  Prefactor     7.0807        4.0298        .12136E-03   -1.5176    
  12  norm          5.6060        14.123        .16965E-03   -1.5234    
  13  Prefactor     .10000E-03    6.9739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    52.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    51.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.2669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.8764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.559        38.342        .10498E-03   -1.4945    
  20  Prefactor     28.608        17.998        .74911E-04   -1.4638    
  21  Normalizat    1.2296        .24453        .29841E-03   -.85693    
  22  Prefactor     .87935        .14636        .22135E-03   -.96866    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77384e-10
Minuit parameter uncertainties:
  1  10.9999
  2  0.000107385
  3  1.31876
  4  60.5307
  5  41.1601
  6  2.43726
  7  2.70165
  8  13.7971
  9  1.1887e-06
  10  48.593
  11  4.02998
  12  14.131
  13  4.14992e-06
  14  6.21233e-06
  15  1.08276e-05
  16  1.81385e-06
  17  1.61864e-05
  18  1.01354e-05
  19  38.407
  20  18.0014
  21  0.244759
  22  0.146421
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  7.081e+00  4.030e+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.793e-01  1.464e-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.230e+00  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.97
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 9.56e-08 +/- 5.43e-08
Energy Flux (Fixed Index): 2.72e-05 +/- 1.55e-05

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) = 7376.97091127
delta logL = 0.448273355571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7376.95651351
delta logL = 0.462671118262

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2035       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0461       1.0000          .0000       10.000    
     3 'Normalizat'    1.1881       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89716       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7376.957     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      286 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2045        4.9420        .41371E-03   -.31352E-03
   2  Index         3.0463        .74336        .47677E-02    .70670E-04
   3  Normalizat    1.1885        .22991        .30258E-03    .26789E-04
   4  Prefactor     .89696        .14379        .21943E-03   -.38443E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20452
  Index      = 3.04633
  Normalizat = 1.1885
  Prefactor  = 0.896955
 **********
 **   18 **HESSE 
 **********

 FCN=   7376.957     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2045        3.9909        .16548E-04   -1.5298    
   2  Index         3.0463        .60057        .19071E-03   -.40143    
   3  Normalizat    1.1885        .22997        .12103E-04   -.86959    
   4  Prefactor     .89696        .14371        .87772E-05   -.96248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5064e-10
Minuit parameter uncertainties:
  1  3.99114
  2  0.602284
  3  0.230168
  4  0.143771
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941250': 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) = 7376.95651094
delta logL = 0.46267368591

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  4.205e+00  3.991e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  3.046e+00  6.023e-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.970e-01  1.438e-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.189e+00  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.02
Ra Dec: 117.701 12.494
Photon Index (Free Index): 3.05 +/- 0.60
Photon Flux (Free Index): 1.29e-07 +/- 6.90e-08
Energy Flux (Free Index): 2.52e-05 +/- 1.30e-05

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/941250/cmap_HighResolution_292464001_292723201_4FGL_J0750.8+1229_daily_bin205.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.56e-08', energy_flux2='2.52e-05', photon_flux_error='5.43e-08', dlogl='4.63e-01', energy_flux='2.72e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2021-08-28 16:14:52.494010', photon_index_error2='0.60', photon_index2='3.05', ts='4.97', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='1.23', time_epoch_completed='1630192492.49', return_code='0', job_id='941250', GAL2='0.90', EG2='1.19', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='6.90e-08', ts2='6.02', photon_index='2.52' WHERE bin_id='205' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:14:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 941250: <4FGL_J0750.8+1229_daily_bin205> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin205 117.701 12.494 292464001 292723201 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 :                                   687.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            853 sec.

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

