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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin1582
RA = 117.701, Dec = 12.494
tmin = 649382401, tmax = 649641601
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='948202', job_status='RUN', time_executed='2021-08-28 16:23:07.204688', time_epoch_executed='1630192987.2' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='1582'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/948202

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/948202/ft1_4FGL_J0750.8+1229_daily_bin1582.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/948202/ft2_4FGL_J0750.8+1229_daily_bin1582.fits


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

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

Done.
real 10.64
user 2.52
sys 7.97

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/948202/ft1_filtered_4FGL_J0750.8+1229_daily_bin1582.fits" evtable="EVENTS" scfile=/scratch/kocevski/948202/ft2_4FGL_J0750.8+1229_daily_bin1582.fits sctable="SC_DATA" outfile=/scratch/kocevski/948202/ltcube_649382401_649641601_4FGL_J0750.8+1229_daily_bin1582.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/948202/ft2_4FGL_J0750.8+1229_daily_bin1582.fits
.....................!
real 24.21
user 12.88
sys 9.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/948202/ft1_filtered_4FGL_J0750.8+1229_daily_bin1582.fits evtable="EVENTS" scfile=/scratch/kocevski/948202/ft2_4FGL_J0750.8+1229_daily_bin1582.fits sctable="SC_DATA" expcube=/scratch/kocevski/948202/ltcube_649382401_649641601_4FGL_J0750.8+1229_daily_bin1582.fits outfile=/scratch/kocevski/948202/expmap_649382401_649641601_4FGL_J0750.8+1229_daily_bin1582.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/948202/ltcube_649382401_649641601_4FGL_J0750.8+1229_daily_bin1582.fits
.....................!
real 203.51
user 187.47
sys 15.57

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/948202/ft1_filtered_4FGL_J0750.8+1229_daily_bin1582.fits scfile=/scratch/kocevski/948202/ft2_4FGL_J0750.8+1229_daily_bin1582.fits outfile=/scratch/kocevski/948202/cmap_649382401_649641601_4FGL_J0750.8+1229_daily_bin1582.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 8.24
user 0.38
sys 7.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/948202/ft1_filtered_4FGL_J0750.8+1229_daily_bin1582.fits scfile=/scratch/kocevski/948202/ft2_4FGL_J0750.8+1229_daily_bin1582.fits outfile=/scratch/kocevski/948202/cmap_HighResolution_649382401_649641601_4FGL_J0750.8+1229_daily_bin1582.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 8.30
user 0.39
sys 7.84

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.4827       1.0000         .10000E-03   10000.    
     3 'norm      '    6.0777       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    138.81       1.0000         .10000E-03   10000.    
     6 'norm      '    .10127E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.4363       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.284       1.0000         .10000E-03   10000.    
     9 'Prefactor '    448.95       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.542       1.0000         .10000E-03   10000.    
    12 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10239E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .18818E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    50.718       1.0000         .10000E-03   10000.    
    18 'norm      '    30.053       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .55877       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .64069       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=   1032.503     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2372 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    19.396       -.18586E-06** at limit **
   2  norm          6.4824        4.9503        .78109E-06    .22430E-03
   3  norm          6.0777        4.9644        .98268E-06    .66184E-04
   4  Prefactor     .10000E-03    151.65       -.50498E-04** at limit **
   5  Prefactor     138.81        113.76       -.17049E-05    .28858E-04
   6  norm          .10000E-03    6.7629        .36305E-06** at limit **
   7  norm          3.4360        5.0188        .84699E-06    .12616E-04
   8  Prefactor     19.265        50.340        .50736E-05    .70240E-05
   9  Prefactor     448.96        335.97        .56880E-05    .10466E-04
  10  Prefactor     .10000E-03    150.83       -.56047E-04** at limit **
  11  Prefactor     22.541        20.786        .35937E-06   -.17360E-05
  12  norm          .10000E-03    47.196       -.14408E-05** at limit **
  13  Prefactor     .10000E-03    36.108        .14881E-06** at limit **
  14  Prefactor     .10000E-03    487.67        .92919E-05** at limit **
  15  norm          .10000E-03    1395.0       -.99890E-03** at limit **
  16  Prefactor     .10031E-03    455.42        .54868E-04** at limit **
  17  norm          50.813        133.05        .10335E-03   -.90931E-04
  18  norm          30.053        25.039       -.82179E-05   -.14229E-03
  19  Prefactor     .10001E-03    189.76        .14299E-03** at limit **
  20  Prefactor     .10000E-03    73.414        .95038E-05** at limit **
  21  Normalizat    .55870        .63289       -.36638E-04   -.36571E-04
  22  Prefactor     .64073        .27170        .43869E-05   -.82653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.48237
  norm       = 6.07766
  Prefactor  = 0.0001
  Prefactor  = 138.807
  norm       = 0.0001
  norm       = 3.43601
  Prefactor  = 19.2648
  Prefactor  = 448.962
  Prefactor  = 0.0001
  Prefactor  = 22.5413
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100306
  norm       = 50.8133
  norm       = 30.0527
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  Normalizat = 0.558696
  Prefactor  = 0.640728
 **********
 **   18 **HESSE 
 **********

 FCN=   1032.503     FROM HESSE     STATUS=OK           332 CALLS     2704 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    19.410        .13827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4824        4.9692        .56512E-04   -1.5199    
   3  norm          6.0777        4.9575        .58560E-04   -1.5215    
   4  Prefactor     .10000E-03    151.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     138.81        113.33        .34189E-04   -1.3346    
   6  norm          .10000E-03    6.7801        .81226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.4360        5.0080        .79598E-04   -1.5337    
   8  Prefactor     19.265        50.094        .91207E-04   -1.4830    
   9  Prefactor     448.96        335.71        .96584E-04   -1.1438    
  10  Prefactor     .10000E-03    150.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.541        20.777        .84365E-04   -1.4758    
  12  norm          .10000E-03    47.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    36.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    487.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1400.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10031E-03    454.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          50.813        132.41        .56312E-04   -1.4281    
  18  norm          30.053        25.018        .73086E-04   -1.4611    
  19  Prefactor     .10001E-03    189.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    73.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .55870        .66165        .45201E-03   -1.0977    
  22  Prefactor     .64073        .29397        .19381E-03   -1.0590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01515e-09
