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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin392
RA = 117.701, Dec = 12.494
tmin = 340934401, tmax = 341193601
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='941487', job_status='RUN', time_executed='2021-08-28 16:03:45.647737', time_epoch_executed='1630191825.65' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941487

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941487/ft1_4FGL_J0750.8+1229_daily_bin392.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941487/ft2_4FGL_J0750.8+1229_daily_bin392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941487/ft1_4FGL_J0750.8+1229_daily_bin392.fits outfile=/scratch/kocevski/941487/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin392.fits ra=117.701 dec=12.494 rad=12.0 tmin=340934401.0 tmax=341193601.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.08
user 3.12
sys 0.92

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941487/ft1_filtered_4FGL_J0750.8+1229_daily_bin392.fits" evtable="EVENTS" scfile=/scratch/kocevski/941487/ft2_4FGL_J0750.8+1229_daily_bin392.fits sctable="SC_DATA" outfile=/scratch/kocevski/941487/ltcube_340934401_341193601_4FGL_J0750.8+1229_daily_bin392.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/941487/ft2_4FGL_J0750.8+1229_daily_bin392.fits
.....................!
real 13.03
user 11.84
sys 1.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941487/ft1_filtered_4FGL_J0750.8+1229_daily_bin392.fits evtable="EVENTS" scfile=/scratch/kocevski/941487/ft2_4FGL_J0750.8+1229_daily_bin392.fits sctable="SC_DATA" expcube=/scratch/kocevski/941487/ltcube_340934401_341193601_4FGL_J0750.8+1229_daily_bin392.fits outfile=/scratch/kocevski/941487/expmap_340934401_341193601_4FGL_J0750.8+1229_daily_bin392.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/941487/ltcube_340934401_341193601_4FGL_J0750.8+1229_daily_bin392.fits
.....................!
real 192.87
user 186.78
sys 5.48

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/941487/ft1_filtered_4FGL_J0750.8+1229_daily_bin392.fits scfile=/scratch/kocevski/941487/ft2_4FGL_J0750.8+1229_daily_bin392.fits outfile=/scratch/kocevski/941487/cmap_340934401_341193601_4FGL_J0750.8+1229_daily_bin392.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.30
user 0.38
sys 0.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941487/ft1_filtered_4FGL_J0750.8+1229_daily_bin392.fits scfile=/scratch/kocevski/941487/ft2_4FGL_J0750.8+1229_daily_bin392.fits outfile=/scratch/kocevski/941487/cmap_HighResolution_340934401_341193601_4FGL_J0750.8+1229_daily_bin392.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.32
user 0.38
sys 0.86

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6234       1.0000         .10000E-03   10000.    
     2 'norm      '    2.8880       1.0000         .10000E-03   10000.    
     3 'norm      '    2.9749       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .12161E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .40071       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6942       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.744       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4828       1.0000         .10000E-03   10000.    
    12 'norm      '    8.1864       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6837       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .31309E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4505       1.0000         .10000E-03   10000.    
    18 'norm      '    14.485       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0029       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0873       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=   8320.054     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2373 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6305        22.080        .15126E-05   -.42362E-04
   2  norm          2.8878        1.8409        .67108E-07   -.13021E-03
   3  norm          2.9748        1.4180        .47234E-06   -.12039E-02
   4  Prefactor     .10000E-03    21.139        .26088E-05** at limit **
   5  Prefactor     .10000E-03    9.3091       -.67745E-07** at limit **
   6  norm          .10000E-03    .90386       -.28121E-06** at limit **
   7  norm          .40022        1.2165        .35574E-06   -.51083E-03
   8  Prefactor     4.7211        9.3459        .93944E-06    .14026E-03
   9  Prefactor     24.735        18.054       -.20659E-06   -.96289E-04
  10  Prefactor     .10000E-03    14.145        .93011E-06** at limit **
  11  Prefactor     2.4859        3.7517        .42748E-06   -.15613E-03
  12  norm          8.2030        19.187        .19863E-05    .14665E-03
  13  Prefactor     7.6849        8.5328       -.21587E-06   -.12592E-04
  14  Prefactor     .10000E-03    46.143       -.61245E-06** at limit **
  15  norm          .10000E-03    18.361       -.14838E-05** at limit **
  16  Prefactor     .10000E-03    38.391        .14737E-05** at limit **
  17  norm          1.4622        29.395        .15274E-05   -.56758E-04
  18  norm          14.489        6.3064        .78460E-07    .40060E-04
  19  Prefactor     .10000E-03    17.793       -.18215E-05** at limit **
  20  Prefactor     .10000E-03    5.8221        .53888E-07** at limit **
  21  Normalizat    1.0028        .18446       -.89360E-06   -.25881E-04
  22  Prefactor     1.0873        .11686       -.32257E-06   -.37976E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.63051
  norm       = 2.88783
  norm       = 2.97483
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.400221
  Prefactor  = 4.7211
  Prefactor  = 24.7351
  Prefactor  = 0.0001
  Prefactor  = 2.48591
  norm       = 8.20296
  Prefactor  = 7.68489
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100001
  norm       = 1.46219
  norm       = 14.4893
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.00282
  Prefactor  = 1.08735
 **********
 **   18 **HESSE 
 **********

 FCN=   8320.054     FROM HESSE     STATUS=OK           348 CALLS     2721 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6305        22.332        .33209E-03   -1.5453    
   2  norm          2.8878        1.8385        .94582E-04   -1.5368    
   3  norm          2.9748        1.4353        .36000E-03   -1.5363    
   4  Prefactor     .10000E-03    21.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.3143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.2384        .13954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .40022        1.5171        .16616E-02   -1.5581    
   8  Prefactor     4.7211        8.0267        .18573E-03   -1.5273    
   9  Prefactor     24.735        18.109        .80530E-04   -1.4713    
  10  Prefactor     .10000E-03    14.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4859        3.7560        .19755E-03   -1.5393    
  12  norm          8.2030        19.437        .14012E-03   -1.5135    
  13  Prefactor     7.6849        8.5232        .14467E-03   -1.5153    
  14  Prefactor     .10000E-03    46.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    18.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    39.261        .21372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4622        30.142        .35773E-03   -1.5466    
  18  norm          14.489        6.3024        .10524E-03   -1.4946    
  19  Prefactor     .10000E-03    18.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.8482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0028        .20851        .31569E-03   -.92936    
  22  Prefactor     1.0873        .13270        .19828E-03   -.89872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33757e-08
