/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 173 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 = 7667
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0750.8+1229_daily_bin191
RA = 117.701, Dec = 12.494
tmin = 288835201, tmax = 289094401
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='941232', job_status='RUN', time_executed='2021-08-28 16:03:50.232038', time_epoch_executed='1630191830.23' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='191'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941232

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941232/ft1_4FGL_J0750.8+1229_daily_bin191.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941232/ft2_4FGL_J0750.8+1229_daily_bin191.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941232/ft1_4FGL_J0750.8+1229_daily_bin191.fits outfile=/scratch/kocevski/941232/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin191.fits ra=117.701 dec=12.494 rad=12.0 tmin=288835201.0 tmax=289094401.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.09
user 3.46
sys 0.52

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941232/ft1_filtered_4FGL_J0750.8+1229_daily_bin191.fits" evtable="EVENTS" scfile=/scratch/kocevski/941232/ft2_4FGL_J0750.8+1229_daily_bin191.fits sctable="SC_DATA" outfile=/scratch/kocevski/941232/ltcube_288835201_289094401_4FGL_J0750.8+1229_daily_bin191.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/941232/ft2_4FGL_J0750.8+1229_daily_bin191.fits
.....................!
real 13.65
user 12.68
sys 0.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941232/ft1_filtered_4FGL_J0750.8+1229_daily_bin191.fits evtable="EVENTS" scfile=/scratch/kocevski/941232/ft2_4FGL_J0750.8+1229_daily_bin191.fits sctable="SC_DATA" expcube=/scratch/kocevski/941232/ltcube_288835201_289094401_4FGL_J0750.8+1229_daily_bin191.fits outfile=/scratch/kocevski/941232/expmap_288835201_289094401_4FGL_J0750.8+1229_daily_bin191.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/941232/ltcube_288835201_289094401_4FGL_J0750.8+1229_daily_bin191.fits
.....................!
real 194.94
user 189.59
sys 4.75

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/941232/ft1_filtered_4FGL_J0750.8+1229_daily_bin191.fits scfile=/scratch/kocevski/941232/ft2_4FGL_J0750.8+1229_daily_bin191.fits outfile=/scratch/kocevski/941232/cmap_288835201_289094401_4FGL_J0750.8+1229_daily_bin191.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.84
user 0.38
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941232/ft1_filtered_4FGL_J0750.8+1229_daily_bin191.fits scfile=/scratch/kocevski/941232/ft2_4FGL_J0750.8+1229_daily_bin191.fits outfile=/scratch/kocevski/941232/cmap_HighResolution_288835201_289094401_4FGL_J0750.8+1229_daily_bin191.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.84
user 0.38
sys 0.45

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.8311       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5731       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .14325E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.824       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .33748E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10161E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10508E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11219E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10168E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .22283E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .41632E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    6.3508       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10440E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2347       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90045       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=   8131.558     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2485 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.9829        .42705E-07** at limit **
   2  norm          3.8316        1.8965       -.11895E-08   -.21180E-03
   3  norm          2.5728        1.2609       -.66484E-07    .28349E-03
   4  Prefactor     .10000E-03    22.635        .67722E-07** at limit **
   5  Prefactor     .10000E-03    11.405       -.92484E-07** at limit **
   6  norm          .10000E-03    .82186       -.11941E-05** at limit **
   7  norm          .10000E-03    .76400        .30355E-07** at limit **
   8  Prefactor     27.819        11.022        .30571E-05   -.29298E-03
   9  Prefactor     .10000E-03    5.0388       -.39857E-07** at limit **
  10  Prefactor     .10061E-03    48.575       -.36163E-05** at limit **
  11  Prefactor     .10000E-03    1.6658        .23678E-07** at limit **
  12  norm          .10000E-03    7.9574        .40539E-08** at limit **
  13  Prefactor     .10000E-03    3.3812       -.20075E-07** at limit **
  14  Prefactor     .10000E-03    60.335       -.15729E-05** at limit **
  15  norm          .10000E-03    46.925        .92672E-06** at limit **
  16  Prefactor     .10000E-03    136.70        .22446E-05** at limit **
  17  norm          .10005E-03    10.179        .16602E-07** at limit **
  18  norm          6.3528        3.9879        .46524E-07   -.10683E-04
  19  Prefactor     .10000E-03    14.962       -.27977E-07** at limit **
  20  Prefactor     .10000E-03    2.4894        .68355E-07** at limit **
  21  Normalizat    1.2350        .18213       -.77544E-06    .45072E-03
  22  Prefactor     .90042        .11314        .17611E-06    .41195E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.83157
  norm       = 2.57277
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 27.8186
  Prefactor  = 0.0001
  Prefactor  = 0.000100612
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.000100001
  Prefactor  = 0.000100003
  norm       = 0.00010005
  norm       = 6.35282
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23498
  Prefactor  = 0.900425
 **********
 **   18 **HESSE 
 **********

 FCN=   8131.558     FROM HESSE     STATUS=OK           354 CALLS     2839 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8316        1.9003        .83772E-04   -1.5316    
   3  norm          2.5728        1.2586        .67840E-04   -1.5387    
   4  Prefactor     .10000E-03    22.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.4443        .14872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2895        .15271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.819        11.648        .75949E-04   -1.4653    
   9  Prefactor     .10000E-03    5.0405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10061E-03    48.574        .15633       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.7109        .22708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    7.9995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.3888        .16193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    60.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    46.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    141.46        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10005E-03    10.014        .93729E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.3528        3.9886        .13880E-03   -1.5204    
  19  Prefactor     .10000E-03    14.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4901        .13894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2350        .21192        .28735E-03   -.85529    
  22  Prefactor     .90042        .13173        .20865E-03   -.96126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60095e-09
