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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin1748
RA = 117.701, Dec = 12.494
tmin = 692409601, tmax = 692668801
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 souDone.


Performing analysis on: 4FGL_J0750.8+1229_daily_bin1748
RA = 117.701, Dec = 12.494
tmin = 692409601, tmax = 692668801
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='876432', job_status='RUN', time_executed='2022-12-14 00:08:07.553688', time_epoch_executed='1671005287.55' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/876432

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/876432/ft1_4FGL_J0750.8+1229_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/876432/ft2_4FGL_J0750.8+1229_daily_bin1748.fits


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

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

Done.
real 3.70
user 3.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/876432/ft2_4FGL_J0750.8+1229_daily_bin1748.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/876432/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/876432/ft1_filtered_4FGL_J0750.8+1229_daily_bin1748.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.52
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 667

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/876432/ft1_filtered_4FGL_J0750.8+1229_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/876432/ft2_4FGL_J0750.8+1229_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/876432/ltcube_692409601_692668801_4FGL_J0750.8+1229_daily_bin1748.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/876432/ft2_4FGL_J0750.8+1229_daily_bin1748.fits
.....................!
real 16.70
user 16.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/876432/ft1_filtered_4FGL_J0750.8+1229_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/876432/ft2_4FGL_J0750.8+1229_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/876432/ltcube_692409601_692668801_4FGL_J0750.8+1229_daily_bin1748.fits outfile=/scratch/kocevski/876432/expmap_692409601_692668801_4FGL_J0750.8+1229_daily_bin1748.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/876432/ltcube_692409601_692668801_4FGL_J0750.8+1229_daily_bin1748.fits
.....................!
real 192.77
user 187.45
sys 4.95

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/876432/ft1_filtered_4FGL_J0750.8+1229_daily_bin1748.fits scfile=/scratch/kocevski/876432/ft2_4FGL_J0750.8+1229_daily_bin1748.fits outfile=/scratch/kocevski/876432/cmap_692409601_692668801_4FGL_J0750.8+1229_daily_bin1748.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/876432/ft1_filtered_4FGL_J0750.8+1229_daily_bin1748.fits scfile=/scratch/kocevski/876432/ft2_4FGL_J0750.8+1229_daily_bin1748.fits outfile=/scratch/kocevski/876432/cmap_HighResolution_692409601_692668801_4FGL_J0750.8+1229_daily_bin1748.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.317       1.0000          .0000       .10000E+07
     2 'norm      '    .44558       1.0000          .0000       .10000E+07
     3 'norm      '    .42188E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.847       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.4677       1.0000          .0000       .10000E+07
     6 'norm      '    6.2111       1.0000          .0000       .10000E+07
     7 'norm      '    6.4536       1.0000          .0000       .10000E+07
     8 'Prefactor '    26.996       1.0000          .0000       .10000E+07
     9 'Prefactor '    41.231       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14805E-06   1.0000          .0000       .10000E+07
    11 'norm      '    11.866       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1440       1.0000          .0000       .10000E+07
    13 'norm      '    .23722       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.154       1.0000          .0000       .10000E+07
    15 'norm      '    10.925       1.0000          .0000       .10000E+07
    16 'norm      '    2.4837       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2691       1.0000          .0000       .10000E+07
    18 'Normalizat'    .85170       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .95350       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=   7489.503     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1447 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.343        1.8801       -.15737E-07    .20193E-02
   2  norm          .44488        1.1079        .15659E-05   -.12351E-02
   3  norm           .0000        3.4849        .67763E-06** at limit **
   4  Prefactor     27.628        26.191       -.97889E-05    .14234    
   5  Prefactor     8.9465        17.806       -.50436E-05   -.37754E-01
   6  norm          6.2081        2.1584       -.89867E-06   -.65133E-02
   7  norm          6.4497        2.2496       -.16808E-06   -.24977E-02
   8  Prefactor     27.093        3.0831       -.76894E-06    .35502E-02
   9  Prefactor     41.875        41.793        .11097E-04    .10763    
  10  Prefactor      .0000        1.9717        .17593E-05** at limit **
  11  norm          11.220        19.950        .67951E-06   -.28978E-02
  12  Prefactor     1.6049        27.643        .12522E-05    .41019E-03
  13  norm           .0000        75.814        .48127E-05** at limit **
  14  Prefactor     16.896        28.810       -.53274E-05    .37144E-02
  15  norm          10.624        15.280       -.16827E-05   -.70933E-02
  16  norm          2.4804        3.7428        .13137E-05   -.39445E-04
  17  Prefactor     4.3799        11.180        .64450E-05    .31538E-02
  18  Normalizat    .84889        .21256        .32203E-06   -.17803E-03
  19  Prefactor     .95438        .12913       -.38814E-05   -.31892E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 28.3428
  norm       = 0.444879
  norm       = 0
  Prefactor  = 27.6281
  Prefactor  = 8.94652
  norm       = 6.20805
  norm       = 6.44975
  Prefactor  = 27.0932
  Prefactor  = 41.8755
  Prefactor  = 0
  norm       = 11.2197
  Prefactor  = 1.60495
  norm       = 0
  Prefactor  = 16.896
  norm       = 10.6239
  norm       = 2.48041
  Prefactor  = 4.37986
  Normalizat = 0.848887
  Prefactor  = 0.954376
 **********
 **   18 **HESSE 
 **********

 FCN=   7489.503     FROM HESSE     STATUS=OK           322 CALLS     1769 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.343        16.944        .18795E-03   -1.5601    
   2  norm          .44488        1.2260        .32111E-02   -1.5695    
   3  norm           .0000        .73710        .23811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.628        79.865        .18953E-03   -1.5603    
   5  Prefactor     8.9465        33.618        .34425E-03   -1.5648    
   6  norm          6.2081        2.1610        .40257E-03   -1.5658    
   7  norm          6.4497        2.2830        .39484E-03   -1.5657    
   8  Prefactor     27.093        23.520        .19250E-03   -1.5604    
   9  Prefactor     41.875        44.536        .15575E-03   -1.5579    
  10  Prefactor      .0000        1.9567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.220        21.996        .29056E-03   -1.5641    
  12  Prefactor     1.6049        33.311        .10847E-02   -1.5683    
  13  norm           .0000        75.793        .11148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.896        33.798        .24893E-03   -1.5626    
  15  norm          10.624        15.919        .30286E-03   -1.5643    
  16  norm          2.4804        3.7826        .64839E-03   -1.5676    
  17  Prefactor     4.3799        11.171        .48739E-03   -1.5666    
  18  Normalizat    .84889        .18656        .71201E-01   -.98280    
  19  Prefactor     .95438        .11365        .45683E-01   -.94266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67798e-06
