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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin546
RA = 117.701, Dec = 12.494
tmin = 380851201, tmax = 381110401
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='942777', job_status='RUN', time_executed='2021-08-28 16:09:49.079234', time_epoch_executed='1630192189.08' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='546'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942777

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942777/ft1_4FGL_J0750.8+1229_daily_bin546.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942777/ft2_4FGL_J0750.8+1229_daily_bin546.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942777/ft1_4FGL_J0750.8+1229_daily_bin546.fits outfile=/scratch/kocevski/942777/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin546.fits ra=117.701 dec=12.494 rad=12.0 tmin=380851201.0 tmax=381110401.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 9.75
user 3.24
sys 6.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942777/ft1_filtered_4FGL_J0750.8+1229_daily_bin546.fits" evtable="EVENTS" scfile=/scratch/kocevski/942777/ft2_4FGL_J0750.8+1229_daily_bin546.fits sctable="SC_DATA" outfile=/scratch/kocevski/942777/ltcube_380851201_381110401_4FGL_J0750.8+1229_daily_bin546.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/942777/ft2_4FGL_J0750.8+1229_daily_bin546.fits
.....................!
real 19.28
user 11.92
sys 7.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942777/ft1_filtered_4FGL_J0750.8+1229_daily_bin546.fits evtable="EVENTS" scfile=/scratch/kocevski/942777/ft2_4FGL_J0750.8+1229_daily_bin546.fits sctable="SC_DATA" expcube=/scratch/kocevski/942777/ltcube_380851201_381110401_4FGL_J0750.8+1229_daily_bin546.fits outfile=/scratch/kocevski/942777/expmap_380851201_381110401_4FGL_J0750.8+1229_daily_bin546.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/942777/ltcube_380851201_381110401_4FGL_J0750.8+1229_daily_bin546.fits
.....................!
real 199.50
user 185.98
sys 12.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/942777/ft1_filtered_4FGL_J0750.8+1229_daily_bin546.fits scfile=/scratch/kocevski/942777/ft2_4FGL_J0750.8+1229_daily_bin546.fits outfile=/scratch/kocevski/942777/cmap_380851201_381110401_4FGL_J0750.8+1229_daily_bin546.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 6.65
user 0.39
sys 6.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942777/ft1_filtered_4FGL_J0750.8+1229_daily_bin546.fits scfile=/scratch/kocevski/942777/ft2_4FGL_J0750.8+1229_daily_bin546.fits outfile=/scratch/kocevski/942777/cmap_HighResolution_380851201_381110401_4FGL_J0750.8+1229_daily_bin546.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 9.15
user 0.37
sys 6.21

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .28814E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.1358       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.5079       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4558       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.247       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.596       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6376       1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2293       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.6916       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3374       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88352       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7409.089     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2352 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.2861        .10084E-06** at limit **
   2  norm          .10003E-03    .77390       -.37087E-06** at limit **
   3  norm          1.1361        1.0916       -.39976E-06   -.76717E-03
   4  Prefactor     .10000E-03    35.782        .41734E-04** at limit **
   5  Prefactor     .10000E-03    16.057        .99153E-05** at limit **
   6  norm          1.5021        3.0328       -.52721E-05    .58193E-03
   7  norm          1.4558        1.2772       -.25559E-06   -.26970E-03
   8  Prefactor     11.262        20.652        .21549E-04    .56151E-04
   9  Prefactor     .10000E-03    15.990        .94358E-05** at limit **
  10  Prefactor     42.534        59.327       -.75300E-04    .91464E-04
  11  Prefactor     7.6377        4.2126        .17612E-06    .19916E-03
  12  norm          .10000E-03    8.9052        .46600E-05** at limit **
  13  Prefactor     1.2321        15.057       -.53142E-05   -.59054E-03
  14  Prefactor     .10000E-03    86.743       -.20611E-04** at limit **
  15  norm          .10000E-03    28.356       -.31189E-04** at limit **
  16  Prefactor     .10000E-03    17.929       -.13402E-04** at limit **
  17  norm          5.6951        13.519       -.18157E-05    .45566E-04
  18  norm          .10000E-03    2.5338        .14563E-08** at limit **
  19  Prefactor     .10000E-03    7.8908       -.15379E-05** at limit **
  20  Prefactor     .10000E-03    10.816       -.75728E-05** at limit **
  21  Normalizat    1.3370        .19354        .58110E-05    .17102E-03
  22  Prefactor     .88370        .11660        .31857E-06    .63540E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100029
  norm       = 1.13609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.50206
  norm       = 1.45578
  Prefactor  = 11.262
  Prefactor  = 0.0001
  Prefactor  = 42.5343
  Prefactor  = 7.63769
  norm       = 0.0001
  Prefactor  = 1.23206
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.69511
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.33703
  Prefactor  = 0.883701
 **********
 **   18 **HESSE 
 **********

 FCN=   7409.089     FROM HESSE     STATUS=OK           336 CALLS     2688 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.3040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10003E-03    18.755        .14447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1361        1.0688        .84347E-04   -1.5495    
   4  Prefactor     .10000E-03    35.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5021        3.0644        .12120E-03   -1.5463    
   7  norm          1.4558        1.2713        .88425E-04   -1.5467    
   8  Prefactor     11.262        21.075        .11946E-03   -1.5037    
   9  Prefactor     .10000E-03    16.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.534        59.455        .61423E-04   -1.4403    
  11  Prefactor     7.6377        4.2154        .12320E-03   -1.5155    
  12  norm          .10000E-03    8.9290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2321        15.264        .40575E-03   -1.5486    
  14  Prefactor     .10000E-03    86.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    28.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.6951        13.520        .16837E-03   -1.5231    
  18  norm          .10000E-03    2.5660        .13378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.8927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3370        .22281        .28589E-03   -.82468    
  22  Prefactor     .88370        .13226        .21210E-03   -.96713    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.54733e-09