Minuit parameter uncertainties:
  1  12.0737
  2  1.83855
  3  1.43527
  4  0.000467383
  5  7.74443e-06
  6  9.45486e-06
  7  1.51729
  8  8.02849
  9  18.1128
  10  0.000136241
  11  3.75637
  12  19.4521
  13  8.52458
  14  0.000158943
  15  0.000244178
  16  0.000359952
  17  13.2847
  18  6.30265
  19  0.000283569
  20  6.36188e-06
  21  0.20868
  22  0.132743
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.087e+00  1.327e-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.003e+00  2.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941487/likelihoodResults_340934401_341193601_4FGL_J0750.8+1229_daily_bin392.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) = 8318.80748652
delta logL = 1.24639552241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8318.71229529
delta logL = 1.34158675022

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24136       1.0000         .10000E-03   10000.    
     2 'Index     '    4.6122       1.0000          .0000       10.000    
     3 'Normalizat'    .89774       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1320       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=   8318.712     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      266 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24061        1.7260        .58036E-02    .20328E-02
   2  Index         4.6141        2.2268        .12634        .18271E-03
   3  Normalizat    .89765        .46854E-01    .74878E-01   -.67682E-04
   4  Prefactor     1.1321        .30647E-01    .36480E-01   -.47346E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.240608
  Index      = 4.61413
  Normalizat = 0.897647
  Prefactor  = 1.13213
 **********
 **   18 **HESSE 
 **********

 FCN=   8318.712     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      297 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24061        4.2360        .26274E-04   -1.5610    
   2  Index         4.6141        3.9018        .46297E-02   -.77250E-01
   3  Normalizat    .89765        .18676        .33137E-03   -.96543    
   4  Prefactor     1.1321        .11832        .19482E-03   -.88446    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.02604e-07
Minuit parameter uncertainties:
  1  2.01888
  2  4.48157
  3  0.186898
  4  0.118349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941487': 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) = 8318.71229402
delta logL = 1.34158802112

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.406e-01  2.019e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  4.614e+00  4.482e+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:  1.132e+00  1.183e-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:  8.976e-01  1.869e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.62
Ra Dec: 117.701 12.494
Photon Index (Free Index): 4.61 +/- 4.48
Photon Flux (Free Index): 1.15e-07 +/- 7.23e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.37e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', energy_flux2='1.59e-05', dlogl='1.34e+00', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-08-28 16:16:53.385638', photon_index_error2='4.48', photon_index2='4.61', ts='0.53', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='1.37e-05', EG='1.00', time_epoch_completed='1630192613.39', return_code='0', job_id='941487', GAL2='1.13', EG2='0.90', return_code2='102', photon_flux_error2='7.23e-08', ts2='3.62', photon_index='2.52' WHERE bin_id='392' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:16:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 941487: <4FGL_J0750.8+1229_daily_bin392> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin392 117.701 12.494 340934401 341193601 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 :                                   794.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            955 sec.

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