Minuit parameter uDone.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  1.144e-05  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.0Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  1.144e-05  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:  9.544e-01  1.137e-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:  8.489e-01  1.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 7.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/876432/likelihoodResults_692409601_692668801_4FGL_J0750.8+1229_daily_bin1748.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) = 7489.51672144
delta logL = -0.0134706196013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7489.50325093
delta logL = -1.12595444079e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21033E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.7924       1.0000          .0000       10.000    
     3 'Normalizat'    .84894       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95433       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=   7489.503     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      266 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    1.2769        .42118E-03** at limit **
   2  Index         1.3608        7.1764        .50000       -.34333E-08
   3  Normalizat    .84889        .55038E-02    .71200E-01   -.77388E-03
   4  Prefactor     .95437        .35877E-02    .45694E-01   -.16070E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Index      = 1.36083
  Normalizat = 0.848888
  Prefactor  = 0.954373
 **********
 **   18 **HESSE 
 **********

 FCN=   7489.503     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      295 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    5.7882        .80206E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3608        6.7944        .50000       -.81516    
   3  Normalizat    .84889        .11745E-01    .31506E-03   -.98280    
   4  Prefactor     .95437        .76675E-02    .19367E-03   -.94266    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.37456e-08
Minuit parameter uncertainties:
  1  0.00015317
  2  32194
  3  0.0117452
  4  0.00766748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/876432': 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) = 7489.50325082
delta logL = -1.21053744806e-09

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  9.992e-10  1.532e-04  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  1.361e+00  3.219e+04  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.544e-01  7.667e-03  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:  8.489e-01  1.175e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/876432/cmap_HighResolution_692409601_692668801_4FGL_J0750.8+1229_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-03', job_status='DONE', photon_flux_upper_limit='7.33e-08', time_completed='2022-12-14 00:18:29.291670', job_id='876432', GAL2='0.95', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1671005909.29', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-1.21e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1748' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:18:29 PST 2022

r <slac> at Wed Dec 14 00:05:49 2022
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:06:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:06:10 2022
Terminated at Wed Dec 14 00:18:09 2022
Results reported at Wed Dec 14 00:18:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin1748 117.701 12.494 692409601 692668801 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 :                                   608.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            740 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 876432: <4FGL_J0750.8+1229_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:05:49 2022
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:06:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:06:10 2022
Terminated at Wed Dec 14 00:18:29 2022
Results reported at Wed Dec 14 00:18:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin1748 117.701 12.494 692409601 692668801 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 :                                   615.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            760 sec.

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

