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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin585
RA = 117.701, Dec = 12.494
tmin = 390960001, tmax = 391219201
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='942838', job_status='RUN', time_executed='2021-08-28 16:09:01.429208', time_epoch_executed='1630192141.43' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='585'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942838

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942838/ft1_4FGL_J0750.8+1229_daily_bin585.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942838/ft2_4FGL_J0750.8+1229_daily_bin585.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942838/ft1_4FGL_J0750.8+1229_daily_bin585.fits outfile=/scratch/kocevski/942838/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin585.fits ra=117.701 dec=12.494 rad=12.0 tmin=390960001.0 tmax=391219201.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.47
user 4.24
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/942838/ft2_4FGL_J0750.8+1229_daily_bin585.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/942838/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin585.fits evtable="EVENTS" outfile="/scratch/kocevski/942838/ft1_filtered_4FGL_J0750.8+1229_daily_bin585.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.49
user 0.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942838/ft1_filtered_4FGL_J0750.8+1229_daily_bin585.fits evtable="EVENTS" scfile=/scratch/kocevski/942838/ft2_4FGL_J0750.8+1229_daily_bin585.fits sctable="SC_DATA" expcube=/scratch/kocevski/942838/ltcube_390960001_391219201_4FGL_J0750.8+1229_daily_bin585.fits outfile=/scratch/kocevski/942838/expmap_390960001_391219201_4FGL_J0750.8+1229_daily_bin585.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/942838/ltcube_390960001_391219201_4FGL_J0750.8+1229_daily_bin585.fits
.....................!
real 189.67
user 185.07
sys 4.29

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/942838/ft1_filtered_4FGL_J0750.8+1229_daily_bin585.fits scfile=/scratch/kocevski/942838/ft2_4FGL_J0750.8+1229_daily_bin585.fits outfile=/scratch/kocevski/942838/cmap_390960001_391219201_4FGL_J0750.8+1229_daily_bin585.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942838/ft1_filtered_4FGL_J0750.8+1229_daily_bin585.fits scfile=/scratch/kocevski/942838/ft2_4FGL_J0750.8+1229_daily_bin585.fits outfile=/scratch/kocevski/942838/cmap_HighResolution_390960001_391219201_4FGL_J0750.8+1229_daily_bin585.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.56
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.934       1.0000         .10000E-03   10000.    
     2 'norm      '    4.5754       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0887       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.666       1.0000         .10000E-03   10000.    
     6 'norm      '    .75547       1.0000         .10000E-03   10000.    
     7 'norm      '    5.0082       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .59570E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3094       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.9833       1.0000         .10000E-03   10000.    
    14 'Prefactor '    146.46       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    19.504       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2537       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82584       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=   7897.640     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2366 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.934        14.642        .14393E-05   -.26099E-04
   2  norm          4.5754        2.3511        .21152E-06   -.28869E-03
   3  norm          2.0889        1.0910        .67663E-07   -.55500E-05
   4  Prefactor     .10000E-03    26.026       -.10847E-04** at limit **
   5  Prefactor     20.663        26.217       -.15709E-05    .47947E-05
   6  norm          .76092        1.1193       -.27772E-06   -.13200E-02
   7  norm          5.0079        2.0698        .12696E-06   -.10006E-03
   8  Prefactor     .10026E-03    4.3330        .45246E-06** at limit **
   9  Prefactor     8.3061        17.478        .91972E-05   -.36853E-04
  10  Prefactor     .10000E-03    10.744       -.22745E-06** at limit **
  11  Prefactor     .10001E-03    1.3692       -.13510E-05** at limit **
  12  norm          .10000E-03    6.3662       -.34625E-06** at limit **
  13  Prefactor     9.9839        8.8627        .30069E-05    .15653E-03
  14  Prefactor     146.52        129.13        .44885E-04    .80304E-04
  15  norm          .10000E-03    26.345        .11404E-04** at limit **
  16  Prefactor     .10000E-03    8.8902       -.56620E-05** at limit **
  17  norm          .10000E-03    4.7317        .26477E-06** at limit **
  18  norm          19.501        7.4434        .57074E-06    .43495E-05
  19  Prefactor     .10000E-03    7.0516        .70756E-06** at limit **
  20  Prefactor     .10000E-03    9.5343        .58880E-05** at limit **
  21  Normalizat    1.2541        .18212       -.31668E-05    .34252E-03
  22  Prefactor     .82570        .11400       -.33757E-06    .65592E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 25.9338
  norm       = 4.57536
  norm       = 2.0889
  Prefactor  = 0.0001
  Prefactor  = 20.6635
  norm       = 0.760917
  norm       = 5.00793
  Prefactor  = 0.000100256
  Prefactor  = 8.30612
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 9.98389
  Prefactor  = 146.516
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 19.5011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.25414
  Prefactor  = 0.825695
 **********
 **   18 **HESSE 
 **********

 FCN=   7897.640     FROM HESSE     STATUS=OK           354 CALLS     2720 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.934        14.643        .78663E-04   -1.4689    
   2  norm          4.5754        2.3530        .91900E-04   -1.5280    
   3  norm          2.0889        1.0893        .64538E-04   -1.5419    
   4  Prefactor     .10000E-03    26.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.663        26.209        .88107E-04   -1.4799    
   6  norm          .76092        1.0135        .10008E-02   -1.5534    
   7  norm          5.0079        2.0682        .78872E-04   -1.5260    
   8  Prefactor     .10026E-03    10.820        .53429E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.3061        17.423        .13907E-03   -1.5131    
  10  Prefactor     .10000E-03    10.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    4.2072        .19756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    6.3746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.9839        8.8590        .12682E-03   -1.5076    
  14  Prefactor     146.52        129.19        .16649E-03   -1.3281    
  15  norm          .10000E-03    26.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.8884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.7358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          19.501        7.4483        .90692E-04   -1.4824    
  19  Prefactor     .10000E-03    7.0544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.5831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2541        .20579        .28497E-03   -.84946    
  22  Prefactor     .82570        .13042        .21641E-03   -.98788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11107e-09