Minuit parameter uncertainties:
  1  4.38039e-05
  2  4.96948
  3  4.95784
  4  9.68199e-05
  5  113.512
  6  5.00104e-06
  7  5.00857
  8  50.204
  9  337.201
  10  5.42478e-06
  11  20.7834
  12  0.000167225
  13  0.000136225
  14  2.40991e-06
  15  5.4773e-05
  16  0.0237909
  17  133.191
  18  25.0269
  19  0.00332845
  20  0.000126558
  21  0.671342
  22  0.294679
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.254e+01  2.078e+01  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.407e-01  2.947e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  5.587e-01  6.713e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.21
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 3.04e-07 +/- 2.80e-07
Energy Flux (Fixed Index): 8.67e-05 +/- 7.99e-05

TS (Fixed Index): 3.21
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 1.07e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.34e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/948202/likelihoodResults_649382401_649641601_4FGL_J0750.8+1229_daily_bin1582.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) = 1032.45916562
delta logL = 0.0433562776568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1032.45693052
delta logL = 0.04559137516

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.660       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7957       1.0000          .0000       10.000    
     3 'Normalizat'    .53706       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64605       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=   1032.457     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      249 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.622        683.05        .23179E-02   -.10475E-04
   2  Index         2.7934        5.4256        .10759        .13310E-04
   3  Normalizat    .53869        .40547        .10356        .50091E-05
   4  Prefactor     .64548        .16786        .41679E-01   -.62715E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.6219
  Index      = 2.79336
  Normalizat = 0.538685
  Prefactor  = 0.645478
 **********
 **   18 **HESSE 
 **********

 FCN=   1032.457     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.622        22.675        .92718E-04   -1.4845    
   2  Index         2.7934        .94805        .44935E-02   -.45708    
   3  Normalizat    .53869        .60561        .45919E-03   -1.1065    
   4  Prefactor     .64548        .27965        .19308E-03   -1.0570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91482e-10
Minuit parameter uncertainties:
  1  22.6859
  2  0.955251
  3  0.613261
  4  0.280259
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/948202': 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) = 1032.45691568
delta logL = 0.0456062133567

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.862e+01  2.269e+01  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.793e+00  9.553e-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:  6.455e-01  2.803e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  5.387e-01  6.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.29
Ra Dec: 117.701 12.494
Photon Index (Free Index): 2.79 +/- 0.96
Photon Flux (Free Index): 3.82e-07 +/- 4.21e-07
Energy Flux (Free Index): 8.58e-05 +/- 7.64e-05

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/948202/cmap_HighResolution_649382401_649641601_4FGL_J0750.8+1229_daily_bin1582.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.34e-02', comment='SUCCESS', photon_flux='3.04e-07', energy_flux2='8.58e-05', photon_flux_error='2.80e-07', dlogl='4.56e-02', energy_flux='8.67e-05', photon_flux2='3.82e-07', job_status='DONE', time_completed='2021-08-28 16:31:36.987529', photon_index_error2='0.96', photon_index2='2.79', ts='3.21', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', photon_flux_upper_limit='1.07e-06', energy_flux_error2='7.64e-05', EG='0.56', time_epoch_completed='1630193496.99', return_code='0', job_id='948202', GAL2='0.65', EG2='0.54', return_code2='0', energy_flux_error='7.99e-05', photon_flux_error2='4.21e-07', ts2='3.29', photon_index='2.52' WHERE bin_id='1582' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:31:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0134>
Subject: Job 948202: <4FGL_J0750.8+1229_daily_bin1582> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin1582 117.701 12.494 649382401 649641601 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 :                                   612.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            657 sec.

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

