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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin282
RA = 117.701, Dec = 12.494
tmin = 312422401, tmax = 312681601
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='941361', job_status='RUN', time_executed='2021-08-28 16:02:57.552772', time_epoch_executed='1630191777.55' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941361

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941361/ft1_4FGL_J0750.8+1229_daily_bin282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941361/ft2_4FGL_J0750.8+1229_daily_bin282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941361/ft1_4FGL_J0750.8+1229_daily_bin282.fits outfile=/scratch/kocevski/941361/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin282.fits ra=117.701 dec=12.494 rad=12.0 tmin=312422401.0 tmax=312681601.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.19
user 3.62
sys 0.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941361/ft2_4FGL_J0750.8+1229_daily_bin282.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/941361/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin282.fits evtable="EVENTS" outfile="/scratch/kocevski/941361/ft1_filtered_4FGL_J0750.8+1229_daily_bin282.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.84
user 0.35
sys 0.47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941361/ft1_filtered_4FGL_J0750.8+1229_daily_bin282.fits" evtable="EVENTS" scfile=/scratch/kocevski/941361/ft2_4FGL_J0750.8+1229_daily_bin282.fits sctable="SC_DATA" outfile=/scratch/kocevski/941361/ltcube_312422401_312681601_4FGL_J0750.8+1229_daily_bin282.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/941361/ft2_4FGL_J0750.8+1229_daily_bin282.fits
.....................!
real 12.35
user 11.60
sys 0.70

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941361/ft1_filtered_4FGL_J0750.8+1229_daily_bin282.fits evtable="EVENTS" scfile=/scratch/kocevski/941361/ft2_4FGL_J0750.8+1229_daily_bin282.fits sctable="SC_DATA" expcube=/scratch/kocevski/941361/ltcube_312422401_312681601_4FGL_J0750.8+1229_daily_bin282.fits outfile=/scratch/kocevski/941361/expmap_312422401_312681601_4FGL_J0750.8+1229_daily_bin282.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/941361/ltcube_312422401_312681601_4FGL_J0750.8+1229_daily_bin282.fits
.....................!
real 190.78
user 185.32
sys 4.93

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/941361/ft1_filtered_4FGL_J0750.8+1229_daily_bin282.fits scfile=/scratch/kocevski/941361/ft2_4FGL_J0750.8+1229_daily_bin282.fits outfile=/scratch/kocevski/941361/cmap_312422401_312681601_4FGL_J0750.8+1229_daily_bin282.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.88
user 0.38
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941361/ft1_filtered_4FGL_J0750.8+1229_daily_bin282.fits scfile=/scratch/kocevski/941361/ft2_4FGL_J0750.8+1229_daily_bin282.fits outfile=/scratch/kocevski/941361/cmap_HighResolution_312422401_312681601_4FGL_J0750.8+1229_daily_bin282.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.93
user 0.40
sys 0.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.630       1.0000         .10000E-03   10000.    
     2 'norm      '    .10522E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3594       1.0000         .10000E-03   10000.    
     4 'Prefactor '    96.476       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2045       1.0000         .10000E-03   10000.    
     6 'norm      '    1.7538       1.0000         .10000E-03   10000.    
     7 'norm      '    7.7627       1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.276       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.528       1.0000         .10000E-03   10000.    
    10 'Prefactor '    93.712       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.311       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    10.971       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.024       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1799       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78572       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=   7873.092     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2412 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.630        10.099       -.13532E-06   -.57015E-05
   2  norm          .10001E-03    1.0742        .17650E-05** at limit **
   3  norm          1.3594        1.1069       -.55445E-07   -.12506E-03
   4  Prefactor     96.446        79.436       -.27560E-04    .81833E-04
   5  Prefactor     8.2017        26.171        .20677E-06   -.10828E-03
   6  norm          1.7538        1.7132        .25941E-07   -.50885E-03
   7  norm          7.7628        2.3153        .33544E-06   -.77235E-03
   8  Prefactor     23.277        14.131       -.68420E-06   -.25033E-04
   9  Prefactor     15.529        16.579       -.24810E-06   -.58637E-05
  10  Prefactor     93.716        61.470        .36949E-05   -.99148E-04
  11  Prefactor     .10000E-03    1.9363       -.23976E-07** at limit **
  12  norm          .10000E-03    6.4258        .66683E-08** at limit **
  13  Prefactor     21.313        12.552       -.20565E-06   -.20328E-04
  14  Prefactor     .10000E-03    62.991        .37512E-06** at limit **
  15  norm          .10000E-03    30.837       -.11711E-06** at limit **
  16  Prefactor     .10000E-03    15.437       -.37328E-08** at limit **
  17  norm          10.972        17.436       -.99017E-06   -.22488E-04
  18  norm          .10000E-03    1.5090        .99226E-09** at limit **
  19  Prefactor     27.027        32.543        .22691E-05   -.66078E-04
  20  Prefactor     .10000E-03    6.5050       -.38369E-07** at limit **
  21  Normalizat    1.1798        .18811       -.11022E-05   -.25591E-03
  22  Prefactor     .78576        .11263        .15117E-05   -.77303E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.6299
  norm       = 0.000100008
  norm       = 1.35943
  Prefactor  = 96.4461
  Prefactor  = 8.20169
  norm       = 1.75376
  norm       = 7.7628
  Prefactor  = 23.2775
  Prefactor  = 15.5291
  Prefactor  = 93.7164
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.3128
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.9718
  norm       = 0.0001
  Prefactor  = 27.0265
  Prefactor  = 0.0001
  Normalizat = 1.1798
  Prefactor  = 0.785759
 **********
 **   18 **HESSE 
 **********

 FCN=   7873.092     FROM HESSE     STATUS=OK           344 CALLS     2756 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.630        10.101        .10472E-03   -1.4943    
   2  norm          .10001E-03    2.0677        .17772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3594        1.1075        .37465E-04   -1.5475    
   4  Prefactor     96.446        79.861        .20461E-03   -1.3741    
   5  Prefactor     8.2017        26.046        .13997E-03   -1.5135    
   6  norm          1.7538        1.7196        .93328E-04   -1.5443    
   7  norm          7.7628        2.3129        .69782E-04   -1.5151    
   8  Prefactor     23.277        14.331        .83026E-04   -1.4743    
   9  Prefactor     15.529        16.579        .10164E-03   -1.4920    
  10  Prefactor     93.716        61.799        .41516E-04   -1.3769    
  11  Prefactor     .10000E-03    1.9689        .12039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    6.4301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.313        12.571        .86764E-04   -1.4784    
  14  Prefactor     .10000E-03    63.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    30.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.972        17.419        .12096E-03   -1.5045    
  18  norm          .10000E-03    1.5163        .10643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.027        32.644        .77064E-04   -1.4668    
  20  Prefactor     .10000E-03    6.5312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1798        .21809        .28992E-03   -.87229    
  22  Prefactor     .78576        .12898        .21467E-03   -1.0026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64282e-09
