aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 55 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin1712
RA = 117.701, Dec = 12.494
tmin = 683078401, tmax = 683337601
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='59727', job_status='RUN', time_executed='2022-09-16 13:27:32.158608', time_epoch_executed='1663360052.16' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59727

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59727/ft1_4FGL_J0750.8+1229_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59727/ft2_4FGL_J0750.8+1229_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59727/ft1_4FGL_J0750.8+1229_daily_bin1712.fits outfile=/scratch/kocevski/59727/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin1712.fits ra=117.701 dec=12.494 rad=12.0 tmin=683078401.0 tmax=683337601.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.86
user 4.61
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/59727/ft2_4FGL_J0750.8+1229_daily_bin1712.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/59727/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/59727/ft1_filtered_4FGL_J0750.8+1229_daily_bin1712.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.54
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 729

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59727/ft1_filtered_4FGL_J0750.8+1229_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/59727/ft2_4FGL_J0750.8+1229_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/59727/ltcube_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.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/59727/ft2_4FGL_J0750.8+1229_daily_bin1712.fits
.....................!
real 16.83
user 16.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59727/ft1_filtered_4FGL_J0750.8+1229_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/59727/ft2_4FGL_J0750.8+1229_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/59727/ltcube_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.fits outfile=/scratch/kocevski/59727/expmap_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.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/59727/ltcube_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.fits
.....................!
real 193.51
user 187.84
sys 4.14

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_8years/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/59727/ft1_filtered_4FGL_J0750.8+1229_daily_bin1712.fits scfile=/scratch/kocevski/59727/ft2_4FGL_J0750.8+1229_daily_bin1712.fits outfile=/scratch/kocevski/59727/cmap_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/59727/ft1_filtered_4FGL_J0750.8+1229_daily_bin1712.fits scfile=/scratch/kocevski/59727/ft2_4FGL_J0750.8+1229_daily_bin1712.fits outfile=/scratch/kocevski/59727/cmap_HighResolution_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/59727/ft1_filtered_4FGL_J0750.8+1229_daily_bin1712.fits', '/scratch/kocevski/59727/ft2_4FGL_J0750.8+1229_daily_bin1712.fits', expMap='/scratch/kocevski/59727/expmap_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.fits', expCube='/scratch/kocevski/59727/ltcube_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/59727/Model_4FGL_J0750.8+1229_daily_bin1712.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  0.000e+00  1.000e+06 ( 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/59727/ft1_filtered_4FGL_J0750.8+1229_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/59727/ft2_4FGL_J0750.8+1229_daily_bin1712.fits
Exposure map: /scratch/kocevski/59727/expmap_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.fits
Exposure cube: /scratch/kocevski/59727/ltcube_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/59727/Model_4FGL_J0750.8+1229_daily_bin1712.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) = 8078.08572858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0966       1.0000          .0000       .10000E+07
     2 'norm      '    3.2688       1.0000          .0000       .10000E+07
     3 'norm      '    1.6351       1.0000          .0000       .10000E+07
     4 'Prefactor '    29.841       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45314E-01   1.0000          .0000       .10000E+07
     6 'norm      '    11.138       1.0000          .0000       .10000E+07
     7 'norm      '    7.1111       1.0000          .0000       .10000E+07
     8 'Prefactor '    18.377       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.684       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5757       1.0000          .0000       .10000E+07
    11 'norm      '    .31418E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10537E-01   1.0000          .0000       .10000E+07
    13 'norm      '    155.59       1.0000          .0000       .10000E+07
    14 'Prefactor '    .69649E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .34221E-03   1.0000          .0000       .10000E+07
    16 'norm      '    2.9523       1.0000          .0000       .10000E+07
    17 'Prefactor '    .73089E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .72688       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8078.083     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1398 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9656        11.467        .43496E-05    .66076E-02
   2  norm          3.2650        2.3047        .19568E-06    .45242E-02
   3  norm          1.6354        1.2951        .86230E-07    .77417E-02
   4  Prefactor     30.070        20.680        .22304E-06    .55200E-01
   5  Prefactor     .19429E-08    45.133       -.53636E-07** at limit **
   6  norm          11.144        2.7200       -.41285E-07   -.44828E-02
   7  norm          7.1097        2.2395        .26131E-07   -.29655E-02
   8  Prefactor     18.375        22.646        .51401E-05    .55338E-01
   9  Prefactor     23.150        52.077       -.34251E-05   -.18611E-01
  10  Prefactor     3.5719        3.8064        .34624E-06    .63723E-02
  11  norm          .33307E-09    11.851        .25628E-07** at limit **
  12  Prefactor     .18319E-08    15.526       -.30694E-06** at limit **
  13  norm          155.40        22.583       -.14300E-05    .27505    
  14  Prefactor      .0000        7.6601        .15649E-07** at limit **
  15  norm          .55511E-10    6.4254        .38436E-06** at limit **
  16  norm          2.9452        3.8720       -.11499E-06   -.15890E-02
  17  Prefactor     .55511E-10    59.980        .54078E-06** at limit **
  18  Normalizat    1.4057        .21921       -.60728E-06    .95737E-04
  19  Prefactor     .72693        .13082       -.10209E-04    .29369E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.96558
  norm       = 3.26503
  norm       = 1.63536
  Prefactor  = 30.0698
  Prefactor  = 1.94289e-09
  norm       = 11.1443
  norm       = 7.10967
  Prefactor  = 18.3747
  Prefactor  = 23.1502
  Prefactor  = 3.57189
  norm       = 3.33067e-10
  Prefactor  = 1.83187e-09
  norm       = 155.402
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 2.94515
  Prefactor  = 5.55112e-11
  Normalizat = 1.40573
  Prefactor  = 0.726925
 **********
 **   18 **HESSE 
 **********

 FCN=   8078.083     FROM HESSE     STATUS=OK           314 CALLS     1712 TOTAL
                     EDM=   .66E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9656        11.470        .57604E-03   -1.5674    
   2  norm          3.2650        2.3482        .55985E-03   -1.5672    
   3  norm          1.6354        1.3017        .82637E-03   -1.5682    
   4  Prefactor     30.070        52.611        .18309E-03   -1.5598    
   5  Prefactor     .19429E-08    44.143        .15732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.144        2.7361        .29994E-03   -1.5641    
   7  norm          7.1097        2.2417        .37594E-03   -1.5655    
   8  Prefactor     18.375        22.810        .23336E-03   -1.5622    
   9  Prefactor     23.150        57.980        .20553E-03   -1.5612    
  10  Prefactor     3.5719        3.8057        .53419E-03   -1.5670    
  11  norm          .33307E-09    11.817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .18319E-08    15.415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          155.40        111.11        .80175E-04   -1.5459    
  14  Prefactor      .0000        7.6579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    6.4247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9452        3.8795        .59079E-03   -1.5674    
  17  Prefactor     .55511E-10    10.975        .99648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.4057        .19511        .64079E-01   -.80463    
  19  Prefactor     .72693        .11518        .42758E-01   -1.0248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5636e-06
