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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin175
RA = 117.701, Dec = 12.494
tmin = 284688001, tmax = 284947201
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='941208', job_status='RUN', time_executed='2021-08-28 16:02:45.428817', time_epoch_executed='1630191765.43' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='175'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941208

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941208/ft1_4FGL_J0750.8+1229_daily_bin175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941208/ft2_4FGL_J0750.8+1229_daily_bin175.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941208/ft1_4FGL_J0750.8+1229_daily_bin175.fits outfile=/scratch/kocevski/941208/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin175.fits ra=117.701 dec=12.494 rad=12.0 tmin=284688001.0 tmax=284947201.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.18
user 3.40
sys 0.73

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941208/ft1_filtered_4FGL_J0750.8+1229_daily_bin175.fits" evtable="EVENTS" scfile=/scratch/kocevski/941208/ft2_4FGL_J0750.8+1229_daily_bin175.fits sctable="SC_DATA" outfile=/scratch/kocevski/941208/ltcube_284688001_284947201_4FGL_J0750.8+1229_daily_bin175.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/941208/ft2_4FGL_J0750.8+1229_daily_bin175.fits
.....................!
real 12.86
user 11.90
sys 0.93

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941208/ft1_filtered_4FGL_J0750.8+1229_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/941208/ft2_4FGL_J0750.8+1229_daily_bin175.fits sctable="SC_DATA" expcube=/scratch/kocevski/941208/ltcube_284688001_284947201_4FGL_J0750.8+1229_daily_bin175.fits outfile=/scratch/kocevski/941208/expmap_284688001_284947201_4FGL_J0750.8+1229_daily_bin175.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/941208/ltcube_284688001_284947201_4FGL_J0750.8+1229_daily_bin175.fits
.....................!
real 194.53
user 189.45
sys 4.72

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/941208/ft1_filtered_4FGL_J0750.8+1229_daily_bin175.fits scfile=/scratch/kocevski/941208/ft2_4FGL_J0750.8+1229_daily_bin175.fits outfile=/scratch/kocevski/941208/cmap_284688001_284947201_4FGL_J0750.8+1229_daily_bin175.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 1.01
user 0.39
sys 0.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941208/ft1_filtered_4FGL_J0750.8+1229_daily_bin175.fits scfile=/scratch/kocevski/941208/ft2_4FGL_J0750.8+1229_daily_bin175.fits outfile=/scratch/kocevski/941208/cmap_HighResolution_284688001_284947201_4FGL_J0750.8+1229_daily_bin175.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 1.00
user 0.37
sys 0.62

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.107       1.0000         .10000E-03   10000.    
     2 'norm      '    .20604E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .37977       1.0000         .10000E-03   10000.    
     4 'Prefactor '    85.793       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.2696       1.0000         .10000E-03   10000.    
     7 'norm      '    .55141E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1815       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.694       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10181E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    21.207       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .12342E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .17434       1.0000         .10000E-03   10000.    
    17 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.9099       1.0000         .10000E-03   10000.    
    19 'Prefactor '    85.883       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4278       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79781       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=   7471.684     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2801 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.105        15.642        .13934E-05    .38054E-04
   2  norm          .10000E-03    .98583        .59673E-06** at limit **
   3  norm          .38050        1.1458        .93807E-06    .19134E-03
   4  Prefactor     85.715        79.182       -.16166E-05   -.11222E-03
   5  Prefactor     .10000E-03    8.7361        .87803E-07** at limit **
   6  norm          4.2692        2.4461        .17232E-07   -.15277E-03
   7  norm          .10000E-03    .66541        .13527E-06** at limit **
   8  Prefactor     5.1860        14.860       -.30052E-06   -.39647E-04
   9  Prefactor     22.693        23.048        .25121E-06    .55065E-04
  10  Prefactor     .10000E-03    22.133        .80662E-07** at limit **
  11  Prefactor     .10000E-03    1.2286       -.17135E-07** at limit **
  12  norm          21.209        14.519       -.25109E-08   -.19959E-04
  13  Prefactor     .10000E-03    2.8439       -.66610E-07** at limit **
  14  Prefactor     .10000E-03    28.394        .83874E-09** at limit **
  15  norm          .10000E-03    133.42        .29591E-06** at limit **
  16  Prefactor     .29102E-02    27.615       -.13736E-05    .15762E-03
  17  norm          .10000E-03    15.348       -.10832E-05** at limit **
  18  norm          4.9122        4.0708       -.19348E-06    .20417E-04
  19  Prefactor     85.913        40.179       -.66554E-07   -.13428E-03
  20  Prefactor     .10000E-03    4.3198       -.17008E-06** at limit **
  21  Normalizat    1.4274        .21361        .19256E-05   -.31846E-03
  22  Prefactor     .79799        .12730       -.24564E-05   -.27333E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.1047
  norm       = 0.000100001
  norm       = 0.380501
  Prefactor  = 85.7154
  Prefactor  = 0.0001
  norm       = 4.26918
  norm       = 0.0001
  Prefactor  = 5.18601
  Prefactor  = 22.6932
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.2094
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00291024
  norm       = 0.0001
  norm       = 4.91225
  Prefactor  = 85.9134
  Prefactor  = 0.0001
  Normalizat = 1.42743
  Prefactor  = 0.797993
 **********
 **   18 **HESSE 
 **********

 FCN=   7471.684     FROM HESSE     STATUS=OK           354 CALLS     3155 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.105        15.648        .53320E-03   -1.4957    
   2  norm          .10000E-03    3.2625        .15453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .38050        1.1558        .15200E-03   -1.5585    
   4  Prefactor     85.715        78.417        .43372E-04   -1.3854    
   5  Prefactor     .10000E-03    8.7403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.2692        2.4980        .73860E-04   -1.5295    
   7  norm          .10000E-03    17.337        .13526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.1860        15.184        .17660E-03   -1.5252    
   9  Prefactor     22.693        23.058        .84082E-04   -1.4755    
  10  Prefactor     .10000E-03    22.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.1881        .18537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          21.209        14.519        .86977E-04   -1.4787    
  13  Prefactor     .10000E-03    2.8452        .14235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    28.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    133.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29102E-02    29.133        .11721       -1.5697    
  17  norm          .10000E-03    15.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.9122        4.0700        .76833E-03   -1.5265    
  19  Prefactor     85.913        40.170        .21675E-03   -1.3852    
  20  Prefactor     .10000E-03    4.3253        .17543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4274        .23085        .27652E-03   -.79838    
  22  Prefactor     .79799        .13726        .21887E-03   -.99802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04196e-09