Minuit parameter uncertainties:
  1  2.06802e-05
  2  0.00147069
  3  1.0688
  4  5.34851e-05
  5  5.28349e-05
  6  3.06474
  7  1.27135
  8  21.0891
  9  1.31253e-05
  10  59.5385
  11  4.2156
  12  2.10903e-05
  13  8.67547
  14  3.68589e-05
  15  6.92455e-05
  16  2.16637e-05
  17  13.5277
  18  9.87859e-06
  19  8.37621e-06
  20  5.05138e-05
  21  0.222968
  22  0.132307
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  7.638e+00  4.216e+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:  8.837e-01  1.323e-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.337e+00  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.18
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 1.03e-07 +/- 5.68e-08
Energy Flux (Fixed Index): 2.94e-05 +/- 1.62e-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) = 7408.89001714
delta logL = 0.199401711415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7408.88978859
delta logL = 0.1996302667

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4186       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2289       1.0000          .0000       10.000    
     3 'Normalizat'    1.3572       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87493       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=   7408.890     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      244 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4262        114.88        .32646E-02    .19082E-03
   2  Index         2.2289        6.1110        .18068        .59543E-04
   3  Normalizat    1.3575        .12616        .64229E-01    .49935E-04
   4  Prefactor     .87472        .64734E-01    .44685E-01    .63270E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.42624
  Index      = 2.22894
  Normalizat = 1.35754
  Prefactor  = 0.874721
 **********
 **   18 **HESSE 
 **********

 FCN=   7408.890     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .34E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4262        5.5798        .13058E-03   -1.5094    
   2  Index         2.2289        .43614        .66653E-02   -.58742    
   3  Normalizat    1.3575        .21373        .28409E-03   -.81865    
   4  Prefactor     .87472        .13025        .21300E-03   -.97030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35178e-12
Minuit parameter uncertainties:
  1  5.58014
  2  0.436941
  3  0.213872
  4  0.1303
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942777': 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) = 7408.88978534
delta logL = 0.199633511729

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  9.426e+00  5.580e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.229e+00  4.369e-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:  8.747e-01  1.303e-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.358e+00  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.54
Ra Dec: 117.701 12.494
Photon Index (Free Index): 2.23 +/- 0.44
Photon Flux (Free Index): 8.54e-08 +/- 5.62e-08
Energy Flux (Free Index): 3.64e-05 +/- 2.52e-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/942777/cmap_HighResolution_380851201_381110401_4FGL_J0750.8+1229_daily_bin546.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.03e-07', energy_flux2='3.64e-05', photon_flux_error='5.68e-08', dlogl='2.00e-01', energy_flux='2.94e-05', photon_flux2='8.54e-08', job_status='DONE', time_completed='2021-08-28 16:22:15.299359', photon_index_error2='0.44', photon_index2='2.23', ts='6.18', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='2.52e-05', EG='1.34', time_epoch_completed='1630192935.3', return_code='0', job_id='942777', GAL2='0.87', EG2='1.36', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='5.62e-08', ts2='6.54', photon_index='2.52' WHERE bin_id='546' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:22:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 942777: <4FGL_J0750.8+1229_daily_bin546> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin546> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 16:05:38 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:05:39 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:05:39 2021
Terminated at Sat Aug 28 16:22:17 2021
Results reported at Sat Aug 28 16:22:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin546 117.701 12.494 380851201 381110401 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 :                                   832.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   997 sec.
    Turnaround time :                            999 sec.

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

