/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 57 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 = 7533
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0750.8+1229_daily_bin954
RA = 117.701, Dec = 12.494
tmin = 486604801, tmax = 486864001
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='946088', job_status='RUN', time_executed='2021-08-28 16:17:24.333412', time_epoch_executed='1630192644.33' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='954'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/946088

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/946088/ft1_4FGL_J0750.8+1229_daily_bin954.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/946088/ft2_4FGL_J0750.8+1229_daily_bin954.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/946088/ft1_4FGL_J0750.8+1229_daily_bin954.fits outfile=/scratch/kocevski/946088/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin954.fits ra=117.701 dec=12.494 rad=12.0 tmin=486604801.0 tmax=486864001.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.94
user 3.38
sys 1.03

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/946088/ft1_filtered_4FGL_J0750.8+1229_daily_bin954.fits" evtable="EVENTS" scfile=/scratch/kocevski/946088/ft2_4FGL_J0750.8+1229_daily_bin954.fits sctable="SC_DATA" outfile=/scratch/kocevski/946088/ltcube_486604801_486864001_4FGL_J0750.8+1229_daily_bin954.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/946088/ft2_4FGL_J0750.8+1229_daily_bin954.fits
.....................!
real 15.10
user 12.43
sys 1.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/946088/ft1_filtered_4FGL_J0750.8+1229_daily_bin954.fits evtable="EVENTS" scfile=/scratch/kocevski/946088/ft2_4FGL_J0750.8+1229_daily_bin954.fits sctable="SC_DATA" expcube=/scratch/kocevski/946088/ltcube_486604801_486864001_4FGL_J0750.8+1229_daily_bin954.fits outfile=/scratch/kocevski/946088/expmap_486604801_486864001_4FGL_J0750.8+1229_daily_bin954.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/946088/ltcube_486604801_486864001_4FGL_J0750.8+1229_daily_bin954.fits
.....................!
real 198.26
user 185.94
sys 5.85

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/946088/ft1_filtered_4FGL_J0750.8+1229_daily_bin954.fits scfile=/scratch/kocevski/946088/ft2_4FGL_J0750.8+1229_daily_bin954.fits outfile=/scratch/kocevski/946088/cmap_486604801_486864001_4FGL_J0750.8+1229_daily_bin954.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.35
user 0.37
sys 0.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/946088/ft1_filtered_4FGL_J0750.8+1229_daily_bin954.fits scfile=/scratch/kocevski/946088/ft2_4FGL_J0750.8+1229_daily_bin954.fits outfile=/scratch/kocevski/946088/cmap_HighResolution_486604801_486864001_4FGL_J0750.8+1229_daily_bin954.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.37
user 0.41
sys 0.94

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .99084       1.0000         .10000E-03   10000.    
     3 'norm      '    2.2529       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .97077       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11370E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.3564       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.849       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.278       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1548       1.0000         .10000E-03   10000.    
    12 'norm      '    49.882       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7441       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    24.100       1.0000         .10000E-03   10000.    
    18 'norm      '    9.3103       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8356       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0847       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94800       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7387.666     FROM MIGRAD    STATUS=CONVERGED    857 CALLS     2449 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.1299        .14842E-02** at limit **
   2  norm          .99048        2.8388        .19624E-03   -.59375E-03
   3  norm          2.2529        1.2129        .66717E-04   -.12848E-03
   4  Prefactor     .79932        92.968        .20645        .85712E-04
   5  Prefactor     .10001E-03    142.03        .18142E-02** at limit **
   6  norm          .10000E-03    .78496        .11753E-02** at limit **
   7  norm          4.3572        2.2703        .44102E-03   -.80676E-03
   8  Prefactor     .10000E-03    4.7830        .18142E-02** at limit **
   9  Prefactor     11.856        19.768        .11638E-03    .65451E-05
  10  Prefactor     10.267        53.957        .12498E-03   -.70041E-05
  11  Prefactor     2.1548        3.5026        .18992E-03   -.12733E-03
  12  norm          49.880        24.413        .56780E-04   -.79008E-04
  13  Prefactor     1.7423        29.431        .31761E-03   -.37477E-04
  14  Prefactor     .10000E-03    64.929        .18142E-02** at limit **
  15  norm          .10000E-03    42.364        .18142E-02** at limit **
  16  Prefactor     .10000E-03    13.312        .18142E-02** at limit **
  17  norm          24.104        19.057        .81596E-04    .55732E-05
  18  norm          9.3111        5.2401        .13134E-03   -.18177E-04
  19  Prefactor     7.8386        16.344        .14325E-03   -.74602E-05
  20  Prefactor     .10000E-03    8.6109        .18142E-02** at limit **
  21  Normalizat    1.0847        .22448        .30051E-03   -.15375E-03
  22  Prefactor     .94804        .13778        .20175E-03   -.42937E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.990482
  norm       = 2.25287
  Prefactor  = 0.799323
  Prefactor  = 0.00010001
  norm       = 0.0001
  norm       = 4.35719
  Prefactor  = 0.0001
  Prefactor  = 11.8563
  Prefactor  = 10.2674
  Prefactor  = 2.15483
  norm       = 49.8797
  Prefactor  = 1.74235
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 24.1045
  norm       = 9.31111
  Prefactor  = 7.83861
  Prefactor  = 0.0001
  Normalizat = 1.08472
  Prefactor  = 0.948042
 **********
 **   18 **HESSE 
 **********

 FCN=   7387.666     FROM HESSE     STATUS=OK           330 CALLS     2779 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.1300        .29684E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .99048        2.8356        .78496E-05   -1.5509    
   3  norm          2.2529        1.2129        .26687E-05   -1.5408    
   4  Prefactor     .79932        93.605        .20523       -1.5529    
   5  Prefactor     .10001E-03    142.13        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .78598        .23506E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.3572        2.2701        .17641E-04   -1.5290    
   8  Prefactor     .10000E-03    4.7842        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.856        19.765        .46551E-05   -1.5019    
  10  Prefactor     10.267        53.859        .49993E-05   -1.5067    
  11  Prefactor     2.1548        3.5016        .75966E-05   -1.5414    
  12  norm          49.880        24.382        .11356E-04   -1.4294    
  13  Prefactor     1.7423        29.338        .12704E-04   -1.5444    
  14  Prefactor     .10000E-03    64.931        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    42.365        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.313        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          24.104        19.056        .32638E-05   -1.4726    
  18  norm          9.3111        5.2400        .52538E-05   -1.5098    
  19  Prefactor     7.8386        16.343        .57299E-05   -1.5148    
  20  Prefactor     .10000E-03    8.6131        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0847        .22458        .12020E-04   -.90244    
  22  Prefactor     .94804        .13786        .40350E-04   -.94482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3647e-09
