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


Performing analysis on: 4FGL_J0750.8+1229_weekly_bin759
RA = 117.701, Dec = 12.494
tmin = 698025601, tmax = 698630401
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='579604', job_status='RUN', time_executed='2023-02-21 02:57:39.595406', time_epoch_executed='1676977059.6' WHERE source_name='4FGL J0750.8+1229' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/579604

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/579604/ft1_4FGL_J0750.8+1229_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/579604/ft2_4FGL_J0750.8+1229_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/579604/ft1_4FGL_J0750.8+1229_weekly_bin759.fits outfile=/scratch/kocevski/579604/ft1_filteredMKT_4FGL_J0750.8+1229_weekly_bin759.fits ra=117.701 dec=12.494 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.50
user 8.19
sys 0.27

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

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

Number of photons that the gtmktime cut: 939

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/579604/ft1_filtered_4FGL_J0750.8+1229_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/579604/ft2_4FGL_J0750.8+1229_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/579604/ltcube_698025601_698630401_4FGL_J0750.8+1229_weekly_bin759.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/579604/ft2_4FGL_J0750.8+1229_weekly_bin759.fits
.....................!
real 27.37
user 26.96
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/579604/ft1_filtered_4FGL_J0750.8+1229_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/579604/ft2_4FGL_J0750.8+1229_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/579604/ltcube_698025601_698630401_4FGL_J0750.8+1229_weekly_bin759.fits outfile=/scratch/kocevski/579604/expmap_698025601_698630401_4FGL_J0750.8+1229_weekly_bin759.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/579604/ltcube_698025601_698630401_4FGL_J0750.8+1229_weekly_bin759.fits
.....................!
real 190.30
user 185.33
sys 4.34

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/579604/ft1_filtered_4FGL_J0750.8+1229_weekly_bin759.fits scfile=/scratch/kocevski/579604/ft2_4FGL_J0750.8+1229_weekly_bin759.fits outfile=/scratch/kocevski/579604/cmap_698025601_698630401_4FGL_J0750.8+1229_weekly_bin759.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.56
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/579604/ft1_filtered_4FGL_J0750.8+1229_weekly_bin759.fits scfile=/scratch/kocevski/579604/ft2_4FGL_J0750.8+1229_weekly_bin759.fits outfile=/scratch/kocevski/579604/cmap_HighResolution_698025601_698630401_4FGL_J0750.8+1229_weekly_bin759.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.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.070       1.0000          .0000       .10000E+07
     2 'norm      '    5.3538       1.0000          .0000       .10000E+07
     3 'norm      '    .90267       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.9788       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21000E-03   1.0000          .0000       .10000E+07
     6 'norm      '    10.360       1.0000          .0000       .10000E+07
     7 'norm      '    8.2605       1.0000          .0000       .10000E+07
     8 'Prefactor '    30.775       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.9039       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.1266       1.0000          .0000       .10000E+07
    11 'norm      '    6.3800       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24864E-03   1.0000          .0000       .10000E+07
    13 'norm      '    175.03       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.2530       1.0000          .0000       .10000E+07
    15 'norm      '    27.776       1.0000          .0000       .10000E+07
    16 'norm      '    11.460       1.0000          .0000       .10000E+07
    17 'Prefactor '    .15510E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .84524       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .91745       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=   10737.56     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1412 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.248        13.028        .71811E-07    .13811E-02
   2  norm          5.3629        1.9408        .25729E-07   -.36800E-03
   3  norm          .90317        .87180        .15431E-08    .50834E-02
   4  Prefactor     1.3544        139.38       -.89986E-05   -.14768E-02
   5  Prefactor     .55511E-10    12.486        .42847E-06** at limit **
   6  norm          10.346        2.2551        .36078E-07    .25256E-03
   7  norm          8.2756        2.1150       -.44198E-08    .43925E-02
   8  Prefactor     30.951        19.492       -.51644E-05    .72483E-02
   9  Prefactor     7.6530        46.022       -.21143E-05   -.19376E-02
  10  Prefactor     7.1291        4.0203        .31206E-07    .71236E-02
  11  norm          6.6621        15.043        .83458E-06    .35809E-02
  12  Prefactor     .16653E-09    9.7562        .46320E-07** at limit **
  13  norm          176.96        104.07        .15992E-05    .15266E-02
  14  Prefactor     4.5859        11.713        .42482E-05    .43471E-02
  15  norm          28.360        15.510        .26710E-05   -.14328E-02
  16  norm          11.434        5.2712       -.23936E-06    .29708E-02
  17  Prefactor      .0000        4.5165       -.64145E-08** at limit **
  18  Normalizat    .84162        .20814       -.29075E-06    .10228E-03
  19  Prefactor     .91807        .11823        .96134E-06    .50728E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 39.2482
  norm       = 5.36295
  norm       = 0.903169
  Prefactor  = 1.35444
  Prefactor  = 5.55112e-11
  norm       = 10.3463
  norm       = 8.27563
  Prefactor  = 30.9505
  Prefactor  = 7.65303
  Prefactor  = 7.12909
  norm       = 6.66211
  Prefactor  = 1.66533e-10
  norm       = 176.964
  Prefactor  = 4.58591
  norm       = 28.3596
  norm       = 11.4339
  Prefactor  = 0
  Normalizat = 0.841618
  Prefactor  = 0.918073
 **********
 **   18 **HESSE 
 **********

 FCN=   10737.56     FROM HESSE     STATUS=OK           316 CALLS     1728 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.248        13.018        .16000E-03   -1.5583    
   2  norm          5.3629        1.9336        .43410E-03   -1.5662    
   3  norm          .90317        .87535        .45576E-03   -1.5689    
   4  Prefactor     1.3544        141.05        .73658E-03   -1.5685    
   5  Prefactor     .55511E-10    12.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.346        2.2566        .31105E-03   -1.5644    
   7  norm          8.2756        2.1163        .34858E-03   -1.5650    
   8  Prefactor     30.951        19.499        .18029E-03   -1.5597    
   9  Prefactor     7.6530        46.489        .41305E-03   -1.5653    
  10  Prefactor     7.1291        3.9992        .37552E-03   -1.5655    
  11  norm          6.6621        15.067        .39713E-03   -1.5656    
  12  Prefactor     .16653E-09    9.7427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          176.96        104.13        .75593E-04   -1.5442    
  14  Prefactor     4.5859        58.337        .48834E-03   -1.5665    
  15  norm          28.360        26.764        .18978E-03   -1.5601    
  16  norm          11.434        5.2773        .29569E-03   -1.5640    
  17  Prefactor      .0000        4.5139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .84162        .18138        .82167E-01   -.98543    
  19  Prefactor     .91807        .10212        .45227E-01   -.95512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.80349e-09