Minuit parameter uncertainties:
  1  1.45041e-05
  2  1.90031
  3  1.25858
  4  1.44786e-05
  5  1.92062e-05
  6  0.000215594
  7  1.55068e-06
  8  11.6494
  9  2.71466e-06
  10  0.0109102
  11  5.25883e-06
  12  2.19966e-06
  13  2.93938e-06
  14  0.000621509
  15  0.000315909
  16  0.00124909
  17  0.00141618
  18  3.98881
  19  1.36579e-05
  20  4.66849e-06
  21  0.212068
  22  0.13178
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  9.004e-01  1.318e-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.235e+00  2.121e-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.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941232/likelihoodResults_288835201_289094401_4FGL_J0750.8+1229_daily_bin191.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): 102
logL (Free Index) = 8131.5605699
delta logL = -0.00278586574768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8131.55778472
delta logL = -6.80826815369e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5131       1.0000          .0000       10.000    
     3 'Normalizat'    1.2349       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90052       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8131.558     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      240 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    149.75        .22723E-03** at limit **
   2  Index         2.4993        7.7905        .50000        .14104E-04
   3  Normalizat    1.2350        .50073E-01    .28735E-03   -.24638E-03
   4  Prefactor     .90042        .31765E-01    .20865E-03   -.39876E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100058
  Index      = 2.49926
  Normalizat = 1.23498
  Prefactor  = 0.900425
 **********
 **   18 **HESSE 
 **********

 FCN=   8131.558     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    404.59        .45447E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4993        8.6719        .50000       -.52377    
   3  Normalizat    1.2350        .16350        .57471E-04   -.85529    
   4  Prefactor     .90042        .10305        .41731E-04   -.96126    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.55577e-08
Minuit parameter uncertainties:
  1  0.00972497
  2  889.761
  3  0.163565
  4  0.103075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941232': 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) = 8131.55778399
delta logL = 4.68971848022e-08

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.001e-04  9.725e-03  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.499e+00  8.898e+02  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.004e-01  1.031e-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.235e+00  1.636e-01  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/941232/cmap_HighResolution_288835201_289094401_4FGL_J0750.8+1229_daily_bin191.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', job_status='DONE', photon_flux_upper_limit='7.36e-08', time_completed='2021-08-28 16:16:46.640546', job_id='941232', GAL2='0.90', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1630192606.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.69e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='191' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:16:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 941232: <4FGL_J0750.8+1229_daily_bin191> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin191> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 16:00:39 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:00:40 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:00:40 2021
Terminated at Sat Aug 28 16:16:47 2021
Results reported at Sat Aug 28 16:16:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin191 117.701 12.494 288835201 289094401 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 :                                   776.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            968 sec.

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

