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


Performing analysis on: 4FGL_J0941.9+2724_daily_bin356
RA = 145.494, Dec = 27.4136
tmin = 331603201, tmax = 331862401
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='434349', job_status='RUN', time_executed='2021-08-31 22:35:46.260892', time_epoch_executed='1630474546.26' WHERE source_name='4FGL J0941.9+2724' and cadence='daily' and bin_id='356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434349

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434349/ft1_4FGL_J0941.9+2724_daily_bin356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434349/ft2_4FGL_J0941.9+2724_daily_bin356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434349/ft1_4FGL_J0941.9+2724_daily_bin356.fits outfile=/scratch/kocevski/434349/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin356.fits ra=145.494 dec=27.4136 rad=12.0 tmin=331603201.0 tmax=331862401.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 3.27
user 3.05
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/434349/ft2_4FGL_J0941.9+2724_daily_bin356.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434349/ft2_4FGL_J0941.9+2724_daily_bin356.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/434349/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin356.fits evtable="EVENTS" outfile="/scratch/kocevski/434349/ft1_filtered_4FGL_J0941.9+2724_daily_bin356.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.54
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434349/ft1_filtered_4FGL_J0941.9+2724_daily_bin356.fits" evtable="EVENTS" scfile=/scratch/kocevski/434349/ft2_4FGL_J0941.9+2724_daily_bin356.fits sctable="SC_DATA" outfile=/scratch/kocevski/434349/ltcube_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.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/434349/ft2_4FGL_J0941.9+2724_daily_bin356.fits
.....................!
real 12.29
user 11.91
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434349/ft1_filtered_4FGL_J0941.9+2724_daily_bin356.fits evtable="EVENTS" scfile=/scratch/kocevski/434349/ft2_4FGL_J0941.9+2724_daily_bin356.fits sctable="SC_DATA" expcube=/scratch/kocevski/434349/ltcube_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.fits outfile=/scratch/kocevski/434349/expmap_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.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/434349/ltcube_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.fits
.....................!
real 192.29
user 187.78
sys 4.02

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
Added 178 point sources and 0 extended sources

Setting source of interest to:
4FGL J0941.9+2724 @ 145.494 27.4136

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/434349/ft1_filtered_4FGL_J0941.9+2724_daily_bin356.fits scfile=/scratch/kocevski/434349/ft2_4FGL_J0941.9+2724_daily_bin356.fits outfile=/scratch/kocevski/434349/cmap_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.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=145.494 yref=27.4136 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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434349/ft1_filtered_4FGL_J0941.9+2724_daily_bin356.fits scfile=/scratch/kocevski/434349/ft2_4FGL_J0941.9+2724_daily_bin356.fits outfile=/scratch/kocevski/434349/cmap_HighResolution_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.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=145.494 yref=27.4136 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434349/ft1_filtered_4FGL_J0941.9+2724_daily_bin356.fits evtable="EVENTS" scfile=/scratch/kocevski/434349/ft2_4FGL_J0941.9+2724_daily_bin356.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434349/Model_4FGL_J0941.9+2724_daily_bin356.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
Working on...
/scratch/kocevski/434349/ft1_filtered_4FGL_J0941.9+2724_daily_bin356.fits.....................!
real 46.76
user 45.44
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434349/ft1_filtered_4FGL_J0941.9+2724_daily_bin356.fits', '/scratch/kocevski/434349/ft2_4FGL_J0941.9+2724_daily_bin356.fits', expMap='/scratch/kocevski/434349/expmap_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.fits', expCube='/scratch/kocevski/434349/ltcube_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434349/Model_4FGL_J0941.9+2724_daily_bin356.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0941.9+2724'

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  6.273e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/434349/ft1_filtered_4FGL_J0941.9+2724_daily_bin356.fits
Spacecraft file(s): /scratch/kocevski/434349/ft2_4FGL_J0941.9+2724_daily_bin356.fits
Exposure map: /scratch/kocevski/434349/expmap_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.fits
Exposure cube: /scratch/kocevski/434349/ltcube_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434349/Model_4FGL_J0941.9+2724_daily_bin356.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) = 5095.62610569

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.5444       1.0000         .10000E-03   10000.    
     3 'norm      '    58.600       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .45480       1.0000         .10000E-03   10000.    
     5 'norm      '    1.4335       1.0000         .10000E-03   10000.    
     6 'Prefactor '    36.793       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4587       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .53434       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.6925       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0873       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .82195       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5095.622     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     2031 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7932       -.95422E-07** at limit **
   2  Prefactor     9.5423        14.456       -.17990E-06   -.10932E-03
   3  norm          58.595        42.924       -.17287E-05   -.37149E-03
   4  Prefactor     .45473        3.8540        .21859E-05   -.68501E-04
   5  norm          1.4334        1.2532       -.33276E-07   -.10539E-03
   6  Prefactor     36.792        36.098       -.50567E-06   -.13728E-03
   7  Prefactor     2.4587        3.1399        .11183E-06   -.14651E-03
   8  Prefactor     .45269        15.836        .37256E-05   -.51802E-03
   9  Prefactor     .10001E-03    50.030       -.29067E-05** at limit **
  10  Prefactor     .10000E-03    18.264        .50939E-06** at limit **
  11  Prefactor     .10000E-03    2.8250        .24937E-07** at limit **
  12  Prefactor     .10000E-03    13.638        .13553E-05** at limit **
  13  Prefactor     .10000E-03    .80274        .26925E-07** at limit **
  14  norm          .10000E-03    4.6748        .46794E-07** at limit **
  15  Prefactor     .10000E-03    1.5135        .44131E-07** at limit **
  16  Prefactor     7.6879        51.007       -.38825E-05   -.12804E-03
  17  Prefactor     .10000E-03    1.9662        .32997E-07** at limit **
  18  Prefactor     .10000E-03    15.099       -.16823E-05** at limit **
  19  Normalizat    1.0873        .16600       -.55427E-06   -.27212E-03
  20  Prefactor     .82206        .17384        .32450E-06   -.21413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.54232
  norm       = 58.5947
  Prefactor  = 0.454726
  norm       = 1.43344
  Prefactor  = 36.7919
  Prefactor  = 2.45875
  Prefactor  = 0.452694
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.68794
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 1.08733
  Prefactor  = 0.822057
 **********
 **   18 **HESSE 
 **********

 FCN=   5095.622     FROM HESSE     STATUS=OK           287 CALLS     2318 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.5423        14.475        .12972E-03   -1.5090    
   3  norm          58.595        44.345        .52409E-04   -1.4176    
   4  Prefactor     .45473        4.7171        .29299E-03   -1.5573    
   5  norm          1.4334        1.2605        .72545E-04   -1.5469    
   6  Prefactor     36.792        36.181        .66072E-04   -1.4494    
   7  Prefactor     2.4587        3.1272        .13674E-03   -1.5394    
   8  Prefactor     .45269        76.357        .44264E-02   -1.5573    
   9  Prefactor     .10001E-03    51.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.8446        .11714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .81551        .62423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.7258        .15071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.5360        .85721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.6879        54.097        .14458E-03   -1.5153    
  17  Prefactor     .10000E-03    1.9947        .97721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0873        .19078        .20895E-03   -.90160    
  20  Prefactor     .82206        .20022        .24821E-03   -.98920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.38916e-09