Minuit parameter uncertainties:
  1  13.0177
  2  1.9336
  3  0.875353
  4  27.6446
  5  5.29097e-05
  6  2.25662
  7  2.11631
  8  19.499
  9  37.7246
  10  3.99922
  11  15.0671
  12  8.65948e-05
  13  104.129
  14  32.713
  15  26.7637
  16  5.27729
  17  2.81154e-06
  18  0.181514
  19  0.102143
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  7.129e+00  3.999e+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:  9.181e-01  1.021e-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.416e-01  1.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.56
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 9.62e-08 +/- 5.39e-08
Energy Flux (Fixed Index): 2.74e-05 +/- 1.54e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10737.1759077
delta logL = 0.3814368325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10737.124225
delta logL = 0.433119569059

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9691       1.0000          .0000       .10000E+07
     2 'Index     '    3.0652       1.0000          .0000       10.000    
     3 'Normalizat'    .80550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93486       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=   10737.12     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      292 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9671        28.013        .50604E-03    .66159E-02
   2  Index         3.0657        2.5451        .14797        .20927E-03
   3  Normalizat    .80557        .59781E-01    .83801E-01    .38844E-04
   4  Prefactor     .93483        .34970E-01    .45448E-01    .69321E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.96711
  Index      = 3.06567
  Normalizat = 0.805572
  Prefactor  = 0.934834
 **********
 **   18 **HESSE 
 **********

 FCN=   10737.12     FROM HESSE     STATUS=OK            33 CALLS      325 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9671        6.0116        .97505E-05   -1.5668    
   2  Index         3.0657        .93106        .53852E-02   -.39723    
   3  Normalizat    .80557        .20204        .37109E-03   -.99862    
   4  Prefactor     .93483        .11530        .20179E-03   -.94934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68087e-11
Minuit parameter uncertainties:
  1  6.01158
  2  0.937506
  3  0.202231
  4  0.115329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/579604': 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) = 10737.1242245
delta logL = 0.433120037907

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  3.967e+00  6.012e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.066e+00  9.375e-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:  9.348e-01  1.153e-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.056e-01  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.57
Ra Dec: 117.701 12.494
Photon Index (Free Index): 3.07 +/- 0.94
Photon Flux (Free Index): 1.26e-07 +/- 6.59e-08
Energy Flux (Free Index): 2.43e-05 +/- 1.47e-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/579604/cmap_HighResolution_698025601_698630401_4FGL_J0750.8+1229_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.62e-08', energy_flux2='2.43e-05', photon_flux_error='5.39e-08', dlogl='4.33e-01', energy_flux='2.74e-05', photon_flux2='1.26e-07', job_status='DONE', time_completed='2023-02-21 03:09:53.255207', photon_index_error2='0.94', photon_index2='3.07', ts='4.56', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.47e-05', EG='0.84', time_epoch_completed='1676977793.26', return_code='0', job_id='579604', GAL2='0.93', EG2='0.81', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='6.59e-08', ts2='5.57', photon_index='2.52' WHERE bin_id='759' AND source_name='4FGL J0750.8+1229' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:09:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 579604: <4FGL_J0750.8+1229_weekly_bin759> in cluster <slac> Done

Job <4FGL_J0750.8+1229_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 02:55:22 2023
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:55:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:55:23 2023
Terminated at Tue Feb 21 03:09:54 2023
Results reported at Tue Feb 21 03:09:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_weekly_bin759 117.701 12.494 698025601 698630401 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 :                                   733.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            872 sec.

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