Minuit parameter uncertainties:
  1  1.84624e-06
  2  2.83596
  3  1.21288
  4  17.3265
  5  0.00240142
  6  2.56316e-05
  7  2.27018
  8  4.65477e-06
  9  19.7764
  10  47.0977
  11  3.50191
  12  24.3873
  13  14.307
  14  0.000322678
  15  5.91235e-05
  16  4.22001e-06
  17  19.0604
  18  5.24026
  19  16.3527
  20  8.51202e-06
  21  0.224782
  22  0.137908
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  9.480e-01  1.379e-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.085e+00  2.248e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/946088/likelihoodResults_486604801_486864001_4FGL_J0750.8+1229_daily_bin954.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) = 7387.45158368
delta logL = 0.214260339871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7387.43861437
delta logL = 0.227229655267

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98615       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4300       1.0000          .0000       10.000    
     3 'Normalizat'    1.0497       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96247       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=   7387.439     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      291 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98271        18.715        .13117E-01    .15245E-02
   2  Index         3.4321        3.3941        .15177        .15904E-03
   3  Normalizat    1.0497        .43313E-01    .68896E-01    .13054E-03
   4  Prefactor     .96250        .27548E-01    .45796E-01   -.29398E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.982706
  Index      = 3.43207
  Normalizat = 1.04971
  Prefactor  = 0.962499
 **********
 **   18 **HESSE 
 **********

 FCN=   7387.439     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      322 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98271        57.749        .90144E-04   -1.5510    
   2  Index         3.4321        6.2195        .82949E-02   -.31897    
   3  Normalizat    1.0497        .21516        .30481E-03   -.91383    
   4  Prefactor     .96250        .13739        .20042E-03   -.93990    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.30178e-09
Minuit parameter uncertainties:
  1  15.0811
  2  8.98771
  3  0.215339
  4  0.137442
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/946088': 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): 102
logL (Free Index) = 7387.43861346
delta logL = 0.227230565645

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  9.625e-01  1.374e-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.050e+00  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
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/946088/cmap_HighResolution_486604801_486864001_4FGL_J0750.8+1229_daily_bin954.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-08-28 16:30:13.603393', job_id='946088', GAL2='0.96', fit_tolerance='1e-08', EG2='1.05', EG='1.08', time_epoch_completed='1630193413.6', return_code2='102', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.27e-01', ts2='0.97', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='954' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:30:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 946088: <4FGL_J0750.8+1229_daily_bin954> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin954> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Aug 28 16:15:46 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:15:47 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:15:47 2021
Terminated at Sat Aug 28 16:30:14 2021
Results reported at Sat Aug 28 16:30:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin954 117.701 12.494 486604801 486864001 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 :                                   751.52 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            868 sec.

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