Minuit parameter uncertainties:
  1  8.13997e-06
  2  14.4798
  3  44.3696
  4  2.92914
  5  1.26052
  6  36.2027
  7  3.12744
  8  11.7726
  9  0.00136969
  10  0.00013859
  11  3.81454e-07
  12  0.000299145
  13  3.88449e-07
  14  3.78139e-06
  15  1.97235e-06
  16  40.8394
  17  1.70516e-06
  18  0.000433947
  19  0.1909
  20  0.2004
Done.

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

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  4.527e-01  1.177e+01  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.221e-01  2.004e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.087e+00  1.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 145.494 27.414
Photon Flux Upper Limit: 5.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434349/likelihoodResults_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.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) = 5095.62148895
delta logL = 2.82899663944e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5095.62124322
delta logL = 0.000274020302641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5095.621     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      222 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48008        31.796        .11082        .21420E-03
   2  Index         2.5534        3.1228        .50000        .34467E-05
   3  Normalizat    1.0872        .79044E-02    .38547E-01    .18844E-04
   4  Prefactor     .82210        .83232E-02    .44004E-01    .22812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.480083
  Index      = 2.55341
  Normalizat = 1.08719
  Prefactor  = 0.8221
 **********
 **   18 **HESSE 
 **********

 FCN=   5095.621     FROM HESSE     STATUS=OK            35 CALLS      257 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48008        147.41        .41456E-02   -1.5569    
   2  Index         2.5534        5.6576        .29327E-01   -.51131    
   3  Normalizat    1.0872        .18896        .20896E-03   -.90164    
   4  Prefactor     .82210        .19807        .24821E-03   -.98919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.79598e-08
Minuit parameter uncertainties:
  1  16.865
  2  7.75592
  3  0.189082
  4  0.198246
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434349': 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): 0
logL (Free Index) = 5095.62123995
delta logL = 0.000277296563581

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  4.801e-01  1.686e+01  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  2.553e+00  7.756e+00  0.000e+00  1.000e+01 (-1.000e+00)
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.221e-01  1.982e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.087e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 145.494 27.414

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/434349/cmap_HighResolution_331603201_331862401_4FGL_J0941.9+2724_daily_bin356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-03', job_status='DONE', photon_flux_upper_limit='5.50e-08', time_completed='2021-08-31 22:44:53.966327', job_id='434349', GAL2='0.82', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630475093.97', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.77e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='356' AND source_name='4FGL J0941.9+2724' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 22:44:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 434349: <4FGL_J0941.9+2724_daily_bin356> in cluster <slac> Done

Job <4FGL_J0941.9+2724_daily_bin356> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 22:35:35 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 22:35:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 22:35:37 2021
Terminated at Tue Aug 31 22:44:55 2021
Results reported at Tue Aug 31 22:44:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_daily_bin356 145.494 27.4136 331603201 331862401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0941.9+2724 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   542.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             377.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   557 sec.
    Turnaround time :                            560 sec.

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