Minuit parameter uncertainties:
  1  14.6452
  2  2.35309
  3  1.08932
  4  9.41951e-06
  5  26.2236
  6  1.01353
  7  2.06825
  8  0.00332869
  9  17.4336
  10  5.84679e-07
  11  0.000310827
  12  2.44623e-05
  13  8.86016
  14  129.437
  15  2.02098e-06
  16  6.57939e-06
  17  2.77885e-06
  18  7.44861
  19  2.73996e-06
  20  7.54398e-06
  21  0.205928
  22  0.130473
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  3.108e-04  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.257e-01  1.305e-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.254e+00  2.059e-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.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/942838/likelihoodResults_390960001_391219201_4FGL_J0750.8+1229_daily_bin585.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): 0
logL (Free Index) = 7897.64137944
delta logL = -0.00113308056552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7897.64024812
delta logL = -1.75818877324e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11718E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5576       1.0000          .0000       10.000    
     3 'Normalizat'    1.2544       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82560       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=   7897.640     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      235 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.2754        .54582E-01** at limit **
   2  Index         2.6046        6.3017        .50000       -.97731E-04
   3  Normalizat    1.2541        .50866E-02    .64424E-01    .13446E-03
   4  Prefactor     .82570        .32237E-02    .44050E-01    .87286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.60456
  Normalizat = 1.25414
  Prefactor  = 0.825697
 **********
 **   18 **HESSE 
 **********

 FCN=   7897.640     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      270 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    839.87        .18669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6046        6.0231        .50000       -.49961    
   3  Normalizat    1.2541        .88906E-01    .28497E-03   -.84946    
   4  Prefactor     .82570        .55669E-01    .21641E-03   -.98788    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.62713e-06
Minuit parameter uncertainties:
  1  0.00336273
  2  57.759
  3  0.0889165
  4  0.0556729
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942838': 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) = 7897.64024447
delta logL = 1.89585898625e-06

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  3.363e-03  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.605e+00  5.776e+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.257e-01  5.567e-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.254e+00  8.892e-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/942838/cmap_HighResolution_390960001_391219201_4FGL_J0750.8+1229_daily_bin585.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', job_status='DONE', photon_flux_upper_limit='8.58e-08', time_completed='2021-08-28 16:21:19.222654', job_id='942838', GAL2='0.83', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1630192879.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.90e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='585' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:21:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 942838: <4FGL_J0750.8+1229_daily_bin585> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin585 117.701 12.494 390960001 391219201 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 :                                   734.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            936 sec.

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