Minuit parameter uncertainties:
  1  15.6526
  2  0.000116274
  3  1.15583
  4  78.5115
  5  4.17996e-06
  6  2.49804
  7  0.000132049
  8  15.1948
  9  23.0675
  10  1.89821e-06
  11  4.69418e-06
  12  14.521
  13  1.26937e-06
  14  1.18724e-07
  15  0.000114841
  16  0.57254
  17  2.38517e-05
  18  4.07022
  19  40.1823
  20  2.84198e-06
  21  0.231015
  22  0.137319
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  4.694e-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:  7.980e-01  1.373e-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.427e+00  2.310e-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.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941208/likelihoodResults_284688001_284947201_4FGL_J0750.8+1229_daily_bin175.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) = 7471.68591416
delta logL = -0.00217876466468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7471.68373536
delta logL = 3.47354216501e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5350       1.0000          .0000       10.000    
     3 'Normalizat'    1.4274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79806       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=   7471.684     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      296 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41146E-03    .59746E-01    .12702E-01** at limit **
   2  Index         4.2237        6.9256        .50000        .45982E-03
   3  Normalizat    1.4274        .29058E-02    .27652E-03   -.18878E-02
   4  Prefactor     .79798        .17885E-02    .21887E-03   -.10082E-01
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000411456
  Index      = 4.22373
  Normalizat = 1.42739
  Prefactor  = 0.79798
 **********
 **   18 **HESSE 
 **********

 FCN=   7471.684     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      335 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41146E-03    .92611E-01    .10428E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2237        6.9865        .50000       -.15588    
   3  Normalizat    1.4274        .31055E-02    .55303E-04   -.79840    
   4  Prefactor     .79798        .19114E-02    .43774E-04   -.99803    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.30645e-08
Minuit parameter uncertainties:
  1  0.0107414
  2  5.41815
  3  0.00310555
  4  0.00191142
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941208': 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) = 7471.6836859
delta logL = 4.94891592098e-05

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  7.980e-01  1.911e-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:  1.427e+00  3.106e-03  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/941208/cmap_HighResolution_284688001_284947201_4FGL_J0750.8+1229_daily_bin175.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-03', job_status='DONE', photon_flux_upper_limit='7.12e-08', time_completed='2021-08-28 16:15:50.497078', job_id='941208', GAL2='0.80', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1630192550.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='4.95e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='175' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:15:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 941208: <4FGL_J0750.8+1229_daily_bin175> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin175 117.701 12.494 284688001 284947201 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 :                                   787.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            915 sec.

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