Minuit parameter uncertainties:
  1  10.1025
  2  0.000253604
  3  1.10747
  4  79.9502
  5  26.0825
  6  1.71969
  7  2.31295
  8  14.3329
  9  16.5835
  10  61.8417
  11  3.42983e-06
  12  1.2031e-07
  13  12.5728
  14  4.53492e-05
  15  3.73586e-06
  16  3.98175e-06
  17  17.4269
  18  4.78143e-08
  19  32.6653
  20  7.97356e-06
  21  0.218258
  22  0.129026
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  3.430e-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.858e-01  1.290e-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.180e+00  2.183e-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: 8.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941361/likelihoodResults_312422401_312681601_4FGL_J0750.8+1229_daily_bin282.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) = 7873.09453302
delta logL = -0.00242322684335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7873.09211009
delta logL = -2.97372935165e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5187       1.0000          .0000       10.000    
     3 'Normalizat'    1.1798       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78581       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=   7873.092     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      236 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    43.579        .12039E-02** at limit **
   2  Index         2.5287        8.6153        .50000       -.71507E-05
   3  Normalizat    1.1798        .23104E-01    .28992E-03   -.26530E-03
   4  Prefactor     .78576        .14339E-01    .21467E-03   -.20114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100027
  Index      = 2.52866
  Normalizat = 1.1798
  Prefactor  = 0.785762
 **********
 **   18 **HESSE 
 **********

 FCN=   7873.092     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    190.74        .24079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5287        8.2821        .50000       -.51699    
   3  Normalizat    1.1798        .53916E-01    .57984E-04   -.87229    
   4  Prefactor     .78576        .33430E-01    .85868E-05   -1.0026    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.62028e-09
Minuit parameter uncertainties:
  1  0.00458211
  2  671.02
  3  0.0539188
  4  0.0334312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941361': 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) = 7873.09210978
delta logL = 1.63427102962e-08

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  4.582e-03  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.529e+00  6.710e+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:  7.858e-01  3.343e-02  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.180e+00  5.392e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.701 12.494

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/941361/cmap_HighResolution_312422401_312681601_4FGL_J0750.8+1229_daily_bin282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2021-08-28 16:15:32.599460', job_id='941361', GAL2='0.79', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1630192532.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.63e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='282' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:15:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 941361: <4FGL_J0750.8+1229_daily_bin282> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin282 117.701 12.494 312422401 312681601 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 :                                   755.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            884 sec.

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