Minuit parameter uncertainties:
  1  11.4699
  2  2.34821
  3  1.30167
  4  52.6121
  5  0.000588816
  6  2.73611
  7  2.2417
  8  22.81
  9  57.9815
  10  3.80572
  11  0.000126308
  12  0.000337735
  13  111.112
  14  6.64267e-06
  15  4.50565e-05
  16  3.87953
  17  4.17287e-05
  18  0.195217
  19  0.115217
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  3.572e+00  3.806e+00  0.000e+00  1.000e+06 ( 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:  7.269e-01  1.152e-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.406e+00  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.15
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 4.82e-08 +/- 5.13e-08
Energy Flux (Fixed Index): 1.37e-05 +/- 1.46e-05

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

Saving results to:
/scratch/kocevski/59727/likelihoodResults_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.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) = 8077.82719485
delta logL = 0.255462150521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8077.82436937
delta logL = 0.258287632355

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9536       1.0000          .0000       .10000E+07
     2 'Index     '    3.2706       1.0000          .0000       10.000    
     3 'Normalizat'    1.3601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74494       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=   8077.824     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      247 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9543        31.314        .74207E-03    .84511E-02
   2  Index         3.2705        3.6319        .13066        .17784E-03
   3  Normalizat    1.3601        .61679E-01    .64953E-01    .95125E-06
   4  Prefactor     .74494        .35538E-01    .42996E-01    .13778E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.95429
  Index      = 3.27055
  Normalizat = 1.36014
  Prefactor  = 0.744939
 **********
 **   18 **HESSE 
 **********

 FCN=   8077.824     FROM HESSE     STATUS=OK            33 CALLS      280 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9543        18.514        .97891E-05   -1.5680    
   2  Index         3.2705        3.5818        .77319E-02   -.35319    
   3  Normalizat    1.3601        .24400        .28731E-03   -.81788    
   4  Prefactor     .74494        .14201        .22748E-03   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28096e-09
Minuit parameter uncertainties:
  1  12.0304
  2  4.07533
  3  0.244205
  4  0.142082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59727': 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) = 8077.82436931
delta logL = 0.258287695326

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.954e+00  1.203e+01  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.271e+00  4.075e+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:  7.449e-01  1.421e-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.360e+00  2.442e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.75
Ra Dec: 117.701 12.494
Photon Index (Free Index): 3.27 +/- 4.08
Photon Flux (Free Index): 8.68e-08 +/- 9.76e-08
Energy Flux (Free Index): 1.55e-05 +/- 1.70e-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/59727/cmap_HighResolution_683078401_683337601_4FGL_J0750.8+1229_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-02', comment='SUCCESS', photon_flux='4.82e-08', energy_flux2='1.55e-05', photon_flux_error='5.13e-08', dlogl='2.58e-01', energy_flux='1.37e-05', photon_flux2='8.68e-08', job_status='DONE', time_completed='2022-09-16 13:38:44.728468', photon_index_error2='4.08', photon_index2='3.27', ts='1.15', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='1.53e-07', energy_flux_error2='1.70e-05', EG='1.41', time_epoch_completed='1663360724.73', return_code='0', job_id='59727', GAL2='0.74', EG2='1.36', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='9.76e-08', ts2='1.75', photon_index='2.52' WHERE bin_id='1712' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:38:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 59727: <4FGL_J0750.8+1229_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin1712> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 13:25:15 2022
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:26:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:26:28 2022
Terminated at Fri Sep 16 13:38:45 2022
Results reported at Fri Sep 16 13:38:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin1712 117.701 12.494 683078401 683337601 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 :                                   671.49 sec.
    Max Memory :                                 1049 MB
    Average Memory :                             336.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            810 sec.

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

